|
@@ -27,7 +27,9 @@
|
|
|
bind:tap="jumpBusinessDetail">
|
|
|
<view class="top">
|
|
|
<view class="photo-wrap">
|
|
|
- <image src="{{item.shop_img_url}}"></image>
|
|
|
+ <image
|
|
|
+ mode="aspectFill"
|
|
|
+ src="{{item.shop_img_url || '../../image/common/logo.png'}}"></image>
|
|
|
</view>
|
|
|
<view class="name-wrap">
|
|
|
<view class="name">{{item.shop_name}}</view>
|
|
@@ -39,11 +41,11 @@
|
|
|
<view class="label">电话:</view>
|
|
|
<view class="value">{{item.shop_phone}}</view>
|
|
|
</view>
|
|
|
- <view class="wechat">
|
|
|
+ <view class="wechat" wx:if="{{!!item.user_wechat_code}}">
|
|
|
<view class="label">微信:</view>
|
|
|
<view class="value">{{item.user_wechat_code}}</view>
|
|
|
</view>
|
|
|
- <view class="adress">
|
|
|
+ <view class="adress" wx:if="{{!!item.shop_address.address_name}}">
|
|
|
<text class="label">地址:</text>
|
|
|
<text class="value">{{item.shop_address.address_name}}{{item.shop_address.name}}</text>
|
|
|
</view>
|