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 line
2.4 KiB
1 line
2.4 KiB
3 years ago
|
<view class="data-v-8dc04c7c"><view class="{{['product-window data-v-8dc04c7c',attr.cartAttr===true?'on':'']}}"><view class="textpic acea-row row-between-wrapper data-v-8dc04c7c"><view class="pictrue data-v-8dc04c7c"><image class="image data-v-8dc04c7c" src="{{attr.productSelect.image}}" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e"></image></view><view class="text data-v-8dc04c7c"><view class="line1 data-v-8dc04c7c">{{attr.productSelect.store_name}}</view><block wx:if="{{!isIntegral}}"><view class="money font-color-red data-v-8dc04c7c">¥<text class="num data-v-8dc04c7c">{{attr.productSelect.price}}</text><text class="stock data-v-8dc04c7c">{{"库存: "+attr.productSelect.stock}}</text></view></block><block wx:if="{{isIntegral}}"><view class="money font-color-red data-v-8dc04c7c"><text class="num data-v-8dc04c7c">{{attr.productSelect.integral+"积分"}}</text><text class="stock data-v-8dc04c7c">{{"库存: "+attr.productSelect.stock}}</text></view></block></view><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-8dc04c7c" bindtap="__e"></view></view><view class="productWinList data-v-8dc04c7c"><block wx:for="{{attr.productAttr}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item data-v-8dc04c7c"><view class="title data-v-8dc04c7c">{{item.attrName}}</view><view class="listn acea-row row-middle data-v-8dc04c7c"><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-8dc04c7c',item.index==indexn?'on':'']}}" bindtap="__e">{{itemn.attr}}</view></block></view></view></block></view><view class="cart data-v-8dc04c7c"><view class="title data-v-8dc04c7c">数量</view><view class="carnum acea-row row-left data-v-8dc04c7c"><view data-event-opts="{{[['tap',[['CartNumDes',['$event']]]]]}}" class="{{['item reduce data-v-8dc04c7c',cartNum<=1?'on':'']}}" bindtap="__e">-</view><view class="item num data-v-8dc04c7c">{{cartNum}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item plus data-v-8dc04c7c',cartNum>=attr.productSelect.stock?'on':'']}}" bindtap="__e">+</view></view></view></view><view class="mask data-v-8dc04c7c" hidden="{{attr.cartAttr===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>
|