|
@@ -32,7 +32,7 @@
|
|
|
</view>
|
|
|
<view class="blogger-name-wrap">
|
|
|
<view class="user-name">{{item.user_nickname}}</view>
|
|
|
- <view class="business-name">商铺:{{item.shop_name}}</view>
|
|
|
+ <view class="business-name" wx:if="{{!!item.shop_name}}">商铺:{{item.shop_name}}</view>
|
|
|
</view>
|
|
|
<button
|
|
|
class="follow"
|
|
@@ -50,7 +50,10 @@
|
|
|
wx:for="{{item.track_img_url}}"
|
|
|
wx:for-item="img"
|
|
|
wx:for-index="idx"
|
|
|
- wx:key="idx">
|
|
|
+ wx:key="idx"
|
|
|
+ data-index="{{idx}}"
|
|
|
+ data-imgs="{{item.track_img_url}}"
|
|
|
+ bind:tap="handlePreviewImage">
|
|
|
<image src="{{img}}"></image>
|
|
|
</view>
|
|
|
</view>
|