app-goods-commodity-style.wxml 2.5 KB

1
  1. <view class="flex-center style-pop data-v-1c74c074"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="shade-box data-v-1c74c074" bindtap="__e"></view><view class="style-pop-center data-v-1c74c074"><view class="flex-space style-pop-center-title data-v-1c74c074"><block wx:if="{{info.goodsStyleList!=''}}"><image src="{{info.goodsStyleList[goodsStyleSelectIndex].img}}" class="data-v-1c74c074"></image></block><block wx:else><image src="{{info.smallImgList[0]}}" class="data-v-1c74c074"></image></block><view class="style-pop-center-title-msg data-v-1c74c074">{{''+info.goodsName+''}}<block wx:if="{{info.goodsStyleList!=''}}"><view class="style-pop-center-title-money data-v-1c74c074">{{"¥"+info.goodsStyleList[goodsStyleSelectIndex].price}}</view></block><block wx:else><view class="style-pop-center-title-money data-v-1c74c074">{{"¥"+info.price}}</view></block></view></view><block wx:if="{{info.goodsStyleList!=''}}"><view class="flex style-pop-center-caption data-v-1c74c074">款式</view></block><block wx:if="{{info.goodsStyleList!=''}}"><view class="style-pop-center-menu-box data-v-1c74c074"><block wx:for="{{info.goodsStyleList}}" wx:for-item="res" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({i})}}" class="{{['flex-center style-pop-center-menu data-v-1c74c074',goodsStyleSelectIndex==i?'active':'']}}" bindtap="__e">{{res.styleName}}</view></block></view></block><view class="flex-space style-pop-center-caption data-v-1c74c074">数量<view class="flex style-pop-center-caption-btn data-v-1c74c074"><block wx:if="{{bigCountNum>0}}"><view data-event-opts="{{[['tap',[['minusBigCount',['$event']]]]]}}" class="{{['iconfont iconjianqu _i data-v-1c74c074',delAnimationData?'animation':'']}}" bindtap="__e"></view></block><text class="flex-center style-pop-center-caption-num data-v-1c74c074"><block wx:if="{{bigCountNum>0}}"><text class="data-v-1c74c074">{{bigCountNum}}</text></block></text><view data-event-opts="{{[['tap',[['addBigCount',['$event']]]]]}}" class="{{['iconfont icontianjia _i data-v-1c74c074',addAnimationData?'animation':'']}}" bindtap="__e"></view></view></view><view class="flex-space style-pop-center-btn-box data-v-1c74c074"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="flex-center style-pop-center-btn data-v-1c74c074" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['ok',['$event']]]]]}}" class="flex-center style-pop-center-btn active data-v-1c74c074" bindtap="__e">确定</view></view></view></view>