dengrui/unpackage/dist/dev/mp-weixin/pagesB/myCollection/myCollection.wxml

1 line
1.7 KiB
Plaintext

<block wx:if="{{pageShow}}"><view><status-nav vue-id="0a9721da-1" statusBackw="{{true}}" statusTitle="{{true}}" whereCome="{{1}}" title-val="我的收藏" tabcolor="#ffffff" bind:__l="__l"></status-nav><view style="{{'margin-top:'+(statusHNH+10+'px')+';'}}"><block wx:for="{{dataArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{dataArr.length!=0}}"><view class="{{['padding-sx20','fon28','bacb','margin-sx20','padding-zy30','animated','',current==index?'fadeOut':'']}}" style="border-radius:5rpx;"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['dataArr','',index,'sku.spu_id']]]]]]]}}" class="margin-sx20 disac posir borbot" bindtap="__e"><image class="radius10 flexs" style="width:215rpx;height:215rpx;" src="{{item.sku.main_image}}" mode="aspectFill"></image><view class="margin-z20 width100"><view class="fon28 clips2">{{item.spu.name}}</view><view class="colorf78 margin-sx10">¥<text class="fon36 bold ">{{item.sku.price/100}}</text>.0</view><view class="dis" style="justify-content:flex-end;"><view data-event-opts="{{[['tap',[['canleCollection',['$0',index],[[['dataArr','',index,'id']]]]]]]}}" class="fon26 margin-s20 flexs" style="padding:12rpx;border-radius:60rpx;border:1rpx solid #bababa;width:28%;text-align:center;" catchtap="__e">取消收藏</view></view></view></view></view></block></block><block wx:if="{{dataArr.length==0}}"><view data-event-opts="{{[['tap',[['goList',['$event']]]]]}}" class="zanwu" bindtap="__e">暂无更多收藏,赶快去收藏吧</view></block></view><back-top vue-id="0a9721da-2" showTop="{{showTop}}" data-event-opts="{{[['^backTop',[['backTop']]]]}}" bind:backTop="__e" bind:__l="__l"></back-top></view></block>