<view class="data-v-33f815d0"><view class="{{['data-v-33f815d0','page-width','figure-rule','component-height',theme+'-figure-rule']}}"><image class="page-width component-height background-image data-v-33f815d0" src="/plugins/gift/image/head-texture-background.png"></image><view class="page-width text-content component-height dir-left-nowrap data-v-33f815d0"><view class="figure box-grow-0 dir-top-nowrap data-v-33f815d0"><view class="box-grow-0 big-text text-color data-v-33f815d0">表达心意新方式</view><view class="box-grow-0 small-text text-color data-v-33f815d0">· 网上送礼   · 对方填地址   · 支持转赠</view></view><view class="rule box-grow-0 data-v-33f815d0"><view data-event-opts="{{[['tap',[['routeRule']]]]}}" class="identification data-v-33f815d0" bindtap="__e">规则</view></view></view></view><view class="{{['pick-gift','radius-back-color','data-v-33f815d0',(gift_list.length===0)?'pick-gift-height':'']}}"><block wx:if="{{gift_list.length===0}}"><view data-event-opts="{{[['tap',[['routeGo',['/plugins/gift/list/list']]]]]}}" class="selection-box radius-back-color dir-left-nowrap cross-center data-v-33f815d0" bindtap="__e"><image class="gift-box data-v-33f815d0" src="/plugins/gift/image/gift-box.png"></image><view class="guided-text data-v-33f815d0"><view class="{{['big-text','data-v-33f815d0',theme+'-color']}}">挑选礼物</view><view class="small-text data-v-33f815d0">点击这里开始挑选心仪礼物</view></view><image class="guide data-v-33f815d0" src="/static/image/icon/arrow-right.png"></image></view></block><block wx:else><view class="page-width cart data-v-33f815d0"><block wx:for="{{gift_list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="page-width item dir-left-nowrap data-v-33f815d0"><image class="pic data-v-33f815d0" src="{{item.pic_url}}"></image><view class="content dir-top-nowrap main-left data-v-33f815d0"><text class="name black t-omit data-v-33f815d0">{{item.name}}</text><view class="attr t-omit data-v-33f815d0">{{''+item.attr_str+''}}</view><view class="price-button dir-left-nowrap cross-center main-between data-v-33f815d0"><text class="{{['data-v-33f815d0',theme+'-color','price','t-omit']}}">{{item.total_cost}}</text><view class="number-button dir-left-nowrap cross-center main-between data-v-33f815d0"><button class="btn btn-left data-v-33f815d0" disabled="{{item.number==0}}" plain="{{true}}" data-event-opts="{{[['tap',[['changeNumber',[false,key]]]]]}}" bindtap="__e">-</button><input class="input black data-v-33f815d0" type="number" data-event-opts="{{[['input',[['__set_model',['$0','number','$event',[]],[[['gift_list','',key]]]],['changeIndex',[key]]]],['confirm',[['changeInput',['$event']]]],['blur',[['changeInput',['$event']]]]]}}" value="{{item.number}}" bindinput="__e" bindconfirm="__e" bindblur="__e"/><button class="{{['btn','btn-right','data-v-33f815d0',item.number==item.attr.stock?'disabled':'']}}" plain="{{true}}" disabled="{{item.number==item.attr.stock}}" data-event-opts="{{[['tap',[['changeNumber',[true,key]]]]]}}" bindtap="__e">+</button></view></view></view></view></block><view class="page-width total-content dir-left-nowrap cross-center main-between data-v-33f815d0"><text class="number data-v-33f815d0">{{"共"+$root.f0+"件礼物"}}</text><view data-event-opts="{{[['tap',[['routeGo',['/plugins/gift/list/list']]]]]}}" class="{{['data-v-33f815d0','again',theme+'-background']}}" bindtap="__e">继续添加</view></view></view></block></view></view>