This commit is contained in:
Vinjor 2025-09-11 11:29:17 +08:00
commit fe5be1107d
2 changed files with 52 additions and 1 deletions

View File

@ -205,4 +205,31 @@
</div>
</div>
</body>
<!-- 客服聊天窗口代码 -->
<script>
window.difyChatbotConfig = {
token: 'BC985VI4DnedSaIQ',
baseUrl: 'http://101.245.103.204',
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
}
</script>
<script
src="http://101.245.103.204/embed.min.js"
id="BC985VI4DnedSaIQ"
defer>
</script>
<style>
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
z-index: 50 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
z-index: 50 !important;
}
</style>
</html>

View File

@ -4,7 +4,31 @@
<theme-picker />
</div>
</template>
<!-- 客服聊天窗口代码 -->
<script>
window.difyChatbotConfig = {
token: 'BC985VI4DnedSaIQ',
baseUrl: 'http://101.245.103.204',
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
}
</script>
<script
src="http://101.245.103.204/embed.min.js"
id="BC985VI4DnedSaIQ"
defer>
</script>
<style>
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
}
</style>
<script>
import ThemePicker from "@/components/ThemePicker";
import Cookies from "js-cookie";