1 line
4.9 KiB
Plaintext
1 line
4.9 KiB
Plaintext
<view class="bgf1"><uni-status-bar vue-id="174cb680-1" bind:__l="__l"></uni-status-bar><view class="w-750 bgff rows rowsm fs-32" style="height:44px;"><view data-event-opts="{{[['tap',[['swtichType',[1]]]]]}}" class="{{['w-200','tct',(type==1)?'active':'']}}" bindtap="__e">商城</view><view data-event-opts="{{[['tap',[['swtichType',[2]]]]]}}" class="{{['w-150','tct',(type==2)?'active':'']}}" bindtap="__e">服务</view><view data-event-opts="{{[['tap',[['swtichType',[3]]]]]}}" class="{{['w-150','tct',(type==3)?'active':'']}}" bindtap="__e">收藏</view></view><view hidden="{{!(type==3)}}" class="pl-20 pr-20 pt-20"><block wx:if="{{collectList&&collectList[0]}}"><view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goInfoDet',['$0','$1'],[[['collectList','',index,'busname']],[['collectList','',index,'id']]]]]]]}}" class="h-200 rows rowsm br-12 bgff pl-16" bindtap="__e"><image class="w-194 h-156 br-12" src="{{URL+item.$orig.image}}"></image><view class="pl-16 h-156 rowsbl"><view class="fs-32 pt-10">{{item.$orig.busname}}</view><view class="rowsb rowsm pb-30 w-460"><text class="fs-28 col999">{{"收藏人数"+item.$orig.collection_num}}</text><view class="fs-26 rows rowsm" style="color:#809C76;"><image class="w-32 h-32" src="/static/weizhi.png"></image><text class="ml-4">{{item.g0+"km"}}</text></view></view></view></view></block></view></block><block wx:else><view class="rowsc rowsm pt-200 fs-28 col999">暂无相关收藏商家</view></block></view><view hidden="{{!(type==1||type==2)}}"><view class="pl-20 pr-20 pt-20"><block wx:if="{{shopList&&shopList[0]}}"><view class="relative zi-1 w-710 br-22 pb-180 " style="min-height:900rpx;"><block wx:for="{{shopList}}" wx:for-item="value" wx:for-index="type" wx:key="type"><view data-event-opts="{{[['tap',[['goInfoDet',['$0','$1'],[[['shopList','',type,'busname']],[['shopList','',type,'id']]]]]]]}}" class="bgff pt-36 br-20 pl-25 mb-20" bindtap="__e"><view class="rows rowsm mb-40"><view class="mr-26 rows rowsm"><block wx:if="{{value.onindex!==1}}"><image class="w-34 h-34" src="/static/gou_no.png" data-event-opts="{{[['tap',[['select',[1,type]]]]]}}" catchtap="__e"></image></block><block wx:else><image class="w-34 h-34" src="/static/gouxuan.png" data-event-opts="{{[['tap',[['select',[0,type]]]]]}}" catchtap="__e"></image></block></view><view class="rows rowsm"><text class="one_overflow fs-32 col333" style="max-height:400rpx;">{{value.busname+''}}</text><uni-icons vue-id="{{'174cb680-2-'+type}}" type="right" bind:__l="__l"></uni-icons></view></view><block wx:for="{{value.goods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="br-22 pb-30 mb-20"><view class="rows rowsm mb-26"><block wx:if="{{item.onindex!==1}}"><image class="w-34 h-34 mr-26" src="/static/gou_no.png" data-event-opts="{{[['tap',[['select',[1,type,index]]]]]}}" catchtap="__e"></image></block><block wx:else><image class="w-34 h-34 mr-26" src="/static/gouxuan.png" data-event-opts="{{[['tap',[['select',[0,type,index]]]]]}}" catchtap="__e"></image></block><image class="w-172 h-172 mr-18" src="{{URL+item.image}}" mode="aspectFill"></image><view class="rowsbl h-172"><view><view class="fs-28 col_262626 one_overflow">{{''+item.goodsname+''}}</view><view class="fs-26 col999 mt-10 two_overflow">{{''+item.key}}</view></view><view class="lh-50 rowsb w-400"><view class="fs-34" style="color:#EC0000;"><text class="fs-26">¥</text>{{item.price}}</view><lxc-count-style vue-id="{{'174cb680-3-'+type+'-'+index}}" min="{{1}}" value="{{item.num}}" data-event-opts="{{[['^handleCount',[['e0']]]]}}" data-event-params="{{({item,type,index})}}" catch:handleCount="__e" bind:__l="__l"></lxc-count-style></view></view></view></view></block></view></block></view></block><block wx:else><view class="tct pt-200 w-750 h-130"><image class="w-60 h-60 mb-20" src="/static/gowuche.png"></image><view>{{(type==1?'商城':'服务')+"购物车暂无内容"}}</view></view></block></view><view class="w-710 h-96 bgff br-70 ml-20 rowsb rowsm pl-26 one_overflow fixed" style="bottom:20rpx;"><view class="rowsb rowsm w-484 pr-40"><block wx:if="{{!iconShow}}"><view data-event-opts="{{[['tap',[['select',[1,'1']]]]]}}" bindtap="__e"><image class="w-34 h-34 mr-10" style="vertical-align:middle;" src="/static/gou_no.png"></image><text class="fs-28 col999">全选</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['select',[0,'1']]]]]}}" bindtap="__e"><image class="w-34 h-34 mr-10" style="vertical-align:middle;" src="/static/gouxuan.png"></image><text class="fs-28 col999">全选</text></view></block><view class="rows rowsm fs-28 col999"><text class="mt-6">{{"已选"+totol+"件"}}</text><view class="pl-20 col000">合计:<text class="fs-30" style="color:#EC0000;">{{"¥"+totalSum}}</text></view></view></view><view data-event-opts="{{[['tap',[['payTap']]]]}}" class="w-200 h-122 rowsc rowsm colfff" style="background:#91b584;" bindtap="__e">去结算</view></view></view></view> |