|
...
|
...
|
@@ -71,27 +71,43 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 优惠券 -->
|
|
|
|
<view class="publicModule preferentialCoupon" wx:if="{{hasValueCertificate && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
|
|
|
|
<view class="publicModule preferentialCoupon couponBox" wx:if="{{hasValueCertificate && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
|
|
|
|
<image class="titleImg5" src="https://qn.colorcun.com/invitation10Title1.png" mode="" />
|
|
|
|
<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 class="purchase">
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<view class="icons">¥<text class="priceText">{{item.price}}</text></view>
|
|
|
|
<view class="descBox" wx:if="{{item.price == '0' && item.desc}}">{{item.desc}}</view>
|
|
|
|
</view>
|
|
|
|
<image class="certificateImg" src="https://qn.colorcun.com/invitation10certificate.png" mode="" />
|
|
|
|
</view>
|
|
|
|
<view class="purchase font40r">
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<view class="icons font40r">¥</view>{{item.price}}
|
|
|
|
<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>
|
|
|
|
<block wx:if="{{item.price != '0'}}">
|
|
|
|
<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">
|
|
|
|
无限制{{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>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<text class="limitation font24r">开始时间:{{item.stimeStr}}</text>
|
|
|
|
<text class="limitation font24r">结束时间:{{item.etimeStr}}</text>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="limitationBtn">
|
|
|
|
<view class="font24r {{item.price == '0' ? 'couponBtn couponBtn1' : 'couponBtn'}}">{{item.price == '0' ? '免费领取' : '立即购买'}}</view>
|
|
|
|
<view class="font24r limitationText" wx:if="{{item.price == '0'}}">已被领取</view>
|
|
|
|
<view class="font24r limitationText" wx:if="{{item.price == '0'}}"><text>{{(item.grant_num*1) - (item.grant_last*1)}}</text>张</view>
|
|
|
|
</view>
|
|
|
|
<view class="font24r couponBtn">立即购买</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
...
|
...
|
@@ -123,8 +139,9 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 评价券 -->
|
|
|
|
<view class="publicModule evaluateCoupon" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
|
|
|
|
<view class="publicModule" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
|
|
|
|
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title3.png" mode="" />
|
|
|
|
<view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
|
|
|
|
<view class="preferentialItems" bindtap="evaluateFun">
|
|
|
|
<view class="certificateInfo">
|
|
|
|
<text class="discountText font20r">评价有礼</text>
|
|
...
|
...
|
@@ -145,6 +162,18 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 评价没有券 -->
|
|
|
|
<view class="publicModule evaluateCoupon" wx:if="{{is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">
|
|
|
|
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title3.png" mode="" />
|
|
|
|
<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>
|
|
|
|
<!-- 停车指引 -->
|
|
|
|
<view class="publicModule" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title4.png" mode="" />
|
|
...
|
...
|
@@ -215,10 +244,14 @@ |
|
|
|
{{toastText}}
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
<view wx:if="{{isMoreBtn || (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 && isShareItem) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view>
|
|
|
|
<view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{(isMoreBtn && (detail.status !='4' && isShareItem)) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</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>
|
|
|
|
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
|
|
|
|
<my-modal id="payModal" fadeStyle="slideUp" height="240px">
|
...
|
...
|
|