detail_owner_invitation12.wxml 30.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
<!--pack-invitation/pages/detail_owner_invitation12.wxml-->
<import src="../common/parts.wxml" />
<import src="../../pages/tpl/invitation"></import>
<view class="pageWrap {{themeColor}} viewBox viewBox{{bookType}}">
<nav hasHome class="navhome" backgroundColor="{{show_white ? colors : 'transparent'}}" place="{{false}}"></nav>
<scroll-view scroll-y class="viewBox viewBox{{bookType}}">
    <!-- 音乐开关 -->
    <template is="musicImg" data="{{newStr: newStr, isPlay: isPlay, attentionAnim: attentionAnim}}" />
    <!-- 商家有礼悬浮入口 -->
    <template is="giftImg" data="{{hasValueCertificate: hasValueCertificate, marketing: marketing, coupon_dataList: coupon_dataList, isFrame: isFrame, is_comments: is_comments, is_user_comments: is_user_comments, couponData: couponData, hasValueRecharge: hasValueRecharge, recharge_data: recharge_data, animationData2: animationData2}}" />
    <!-- 领券全屏浮层 -->
    <template is="fullscreenMask" data="{{isShow: isShow, animationData: animationData}}" />
    <view class="targetPoint" style="top: 35%; right: 4%;"></view>
    <!-- 已取消/已结束 状态角标 -->
    <template is="statusBadge" data="{{detail: detail, options: options}}" />
    <view class="reservationInfo reservationInfo{{make}}  {{options.hasSellerShare == '1' ? 'reservationInfo3' : '' }}">
        <view wx:if="{{bookType == '2'}}" class="infoTop">
            <image class="infoTopImg {{options.hasSellerShare == '1' ? 'infoTopImg1' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title3_1.png' : 'invitation11Title3.png'}}" mode=""/>
            <text class="infoTopText2 font44r" space="nbsp">{{seller.name||reserve.seller_name}}</text>
            <text class="infoTopText3 font28r" space="nbsp" wx:if="{{reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</text>
        </view>
        <view wx:if="{{bookType == '2' && urlsArr && urlsArr.length>0}}" class="{{urlsArr.length=='1'?'pageSpacing':'pageSpacing1'}}">
            <view wx:for="{{urlsArr}}" class="imgs" wx:key="index" bindtap="previewImage" data-url="{{item}}" data-imgs="{{urlsArr}}">
                <image class="imageStyle" mode="aspectFill" src="{{item}}"></image>
            </view>
        </view>
        <view class="informationBox">
            <view wx:if="{{bookType == '1'}}" class="infoTop">
                <text class="infoTopText2 font44r" space="nbsp">{{seller.name||reserve.seller_name}}</text>
                <text class="infoTopText3 font28r" space="nbsp" wx:if="{{reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</text>
                <image class="infoTopBj2" src="https://qn.colorcun.com/invitation13Fgx.png" mode="" />
            </view>
            <view class="infoItem">
                <text space="nbsp" wx:if="{{reserve.swich_booking=='1' && reserve.book_info}}" class="contentData font28r bookData">{{reserve.book_info}}</text>
            </view>
            <view class="infoItem" wx:if="{{detail.rnameStr && reserve.swich_customer == '1'}}">
                <view class="record font28r">预订贵宾:</view>
                <view class="contentData font32r">{{detail.rnameStr}}</view>
            </view>
            <view class="infoItem" wx:if="{{seller.date}}">
                <view class="record font28r">用餐日期:</view>
                <view class="contentData font32r">{{seller.date}}</view>
            </view>
            <view class="infoItem" wx:if="{{seller.tablesText}}">
                <view class="record font28r">用餐位置:</view>
                <view class="contentData font32r">{{seller.tablesText}}</view>
            </view>
            <view class="infoItem" wx:if="{{seller.soltName}}">
                <view class="record font28r">用餐时间:</view>
                <view class="arrivalBox">
                    <view class="contentData font32r contentFlex">{{seller.soltName}}<text class="marLeft font32r">{{temp_ddate}}</text></view>
                    <picker wx:if="{{options.isOrder != '1' && (detail.status =='1' || detail.status =='2') && options.hasSellerShare == '1'}}" bindchange="bindPickerChange" value="{{index}}" range="{{timeList}}">
                        <view class="picker">
                            <image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime{{bookType == '1' ? '2' : '3'}}.png" mode=""/>
                        </view>
                    </picker>
                </view>
            </view>
            <view class="infoItem infoRight" wx:if="{{swich_phone!='0' && seller.tel && seller.tel.length>0}}">
                <view class="record font28r">前台电话:</view>
                <view class="contentData font32r">
                    <block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{item}}</text><text class="divider">{{index==(seller.tel.length-1)?'':','}}</text></block>
                </view>
            </view>
            <view class="infoItem addressInfo">
                <view class="record font28r">餐厅地址:</view>
                <view class="arrivalBox">
                    <view class="contentData font32r">{{seller.addr || reserve.seller.map_address}}</view>
                    <view class="positioning" bindtap="looklocation">
                        <image class="addressImg" src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Dw.png':'https://qn.colorcun.com/invitation12Dw.png'}}" mode="aspectFill" />
                        导航
                    </view>
                </view>
            </view>
            <text space="nbsp" wx:if="{{marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
            <view class="appointment" wx:if="{{bookType == '1' && customersList.length>0}}">
                <view class="notifyTitle">
                    <text></text>
                    <view class="font36r">已确认赴约</view><text></text>
                </view>
                <view class="notifyContent">
                    <view class="notifyItems" wx:for="{{customersList}}" wx:key="index">
                        <view class="imageBox">
                            <image src="{{item.headimgurl}}" mode="aspectFill" />
                        </view>
                        <view class="font32r notifyText">{{item.nickname}}</view>
                    </view>
                </view>
            </view>
        </view>
        <view class="receptionBox" wx:if="{{bookType == '2' && staffinfo && reserve.swich_manager=='1'}}">
            <view class="peopleInfo">
                <image bindtap="lookImgs" wx:if="{{staffinfo.photo}}"  data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
                <view class="noHeaderimg" wx:else></view>
                <view class="font28r">{{staffinfo.name}}</view>
                <view class="font28r">{{staffinfo.position}}</view>
            </view>
            <view class="handleInfo">
                <view class="font40r title1">尊敬的贵宾您好!</view>
                <view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
                <view class="contactBtns">
                    <view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
                        <image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
                    </view>
                    <view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
                        <image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
                    </view>
                </view>
            </view>
        </view>
    </view>
    <swiper wx:if="{{bookType == '1' && urlsArr.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
        <swiper-item wx:for="{{urlsArr}}" wx:key="index">
            <image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="previewImage" data-url="{{item}}" data-imgs="{{urlsArr}}"></image>
        </swiper-item>
    </swiper>
    <view class="receptionBox" wx:if="{{bookType == '1' && staffinfo && reserve.swich_manager=='1'}}">
        <view class="peopleInfo">
            <image bindtap="lookImgs" wx:if="{{staffinfo.photo}}"  data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
            <view class="noHeaderimg" wx:else></view>
            <view class="font28r">{{staffinfo.name}}</view>
            <view class="font28r">{{staffinfo.position}}</view>
        </view>
        <view class="handleInfo">
            <view class="font40r title1">尊敬的贵宾您好!</view>
            <view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
            <view class="contactBtns">
                <view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
                    <image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
                </view>
                <view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
                    <image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
                </view>
            </view>
        </view>
    </view>
    <view class="appointment" wx:if="{{bookType == '2' && customersList.length>0}}">
        <view class="notifyTitle">
            <text></text>
            <view class="font36r">已确认赴约</view><text></text>
        </view>
        <view class="notifyContent">
            <view class="notifyItems" wx:for="{{customersList}}" wx:key="index">
                <view class="imageBox">
                    <image src="{{item.headimgurl}}" mode="aspectFill" />
                </view>
                <view class="font32r notifyText">{{item.nickname}}</view>
            </view>
        </view>
    </view>
    <view class="entrance">
        <view bindtap="publicShowModal" data-type="1" data-title="专属优惠券" wx:if="{{hasValueCertificate && coupon_dataList.length>0}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon1.png" mode="" />
            <view class="font24r">专属优惠券</view>
        </view>
        <view bindtap="publicShowModal" data-type="2" data-title="会员充值优惠" wx:if="{{(hasValueRecharge && marketing.is_recharge=='1' && recharge_data && recharge_data.id) || (hasValueRecharge && marketing.is_link=='1')}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon2.png" mode="" />
            <view class="font24r">会员充值优惠</view>
        </view>
        <view bindtap="{{(is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1'))?'evaluateFun':'publicShowModal'}}" data-type="3" data-title="评价反馈" wx:if="{{(!is_user_comments && isComments =='1' && couponData.showCoupon =='1') || (is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1'))}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon3.png" mode="" />
            <view class="font24r">评价反馈</view>
        </view>
        <view bindtap="cookbook" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon4.png" mode="" />
            <view class="font24r">提前点餐</view>
        </view>
        <view bindtap="publicShowModal" data-type="5" data-title="餐厅介绍" wx:if="{{store && (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon5.png" mode="" />
            <view class="font24r">餐厅介绍</view>
        </view>
        <view bindtap="publicShowModal" data-type="6" data-title="招牌菜品" wx:if="{{(signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon6.png" mode="" />
            <view class="font24r">招牌菜品</view>
        </view>
        <view bindtap="publicShowModal" data-type="7" data-title="停车指引" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon7.png" mode="" />
            <view class="font24r">停车指引</view>
        </view>
        <view bindtap="publicShowModal" data-type="8" data-title="主厨介绍" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}" class="entranceItem">
            <image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon8.png" mode="" />
            <view class="font24r">主厨介绍</view>
        </view>
    </view>
    <view class="businessBox font24r">
        周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,
        <view bindtap="gotoJoinSeller" style="text-decoration: underline;">我是商家,我要试用</view>
    </view>
    <view class="{{(!marketing || (marketing.is_transpond!='1' && marketing.is_online_book!='1'))?'more more1':'more'}}" wx:if="{{showMoreTip}}">
        <view class="moreText">滑动查看更多</view>
        <image src="https://qn.colorcun.com/jt1.png" mode="" />
    </view>
    <view class="toastBox" wx:if="{{toastBool}}">
        {{toastText}}
    </view>
