Compare commits
2 Commits
49c72167ae
...
4fd0c298db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4fd0c298db | ||
|
|
05151ea477 |
@ -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%;
|
||||||
|
|||||||
@ -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: {
|
||||||
|
|
||||||
|
|||||||
@ -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: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user