refactor(customer-service): 优化客服模块交互,点击直接弹出聊天框
- 修改 header.vue 和 play.vue 客服按钮点击事件,跳过中间选择弹窗 - 重写 CustomerServiceWindow.vue 样式,匹配 PC 端深色主题风格 - 移除图片发送功能,仅保留文本消息 - 新增遮罩层、头像区分、金色渐变按钮等 UI 元素
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="setup">
|
||||
<el-tooltip v-if="webconfig.isServerCode||false" class="item" effect="dark" :content="Language.tip_service" placement="bottom">
|
||||
<span @click="isShowPop('updateService')" class="btn service" ></span>
|
||||
<span @click="openCustomerService()" class="btn service" ></span>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" :content="Language.tip_cn_tw" placement="bottom">
|
||||
<span @click="isShowPop('updatelang')" class="btn fontj" ></span>
|
||||
@@ -69,7 +69,10 @@ export default {
|
||||
}else{
|
||||
this.$store.dispatch('updatemainPop',{type:type,ishow:true});
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
openCustomerService(){
|
||||
this.$root.$emit('openCustomerService');
|
||||
},
|
||||
offPop(){
|
||||
this.$store.dispatch('updatemainPop',{type:'',ishow:false});
|
||||
|
||||
Reference in New Issue
Block a user