代码更新

This commit is contained in:
hrx 2026-03-30 09:21:00 +08:00
parent 0b44cc1aea
commit 862dee3768
3 changed files with 4 additions and 14 deletions

View File

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

View File

@ -11,7 +11,7 @@ import {getHomePath} from "@/views/setting/tools";
NProgress.configure({showSpinner: false}); // NProgress Configuration 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; const userAgent = window.navigator.userAgent;

View File

@ -5,7 +5,7 @@
<!-- 统一显示logo和导航 --> <!-- 统一显示logo和导航 -->
<div class="logo"> <div class="logo">
<!-- Logo图片点击跳转首页 - 使用与goHome相同的逻辑 --> <!-- 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=""> class="logoImg" :src="logoInfoNew.home.logoImg || ''" alt="">
<!-- 主导航菜单 --> <!-- 主导航菜单 -->
@ -266,17 +266,7 @@ export default Vue.extend({
} }
}, },
methods: { 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 // AI
handleAIClick() { handleAIClick() {
this.$message.info({ this.$message.info({