detail_owner_invitation11.wxml 29.7 KB
<!--pack-invitation/pages/detail_owner_invitation11.wxml-->
<import src="../../pages/tpl/invitation"></import>
<nav hasHome class="navhome" backgroundColor="{{show_white ? colors : 'transparent'}}" place="{{false}}"></nav>
<scroll-view scroll-y class="viewBox viewBox{{bookType}}">
    <image wx:if="{{hasValueBroadcast && isVoice=='1'}}" class="musicImg" src="{{isPlay=='1'?'https://qn.colorcun.com/open.svg':'https://qn.colorcun.com/close.svg'}}" bindtap="stopMusic" animation="{{attentionAnim}}" />
    <image class="giftImg" bindtap="gotoSellerGift" wx:if="{{(hasValueCertificate && marketing.is_coupon=='1' && coupon_dataList.length>0) || (!is_user_comments && isComments =='1' && couponData.showCoupon =='1')  || (hasValueRecharge && marketing.is_recharge=='1' && recharge_data)}}" src="https://nosqn.colorcun.com/sellerGift.png" mode="" />
    <image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
    <image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
    <view class="reservationInfoBox">
        <view class="reservationInfo">
            <view class="infoTop">
                <text wx:if="{{bookType == '2'}}" class="infoTopText1" space="nbsp">INVITATION</text>
                <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>
                <text wx:if="{{bookType == '2'}}" class="infoTopText4 font44r" space="nbsp">邀请函</text>
                <image wx:if="{{bookType == '1'}}" class="infoTopBj2" src="https://qn.colorcun.com/invitation11Bg2.png" mode="" />
            </view>
            <view class="informationBox">
                <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 font28r">{{detail.rnameStr}}</view>
                </view>
                <view class="infoItem" wx:if="{{seller.date}}">
                    <view class="record font28r">用餐日期:</view>
                    <view class="contentData font28r">{{seller.date}}</view>
                </view>
                <view class="infoItem" wx:if="{{seller.tablesText}}">
                    <view class="record font28r">用餐位置:</view>
                    <view class="contentData font28r">{{seller.tablesText}}</view>
                </view>
                <view class="infoItem" wx:if="{{seller.soltName}}">
                    <view class="record font28r">用餐时间:</view>
                    <view class="arrivalBox">
                        <view class="contentData font28r">{{seller.soltName}}<text class="marLeft font28r">{{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">
                                <button>修改到店时间</button>
                            </view>
                        </picker>
                    </view>
                </view>
                <view wx:if="{{bookType == '2'}}" class="entrance {{((reserve.swich_booking!='1' || !reserve.book_info) && (!reserve.swich_phone=='0' || !seller.tel || seller.tel.length==0))?'entrance1':''}}">
                    <view bindtap="gotoModule" data-type="1" wx:if="{{marketing.logo ||  home.image || (store.textInfo || store.videoImgsInfo.length>0)}}" class="entranceItem">
                        <image src="https://qn.colorcun.com/invitation12Icon1.png" mode="" />
                        <view class="font24r">餐厅介绍</view>
                    </view>
                    <view bindtap="gotoModule" data-type="2" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}" class="entranceItem">
                        <image src="https://qn.colorcun.com/invitation12Icon2.png" mode="" />
                        <view class="font24r">招牌菜品</view>
                    </view>
                    <view bindtap="gotoModule" data-type="3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}" class="entranceItem">
                        <image src="https://qn.colorcun.com/invitation12Icon3.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/invitation12Icon4.png" mode="" />
                        <view class="font24r">提前点餐</view>
                    </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 font28r">
                        <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 font28r">{{seller.addr || reserve.seller.map_address}}</view>
                        <view class="positioning" bindtap="looklocation">
                            <image class="addressImg" src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Dw.png':'https://qn.colorcun.com/invitation12Dw.png'}}" mode="aspectFill" />
                            导航
                        </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="scaleToFill" class="detailBannerImg" src="{{item}}" bindtap="previewImage" data-url="{{item}}" data-imgs="{{urlsArr}}"></image>
                    </swiper-item>
                </swiper>
                <text space="nbsp" wx:if="{{bookType == '1' && marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
            </view>
        </view>
        <view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
            <view class="peopleInfo">
                <image bindtap="lookImgs" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
                <view class="font26r">{{staffinfo.name}}</view>
                <view class="font26r">{{staffinfo.position}}</view>
            </view>
            <view class="handleInfo">
                <view class="font40r">尊敬的贵宾您好!</view>
                <view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
                <view class="contactBtns">
                    <view wx:if="{{staffinfo.phone}}" class="font22r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
                        <image src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
                    </view>
                    <view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">
                        <image src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
                    </view>
                </view>
            </view>
        </view>
    </view>
    <view class="publicModule preferentialCoupon" wx:if="{{titleList.length>0}}">
        <view class="tileBox">
            <view wx:for="{{titleList}}" wx:key="index" wx:for-index="index" bindtap="checkTitleFun" data-type="{{item.id}}" class="titleItem {{activeTitle==item.id?'activeTitleItem':''}}">{{item.title}}</view>
        </view>
        <!-- 优惠券 -->
        <view class="regionItem" wx:if="{{activeTitle == '1'}}">
            <block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
                <navigator url="/pack-activity/pack/buyCoupon?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
                    <view class="preferentialItems">
                        <view class="certificateInfo">
                            <text class="discountText font20r">{{item.use.is_cash=='1'?'代金券':item.use.is_discount=='1'?'超值折扣':item.use.is_dish=='1'?'特惠菜品':''}}</text>
                            <view class="ticketName font36r">{{item.aname}}</view>
                            <text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="limitation 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="limitation font24r">
                                无限制{{item.desc?','+item.desc+'。':'。'}}
                            </view>
                            <view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="limitation font24r">
                                会员生日当天可用{{item.desc?','+item.desc+'。':'。'}}
                            </view>
                        </view>
                        <view class="purchase font40r">
                            <view class="priceText" wx:if="{{item.price}}">
                                <view class="icons font24r">¥</view>{{item.price}}
                            </view>
                            <view class="font24r couponBtn">立即购买</view>
                        </view>
                    </view>
                </navigator>
            </block>
        </view>
        <!-- 充值 -->
        <view class="regionItem" wx:if="{{activeTitle == '2'}}">
            <navigator url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
                <view class="rechargeItems">
                    <image class="checkImg" src="https://qn.colorcun.com/invitation10vector.png" mode="" />
                    <view class="rechargeTitle">{{recharge_data.recharge_money}}<text class="font24r">元</text></view>
                </view>
            </navigator>
            <view class="limitation" wx:if="{{priceInfo || scoreInfo || recharge_data.recharge_list.is_coupons=='1'}}">
                <view class="limitationTitle font28r">充值优惠详情</view>
                <view class="font24r">
                    <text>会员充值满{{recharge_data.recharge_money}}元,</text>
                    <text wx:if="{{priceInfo}}">{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':','}}</text>
                    <text wx:if="{{scoreInfo}}">{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':','}}</text>
                    <text wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">{{recharge_data.recharge_list.is_coupons=='1'?'赠送'+certificate:''}}。</text>
                </view>
            </view>
            <view class="limitation">
                <view class="limitationTitle font28r">有效期</view>
                <view class="font24r">{{recharge_data.timeStr}}</view>
            </view>
            <view class="limitation">
                <view class="limitationTitle font28r">备注</view>
                <view class="font24r">{{recharge_data.explain}}</view>
            </view>
            <view class="rechargeBtn">
                <view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="favouredPolicy">更多优惠</view>
                <navigator url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
                    立即充值
                </navigator>
            </view>
        </view>
        <!-- 评价券 -->
        <view class="regionItem certificateBox" wx:if="{{activeTitle == '3'}}">
            <view class="limitationTitle font28r">期待您的声音,帮助我们持续改进</view>
            <view class="preferentialItems" bindtap="evaluateFun">
                <view class="certificateInfo">
                    <text class="discountText font20r">反馈有礼</text>
                    <view class="ticketName font36r">{{couponData.aname}}</view>
                    <text wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="limitation font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}{{couponData.desc?','+couponData.desc+'。':'。'}}</text>
                    <view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="limitation font24r">
                        无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
                    </view>
                    <view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
                        会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
                    </view>
                </view>
                <view class="purchase font40r">
                    <view class="priceText" wx:if="{{couponData.price}}">
                        <view class="icons font40r">¥</view>{{couponData.price}}
                    </view>
                    <view class="font24r couponBtn">{{couponData.price=='0'?'免费领取':'立即领取'}}</view>
                </view>
            </view>
        </view>
    </view>
    <view wx:if="{{bookType == '2' && roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
        <view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="previewImage" data-url="{{item.url}}">
            <image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
            <text>{{item.name}}</text>
        </view>
    </view>
    <block wx:if="{{bookType == '1'}}">
        <!-- 停车指引 -->
        <view class="publicModule" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
            <view class="chefText font36r">
                <view class="line"></view>
                <view class="font36r chefTextInfo">停车指引</view>
                <view class="line"></view>
            </view>
            <view class="labelBox" wx:if="{{reserve.textInfo}}">
                <text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
            </view>
            <swiper wx:if="{{reserve.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
                <swiper-item wx:for="{{reserve.videoImgsInfo}}" wx:key="index">
                    <video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
                    <image wx:if="{{item.type=='1'}}" mode="scaleToFill" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{reserve.imgsInfo}}"></image>
                </swiper-item>
            </swiper>
        </view>
        <!-- 招牌菜品 -->
        <view class="publicModule" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0 || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}">
            <view class="chefText font36r">
                <view class="line"></view>
                <view class="font36r chefTextInfo">招牌菜品</view>
                <view class="line"></view>
            </view>
            <view class="labelBox" wx:if="{{signboard.textInfo}}">
                <text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
            </view>
            <swiper wx:if="{{signboard.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
                <swiper-item wx:for="{{signboard.videoImgsInfo}}" wx:key="index">
                    <video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
                    <image wx:if="{{item.type=='1'}}" mode="aspectFit" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{signboard.imgsInfo}}"></image>
                </swiper-item>
            </swiper>
            <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>
        <!-- 餐厅介绍 -->
        <view class="publicModule" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}">
            <view class="chefText font36r">
                <view class="line"></view>
                <view class="font36r chefTextInfo">餐厅介绍</view>
                <view class="line"></view>
            </view>
            <view class="labelBox" wx:if="{{store.textInfo}}">
                <text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
            </view>
            <swiper wx:if="{{store.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
                <swiper-item wx:for="{{store.videoImgsInfo}}" wx:key="index">
                    <video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
                    <image wx:if="{{item.type=='1'}}" mode="aspectFit" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
                </swiper-item>
            </swiper>
        </view>
        <!-- 主厨介绍 -->
        <view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
            <view class="chefText font36r">
                <view class="line"></view>
                <view class="font36r chefTextInfo">主厨介绍</view>
                <view class="line"></view>
            </view>
            <view class="labelBox" wx:if="{{chef.textInfo}}">
                <text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
            </view>
            <swiper wx:if="{{chef.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
                <swiper-item wx:for="{{chef.videoImgsInfo}}" wx:key="index">
                    <video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
                    <image wx:if="{{item.type=='1'}}" mode="aspectFit" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{chef.imgsInfo}}"></image>
                </swiper-item>
            </swiper>
        </view>
    </block>
    <block wx:if="{{bookType == '2'}}">
        <!-- 餐厅介绍 -->
        <view class="publicModule" id="module1" wx:if="{{marketing.logo ||  home.image || (store.textInfo || store.videoImgsInfo.length>0)}}">
            <view class="titleBox">
                <view class="titleLine"></view>
                <view class="font32">餐厅介绍</view>
            </view>
            <image wx:if="{{marketing.logo}}" src="{{marketing.logo}}" bindtap="lookImgs" data-url="{{marketing.logo}}" mode="widthFix" />
            <image wx:if="{{home.image}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
            <view class="labelBox" wx:if="{{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}}">
                <block wx:for="{{store.content}}">
                    <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
                    <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
                    <view wx:if="{{item.type == '3'}}" class="videoBox">
                        <video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
                    </view>
                </block>
            </view>
        </view>
        <!-- 招牌菜品 -->
        <view class="publicModule" id="module2" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}">
            <view class="titleBox">
                <view class="titleLine"></view>
                <view class="font32">招牌菜品</view>
            </view>
            <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}}">
                <block wx:for="{{signboard.content}}">
                    <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
                    <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
                    <view wx:if="{{item.type == '3'}}" class="videoBox">
                        <video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
                    </view>
                </block>
            </view>
        </view>
        <!-- 停车指引 -->
        <view class="publicModule" id="module3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
            <view class="titleBox">
                <view class="titleLine"></view>
                <view class="font32">停车指引</view>
            </view>
            <view class="labelBox" wx:if="{{reserve.park_info}}">
                <text class="texts" 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>
            <view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
                <block wx:for="{{reserve.content}}">
                    <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
                    <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
                    <view wx:if="{{item.type == '3'}}" class="videoBox">
                        <video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
                    </view>
                </block>
            </view>
        </view>
        <!-- 主厨介绍 -->
        <view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
            <view class="titleBox">
                <view class="titleLine"></view>
                <view class="font32">主厨介绍</view>
            </view>
            <view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
                <text class="texts" 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}}">
                <block wx:for="{{chef.content}}">
                    <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
                    <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
                    <view wx:if="{{item.type == '3'}}" class="videoBox">
                        <video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
                    </view>
                </block>
            </view>
        </view>
    </block>
    <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>
    <!-- (开启在线预订 显示在线预订) || (未开启在线预订  显示再次预订(打商家电话)) -->
    <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) ||  (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) -->
    <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth">
        <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view>
        <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view>
        <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view>
        <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r shareItem" open-type="share">转发邀请函给客人</button>
        <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r shareItem" data-type="2" open-type="share">转发店铺给好友</button>
    </view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<my-modal id="payModal" fadeStyle="slideUp" height="240px">
    <view slot="modalName" class="titleModal">提示</view>
    <view slot="modalContent">
        <view class="explain">
            检测到您正在截屏,建议直接把邀请函转发给朋友更有仪式感哦!
        </view>
        <view class="screenshotBtns">
            <button class="font32r btnsLeft" bindtap="closeModal">关闭弹窗</button>
            <button wx:if="{{detail.status !='4' && options.isOrder != '1' && marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r btnsRight" open-type="share">立即转发</button>
        </view>
    </view>
</my-modal>