<!-- 底部操作栏 -->
<template is="actionBar" data="{{barWrapClass: 'flex-lr sharewidth', barShow: barShow, showMoreOnline: showMoreOnline, threeBtnMore: threeBtnMore, showMoreCall: showMoreCall, threeBtnCall: threeBtnCall, seller: seller, canPay: canPay, threeBtnPay: threeBtnPay, isOwner: isOwner, canShare: canShare, isOver: isOver, guestShareCls: guestShareCls, canMeet: canMeet, needLogin: needLogin}}" />
</scroll-view>
<my-modal id="publicModal" class="publicModalBox{{bookType}}" fadeStyle="slideUp" height="530px">
    <view slot="modalName" class="titlePublicModal">
        <view class="font32">{{modalTitle}}</view>
        <image bindtap="closepublicModal" src="https://qn.colorcun.com/invitation13Icons.png" mode="" />
    </view>
    <block wx:if="{{modalType == '1'}}">
        <view class="regionItem preferentialCoupon" slot="modalContent">
            <block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
                <navigator wx:if="{{item.resultCoupon || !item.resultCoupon || item.is_type != '3'}}" url="/pack-activity/pack/receiveCoupon?id={{item.id}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
                    <view class="preferentialItems">
                        <view class="itemLeft">
                            <text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountText font20r">{{item.discount}}折</text>
                            <view class="discountText1 font20r {{item.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{item.is_type == '3'}}">{{item.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
                            <view class="priceText" wx:if="{{item.price}}">
                                <view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
                            </view>
                            <view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
                        </view>
                        <view class="couponLine"></view>
                        <view class="itemRight">
                            <view class="btns">
                                <text class="font32r anameText">{{item.aname}}</text>
                                <block wx:if="{{item.is_type == '1' || item.is_type == '2'}}">
                                    <text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="bottom font24r">{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}{{item.desc?','+item.desc+'。':'。'}}</text>
                                    <view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="bottom font24r">
                                        无限制{{item.desc?','+item.desc+'。':'。'}}
                                    </view>
                                    <view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="bottom font24r">
                                        会员生日当天可用{{item.desc?','+item.desc+'。':'。'}}
                                    </view>
                                </block>
                                <block wx:if="{{item.is_type == '3' || item.is_type == '4'}}">
                                    <view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="bottom font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
                                    <view wx:if="{{item.useStime && item.useEtime}}" class="bottom font24r nodate">{{item.useStime}} 至 {{item.useEtime}}</view>
                                    <view wx:if="{{item.morText || item.noonText || item.noonText}}" class="bottom font24r">不可用日期:</view>
                                    <view wx:if="{{item.morText}}" class="bottom font24r nodate">{{item.morText}}</view>
                                    <view wx:if="{{item.noonText}}" class="bottom font24r nodate">{{item.noonText}}</view>
                                    <view wx:if="{{item.nigText}}" class="bottom font24r nodate">{{item.nigText}}</view>
                                    <view wx:if="{{item.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
                                    <view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottom font24r">消费满{{item.desc}}元可用</view>
                                </block>
                            </view>
                            <view class="btnBox" wx:if="{{item.is_type == '3'}}" >
                                <view class="font24r orderingFood {{item.resultCoupon == '1'?'orderingFood1':'orderingFood2'}}">{{item.resultCoupon == '1'?'已领取':'领取'}}</view>
                                <view class="grantNum" wx:if="{{item.receiveNumText}}">
                                    <view class="font24r">已被领取</view>
                                    <view class="font24r"><text>{{item.receiveNumText}}</text>张</view>
                                </view>
                            </view>
                            <view wx:if="{{item.is_type != '3'}}" class="font24r orderingFood">
                                抢购
                            </view>
                        </view>
                    </view>
                </navigator>
            </block>
        </view>
    </block>
    <block wx:if="{{modalType == '2'}}">
        <view class="publicModule preferentialCouponBox" slot="modalContent">
            <block wx:for="{{recharge_data}}" wx:key="index">
                <view class="rechargeItems {{item.id == activeData.id ? 'rechargeActive' : ''}}" bindtap="checkRechargeData" data-id="{{item.id}}">
                    <image class="checkImg" wx:if="{{item.id == activeData.id}}" src="https://qn.colorcun.com/invitation10vector{{bookType == '1' ? '1' : ''}}.png" mode="" />
                    <view class="rechargeTitle font36r">{{item.rname}}</view>
                    <view class="limitation font24r" wx:if="{{item.priceInfo}}">
                        {{item.priceInfo}}{{(item.recharge_list.is_coupons=='0' && item.recharge_list.is_score=='0')?'。':';'}}
                    </view>
                    <view class="limitation font24r" wx:if="{{item.scoreInfo}}">
                        {{item.scoreInfo}}{{item.recharge_list.is_coupons=='0'?'。':';'}}
                    </view>
                    <view class="limitation font24r" wx:if="{{item.recharge_list.is_coupons=='1'}}">
                        {{item.recharge_list.is_coupons=='1'?'会员充值满'+item.recharge_money+'元赠送'+item.certificate:''}}。
                    </view>
                </view>
            </block>
            <view class="rechargeBtn">
                <navigator wx:if="{{activeData.id && purePhoneNumber}}" url="/pack-activity/pack/vipRecharge?id={{activeData.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
                    立即充值
                </navigator>
                <button wx:if="{{activeData.id && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun">
                    立即充值
                </button>
            </view>
            <view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
                点击了解更多会员优惠政策
            </view>
        </view>
    </block>
    <block wx:if="{{modalType == '3'}}">
        <view class="publicModule preferentialCoupon" slot="modalContent" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
            <view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
            <view class="preferentialItems" bindtap="evaluateFun">
            <view class="itemLeft">
                <text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountText font24r">{{couponData.discount}}折</text>
                <view class="discountText1 font20r {{couponData.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{couponData.is_type == '3'}}">{{couponData.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
                <view class="priceText" wx:if="{{couponData.price}}">
                    <view class="icons font24r">¥</view><text class="font48r">{{couponData.price}}</text>
                </view>
                <view class="icons font20r" wx:if="{{couponData.is_type == '3' && couponData.desc!='0'}}">消费满{{couponData.desc}}元可用</view>
            </view>
            <view class="couponLine"></view>
            <view class="itemRight">
                <view class="btns">
                    <text class="font32r anameText">{{couponData.aname}}</text>
                    <block wx:if="{{couponData.is_type == '1' || couponData.is_type == '2'}}">
                        <view wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="bottom font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}{{couponData.desc?','+couponData.desc+'。':'。'}}</view>
                        <view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
                            无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
                        </view>
                        <view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
                            会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
                        </view>
                    </block>
                    <block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
                        <view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.foreverText}}" class="bottom font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
                        <view wx:if="{{couponData.useStime && couponData.useEtime}}" class="bottom font24r nodate">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
                        <view wx:if="{{couponData.morText || couponData.noonText || couponData.noonText}}" class="bottom font24r">不可用日期:</view>
                        <view wx:if="{{couponData.morText}}" class="bottom font24r nodate">{{couponData.morText}}</view>
                        <view wx:if="{{couponData.noonText}}" class="bottom font24r nodate">{{couponData.noonText}}</view>
                        <view wx:if="{{couponData.nigText}}" class="bottom font24r nodate">{{couponData.nigText}}</view>
                        <view wx:if="{{couponData.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
                        <view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottom font24r">消费满{{couponData.desc}}元可用</view>
                    </block>
                </view>
                <view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
                    <view class="font24r orderingFood orderingFood2">免费领取</view>
                </view>
            </view>
        </view>
        </view>
        <!-- 评价没有券 -->
        <view class="publicModule evaluateCoupon" slot="modalContent" wx:if="{{is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">
            <view class="preferentialItems" bindtap="evaluateFun">
                <image class="evaluateImg" src="https://qn.colorcun.com/invitation10Union.png" mode="" />
                <view class="evaluateText">
                    <text>期待您的声音</text>
                    <text>帮助我们持续改进</text>
                </view>
                <view class="font24r couponBtn">去评价</view>
            </view>
        </view>
    </block>
    <block wx:if="{{modalType == '5'}}">
        <view class="publicModule" slot="modalContent" wx:if="{{store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0}}">
            <view class="labelBox" wx:if="{{!store.content && store.introduce && store.is_introduce == '1'}}">
                <text space="nbsp" class="texts font28r">{{store.introduce}}</text>
            </view>
            <block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
                <block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
                    <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
                </block>
            </block>
            <view class="labelBox" wx:if="{{store.content && store.content.length>0}}">
                <template is="richText" data="{{content: store.content, imgs: '', textClass: 'font28r'}}" />
            </view>
        </view>
    </block>
    <block wx:if="{{modalType == '6'}}">
        <view class="publicModule" slot="modalContent" wx:if="{{signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0)}}">
            <block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
                <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
            </block>
            <view class="labelBox" wx:if="{{signboard.content && signboard.content.length>0}}">
                <template is="richText" data="{{content: signboard.content, imgs: '', textClass: 'font28r'}}" />
            </view>
            <view class="orderBox" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}">
                <view class="font32r">提前点餐 到店不用等</view>
                <view wx:if="{{openOrder == '1' && marketing.is_order == '1'}}" bindtap="cookbook" class="font28r cook" style="position: relative;">
                    去点餐
                </view>
            </view>
        </view>
    </block>
    <block wx:if="{{modalType == '7'}}">
        <view class="publicModule" slot="modalContent" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
            <block wx:if="{{!reserve.content || reserve.content.length == '0'}}">
                <view class="labelBox" wx:if="{{reserve.park_info}}">
                    <text class="texts font28r" space="nbsp">{{reserve.park_info}}</text>
                </view>
                <block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
                    <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}" mode="widthFix" />
                </block>
            </block>
            <view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
                <template is="richText" data="{{content: reserve.content, imgs: '', textClass: 'font28r'}}" />
            </view>
        </view>
    </block>
    <block wx:if="{{modalType == '8'}}">
        <view class="publicModule" slot="modalContent" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
            <view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
                <text class="texts font28r" space="nbsp">{{chef.introduce}}</text>
            </view>
            <image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}" bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
            <view class="labelBox" wx:if="{{chef.content && chef.content.length>0}}">
                <template is="richText" data="{{content: chef.content, imgs: '', textClass: 'font28r'}}" />
            </view>
        </view>
    </block>
</my-modal>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<!-- 截屏提示弹窗 -->
<template is="payModal" data="{{detail: detail, options: options, marketing: marketing, imgSrc: imgSrc}}" />
<!-- 领券弹窗(2~12 通用;13 保持页面内独立) -->
<template is="couponModal" data="{{seller: seller, reserve: reserve, totalPrice: totalPrice, purePhoneNumber: purePhoneNumber, countDown: countDown}}" />
</view>