main #28

Merged
charles merged 2 commits from main into prod 2025-09-09 10:18:36 +08:00
4 changed files with 56 additions and 8 deletions

View File

@ -13,12 +13,45 @@
font-size: 14px;
}
}
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
}
</style>
</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>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

View File

@ -3,9 +3,18 @@ import defaultSettings from '@/settings'
const title = defaultSettings.title || 'Kboss'
export default function getPageTitle(pageTitle) {
if (pageTitle) {
return `${pageTitle}`
}
// return `${title}`
return `首页`
// if (pageTitle) {
// return `${pageTitle}`
// }
// // return `${title}`
// return `首页`
const domainName = window.location.href
if (domainName.indexOf('opencomputing') > -1) {
return `开元云(北京)科技有限公司`
}
if (domainName.indexOf('ncmatch') > -1) {
return `开元数智(北京)科技有限公司`
}
return `opencomputing`
}

View File

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

View File

@ -304,7 +304,7 @@ export default Vue.extend({
</span>
<!-- <span class="description">支持模型训练推理和数据处理灵活配置助您高效释放AI潜能</span>-->
<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>
</div>
</div>