<block wx:if="{{integral&&integral.title||balance&&balance.title||card&&card.list.length>0||coupon&&coupon.list.length>0}}"><view class="bd-hc data-v-d3eb8ad0"><block wx:if="{{integral&&integral.title}}"><view class="bd-block dir-left-nowrap cross-center data-v-d3eb8ad0"><view class="box-grow-0 data-v-d3eb8ad0">活动</view><view class="bd-give box-grow-0 main-center cross-center data-v-d3eb8ad0" style="{{'color:'+(theme.color)+';'}}">送积分</view><view class="content u-line-1 box-grow-1 data-v-d3eb8ad0">{{integral.title}}</view></view></block><block wx:if="{{balance&&balance.title}}"><view class="bd-block dir-left-nowrap cross-center data-v-d3eb8ad0"><view class="box-grow-0 data-v-d3eb8ad0">促销</view><view class="bd-give box-grow-0 main-center cross-center data-v-d3eb8ad0" style="{{'color:'+(theme.color)+';'}}">赠余额</view><view class="content u-line-1 box-grow-1 data-v-d3eb8ad0">{{balance.title}}</view></view></block><block wx:if="{{card&&card.list.length>0}}"><view data-event-opts="{{[['tap',[['change',['card','卡券']]]]]}}" class="bd-block dir-left-nowrap cross-center data-v-d3eb8ad0" bindtap="__e"><view class="box-grow-0 data-v-d3eb8ad0">{{!(balance&&balance.title)?'促销':''}}</view><view class="bd-give box-grow-0 main-center cross-center data-v-d3eb8ad0" style="{{'color:'+(theme.color)+';'}}">赠卡券</view><view class="content u-line-1 box-grow-1 data-v-d3eb8ad0">{{card.title}}</view><image class="box-grow-0 bd-icon data-v-d3eb8ad0" src="/static/image/icon/arrow-right.png"></image></view></block><block wx:if="{{coupon&&coupon.list.length>0}}"><view data-event-opts="{{[['tap',[['change',['coupon','优惠券']]]]]}}" class="bd-block dir-left-nowrap cross-center data-v-d3eb8ad0" bindtap="__e"><view class="box-grow-0 data-v-d3eb8ad0">{{!(balance&&balance.title&&card&&card.list.length>0)?'促销':''}}</view><view class="bd-give box-grow-0 main-center cross-center data-v-d3eb8ad0" style="{{'color:'+(theme.color)+';'}}">赠优惠券</view><view class="content u-line-1 box-grow-1 data-v-d3eb8ad0">{{coupon.title}}</view><image class="box-grow-0 bd-icon data-v-d3eb8ad0" src="/static/image/icon/arrow-right.png"></image></view></block><u-popup vue-id="2b3d996e-1" mode="bottom" border-radius="14" value="{{show}}" data-event-opts="{{[['^close',[['e0']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-d3eb8ad0" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="model data-v-d3eb8ad0" catchtouchmove="__e"><view class="f-top dir-left-nowrap main-between cross-center data-v-d3eb8ad0"><view class="f-title dir-left-nowrap cross-center u-line-1 data-v-d3eb8ad0"><view class="p-title data-v-d3eb8ad0">{{title}}</view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="f-image data-v-d3eb8ad0" bindtap="__e"><image class="f-img data-v-d3eb8ad0" src="/static/image/icon/icon-close.png"></image></view></view><scroll-view class="f-scroll data-v-d3eb8ad0" scroll-y="{{true}}"><view class="f-scroll-content data-v-d3eb8ad0"><block wx:if="{{showModal==='coupon'}}"><view class="coupon-content data-v-d3eb8ad0"><block wx:for="{{coupon.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="coupon dir-left-nowrap cross-center data-v-d3eb8ad0"><block wx:if="{{item.type===1}}"><view class="dis data-v-d3eb8ad0"><text class="data-v-d3eb8ad0">{{item.discount}}</text><text class="data-v-d3eb8ad0">折</text></view></block><block wx:else><block wx:if="{{item.type===2}}"><view class="price data-v-d3eb8ad0"><text class="data-v-d3eb8ad0">￥</text><text class="data-v-d3eb8ad0">{{item.sub_price}}</text></view></block></block><view class="box-grow-1 dir-top-nowrap data-v-d3eb8ad0"><text class="name data-v-d3eb8ad0">{{item.name}}</text><text class="limit data-v-d3eb8ad0">{{"满"+item.min_price+"可用"}}</text><text class="number data-v-d3eb8ad0">{{"赠送"+item.number+"张"}}</text></view></view></block></view></block><block wx:if="{{showModal==='card'}}"><view class="card-content data-v-d3eb8ad0"><block wx:for="{{card.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card dir-left-nowrap cross-center data-v-d3eb8ad0"><image src="{{item.pic_url}}" class="data-v-d3eb8ad0"></image><view class="box-grow-1 dir-top-nowrap data-v-d3eb8ad0"><text class="name data-v-d3eb8ad0">{{item.name}}</text><text class="number data-v-d3eb8ad0">{{"赠送"+item.number+"张"}}</text></view></view></block></view></block></view></scroll-view></view></u-popup></view></block>