refactor(customer-service): 优化客服模块交互,点击直接弹出聊天框

- 修改 header.vue 和 play.vue 客服按钮点击事件,跳过中间选择弹窗
- 重写 CustomerServiceWindow.vue 样式,匹配 PC 端深色主题风格
- 移除图片发送功能,仅保留文本消息
- 新增遮罩层、头像区分、金色渐变按钮等 UI 元素
This commit is contained in:
li
2026-01-29 01:41:01 +08:00
parent b7061d7a0d
commit 8d9154c668
3 changed files with 556 additions and 3 deletions
+5 -2
View File
@@ -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});