Merge pull request 'main' (#28) from main into prod

Reviewed-on: #28
This commit is contained in:
charles 2025-09-09 10:18:36 +08:00
commit e37c6898df
4 changed files with 56 additions and 8 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

@ -3,9 +3,18 @@ import defaultSettings from '@/settings'
const title = defaultSettings.title || 'Kboss' const title = defaultSettings.title || 'Kboss'
export default function getPageTitle(pageTitle) { export default function getPageTitle(pageTitle) {
if (pageTitle) { // if (pageTitle) {
return `${pageTitle}` // return `${pageTitle}`
} // }
// return `${title}` // // return `${title}`
return `首页` // 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> <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>