<app-layout vue-id="3f3d98c0-1" class="data-v-0cca6fa6" bind:__l="__l" vue-slots="{{['default']}}"><app-tab-nav vue-id="{{('3f3d98c0-2')+','+('3f3d98c0-1')}}" setTop="{{0}}" border="{{false}}" shadow="{{false}}" height="{{100}}" tabList="{{tabList}}" padding="{{0}}" activeItem="{{activeTab}}" theme="{{getTheme}}" data-event-opts="{{[['^click',[['tabStatus']]]]}}" bind:click="__e" class="data-v-0cca6fa6" bind:__l="__l"></app-tab-nav><block wx:if="{{activeTab=='0'}}"><view class="scan data-v-0cca6fa6"><view class="data-v-0cca6fa6">输入兑换码或者扫码兑换二维码开始兑换</view><view class="scan-input data-v-0cca6fa6"><input placeholder="请输入兑换码" type="text" data-event-opts="{{[['focus',[['e0',['$event']]]],['blur',[['e1',['$event']]]],['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindfocus="__e" bindblur="__e" bindinput="__e" class="data-v-0cca6fa6"/><block wx:if="{{!is_not_wechat}}"><image src="./../image/scan.png" data-event-opts="{{[['tap',[['scan',['$event']]]]]}}" bindtap="__e" class="data-v-0cca6fa6"></image></block></view><view data-event-opts="{{[['tap',[['clerk',['$event']]]]]}}" class="scan-button data-v-0cca6fa6" style="{{'background-color:'+(code.length>0?getTheme.background:'#d6d6d6')+';'+('color:'+(code.length>0?'#fff':'#b2b2b2')+';')}}" bindtap="__e">兑换</view></view></block><block wx:if="{{activeTab=='1'}}"><view class="data-v-0cca6fa6"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{list.length>0}}"><view class="item data-v-0cca6fa6"><view class="main-between cross-center status data-v-0cca6fa6"><view class="item-code data-v-0cca6fa6" style="{{'background-color:'+(item.status==2?getTheme.background_o:'#F5F5F5')+';'+('color:'+(item.status==2?getTheme.color:'#999999')+';')}}">{{item.code}}</view><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','',index]]]]]]]}}" class="dir-left-nowrap cross-center item-status data-v-0cca6fa6" style="{{'color:'+(item.status==2?getTheme.color:'#999999')+';'}}" bindtap="__e"><view class="data-v-0cca6fa6">{{item.status==2?item.last_num+'项待领取':'已全部领取'}}</view><block wx:if="{{item.status==2}}"><view class="iconfont icon-right _i data-v-0cca6fa6" style="{{'color:'+(getTheme.color)+';'}}"></view></block><block wx:else><image src="/static/image/icon/right.png" class="data-v-0cca6fa6"></image></block></view></view><view class="item-time data-v-0cca6fa6">{{"兑换时间："+item.r_raffled_at}}</view></view></block></block><block wx:if="{{list.length==0}}"><view style="padding-top:30%;" class="data-v-0cca6fa6"><app-no-goods vue-id="{{('3f3d98c0-3')+','+('3f3d98c0-1')}}" title="暂无兑换记录" is_image="{{1}}" background="#f7f7f7" class="data-v-0cca6fa6" bind:__l="__l"></app-no-goods></view></block></view></block><block wx:if="{{setting.is_rules==1&&activeTab=='0'&&hiddenBottom}}"><view data-event-opts="{{[['tap',[['showRule',['$event']]]]]}}" class="{{['use-info','data-v-0cca6fa6',''+(tabbarbool?'tabbarbool':'')]}}" style="{{'color:'+(getTheme.color)+';'}}" bindtap="__e">使用说明</view></block><u-mask vue-id="{{('3f3d98c0-4')+','+('3f3d98c0-1')}}" show="{{dialog}}" maskClickAble="{{false}}" zoom="{{false}}" class="data-v-0cca6fa6" bind:__l="__l" vue-slots="{{['default']}}"><view class="dialog data-v-0cca6fa6"><image class="dialog-img data-v-0cca6fa6" src="./../image/error.png"></image><view class="dialog-msg data-v-0cca6fa6"><text class="data-v-0cca6fa6">{{msg}}</text></view><view class="dialog-other data-v-0cca6fa6">{{other}}</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="dialog-button data-v-0cca6fa6" style="{{'background-color:'+(getTheme.background)+';'}}" bindtap="__e">我知道了</view></view></u-mask><block wx:if="{{showRules}}"><view class="dialog-bg data-v-0cca6fa6"><view class="{{['u-rules','data-v-0cca6fa6',''+(tabbarbool?'tabbarbool':''),''+(iphone_x?'iphone_x':'')]}}" style="{{'bottom:'+(bottom)+';'}}" animation="{{animationData}}"><view class="u-rules-top dir-right-nowrap data-v-0cca6fa6"><block wx:if="{{over}}"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="end-close main-center cross-center data-v-0cca6fa6" bindtap="__e"><image src="/static/image/icon/icon-close.png" class="data-v-0cca6fa6"></image></view></block></view><view class="u-rules-content data-v-0cca6fa6"><parse vue-id="{{('3f3d98c0-5')+','+('3f3d98c0-1')}}" content="{{setting.rules}}" class="data-v-0cca6fa6" bind:__l="__l"></parse></view></view></view></block><block wx:if="{{setting.is_to_gift==1&&hiddenBottom}}"><view data-event-opts="{{[['tap',[['toGift',['$event']]]]]}}" class="{{['jump-dialog','cross-center','dir-top-nowrap','main-center','data-v-0cca6fa6',''+(tabbarbool?'tabbarbool':'')]}}" bindtap="__e"><image src="{{setting.to_gift_pic}}" class="data-v-0cca6fa6"></image><view class="data-v-0cca6fa6">礼品卡</view></view></block></app-layout>