1 |
- <view style="{{(colorStyle)}}" class="data-v-551908a4"><view class="{{['product-window','data-v-551908a4',(attr.cartAttr===true?'on':'')+' '+(iSbnt?'join':'')+' '+(iScart?'joinCart':'')]}}"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="textpic acea-row row-between-wrapper data-v-551908a4" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['showImg']]]]}}" class="pictrue data-v-551908a4" bindtap="__e"><image src="{{attr.productSelect.image}}" class="data-v-551908a4"></image></view><view class="text data-v-551908a4"><view class="line2 store-name data-v-551908a4">{{''+attr.productSelect.store_name+''}}</view><view class="money font-color data-v-551908a4"><view class="acea-row row-middle data-v-551908a4">{{''+$root.m0}}<text class="num data-v-551908a4">{{attr.productSelect.price}}</text><block wx:if="{{is_vip>0&&attr.productSelect.vip_price}}"><text class="vip-money data-v-551908a4">{{$root.m1+attr.productSelect.vip_price}}</text></block><block wx:if="{{is_vip>0&&attr.productSelect.vip_price}}"><view class="vipImg data-v-551908a4"><image src="../../static/images/svip.gif" class="data-v-551908a4"></image></view></block></view><block wx:if="{{isShow&&!type}}"><text class="stock data-v-551908a4">{{$root.m2+" "+(attr.productSelect.stock+unitName)}}</text></block><block wx:if="{{limitNum&&type}}"><text class="stock data-v-551908a4">{{$root.m3+" "+(attr.productSelect.quota+unitName)}}</text></block><block wx:if="{{minQty>1&&is_virtual}}"><text class="stock data-v-551908a4">{{$root.m4+" "+(minQty+unitName)}}</text></block></view></view><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-551908a4" bindtap="__e"></view></view><view class="rollTop data-v-551908a4"><view class="productWinList data-v-551908a4"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item data-v-551908a4"><view class="title data-v-551908a4">{{item.m5}}</view><view class="listn acea-row row-middle data-v-551908a4"><block wx:for="{{item.l0}}" wx:for-item="itemn" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['tapAttr',[indexw,indexn]]]]]}}" class="{{['itemn','data-v-551908a4',item.$orig.index===itemn.$orig.attr?'on':'']}}" bindtap="__e">{{''+itemn.m6+''}}</view></block></view></view></block></view><block wx:if="{{!is_virtual}}"><view class="cart acea-row row-between-wrapper data-v-551908a4"><view class="title data-v-551908a4">{{$root.m7}}</view><view class="carnum acea-row row-left data-v-551908a4"><block wx:if="{{limitNum&&!type}}"><text class="stock data-v-551908a4">{{$root.m8+(limitNum+unitName)}}</text></block><block wx:if="{{limitNum&&!type&&minQty>1}}"><text class="stock line data-v-551908a4">|</text></block><block wx:if="{{minQty>1}}"><text class="stock data-v-551908a4">{{$root.m9+(minQty+unitName)}}</text></block><block wx:if="{{attr.productSelect.cart_num<=minQty}}"><view class="{{['item','reduce','acea-row','row-center-wrapper','data-v-551908a4',attr.productSelect.cart_num<=minQty?'on':'']}}"><text class="iconfont icon-shangpinshuliang-jian data-v-551908a4"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['CartNumDes',['$event']]]]]}}" class="{{['item','reduce','acea-row','row-center-wrapper','data-v-551908a4',attr.productSelect.cart_num<=minQty?'on':'']}}" bindtap="__e"><text class="iconfont icon-shangpinshuliang-jian data-v-551908a4"></text></view></block><view class="item num acea-row row-middle data-v-551908a4"><input type="number" data-name="productSelect.cart_num" data-event-opts="{{[['input',[['__set_model',['$0','cart_num','$event',[]],['attr.productSelect']],['bindCode',['$0'],['attr.productSelect.cart_num']]]]]}}" value="{{attr.productSelect.cart_num}}" bindinput="__e" class="data-v-551908a4"/></view><block wx:if="{{iSplus}}"><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item','plus','acea-row','row-center-wrapper','data-v-551908a4',attr.productSelect.cart_num>=attr.productSelect.stock||limitNum&&attr.productSelect.cart_num>=limitNum?'on':'']}}" bindtap="__e"><text class="iconfont icon-shangpinshuliang-jia data-v-551908a4"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item','plus','data-v-551908a4',attr.productSelect.cart_num>=attr.productSelect.quota||attr.productSelect.cart_num>=attr.productSelect.product_stock||attr.productSelect.cart_num>=attr.productSelect.num||type=='seckill'&&attr.productSelect.cart_num>=attr.productSelect.once_num?'on':'']}}" bindtap="__e">+</view></block></view></view></block></view><block wx:if="{{iSbnt&&attr.productSelect.product_stock>0&&attr.productSelect.quota>0}}"><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="joinBnt bg-color data-v-551908a4" bindtap="__e">{{''+$root.m10+''}}</view></block><block wx:else><block wx:if="{{iSbnt&&attr.productSelect.quota<=0||iSbnt&&attr.productSelect.product_stock<=0}}"><view class="joinBnt on data-v-551908a4">{{''+$root.m11+''}}</view></block></block><block wx:if="{{iScart&&attr.productSelect.stock}}"><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="joinBnt bg-color data-v-551908a4" bindtap="__e">{{$root.m12}}</view></block><block wx:else><block wx:if="{{iScart&&!attr.productSelect.stock}}"><view class="joinBnt on data-v-551908a4">{{$root.m13}}</view></block></block></view><view class="mask data-v-551908a4" hidden="{{attr.cartAttr===false}}" data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" catchtouchmove="__e" bindtap="__e"></view></view>
|