|
...
|
...
|
@@ -8,8 +8,7 @@ |
|
|
|
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
|
|
|
|
<view class="reservationInfo reservationInfo{{make}}">
|
|
|
|
<view wx:if="{{bookType == '2'}}" class="infoTop">
|
|
|
|
<text class="infoTopText4 font44r" space="nbsp">邀请函</text>
|
|
|
|
<text class="infoTopText1" space="nbsp">INVITATION</text>
|
|
|
|
<image class="infoTopImg" src="https://nosqn.colorcun.com/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>
|
|
...
|
...
|
@@ -29,40 +28,61 @@ |
|
|
|
</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 class="contentData font32r">{{detail.rnameStr}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="infoItem" wx:if="{{seller.date}}">
|
|
|
|
<view class="record font28r">用餐日期:</view>
|
|
|
|
<view class="contentData font28r">{{seller.date}}</view>
|
|
|
|
<view class="contentData font32r">{{seller.date}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="infoItem" wx:if="{{seller.tablesText}}">
|
|
|
|
<view class="record font28r">用餐位置:</view>
|
|
|
|
<view class="contentData font28r">{{seller.tablesText}}</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 font28r">{{seller.soltName}}<text class="marLeft font28r">{{temp_ddate}}</text></view>
|
|
|
|
<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">
|
|
|
|
<button>修改到店时间</button>
|
|
|
|
<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 font28r">
|
|
|
|
<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 font28r">{{seller.addr || reserve.seller.map_address}}</view>
|
|
|
|
<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>
|
|
|
|
<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">尊敬的贵宾您好!</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>
|
|
...
|
...
|
@@ -73,20 +93,21 @@ |
|
|
|
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="previewImage" data-url="{{item}}" data-imgs="{{urlsArr}}"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
<view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
|
|
|
|
<view class="receptionBox" wx:if="{{bookType == '1' && 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>
|
|
|
|
<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">尊敬的贵宾您好!</view>
|
|
|
|
<view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
|
|
|
|
<view class="contactBtns">
|
|
|
|
<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
|
|
|
|
<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="font22r brownFont" bindtap="copyWeChat">
|
|
|
|
<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>
|
|
...
|
...
|
@@ -109,19 +130,19 @@ |
|
|
|
<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.videoImgsInfo.length>0)}}" class="entranceItem">
|
|
|
|
<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.videoImgsInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}" class="entranceItem">
|
|
|
|
<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.videoImgsInfo.length>0)}}" class="entranceItem">
|
|
|
|
<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.videoImgsInfo.length>0)}}" class="entranceItem">
|
|
|
|
<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>
|
|
...
|
...
|
@@ -153,155 +174,131 @@ |
|
|
|
<image bindtap="closepublicModal" src="https://qn.colorcun.com/invitation13Icons.png" mode="" />
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{modalType == '1'}}">
|
|
|
|
<view class="regionItem couponBoxWrap" slot="modalContent">
|
|
|
|
<view class="regionItem preferentialCoupon" slot="modalContent">
|
|
|
|
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
|
|
|
|
<navigator wx:if="{{item.resultCoupon == '1' || item.is_type != '3'}}" url="/pack-activity/pack/{{item.is_type == '3'?'receiveCoupon':'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="purchase">
|
|
|
|
<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">¥<text class="priceText">{{item.price}}</text></view>
|
|
|
|
<view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
|
|
|
|
</view>
|
|
|
|
<image class="certificateImg" src="{{(item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
|
|
|
|
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountInfo">{{item.discount}}折</text>
|
|
|
|
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
|
|
|
|
</view>
|
|
|
|
<view class="certificateInfo">
|
|
|
|
<view class="preferentialDetails">
|
|
|
|
<view class="information">
|
|
|
|
<text class="discountText font20r">{{item.use.is_cash=='1'?'代金券':item.use.is_discount=='1'?'超值折扣':item.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
|
|
|
|
<text class="ticketName font24r">{{item.aname}}</text>
|
|
|
|
</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+'可用':''}}</text>
|
|
|
|
<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="limitation font24r">
|
|
|
|
无限制
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="limitation font24r">
|
|
|
|
会员生日当天可用
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type == '4' && item.desc}}" class="limitation showDesc">
|
|
|
|
<text class="font24r">消费要求</text>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="limitation showDesc font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
|
|
|
|
<view wx:if="{{item.useStime && item.useEtime}}" class="font24r nodate showDesc">{{item.useStime}} 至 {{item.useEtime}}</view>
|
|
|
|
<view wx:if="{{item.is_type == '3' && (item.morText || item.noonText || item.nigText)}}" class="limitation showDesc">
|
|
|
|
<text class="font24r">不可用日期</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="limitationBtn" wx:if="{{item.is_type != '3'}}">
|
|
|
|
<view class="font24r couponBtn">立即抢购</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">已领取</view>
|
|
|
|
<view class="font24r orderingFood orderingFood1">已领取</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>
|
|
|
|
<view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
|
|
|
|
<text></text>
|
|
|
|
<view>消费满{{item.desc}}元可用</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type == '3' && item.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
|
|
|
|
<text></text>{{item.morText}}
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type == '3' && item.noonText}}" class="bottomLimitation limitation font24r">
|
|
|
|
<text></text>{{item.noonText}}
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type == '3' && item.nigText}}" class="bottomLimitation limitation font24r">
|
|
|
|
<text></text>{{item.nigText}}
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{modalType == '2'}}">
|
|
|
|
<view class="publicModule preferentialCoupon" slot="modalContent">
|
|
|
|
<navigator wx:if="{{hasValueRecharge && marketing.is_recharge=='1' && recharge_data && recharge_data.id}}" 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/{{bookType == '1' ?'invitation10vector1':'invitation10vector'}}.png" mode="" />
|
|
|
|
<view class="rechargeTitle font36r">{{recharge_data.rname}}</view>
|
|
|
|
<view class="limitation font24r" wx:if="{{priceInfo}}">
|
|
|
|
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
|
|
|
|
<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="{{scoreInfo}}">
|
|
|
|
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
|
|
|
|
<view class="limitation font24r" wx:if="{{item.scoreInfo}}">
|
|
|
|
{{item.scoreInfo}}{{item.recharge_list.is_coupons=='0'?'。':';'}}
|
|
|
|
</view>
|
|
|
|
<view class="limitation font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
|
|
|
|
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
|
|
|
|
<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>
|
|
|
|
<view class="rechargeBtn">
|
|
|
|
<view class="font28r">立即充值</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
<view class="rechargeBtn">
|
|
|
|
<navigator wx:if="{{activeData.id}}" 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>
|
|
|
|
</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 couponBoxWrap" slot="modalContent" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
|
|
|
|
<view class="publicModule preferentialCoupon" slot="modalContent" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
|
|
|
|
<view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
|
|
|
|
<view class="couponInfo" bindtap="evaluateFun">
|
|
|
|
<view class="preferentialItems">
|
|
|
|
<view class="purchase">
|
|
|
|
<view class="priceText" wx:if="{{couponData.price}}">
|
|
|
|
<view class="icons">¥<text class="priceText">{{couponData.price}}</text></view>
|
|
|
|
</view>
|
|
|
|
<image class="certificateImg" src="{{(couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
|
|
|
|
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountInfo">{{couponData.discount}}折</text>
|
|
|
|
</view>
|
|
|
|
<view class="certificateInfo">
|
|
|
|
<view class="preferentialDetails">
|
|
|
|
<view class="information">
|
|
|
|
<text class="discountText font20r">{{couponData.use.is_cash=='1'?'代金券':couponData.use.is_discount=='1'?'超值折扣':couponData.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
|
|
|
|
<text class="ticketName font24r">{{couponData.aname}}</text>
|
|
|
|
</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+'可用':''}}</text>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="limitation font24r">
|
|
|
|
无限制
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
|
|
|
|
会员生日当天可用
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.is_type == '4' && couponData.desc}}" class="limitation showDesc">
|
|
|
|
<text class="font24r">消费要求</text>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.foreverText}}" class="limitation showDesc font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
|
|
|
|
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="font24r nodate showDesc">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
|
|
|
|
<view wx:if="{{couponData.is_type == '3' && (couponData.morText || couponData.noonText || couponData.nigText)}}" class="limitation showDesc">
|
|
|
|
<text class="font24r">不可用日期</text>
|
|
|
|
</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 class="limitationBtn" wx:if="{{couponData.is_type != '3'}}">
|
|
|
|
<view class="font24r couponBtn">立即抢购</view>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
|
|
|
|
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
</view>
|
|
|
|
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
|
|
|
|
<view class="font24r orderingFood">{{couponData.resultCoupon == '1'?'已领取':'立即领取'}}</view>
|
|
|
|
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
|
|
|
|
<view class="font24r">已被领取</view>
|
|
|
|
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
|
|
|
|
<text></text>
|
|
|
|
<view>消费满{{couponData.desc}}元可用</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.is_type == '3' && couponData.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
|
|
|
|
<text></text>{{couponData.morText}}
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.is_type == '3' && couponData.noonText}}" class="bottomLimitation limitation font24r">
|
|
|
|
<text></text>{{couponData.noonText}}
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
|
|
|
|
<view wx:if="{{(couponData.useStime && couponData.useEtime) ||couponDataitem.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 wx:if="{{couponData.is_type == '3' && couponData.nigText}}" class="bottomLimitation limitation font24r">
|
|
|
|
<text></text>{{couponData.nigText}}
|
|
|
|
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
|
|
|
|
<view class="font24r orderingFood orderingFood2">免费领取</view>
|
|
|
|
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
|
|
|
|
<view class="font24r">已被领取</view>
|
|
|
|
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
|
|
|
|
</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">
|
|
...
|
...
|
@@ -315,66 +312,40 @@ |
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{modalType == '5'}}">
|
|
|
|
<view class="publicModule" slot="modalContent" wx:if="{{store.textInfo || store.videoImgsInfo.length>0}}">
|
|
|
|
<block wx:if="{{bookType == '1'}}">
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{bookType == '2'}}">
|
|
|
|
<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="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
</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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{modalType == '6'}}">
|
|
|
|
<view class="publicModule" slot="modalContent" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}">
|
|
|
|
<block wx:if="{{bookType == '1'}}">
|
|
|
|
<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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{bookType == '2'}}">
|
|
|
|
<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="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{signboard.imgsInfo}}"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
<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}}">
|
|
|
|
<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 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;">
|
|
...
|
...
|
@@ -384,65 +355,39 @@ |
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{modalType == '7'}}">
|
|
|
|
<view class="publicModule" slot="modalContent" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<block wx:if="{{bookType == '1'}}">
|
|
|
|
<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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{bookType == '2'}}">
|
|
|
|
<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="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
<view class="publicModule" slot="modalContent" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.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>
|
|
|
|
<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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{modalType == '8'}}">
|
|
|
|
<view class="publicModule" slot="modalContent" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
|
|
|
|
<block wx:if="{{bookType == '1'}}">
|
|
|
|
<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>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{bookType == '2'}}">
|
|
|
|
<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="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{chef.imgsInfo}}"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
</block>
|
|
|
|
<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}}">
|
|
|
|
<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>
|
|
|
|
</my-modal>
|
...
|
...
|
|