|
...
|
...
|
@@ -6,67 +6,67 @@ |
|
|
|
<view class="sign"></view><text class="font32r">专属优惠券</text>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
|
|
|
|
<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 font24r">{{item.discount}}折</text>
|
|
|
|
<text wx:if="{{item.use.is_dish=='1'}}" class="discountText font24r">特惠菜品</text>
|
|
|
|
<text wx:if="{{item.use.is_discount=='1'}}" class="discountText font24r">超值折扣</text>
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<text class="icons font40r">¥</text><text>{{item.price}}</text>
|
|
|
|
<navigator url="/pack-activity/pack/buyCoupon?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{options.id}}&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 font24r">{{item.discount}}折</text>
|
|
|
|
<text wx:if="{{item.use.is_dish=='1'}}" class="discountText font24r">特惠菜品</text>
|
|
|
|
<text wx:if="{{item.use.is_discount=='1'}}" class="discountText font24r">超值折扣</text>
|
|
|
|
<view class="priceText" wx:if="{{item.price}}">
|
|
|
|
<text class="icons font40r">¥</text><text>{{item.price}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="itemRight">
|
|
|
|
<view class="btns">
|
|
|
|
<text class="font40r">{{item.aname}}</text>
|
|
|
|
<navigator url="/pack-activity/pack/buyCoupon?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{options.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
|
|
|
|
<view class="itemRight">
|
|
|
|
<view class="btns">
|
|
|
|
<text class="font40r">{{item.aname}}</text>
|
|
|
|
<view class="font24r orderingFood">
|
|
|
|
抢购
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="box" wx:if="{{hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data}}">
|
|
|
|
<view class="title">
|
|
|
|
<view class="sign"></view><text class="font32r">会员充值优惠</text>
|
|
|
|
</view>
|
|
|
|
<view class="rechargeItems">
|
|
|
|
<view class="itemLeft">
|
|
|
|
<view class="itemTop font36r">
|
|
|
|
{{recharge_data.rname}}
|
|
|
|
</view>
|
|
|
|
<view class="itemBottom font24r" wx:if="{{priceInfo}}">
|
|
|
|
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
|
|
|
|
</view>
|
|
|
|
<view class="bottom font24r" wx:if="{{scoreInfo}}">
|
|
|
|
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
|
|
|
|
</view>
|
|
|
|
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
|
|
|
|
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
|
|
|
|
<navigator url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{options.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
|
|
|
|
<view class="rechargeItems">
|
|
|
|
<view class="itemLeft">
|
|
|
|
<view class="itemTop font36r">
|
|
|
|
{{recharge_data.rname}}
|
|
|
|
</view>
|
|
|
|
<view class="itemBottom font24r" wx:if="{{priceInfo}}">
|
|
|
|
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
|
|
|
|
</view>
|
|
|
|
<view class="bottom font24r" wx:if="{{scoreInfo}}">
|
|
|
|
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
|
|
|
|
</view>
|
|
|
|
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
|
|
|
|
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<navigator url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{options.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
|
|
|
|
<view class="font24r orderingFood">
|
|
|
|
充值
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
<!-- 启用评价 && 是否评价过 && 评价赠送优惠券 && 赠送的优惠券有数据-->
|
|
|
|
<view class="box" wx:if="{{is_comments=='1' && !is_user_comments && marketing.is_comments_coupon=='1' && couponData && couponData.showCoupon =='1'}}">
|
|
|
|
<view class="title">
|
|
|
|
<view class="sign"></view><text class="font32r">反馈有礼</text>
|
|
|
|
</view>
|
|
|
|
<view class="preferentialItems">
|
|
|
|
<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="priceText" wx:if="{{couponData.price}}">
|
|
...
|
...
|
@@ -76,7 +76,7 @@ |
|
|
|
<view class="itemRight">
|
|
|
|
<view class="btns">
|
|
|
|
<text class="font40r">{{couponData.aname}}</text>
|
|
|
|
<view bindtap="evaluateFun" class="font24r orderingFood">
|
|
|
|
<view class="font24r orderingFood">
|
|
|
|
领取
|
|
|
|
</view>
|
|
|
|
</view>
|
...
|
...
|
|