Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.1 KiB |
@ -1,22 +1,28 @@ |
|||||||
<scroll-view scroll-y="true" height="100%"> |
<view wx:if="{{items.length > 0}}"> |
||||||
<view class="item-container"> |
<scroll-view scroll-y="true" height="100%"> |
||||||
<block wx:for="{{items}}" wx:for-item="item" wx:key="id"> |
<view class="item-container"> |
||||||
<view class="item"> |
<block wx:for="{{items}}" wx:for-item="item" wx:key="id"> |
||||||
<view class="item-block" bindtap="bindTapProduct" data-id="{{item.id}}"> |
<view class="item"> |
||||||
<image class="head-img" src="{{item['image-url']}}" mode="aspectFit"></image> |
<view class="item-block" bindtap="bindTapProduct" data-id="{{item.id}}"> |
||||||
<view class="first-line"> |
<image class="head-img" src="{{item['image-url']}}" mode="aspectFit"></image> |
||||||
<text class="name">{{item.name}}</text> |
<view class="first-line"> |
||||||
</view> |
<text class="name">{{item.name}}</text> |
||||||
<view class="second-line"> |
|
||||||
<view wx:if="{{ accountType === '巴爷' }}"> |
|
||||||
<text>¥{{item['baye-price']}}</text> |
|
||||||
</view> |
</view> |
||||||
<view wx:else> |
<view class="second-line"> |
||||||
<text>¥{{item['member-price']}}</text> |
<view wx:if="{{ accountType === '巴爷' }}"> |
||||||
|
<text>¥{{item['baye-price']}}</text> |
||||||
|
</view> |
||||||
|
<view wx:else> |
||||||
|
<text>¥{{item['member-price']}}</text> |
||||||
|
</view> |
||||||
</view> |
</view> |
||||||
</view> |
</view> |
||||||
</view> |
</view> |
||||||
</view> |
</block> |
||||||
</block> |
</view> |
||||||
</view> |
</scroll-view> |
||||||
</scroll-view> |
</view> |
||||||
|
<view wx:else> |
||||||
|
<view class="offline-notice">本功能即将上线,请耐心等待</view> |
||||||
|
</view> |
||||||
|
|
||||||
|