Compare commits

...

2 Commits

Author SHA1 Message Date
87d670d31f Merge pull request '代码更新' (#86) from main into prod
Reviewed-on: #86
2026-03-30 09:33:08 +08:00
hrx
862dee3768 代码更新 2026-03-30 09:21:00 +08:00
3 changed files with 4 additions and 14 deletions

View File

@ -25,7 +25,7 @@
<script>
window.difyChatbotConfig = {
token: 'HKghmPZLD4JczCXc',
baseUrl: 'http://aigc.smartcrec.com',
baseUrl: 'https://aigc.smartcrec.com',
inputs: {
// You can define the inputs from the Start node here
// key is the variable name
@ -43,7 +43,7 @@
}
</script>
<script
src="http://aigc.smartcrec.com/embed.min.js"
src="https://aigc.smartcrec.com/embed.min.js"
id="HKghmPZLD4JczCXc"
defer>
</script>

View File

@ -11,7 +11,7 @@ import {getHomePath} from "@/views/setting/tools";
NProgress.configure({showSpinner: false}); // NProgress Configuration
const whiteList = ["/login", "/homePage", "/registrationPage", "/shoppingCart", "/homePageImage","/h5HomePage",'/H5about','/modelProductDetail']; // no redirect whitelist
const whiteList = ["/login", "/homePage", "/registrationPage", "/shoppingCart", "/homePageImage","/h5HomePage",'/H5about','/modelProductDetail','/ncmatchHome']; // no redirect whitelist
// 获取用户代理字符串
const userAgent = window.navigator.userAgent;

View File

@ -5,7 +5,7 @@
<!-- 统一显示logo和导航 -->
<div class="logo">
<!-- Logo图片点击跳转首页 - 使用与goHome相同的逻辑 -->
<img v-if="JSON.stringify(logoInfoNew) !== '{}'" @click="goOneHome" style="cursor:pointer;"
<img v-if="JSON.stringify(logoInfoNew) !== '{}'" @click="goHome" style="cursor:pointer;"
class="logoImg" :src="logoInfoNew.home.logoImg || ''" alt="">
<!-- 主导航菜单 -->
@ -266,17 +266,7 @@ export default Vue.extend({
}
},
methods: {
goOneHome(){
console.log('当前域名',windows.location.hostname);
if (window.location.hostname === 'ncmatch.cn') {
this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
}
},
// AI
handleAIClick() {
this.$message.info({