| | |
| | | <view class="pl20"> |
| | | <view class="d-s-c"> |
| | | <view class="f32 fb">{{detail.user.real_name}}</view> |
| | | <view class="position" v-if="detail.position_name">{{detail.position_name}}</view> |
| | | <view class="position" v-if="detail.position_name && setting.show_position=='1'">{{detail.position_name}}</view> |
| | | </view> |
| | | <view class="gray6 pt10 f26" v-if="detail.branch">{{detail.branch.name}}</view> |
| | | <!-- <view class="gray6 pt20">{{detail.region.province}}{{detail.region.city}}{{detail.region.region}}</view> --> |
| | |
| | | <text class="iconfont icon-share1"></text> |
| | | <text class="f24 pt10">分享</text> |
| | | </button> |
| | | <view class="item-icon p-0-30 d-c-c d-c" @click="callPhone"> |
| | | <view class="item-icon p-0-30 d-c-c d-c" @click="callPhone" v-if="setting.show_mobile=='1'"> |
| | | <text class="iconfont icon-002dianhua"></text> |
| | | <text class="f24 pt10">电话</text> |
| | | </view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import utils from '@/common/utils'; |
| | | export default { |
| | | components: { |
| | | |
| | |
| | | detail: [], |
| | | user_id: 0, |
| | | wechat_share: false, |
| | | setting: {}, |
| | | }; |
| | | }, |
| | | onLoad(e) { |
| | |
| | | user_id: self.user_id, |
| | | }, function(res) { |
| | | self.detail = res.data.detail; |
| | | self.setting = res.data.setting; |
| | | if (self.setting.show_mobile != '1') { |
| | | self.detail.user.mobile = utils.maskPhoneNumber(self.detail.user.mobile); |
| | | } |
| | | self.loading = false; |
| | | } |
| | | ); |