canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/goods/add-goods.wxml
2024-11-01 16:07:54 +08:00

1 line
1.8 KiB
Plaintext

<view class="{{['f-x-bt','data-v-5b72b2c6',cname]}}"><block wx:if="{{isprice}}"><view class="{{['f-g-1','wei','t-o-e','data-v-5b72b2c6',pcname,'cf0a']}}"><text class="f26 mr5 data-v-5b72b2c6">{{sl}}</text>{{(co.activityGoodData.type<1||co.activityGoodData.type>=4?co.price:co.activityGoodData.activityMoney)+''}}<block wx:if="{{isunit}}"><text class="nowei c9 f24 data-v-5b72b2c6">{{"/"+co.unit}}</text></block><block wx:if="{{isyprice}}"><text class="t-d-l nowei ml10 c9 f24 data-v-5b72b2c6">{{sl+co.price}}</text></block></view></block><block wx:if="{{(co.isSpecs==1||co.isMaterial==1||co.isAttr==1)&&showspec}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="f-g-0 cartggc f-c data-v-5b72b2c6" catchtap="__e"><view class="text-btnf f22 f-c ggc data-v-5b72b2c6" style="{{'background:'+(isClose?color||tColor:'#ccc')+';'}}"><text class="data-v-5b72b2c6">选 择</text><block wx:if="{{co.num>0}}"><text class="dot f-c data-v-5b72b2c6" style="{{'background:'+(isClose?color||tColor:'#ccc')+';'}}">{{co.num}}</text></block></view></view></block><block wx:else><block wx:if="{{showjj}}"><view class="f-g-0 f-bt data-v-5b72b2c6"><block wx:if="{{co.num>0}}"><view class="reducecon active f-y-c data-v-5b72b2c6"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="cartc f-c data-v-5b72b2c6" catchtap="__e"><button class="cartdec data-v-5b72b2c6" style="{{'border-color:'+(color||tColor)+';'}}"><view class="cartdecab data-v-5b72b2c6" style="{{'background:'+(isClose?color||tColor:'#ccc')+';'}}"></view></button></view><text class="{{['f26','ma','c0','data-v-5b72b2c6',numc]}}">{{co.num}}</text></view></block><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="cartc f-c data-v-5b72b2c6" catchtap="__e"><button class="cartadd data-v-5b72b2c6" style="{{'background:'+(isClose?color||tColor:'#ccc')+';'}}"></button></view></view></block></block></view>