<view class="detail-attr data-v-30bc11a2"><view class="safe-area-inset-bottom u-bottom-fixed data-v-30bc11a2"><view data-event-opts="{{[['tap',[['preventD',['$event']]]]]}}" class="attr-content data-v-30bc11a2" catchtap="__e"><view class="top dir-left-nowrap data-v-30bc11a2"><view class="image-view data-v-30bc11a2"><image src="{{attr_pic_url?attr_pic_url:image_url}}" data-event-opts="{{[['tap',[['clickImage',['$0'],['index']]]]]}}" bindtap="__e" class="data-v-30bc11a2"></image></view><view class="price dir-top-nowrap data-v-30bc11a2"><text class="des data-v-30bc11a2" style="{{'color:'+(theme.color)+';'}}">{{"定金￥"+attr_deposit+"抵￥"+attr_swell_deposit}}</text><block wx:if="{{level_show==0||level_show==2}}"><text class="swell data-v-30bc11a2" style="{{'color:'+(theme.color)+';'}}">{{'￥'+attr_price+''}}<text class="swell-text data-v-30bc11a2">预售价</text></text></block><block wx:if="{{level_show===1}}"><text class="swell data-v-30bc11a2" style="{{'color:'+(theme.color)+';'}}">{{'￥'+attr_price_member+''}}<text class="swell-text data-v-30bc11a2">会员价</text></text></block><text class="stock data-v-30bc11a2">{{"库存"+attr_stock}}</text></view><image class="close data-v-30bc11a2" src="/static/image/icon/icon-close.png" data-event-opts="{{[['tap',[['close_attr',['$event']]]]]}}" bindtap="__e"></image></view><scroll-view class="center data-v-30bc11a2" scroll-y="{{true}}"><block wx:for="{{attr_groups}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="row data-v-30bc11a2"><text class="attr-group-name data-v-30bc11a2">{{item.attr_group_name}}</text><view class="attr-row dir-left-wrap data-v-30bc11a2"><block wx:for="{{item.attr_list}}" wx:for-item="attr" wx:for-index="ind" wx:key="ind"><view data-event-opts="{{[['tap',[['select_attr',['$0','$1'],[[['attr_groups','',index]],[['attr_groups','',index],['attr_list','',ind]]]]]]]}}" class="{{['attr-item','data-v-30bc11a2',attr.active?'active-attr-item':'default-back']}}" style="{{'background-color:'+(attr.active?theme.background:'')+';'}}" catchtap="__e">{{attr.attr_name}}</view></block></view></view></block></scroll-view><view class="bottom dir-left-nowrap main-between cross-center data-v-30bc11a2"><text class="data-v-30bc11a2">数量</text><view class="num dir-right-nowrap main-between cross-center data-v-30bc11a2"><image class="image data-v-30bc11a2" src="/static/image/cart/can-be-added.png" data-event-opts="{{[['tap',[['add_num',['$event']]]]]}}" catchtap="__e"></image><input class="input data-v-30bc11a2" type="number" data-event-opts="{{[['change',[['change_num',['$event']]]]]}}" value="{{num}}" bindchange="__e"/><image class="image data-v-30bc11a2" src="{{num===1?'../image/can-be-reduced.png':'/static/image/cart/can-be-reduced.png'}}" data-event-opts="{{[['tap',[['edd_num',['$event']]]]]}}" catchtap="__e"></image></view></view><view style="{{'height:'+(height+'rpx')+';'}}" class="data-v-30bc11a2"></view></view></view></view>