You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<scroll-view scroll-y="true" height="100%">
|
|
|
|
<view class="item-container">
|
|
|
|
<block wx:for="{{items}}" wx:for-item="item" wx:key="id">
|
|
|
|
<view class="item" bindtap="bindTapProduct" data-id="{{item.id}}">
|
|
|
|
<image class="head-img" src="{{item['image-url']}}" mode="aspectFit"></image>
|
|
|
|
<view class="first-line">
|
|
|
|
<text class="name">{{item.name}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="second-line">
|
|
|
|
<text>¥{{item.price}}</text>
|
|
|
|
<text>加入购物车</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|