You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.4 KiB
1 lines
2.4 KiB
<view class="data-v-580f2cf4"><view class="{{['product-window data-v-580f2cf4',attr.cartAttr===true?'on':'']}}"><view class="textpic acea-row row-between-wrapper data-v-580f2cf4"><view class="pictrue data-v-580f2cf4"><image class="image data-v-580f2cf4" src="{{attr.productSelect.image}}" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e"></image></view><view class="text data-v-580f2cf4"><view class="line1 data-v-580f2cf4">{{attr.productSelect.store_name}}</view><block wx:if="{{!isIntegral}}"><view class="money font-color-red data-v-580f2cf4">¥<text class="num data-v-580f2cf4">{{attr.productSelect.price}}</text><text class="stock data-v-580f2cf4">{{"库存: "+attr.productSelect.stock}}</text></view></block><block wx:if="{{isIntegral}}"><view class="money font-color-red data-v-580f2cf4"><text class="num data-v-580f2cf4">{{attr.productSelect.integral+"积分"}}</text><text class="stock data-v-580f2cf4">{{"库存: "+attr.productSelect.stock}}</text></view></block></view><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-580f2cf4" bindtap="__e"></view></view><view class="productWinList data-v-580f2cf4"><block wx:for="{{attr.productAttr}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item data-v-580f2cf4"><view class="title data-v-580f2cf4">{{item.attrName}}</view><view class="listn acea-row row-middle data-v-580f2cf4"><block wx:for="{{item.attrValue}}" wx:for-item="itemn" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['tapAttr',[indexw,indexn]]]]]}}" class="{{['itemn data-v-580f2cf4',item.index==indexn?'on':'']}}" bindtap="__e">{{itemn.attr}}</view></block></view></view></block></view><view class="cart data-v-580f2cf4"><view class="title data-v-580f2cf4">数量</view><view class="carnum acea-row row-left data-v-580f2cf4"><view data-event-opts="{{[['tap',[['CartNumDes',['$event']]]]]}}" class="{{['item reduce data-v-580f2cf4',cartNum<=1?'on':'']}}" bindtap="__e">-</view><view class="item num data-v-580f2cf4">{{cartNum}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item plus data-v-580f2cf4',cartNum>=attr.productSelect.stock?'on':'']}}" bindtap="__e">+</view></view></view></view><view class="mask data-v-580f2cf4" hidden="{{attr.cartAttr===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view> |