This commit is contained in:
木瓜一块八 2025-09-09 10:10:05 +08:00
parent 79c4660dfd
commit c3d6beb8d7
3 changed files with 42 additions and 3 deletions

View File

@ -13,12 +13,45 @@
font-size: 14px; font-size: 14px;
} }
} }
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
}
</style> </style>
</head> </head>
<script>
window.difyChatbotConfig = {
token: 'HKghmPZLD4JczCXc',
baseUrl: 'http://aigc.smartcrec.com',
inputs: {
// You can define the inputs from the Start node here
// key is the variable name
// e.g.
// name: "NAME"
},
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
userVariables: {
// avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
// name: 'YOU CAN DEFINE USER NAME HERE',
},
}
</script>
<script
src="http://aigc.smartcrec.com/embed.min.js"
id="HKghmPZLD4JczCXc"
defer>
</script>
<body> <body>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
</html> </html>

View File

@ -1,17 +1,23 @@
<template> <template>
<div> <div>
<iframe <!-- <iframe
src="http://aigc.smartcrec.com/chatbot/HKghmPZLD4JczCXc" src="http://aigc.smartcrec.com/chatbot/HKghmPZLD4JczCXc"
style="width: 100%; height: 100%; min-height: 700px" style="width: 100%; height: 100%; min-height: 700px"
frameborder="0" frameborder="0"
allow="microphone"> allow="microphone">
</iframe> </iframe> -->
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'DemoDify', name: 'DemoDify',
data() {
return {
}
},
} }
</script> </script>

View File

@ -304,7 +304,7 @@ export default Vue.extend({
</span> </span>
<!-- <span class="description">支持模型训练推理和数据处理灵活配置助您高效释放AI潜能</span>--> <!-- <span class="description">支持模型训练推理和数据处理灵活配置助您高效释放AI潜能</span>-->
<ul style="margin-top: 50px" class="tagUl"> <ul style="margin-top: 50px" class="tagUl">
<li>海量资源 <span style="display: inline-block;margin: 0 15px;"></span> 物美价廉</li> <li>匠造臻品 <span style="display: inline-block;margin: 0 15px;"></span> 精奢惠选</li>
</ul> </ul>
</div> </div>
</div> </div>