|
|
@@ -87,13 +87,13 @@
|
|
|
}
|
|
|
}).exec();
|
|
|
}, 200);
|
|
|
- this.getWechatData()
|
|
|
+ this.getWechatData();
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
//获取企业微信客服地址,是否展示
|
|
|
- getWechatData(){
|
|
|
+ getWechatData() {
|
|
|
this.$http.get('/sys/qy/wechat/find/picture').then(res => {
|
|
|
- this.supportStaffUrl = res.data.supportStaffUrl
|
|
|
this.isDisplay = res.data.display
|
|
|
})
|
|
|
},
|
|
|
@@ -154,6 +154,14 @@
|
|
|
},
|
|
|
//点击跳转企业微信客服
|
|
|
weChatService() {
|
|
|
+ this.$http.post('/sys/qy/wechat/find/wechatCustomer').then(res => {
|
|
|
+ this.supportStaffUrl = res.msg;
|
|
|
+ this.share();
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ },
|
|
|
+ share() {
|
|
|
uni.share({
|
|
|
provider: "weixin",
|
|
|
openCustomerServiceChat: true,
|
|
|
@@ -162,7 +170,7 @@
|
|
|
success: (res) => {},
|
|
|
fail: (err) => {}
|
|
|
});
|
|
|
- },
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|
|
|
@@ -191,7 +199,7 @@
|
|
|
}
|
|
|
|
|
|
.wechat {
|
|
|
- width: 55%;
|
|
|
+ width: 60%;
|
|
|
font-size: 30rpx;
|
|
|
line-height: 30rpx;
|
|
|
margin-top: 30rpx;
|