| | |
| | | <image src="@/static/icon/fenx.png" class="btn-icon"></image> |
| | | <text class="btn-text">分享名片</text> |
| | | </button> |
| | | <view class="action-btn" @click="contactWithChat"> |
| | | <image src="@/static/icon/communication.png" class="btn-icon"></image> |
| | | <text class="btn-text">在线聊天</text> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 名片简介 --> |
| | |
| | | this.showError('暂未填写微信'); |
| | | } |
| | | }, |
| | | // 通过聊天联系 |
| | | contactWithChat() { |
| | | console.log(this.businessInfo); |
| | | if (!this.businessInfo) return; |
| | | |
| | | uni.navigateTo({ |
| | | url: `/pages/plus/business/chat/chat?user_id=${this.businessInfo.user_id}&business_card_id=${this.business_card_id}&nickName=${this.businessInfo.name}` |
| | | }); |
| | | }, |
| | | // 打开地图 |
| | | openLocation(businessInfo) { |
| | | let address = businessInfo.region.province + ' ' + businessInfo.region.city + ' ' + businessInfo.region |
| | |
| | | } |
| | | }, (err) => { |
| | | this.showError('支付失败,请重试'); |
| | | }); |
| | | }, |
| | | // 在线聊天 |
| | | contactWithChat() { |
| | | console.log(this.businessInfo); |
| | | if (!this.businessInfo) return; |
| | | |
| | | uni.navigateTo({ |
| | | url: `/pages/plus/business/chat/chat?user_id=${this.businessInfo.user_id}&business_card_id=${this.business_card_id}&nickName=${this.businessInfo.name}` |
| | | }); |
| | | } |
| | | }, |
| | |
| | | flex: 1; |
| | | line-height: normal; |
| | | background: #ffffff00; |
| | | padding: 0; |
| | | |
| | | .btn-icon { |
| | | font-size: 56rpx; |