gift.wxml 2.8 KB

1
  1. <app-layout vue-id="61533966-1" class="data-v-f17688c0" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="{{'height:'+(windowHeight+'px')+';'}}" scroll-y="{{true}}" class="data-v-f17688c0"><view hidden="{{!(loading)}}" class="app-goods data-v-f17688c0"><view class="banner data-v-f17688c0"><app-banner vue-id="{{('61533966-2')+','+('61533966-1')}}" videoUrl="{{goods.video_url}}" picList="{{goods.pic_list}}" goods_id="{{goods.id}}" isCart="{{false}}" sign="exchange" class="data-v-f17688c0" bind:__l="__l"></app-banner></view><view class="other-info data-v-f17688c0"><view class="t-omit-two goods-name data-v-f17688c0">{{goods.name}}</view><view class="code data-v-f17688c0" style="{{'color:'+(status=='unused'?getTheme.color:'#999999')+';'+('background-color:'+(status=='unused'?getTheme.background_o:'#f5f5f5')+';')}}">{{code}}</view><block wx:if="{{status=='unused'}}"><view class="app-share data-v-f17688c0"><app-form-id bind:click="__e" vue-id="{{('61533966-3')+','+('61533966-1')}}" data-event-opts="{{[['^click',[['e0']]]]}}" class="data-v-f17688c0" bind:__l="__l" vue-slots="{{['default']}}"><image class="app-icon data-v-f17688c0" src="../../../static/image/icon/icon-share.png"></image><text class="app-text data-v-f17688c0">赠送</text></app-form-id></view></block></view><app-share-qr-code vue-id="{{('61533966-4')+','+('61533966-1')}}" url="{{url}}" title="生成赠送海报" goods="{{goods}}" theme="{{getTheme}}" has-poster-nav="{{false}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['hShareAppMessage']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-f17688c0" bind:__l="__l"></app-share-qr-code><bd-detail vue-id="{{('61533966-5')+','+('61533966-1')}}" detail="{{goods.detail}}" class="data-v-f17688c0" bind:__l="__l"></bd-detail><view class="safe-area-inset-bottom data-v-f17688c0"><view class="u-bottom-height data-v-f17688c0"></view></view><view class="safe-area-inset-bottom u-bottom-fixed data-v-f17688c0"><view class="buttons dir-left-nowrap data-v-f17688c0"><view class="app-button main-center cross-center data-v-f17688c0"><block wx:if="{{status=='unused'}}"><view data-event-opts="{{[['tap',[['copy',['$event']]]]]}}" class="app-exhange data-v-f17688c0" style="{{'background:'+(getTheme.background_s_gradient_o)+';'+('color:'+(getTheme.secondary_text)+';')}}" bindtap="__e">复制兑换码</view></block><block wx:if="{{status=='unused'}}"><view data-event-opts="{{[['tap',[['toExchange',['$event']]]]]}}" class="app-exhange data-v-f17688c0" style="{{'background:'+(getTheme.background_gradient_o)+';'+('color:'+(getTheme.main_text)+';')}}" bindtap="__e">立即兑换</view></block><block wx:if="{{status!='unused'}}"><view class="app-over data-v-f17688c0">{{''+(status=='used'?'已兑换':'已失效')+''}}</view></block></view></view></view></view></scroll-view></app-layout>