canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/goods/goods-car.wxml

1 line
19 KiB
Plaintext
Raw Normal View History

2024-11-01 16:07:54 +08:00
<block wx:if="{{type==1||type==2}}"><view class="data-v-581baa0e"><view hidden="{{!(cshow)}}" class="posi-f carc1 c9 f22 data-v-581baa0e" style="{{$root.s0}}"><view hidden="{{!($root.g0)}}" class="mjts cartopmj cf5f data-v-581baa0e"><block wx:if="{{$root.g1}}"><text class="data-v-581baa0e">{{mjInfo.text}}</text></block><block wx:else><block class="data-v-581baa0e"><block wx:for="{{$root.l0}}" wx:for-item="v" wx:for-index="i" wx:key="i"><text class="data-v-581baa0e">{{"满"+v.$orig.fullMoney+"减"+v.$orig.money}}<block wx:if="{{i<v.g2-1}}"><text class="m01 data-v-581baa0e">,</text></block></text></block></block></block></view><view class="car posi-r f-row data-v-581baa0e"><view data-event-opts="{{[['tap',[['openCar',['$event']]]]]}}" class="f-g-1 carb f-row data-v-581baa0e" bindtap="__e"><view class="{{['carb-img','posi-r','f-c','animated','data-v-581baa0e',($root.g3)?'bounceIn':'']}}"><view class="carb-i bsf bf f-c data-v-581baa0e"><text class="iconfont iconshangpin c0 f42 data-v-581baa0e"></text></view><block wx:if="{{$root.g4}}"><view class="posi-a dot bsf f-c data-v-581baa0e" style="{{'background:'+(tColor)+';'}}">{{''+getTotal.num+''}}</view></block></view><view class="f-c-xc data-v-581baa0e"><view class="data-v-581baa0e"><block wx:if="{{$root.g5}}"><text class="f34 c3 data-v-581baa0e">{{sl+carPrice.nowPrice}}</text></block><block wx:else><text class="f28 data-v-581baa0e">未选购商品</text></block><block wx:if="{{carPrice.reduceMoney>0}}"><text class="ml10 t-d-l data-v-581baa0e">{{sl+getTotal.total}}</text></block></view><view class="data-v-581baa0e"><block wx:if="{{buytype==1}}"><text class="data-v-581baa0e">{{"另需配送费"+(sl+$root.m0)}}</text></block><block wx:if="{{buytype==1&&havezq}}"><text class="m01 data-v-581baa0e">|</text></block><block wx:if="{{havezq&&type==1}}"><text class="data-v-581baa0e">支持自取</text></block></view></view></view><view data-event-opts="{{[['tap',[['goPay']]]]}}" class="f-g-0 carf f-c data-v-581baa0e" style="{{'background:'+(qsText.reach?tColor:'#999')+';'+('border:'+(qsText.reach?'1rpx solid '+tColor:'')+';')}}" bindtap="__e"><view class="f32 cf data-v-581baa0e">{{qsText.text}}</view></view></view></view><view hidden="{{!(xxshow)}}" class="posi-f closec data-v-581baa0e" style="{{'bottom:'+(carBtm+'rpx')+';'}}"><view class="h100 f34 cf f-c-c data-v-581baa0e"><view class="t-c data-v-581baa0e">{{(sjxx.shopData.storeOpen==3?'门店已打烊':sjxx.moreSet.status==1?'门店接受预定中':'门店休息中')+''}}</view><block wx:if="{{sjxx.shopData.storeOpen==2}}"><view class="f24 data-v-581baa0e" style="color:#ccc;">{{"营业时间:"+yysj}}</view></block></view><block wx:if="{{sjxx.shopData.storeOpen==2&&sjxx.moreSet.status==1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="p-a r0 t0 f-c p-10-15 data-v-581baa0e" bindtap="__e"><text class="iconfont iconyx cf f36 data-v-581baa0e"></text></view></block></view><mg-popup bind:input="__e" vue-id="ab5895a6-1" value="{{showCar}}" data-event-opts="{{[['^input',[['__set_model',['','showCar','$event',[]]]]]]}}" class="data-v-581baa0e" bind:__l="__l" vue-slots="{{['default']}}"><view hidden="{{!($root.g6)}}" class="mjts cf5f data-v-581baa0e"><block wx:if="{{$root.g7}}"><text class="data-v-581baa0e">{{mjInfo.text}}</text></block><block wx:else><block class="data-v-581baa0e"><block wx:for="{{$root.l1}}" wx:for-item="v" wx:for-index="i" wx:key="i"><text class="data-v-581baa0e">{{"满"+v.$orig.fullMoney+"减"+v.$orig.money}}<block wx:if="{{i<v.g8-1}}"><text class="m01 data-v-581baa0e">,</text></block></text></block></block></block></view><view class="carlistc p03 bf data-v-581baa0e" style="{{'padding-bottom:'+(carlistPab+'rpx')+';'}}"><mg-cell vue-id="{{('ab5895a6-2')+','+('ab5895a6-1')}}" isl="1" cname="p30" class="data-v-581baa0e" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view class="f-y-c data-v-581baa0e" slot="bd"><text class="f24 data-v-581baa0e">已选商品</text></view><view class="f-y-c f24 c9 data-v-581baa0e" slot="ft" data-event-opts="{{[['tap',[['clearCar',['$event']]]]]}}" bindtap="__e">清空购物车</