1 line
1.3 KiB
Plaintext
1 line
1.3 KiB
Plaintext
<view class="padding-zy20 disba flw"><block wx:for="{{dataList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{dataList.length!=0}}"><view class="discc radius10 padding20 margin-x20" style="background-color:#FFFFFF;width:43%;box-shadow:0 0 30rpx rgba(0,0,0,0.1);"><image class="pimg radius10 margin-s10" src="{{item.src}}" mode="aspectFill" data-event-opts="{{[['tap',[['goDetail',['$0'],[[['dataList','',index,'spu_id']]]]]]]}}" bindtap="__e"></image><view class="clips2 margin-s10 width100" style="font-size:27rpx;height:68rpx;text-align:left;">{{item.title}}</view><view class="disba width100 margin-sx10"><view class="disac fon24 colorf78"><view>¥<text class="fon36 bold">{{item.price}}</text>.00</view><view class="flexs radius16 colorb fon24 margin-z10" style="background-color:#4cc474;line-height:30rpx;height:30rpx;"><view style="transform:scale(0.7);margin-top:-1rpx;">放心购</view></view></view><block wx:if="{{user_type!='personal'}}"><image class="pche" src="/static/img/public/gouwcar.png" data-event-opts="{{[['tap',[['addChe',['$0'],[[['dataList','',index,'id']]]]]]]}}" bindtap="__e"></image></block></view></view></block></block><block wx:if="{{dataList.length==0}}"><view class="kongk width100 text-center">空空如也</view></block></view> |