|
...
|
...
|
@@ -72,7 +72,7 @@ |
|
|
|
<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" />
|
|
|
|
导航到店
|
|
|
|
{{bookType == '1' ? '导航' : '导航到店'}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
...
|
...
|
@@ -109,28 +109,41 @@ |
|
|
|
<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'}}">
|
|
|
|
<view class="regionItem couponBox" 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 class="purchase">
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<view class="icons">¥<text class="priceText">{{item.price}}</text></view>
|
|
|
|
</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>
|
|
|
|
<view class="purchase font40r">
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<view class="icons font24r">¥</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>
|
|
|
|
<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.desc}}" class="showDesc">
|
|
|
|
<text class="font24r">消费要求</text>
|
|
|
|
<image src="https://qn.colorcun.com/invitation10Sicon.png" mode="" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="limitationBtn">
|
|
|
|
<view class="font24r couponBtn">立即抢购</view>
|
|
|
|
</view>
|
|
|
|
<view class="font24r couponBtn">立即购买</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.desc}}" class="bottomLimitation font24r"><text></text>{{item.desc}}</view>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
...
|
...
|
@@ -167,38 +180,63 @@ |
|
|
|
</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 class="regionItem certificateBox couponBox" wx:if="{{activeTitle == '3' && !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 wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
|
|
|
|
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
<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.desc}}" class="showDesc">
|
|
|
|
<text class="font24r">消费要求</text>
|
|
|
|
<image src="https://qn.colorcun.com/invitation10Sicon.png" mode="" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="limitationBtn">
|
|
|
|
<view class="font24r couponBtn">立即领取</view>
|
|
|
|
</view>
|
|
|
|
</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 wx:if="{{couponData.desc}}" class="bottomLimitation font24r"><text></text>{{couponData.desc}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="regionItem evaluateCoupon" wx:if="{{activeTitle == '3' && is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">
|
|
|
|
<view class="preferentialItems" bindtap="evaluateFun">
|
|
|
|
<image class="evaluateImg" src="{{bookType == '1' ? 'https://qn.colorcun.com/invitation10Union.png' : 'https://qn.colorcun.com/invitation12Icon1-2.png'}}" mode="" />
|
|
|
|
<view class="evaluateText">
|
|
|
|
<text>期待您的声音</text>
|
|
|
|
<text>帮助我们持续改进</text>
|
|
|
|
</view>
|
|
|
|
<view class="font24r couponBtn">去评价</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 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>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{bookType == '1'}}">
|
|
|
|
<!-- 停车指引 -->
|
|
|
|
<view class="publicModule" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="chefText font36r">
|
|
|
|
<view class="line"></view>
|
|
|
|
<view class="font36r chefTextInfo">停车指引</view>
|
|
...
|
...
|
@@ -215,7 +253,7 @@ |
|
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<!-- 招牌菜品 -->
|
|
|
|
<view class="publicModule" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0 || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}">
|
|
|
|
<view class="publicModules" 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>
|
|
...
|
...
|
@@ -238,7 +276,7 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 餐厅介绍 -->
|
|
|
|
<view class="publicModule" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="chefText font36r">
|
|
|
|
<view class="line"></view>
|
|
|
|
<view class="font36r chefTextInfo">餐厅介绍</view>
|
|
...
|
...
|
@@ -255,7 +293,7 @@ |
|
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<!-- 主厨介绍 -->
|
|
|
|
<view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="chefText font36r">
|
|
|
|
<view class="line"></view>
|
|
|
|
<view class="font36r chefTextInfo">主厨介绍</view>
|
|
...
|
...
|
@@ -274,7 +312,7 @@ |
|
|
|
</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="publicModules" 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>
|
|
...
|
...
|
@@ -300,7 +338,7 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 招牌菜品 -->
|
|
|
|
<view class="publicModule" id="module2" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules publicModules1" id="module2" wx:if="{{(signboard && signboard.textInfo || signboard.videoImgsInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1')}}">
|
|
|
|
<view class="titleBox">
|
|
|
|
<view class="titleLine"></view>
|
|
|
|
<view class="font32">招牌菜品</view>
|
|
...
|
...
|
@@ -317,9 +355,15 @@ |
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="orderBox" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}">
|
|
|
|
<view class="font32r">提前点餐 到店不用等</view>
|
|
|
|
<view bindtap="cookbook" class="font28r cook" style="position: relative;">
|
|
|
|
去点餐
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 停车指引 -->
|
|
|
|
<view class="publicModule" id="module3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules" id="module3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="titleBox">
|
|
|
|
<view class="titleLine"></view>
|
|
|
|
<view class="font32">停车指引</view>
|
|
...
|
...
|
@@ -341,7 +385,7 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 主厨介绍 -->
|
|
|
|
<view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
|
|
|
|
<view class="titleBox">
|
|
|
|
<view class="titleLine"></view>
|
|
|
|
<view class="font32">主厨介绍</view>
|
...
|
...
|
|