Commit 2d93f5ee03aceedcb9df448817b041c3ba1b112d

Authored by wangfan
1 parent f4aac0f5

seller

... ... @@ -87,7 +87,10 @@ Page({
return detail;
},
showManager(){
this.selectComponent('#manager').show();
if(this.data.detail.cusman_phone || this.data.detail.cusman_account){
this.selectComponent('#manager').show();
}
},
lookLocation:function(){
wx.openLocation({
... ...
... ... @@ -17,9 +17,9 @@
</view>
</view>
<view class="tableInfo">{{detail.tableFirst}} <text class="tableSubInfo"> {{detail.tableSubInfo}}</text></view>
<view class="flex-lr showManager" bindtap="showManager">
<view class="flex-lr showManager" bindtap="showManager" wx:if="{{detail.cusman}}">
<view class="">容客户经理-{{detail.cusman}}</view>
<view style="text-decoration: underline">联系客户经理</view>
<view style="text-decoration: underline" wx:if="{{detail.cusman_phone || detail.cusman_account}}">联系客户经理</view>
</view>
</view>
</view>
... ...
... ... @@ -42,9 +42,10 @@
<view>客户经理</view>
<view class="detail-info-right">{{detail.cusman||''}}</view>
</view>
<view class="flex-lr" wx:if="{{detail.cusman}}" style="margin-top: 24rpx;">
<view class="flex-lr" wx:if="{{detail.cusman_phone || detail.cusman_account}}" style="margin-top: 24rpx;">
<view></view>
<view class="detail-info-right" style="text-decoration: underline" bindtap="showManager">联系客户经理</view>
<view class="detail-info-right" style="text-decoration: underline"
bindtap="showManager">联系客户经理</view>
</view>
</view>
<view class="hr" style="margin-top: 56rpx;margin-bottom: 50rpx;"></view>
... ...