|
...
|
...
|
@@ -3,109 +3,133 @@ |
|
|
|
<nav id='nav'>商家有礼</nav>
|
|
|
|
<view class="box" wx:if="{{hasValueCertificate && coupon_dataList.length>0}}">
|
|
|
|
<view class="title" wx:if="{{options.form == '1'}}">
|
|
|
|
<view class="sign"></view><text class="font32r">专属优惠券</text>
|
|
|
|
<view class="sign"></view><text class="font28r">专属优惠券</text>
|
|
|
|
</view>
|
|
|
|
<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={{options.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
|
|
|
|
<view class="couponWrap">
|
|
|
|
<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>
|
|
|
|
<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 font24r">¥</view><text class="font48r">{{item.price}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
|
|
|
|
<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>
|
|
|
|
<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 font24r">¥</view><text class="font48r">{{item.price}}</text>
|
|
|
|
</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 orderingFood1">已领取</view>
|
|
|
|
<view class="grantNum" wx:if="{{item.receiveNumText}}">
|
|
|
|
<view class="font24r">已被领取</view>
|
|
|
|
<view class="font24r"><text>{{item.receiveNumText}}</text>张</view>
|
|
|
|
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
|
|
|
|
</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 orderingFood1">已领取</view>
|
|
|
|
<view class="grantNum" wx:if="{{item.receiveNumText}}">
|
|
|
|
<view class="font24r">已被领取</view>
|
|
|
|
<view class="font24r"><text>{{item.receiveNumText}}</text>张</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type != '3'}}" class="font24r orderingFood">
|
|
|
|
立即抢购
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.is_type != '3'}}" class="font24r orderingFood orderingFood2">
|
|
|
|
抢购
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="box" wx:if="{{options.form == '1' && hasValueRecharge && recharge_data && recharge_data.id}}">
|
|
|
|
<view class="title">
|
|
|
|
<view class="sign"></view><text class="font32r">会员充值优惠</text>
|
|
|
|
<view class="sign"></view><text class="font28r">会员充值优惠</text>
|
|
|
|
</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="rechargeItems">
|
|
|
|
<view class="couponWrap">
|
|
|
|
<view class="itemLeft">
|
|
|
|
<view class="itemTop font36r">
|
|
|
|
{{recharge_data.rname}}
|
|
|
|
<view class="priceText" wx:if="{{recharge_data.recharge_money}}">
|
|
|
|
<view class="icons font24r">¥</view><text class="font48r">{{recharge_data.recharge_money}}</text>
|
|
|
|
</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="couponLine"></view>
|
|
|
|
<view class="itemRight">
|
|
|
|
<view class="btns">
|
|
|
|
<view class="bottom 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 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 class="font24r orderingFood orderingFood2">
|
|
|
|
充值
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="font24r orderingFood">
|
|
|
|
充值
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
<!-- 启用评价 && 是否评价过 && 评价赠送优惠券 && 赠送的优惠券有数据-->
|
|
|
|
<view class="box" wx:if="{{options.form == '1' && 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 class="sign"></view><text class="font28r">反馈有礼</text>
|
|
|
|
</view>
|
|
|
|
<view class="preferentialItems" bindtap="evaluateFun">
|
|
|
|
<view class="couponWrap" 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}}">
|
|
|
|
<text class="icons font40r">¥</text><text>{{couponData.price}}</text>
|
|
|
|
<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="font40r">{{couponData.aname}}</text>
|
|
|
|
<view class="font24r orderingFood">
|
|
|
|
领取
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<text 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+'。':'。'}}</text>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
|
|
|
|
无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
<text class="font32r anameText">{{couponData.aname}}</text>
|
|
|
|
<block wx:if="{{couponData.is_type == '1' || couponData.is_type == '2'}}">
|
|
|
|
<text 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+'。':'。'}}</text>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
|
|
|
|
无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
|
|
|
|
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
|
|
|
|
<view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.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.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
|
|
|
|
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
|
|
|
|
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
|
|
|
|
<view class="font24r orderingFood">免费领取</view>
|
|
|
|
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
|
|
|
|
<view class="font24r">已被领取</view>
|
|
|
|
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
...
|
...
|
|