<ax-body vue-id="013bbc14-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="page-background"><image src="{{couponsBg}}" mode="widthFix"></image></view><view class="tabs-body"><view class="tabs-box"><block wx:for="{{tabsList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['handleTabClick',['$0'],[[['tabsList','id',item.id]]]]]]]}}" class="{{['item-tabs',(currentIndex===item.id)?'active':'']}}" bindtap="__e">{{item.text+"("+(item.count||0)+")"}}</view></block></view><view style="height:350rpx;"></view><view class="list-body"><block wx:for="{{toBeclaimedCoupons}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="coupons-list-box" style="{{'opacity:'+(''+(currentIndex===3?'0.5':''))+';'}}"><image class="coupons-bg-img" src="{{coupons_card}}" mode></image><view class="coupons-content-box"><view class="coupons-left"><view class="left-price">{{item.discountPrice}}<text>元</text></view><view class="left-rules">{{"满"+item.usePrice+"元可用"}}</view></view><view class="coupons-center"><view class="coupons-title textHidden">{{item.name||''}}</view><block wx:if="{{currentIndex==0}}"><view class="coupons-valid">{{"有效期：领取后"+item.failureTime+"天"}}</view></block><block wx:else><view class="coupons-valid">{{item.validEndTime+"到期"}}</view></block><view class="coupons-range">平台所有充电桩可用</view></view><view class="coupons-right"><block wx:if="{{currentIndex===0}}"><view class="coupons-dayrules textHidden">{{item.description+''}}</view></block><block wx:if="{{currentIndex===0}}"><view data-event-opts="{{[['tap',[['get_coupons',['$0'],[[['toBeclaimedCoupons','id',item.id]]]]]]]}}" class="coupons-getbtn" bindtap="__e">立即领取 </view></block><block wx:if="{{currentIndex===2}}"><view data-event-opts="{{[['tap',[['goto_orderDetail',['$0'],[[['toBeclaimedCoupons','id',item.id]]]]]]]}}" class="coupons-getbtn" bindtap="__e">查看订单 </view></block></view></view><view class="ribbon" style="{{'background-color:'+(''+(currentIndex===3?'#e8e8e8':''))+';'+('color:'+(''+(currentIndex===3?'#8c8c8c':''))+';')}}">{{''+tabsList[currentIndex].text+''}}</view></view></block><view style="height:30rpx;"></view><block wx:if="{{$root.g0==0}}"><view class="not-data"><image class="icon" src="/static/img/empty.svg" mode="widthFix"></image><view>暂无数据</view></view></block></view></view></ax-body>