chore:H5和微信小程序的第三方客服悬浮按钮应该会显示 👤

This commit is contained in:
2026-02-06 17:49:48 +08:00
parent a489e24988
commit c6fd13956a
2 changed files with 17 additions and 1 deletions

View File

@@ -32,7 +32,7 @@
>
<text class="ai-icon" v-if="isAIKefu && !currentKefuImg">🤖</text>
<text class="ai-icon" v-if="isWxworkKefu && !currentKefuImg">💬</text>
<text class="icox icox-kefu" v-if="!isAIKefu && !isWxworkKefu && !kefuimg"></text>
<text class="ai-icon" v-if="!isAIKefu && !isWxworkKefu && !currentKefuImg">👤</text>
</view>
<!-- 智能客服按钮(当同时显示小程序系统客服时)-->
@@ -44,6 +44,7 @@
>
<text class="ai-icon" v-if="isAIKefu && !currentKefuImg">🤖</text>
<text class="ai-icon" v-if="isWxworkKefu && !currentKefuImg">💬</text>
<text class="ai-icon" v-if="!isAIKefu && !isWxworkKefu && !currentKefuImg">👤</text>
</view>
<!-- 小程序系统客服按钮 -->
@@ -138,6 +139,10 @@ export default {
const customerService = createCustomerService(this);
return customerService.isWxworkKefu();
},
isThirdKefu() {
const customerService = createCustomerService(this);
return customerService.isThirdKefu();
},
showWeappSystemKefu() {
const customerService = createCustomerService(this);
return customerService.shouldShowExtraWeappSystemKefu();