give.wxml 3.7 KB

1
  1. <app-layout vue-id="5c79d2c7-1" class="data-v-afb61bc2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{coupon}}"><view class="give data-v-afb61bc2"><view class="content data-v-afb61bc2" style="{{(contentStyle)}}"><view class="avatar dir-left-nowrap main-center cross-center data-v-afb61bc2"><image src="{{coupon.avatar}}" class="data-v-afb61bc2"></image></view><view class="nickname data-v-afb61bc2">{{coupon.nickname}}</view><view class="title data-v-afb61bc2">送你一张优惠券</view><block wx:if="{{coupon.status==1}}"><view class="pic dir-left-nowrap cross-between main-center data-v-afb61bc2"><view class="box-grow-0 coupon-left main-center cross-center data-v-afb61bc2"><block wx:if="{{coupon.type==1}}"><view class="discount data-v-afb61bc2">{{coupon.discount}}</view></block><block wx:else><view class="sub t-omit data-v-afb61bc2">{{coupon.sub_price}}</view></block></view><view class="box-grow-0 coupon-right dir-top-nowrap main-center cross-center data-v-afb61bc2"><block wx:if="{{coupon.min_price>0}}"><view class="data-v-afb61bc2">{{"满¥"+coupon.min_price+"可用"}}</view></block><block wx:else><view class="data-v-afb61bc2">无门槛使用</view></block><view class="margin-top data-v-afb61bc2">{{coupon.appoint_type_text}}</view></view><view class="box-grow-1 data-v-afb61bc2"></view></view><block wx:if="{{coupon.expire_type==1}}"><view class="time data-v-afb61bc2">{{"有效期:领取后"+coupon.expire_day+"天有效"}}</view></block><block wx:else><view class="time data-v-afb61bc2">{{"有效期:"+coupon.begin_time+" - "+coupon.end_time}}</view></block><view class="card-btn-group dir-left-nowrap main-center data-v-afb61bc2"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="card-btn btn-0 box-grow-0 data-v-afb61bc2" bindtap="__e"><app-image vue-id="{{('5c79d2c7-2')+','+('5c79d2c7-1')}}" img-src="{{coupon.img_share}}" width="100%" height="100%" class="data-v-afb61bc2" bind:__l="__l"></app-image></view><view data-event-opts="{{[['tap',[['toGoods',['$event']]]]]}}" class="card-btn btn-0 box-grow-0 data-v-afb61bc2" bindtap="__e"><app-image vue-id="{{('5c79d2c7-3')+','+('5c79d2c7-1')}}" img-src="{{coupon.img_use}}" width="100%" height="100%" class="data-v-afb61bc2" bind:__l="__l"></app-image></view></view><view class="data-v-afb61bc2"><app-share-qr-code bind:input="__e" vue-id="{{('5c79d2c7-4')+','+('5c79d2c7-1')}}" title="生成优惠券海报" poster-url="{{'/pages/poster/poster?coupon_id='+coupon.id}}" has-poster-nav="{{true}}" value="{{shareShow}}" data-event-opts="{{[['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" class="data-v-afb61bc2" bind:__l="__l"></app-share-qr-code></view></block><block wx:else><view data-event-opts="{{[['tap',[['receive',['$event']]]]]}}" class="card-btn btn-1 data-v-afb61bc2" bindtap="__e"><app-image vue-id="{{('5c79d2c7-5')+','+('5c79d2c7-1')}}" img-src="{{coupon.img_receive}}" width="100%" height="100%" class="data-v-afb61bc2" bind:__l="__l"></app-image></view></block></view><view class="data-v-afb61bc2"><block wx:if="{{recommendGoodsList&&recommendGoodsList.length}}"><app-related-suggestion-product vue-id="{{('5c79d2c7-6')+','+('5c79d2c7-1')}}" list="{{recommendGoodsList}}" text="您或许会喜欢" theme="{{getTheme}}" class="data-v-afb61bc2" bind:__l="__l"></app-related-suggestion-product></block></view></view></block><block wx:if="{{modal.show}}"><view class="card-modal dir-top-nowrap cross-center main-center data-v-afb61bc2"><view class="modal-content data-v-afb61bc2" style="{{'background-image:'+('url('+img_finish_receiving+')')+';'}}"><view class="error data-v-afb61bc2">{{modal.msg}}</view><view data-event-opts="{{[['tap',[['btnClick',['$event']]]]]}}" class="modal-btn data-v-afb61bc2" bindtap="__e"></view></view></view></block></app-layout>