|
|
|
<!--pack-activity/pack/examineCertificate.wxml 二维码验券页面-->
|
|
|
|
<wxs src="../../utils/util.wxs" module="util" />
|
|
|
|
<nav>{{detail.sellername}}</nav>
|
|
|
|
<view class="box_wrap">
|
|
|
|
<view class="top_box">
|
|
|
|
<view class="discount_name font40r">
|
|
|
|
{{detail.activity.aname}}
|
|
|
|
</view>
|
|
|
|
<view class="shop_name font28r">
|
|
|
|
{{detail.sellername}}
|
|
|
|
</view>
|
|
|
|
<!-- is_type 1店铺券 2个人券 是店铺券 && 需要验券-->
|
|
|
|
<view class="lineBox" wx:if="{{detail.activity.is_type=='1' && detail.activity.is_examine=='1'}}">
|
|
|
|
<view class="line" ></view>
|
|
|
|
<image wx:if="{{detail.is_examine=='1'}}" class="group" src="https://qn.colorcun.com/WechatIMG713.png" mode="" />
|
|
|
|
<image wx:if="{{detail.is_expire=='1'}}" class="group" src="https://qn.colorcun.com/WechatIMG714.png" mode="" />
|
|
|
|
</view>
|
|
|
|
<image wx:if="{{detail.qrcode && detail.activity.is_type=='1' && detail.activity.is_examine=='1'}}" class="qcode" src="{{detail.qrcode}}" mode="" />
|
|
|
|
<view class="orderNumber font28r" wx:if="{{detail.activity.is_type=='1' && detail.activity.is_examine=='1'}}">
|
|
|
|
{{detail.order_no}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="center_box">
|
|
|
|
<view class="info" wx:if="{{detail.activity.desc}}">
|
|
|
|
<view class="info_left font32r">
|
|
|
|
券要求
|
|
|
|
</view>
|
|
|
|
<view class="info_right font32r">
|
|
|
|
{{detail.activity.desc}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="info" wx:if="{{detail.stime}}">
|
|
|
|
<view class="info_left font32r">
|
|
|
|
有效期从
|
|
|
|
</view>
|
|
|
|
<view class="info_right font32r">
|
|
|
|
{{util.unixtoTime(detail.stime,'YYYY-MM-DD')}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="info">
|
|
|
|
<view class="info_left font32r" wx:if="{{detail.etime}}">
|
|
|
|
有效期至
|
|
|
|
</view>
|
|
|
|
<view class="info_right font32r">
|
|
|
|
{{util.unixtoTime(detail.etime,'YYYY-MM-DD')}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{exp_date.is_none=='1' || exp_date.is_none===true}}" class="info">
|
|
|
|
<view class="info_left font32r">
|
|
|
|
使用限制:
|
|
|
|
</view>
|
|
|
|
<view class="info_right font32r">
|
|
|
|
无限制
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{exp_date.is_birthday=='1' || exp_date.is_birthday===true}}" class="info">
|
|
|
|
<view class="info_left font32r">
|
|
|
|
使用限制:
|
|
|
|
</view>
|
|
|
|
<view class="info_right font32r">
|
|
|
|
会员生日当天
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{exp_date.is_week=='1' || exp_date.is_week===true}}" class="week">
|
|
|
|
<view class="week_top">
|
|
|
|
<view class="week_left font32r">
|
|
|
|
充值日期限制:
|
|
|
|
</view>
|
|
|
|
<view class="texts font32r">
|
|
|
|
每周指定日期餐段可用
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<text class="dateList texts font30r">
|
|
|
|
{{exp_date.week_show?exp_date.week_show+'可用':''}}
|
|
|
|
</text>
|
|
|
|
</view>
|
|
|
|
<view class="info info1" wx:if="{{detail.activity.explain}}">
|
|
|
|
<view class="info_left font32r">
|
|
|
|
券说明
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="explain_news">{{detail.activity.explain}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="btns" wx:if="{{detail.is_examine!='1' && detail.is_expire!='1' && detail.price!='0'}}">
|
|
|
|
<button class="font24r" plain="true" bindtap="subscribeDrawback">申请退费</button>
|
|
|
|
</view>
|
|
|
|
<view class="canteen_box" bindtap="getReserve">
|
|
|
|
<image src="{{sellerObj.seller_image}}" mode="heightFix" />
|
|
|
|
<view class="info_right">
|
|
|
|
<view class="font36r sellerName">{{sellerObj.sellername}}</view>
|
|
|
|
<view class="font24r" wx:if="{{sellerObj.cateStr}}">{{sellerObj.cateStr}}</view>
|
|
|
|
<view class="font28r" wx:if="{{sellerObj.real_address}}">{{sellerObj.real_address}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="bottom_box">
|
|
|
|
<view class="font24r">温馨提示:</view>
|
|
|
|
<view class="font24r">1、到店消费时,请您向餐厅出示该二维码。</view>
|
|
|
|
<view class="font24r">2、从<text class="bold_box">周到安排</text>微信小程序,我的-卡券,可以找到您的卡券。</view>
|
|
|
|
<!-- <view class="font24r">3、您也可以关注<text class="bold_box">周到安排</text>公众号,公众号菜单“优惠券”获取优惠券更多信息。</view> -->
|
|
|
|
<view class="font28r publicity" bindtap="wananchi">关注<text class="bold_box">周到安排</text>公众号,及时获取更多优惠券动态<view class="more" style="margin-left: 20rpx;"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="top_box">
|
|
|
|
<image src="https://qn.colorcun.com/voucherIcon1.png" mode="" />
|
|
|
|
<view class="texts">
|
|
|
|
<view class="font32r textName">{{detail.use.is_discount=='1'?'店铺折扣券':''}}{{detail.use.is_dish=='1'?'店铺菜品券':''}}{{detail.use.is_cash=='1'?'店铺代金券':''}}</view>
|
|
|
|
<view class="font24r threshold">
|
|
|
|
<block wx:if="{{detail.use.is_cash=='1'}}">
|
|
|
|
¥<text class="priceText">{{detail.price}}</text>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{detail.use.is_discount=='1'}}">
|
|
|
|
<text class="priceText">{{detail.use.discount}}折</text>
|
|
|
|
</block>
|
|
|
|
<text class="font24r" wx:if="{{detail.use.is_dish!='1' && detail.activity.desc}}">{{detail.activity.desc}}</text>
|
|
|
|
<text class="priceText" wx:if="{{detail.use.is_dish=='1'}}">{{detail.activity.aname}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="center_box qrcodeBox">
|
|
|
|
<view class="infoText font28r">请向店员出示二维码,用于核销确认</view>
|
|
|
|
<image wx:if="{{detail.qrcode && detail.activity.is_type=='1' && detail.activity.is_examine=='1'}}" class="qcode" src="{{detail.qrcode}}" mode="" />
|
|
|
|
<view class="infoText font28r" wx:if="{{detail.activity.is_type=='1' && detail.activity.is_examine=='1'}}">
|
|
|
|
{{detail.order_no}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="center_box" wx:if="{{detail.use && (detail.use.dish || detail.use.images.length>0)}}">
|
|
|
|
<view class="centerMain">
|
|
|
|
<view class="title">
|
|
|
|
<image src="https://qn.colorcun.com/voucherUnion_1.png" mode="" />
|
|
|
|
<text class="font28r">菜品</text>
|
|
|
|
</view>
|
|
|
|
<view class="info font24r">{{detail.use.dish}}</view>
|
|
|
|
<image class="useImg" wx:for="{{detail.use.images}}" src="{{item}}" mode="" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="center_box">
|
|
|
|
<view class="centerMain">
|
|
|
|
<view class="title">
|
|
|
|
<image src="https://qn.colorcun.com/voucherUnion_1.png" mode="" />
|
|
|
|
<text class="font28r">有效期</text>
|
|
|
|
</view>
|
|
|
|
<view class="info font24r"><text>活动期限</text>{{util.unixtoTime(detail.stime,'YYYY-MM-DD')}}<text>至</text>{{util.unixtoTime(detail.etime,'YYYY-MM-DD')}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="centerMain">
|
|
|
|
<view class="title">
|
|
|
|
<image src="https://qn.colorcun.com/voucherUnion_2.png" mode="" />
|
|
|
|
<text class="font28r">可用日期</text>
|
|
|
|
</view>
|
|
|
|
<view class="mLeft">
|
|
|
|
<text wx:if="{{exp_date.is_week=='1' || exp_date.is_week===true}}" class="info font24r">{{exp_date.week_show?exp_date.week_show:''}}</text>
|
|
|
|
<view wx:if="{{exp_date.is_none=='1' || exp_date.is_none===true}}" class="info font24r">无限制</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="centerMain" wx:if="{{exp_date.is_birthday=='1' || exp_date.is_birthday===true}}">
|
|
|
|
<view class="title">
|
|
|
|
<image src="https://qn.colorcun.com/voucherUnion_2.png" mode="" />
|
|
|
|
<text class="font28r">使用限制</text>
|
|
|
|
</view>
|
|
|
|
<view class="info font24r">会员生日当天</view>
|
|
|
|
</view>
|
|
|
|
<view class="centerMain" wx:if="{{detail.activity.explain}}">
|
|
|
|
<view class="title">
|
|
|
|
<image src="https://qn.colorcun.com/voucherUnion_5.png" mode="" />
|
|
|
|
<text class="font28r">其他说明</text>
|
|
|
|
</view>
|
|
|
|
<view class="info font24r">{{detail.activity.explain}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="seller_data">
|
|
|
|
<image src="{{sellerObj.seller_image}}" mode="aspectFill" />
|
|
|
|
<view class="seller_box">
|
|
|
|
<view class="infos">
|
|
|
|
<view class="info_name font32r">{{sellerObj.sellername}}</view>
|
|
|
|
<view class="park font24r" wx:if="{{sellerObj.is_parking}}">可停车</view>
|
|
|
|
</view>
|
|
|
|
<view class="infos infos1">
|
|
|
|
<view class="dish font24r">{{sellerObj.cateStr}}</view>
|
|
|
|
<view class="averageText font24r" wx:if="{{sellerObj.average && sellerObj.average>0}}">人均¥{{sellerObj.average}}</view>
|
|
|
|
<view class="marTop font24r">{{distance}}</view>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="bottom_btns">
|
|
|
|
<view class="book font24r">朋友订过</view>
|
|
|
|
<view class="book font24r">我订过</view>
|
|
|
|
<view class="book font24r">我去过</view>
|
|
|
|
<view class="book font24r">我有券</view>
|
|
|
|
</view> -->
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="bottom_box_wrap">
|
|
|
|
<view class="bottom_box">
|
|
|
|
<view class="font24r">温馨提示:</view>
|
|
|
|
<view class="font24r">到店消费时,请您扫描商家二维码付款时,可以直接识别并使用优惠券</view>
|
|
|
|
<view class="font24r">2、从<text class="bold_box">周到安排</text>微信小程序,<text class="bold_box">“我的-卡券”</text>中,可以找到您的卡券。</view>
|
|
|
|
<view class="font24r">3、您也可以关注<text class="bold_box">周到安排</text>公众号,获取更多优惠券信息</view>
|
|
|
|
<view class="font28r publicity" bindtap="wananchi">关注<text class="bold_box">周到安排</text>公众号,及时获取更多优惠券动态<view class="more" style="margin-left: 20rpx;"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="sharewidth" wx:if="{{(detail.is_examine!='1' && detail.is_expire!='1' && detail.price!='0') || (sellerObj.is_online_reserve == '1')}}">
|
|
|
|
<view class="btns">
|
|
|
|
<view wx:if="{{detail.is_examine!='1' && detail.is_expire!='1' && detail.price!='0'}}" class="btn1 font36r" bindtap="subscribeDrawback">申请退款</view>
|
|
|
|
<view class="btn font36r" wx:if="{{sellerObj.is_online_reserve == '1'}}">
|
|
|
|
<navigator url="/pages/reserve/reserve?id={{sellerObj.sid}}&activeTab=reserve" class="book-item-font second-book-button flex-cc font30r" style="position: relative;">预订包间</navigator>
|
|
|
|
</view>
|
|
|
|
<view class="btn font36r" wx:if="{{sellerObj.is_online_reserve == '0' && sellerObj.phone}}">
|
|
|
|
<view bindtap="callPhone">预订包间</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|