|
|
@@ -7,7 +7,7 @@
|
|
|
<img src="../../assets/customerService/customerService.png" alt="">
|
|
|
<span>客服</span>
|
|
|
</div>
|
|
|
- <el-popover placement="right-end" width="30" trigger="hover">
|
|
|
+ <el-popover placement="right-end" width="30" trigger="hover" v-if="display">
|
|
|
<div class="flex f-c a-c">
|
|
|
<img :src="wechatPictureUrl" alt="" style="width: 130px;height:130px;">
|
|
|
<span style="font-size: 14px;color: #333;margin-top: 5px;">微信扫码咨询</span>
|
|
|
@@ -39,6 +39,7 @@ export default {
|
|
|
qrcodeWidth: "130",
|
|
|
qrcodeHeight: "130",
|
|
|
wechatPictureUrl:"",
|
|
|
+ display:"",
|
|
|
}
|
|
|
},
|
|
|
// 生命周期函数
|
|
|
@@ -54,6 +55,7 @@ export default {
|
|
|
wechat() {
|
|
|
this.$api.aiSupport.wechatpicture().then((res) => {
|
|
|
if (res.code == '200') {
|
|
|
+ this.display=res.data.display;
|
|
|
this.wechatPictureUrl=process.env.APP_BASE_URL+ res.data.wechatPictureUrl;
|
|
|
}
|
|
|
});
|
|
|
@@ -120,7 +122,7 @@ export default {
|
|
|
background: #FFFFFF;
|
|
|
border-radius: 4px 4px 4px 4px;
|
|
|
padding: 4px 2px;
|
|
|
- margin-bottom: 10px;
|
|
|
+
|
|
|
|
|
|
span {
|
|
|
color: #202D45;
|
|
|
@@ -144,7 +146,7 @@ export default {
|
|
|
background: #fff;
|
|
|
border-radius: 4px 4px 4px 4px;
|
|
|
padding: 4px 2px;
|
|
|
-
|
|
|
+ margin-top: 10px;
|
|
|
span {
|
|
|
color: #202D45;
|
|
|
font-size: 12px;
|