Compare commits

...

2 Commits

Author SHA1 Message Date
PQZ
4fd0c298db Merge branch 'master' of http://124.222.105.7:3000/dianliang/dl_site_nuxt 2025-08-13 11:26:48 +08:00
PQZ
05151ea477 1 2025-08-13 11:26:37 +08:00
3 changed files with 30 additions and 2 deletions

View File

@ -1,5 +1,11 @@
// 公用的css类名 // 公用的css类名
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
}
/* 图片默认和外盒字一样大小 */ /* 图片默认和外盒字一样大小 */
.img_reset { .img_reset {
width: 100%; width: 100%;

View File

@ -6,7 +6,16 @@
<divFooter></divFooter> <divFooter></divFooter>
</div> </div>
</template> </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> <script>
import divHeader from '../components/header.vue'; import divHeader from '../components/header.vue';
import divFooter from '../components/footer.vue'; import divFooter from '../components/footer.vue';
@ -23,6 +32,18 @@ export default {
} }
}, },
created() { created() {
},
mounted(){
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',
},
}
console.log('执行完成')
}, },
methods: { methods: {

View File

@ -32,6 +32,7 @@ export default {
], ],
script: [ script: [
// { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'} // { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'}
{type:"text/javascript",src:'http://101.245.103.204/embed.min.js',id:"BC985VI4DnedSaIQ",defer:true}
] ]
}, },
env: { env: {