diff --git a/f/web-kboss/jsconfig.json b/f/web-kboss/jsconfig.json index 958df04..ed079e2 100644 --- a/f/web-kboss/jsconfig.json +++ b/f/web-kboss/jsconfig.json @@ -1,4 +1,4 @@ -{ +{ "compilerOptions": { "baseUrl": "./", "paths": { @@ -6,4 +6,4 @@ } }, "exclude": ["node_modules", "dist"] -} \ No newline at end of file +} diff --git a/f/web-kboss/src/permission.js b/f/web-kboss/src/permission.js index 226add4..cd8782f 100644 --- a/f/web-kboss/src/permission.js +++ b/f/web-kboss/src/permission.js @@ -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']; // no redirect whitelist +const whiteList = ["/login", "/homePage", "/registrationPage", "/shoppingCart", "/homePageImage","/h5HomePage",'/H5about','/modelProductDetail']; // no redirect whitelist // 获取用户代理字符串 const userAgent = window.navigator.userAgent; diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index 2ce02b8..db1cf56 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -56,6 +56,13 @@ export const constantRoutes = [ path: "/redirect/:path(.*)", component: () => import("@/views/redirect/index"), },], }, + // 模型推荐产品详情 + { + path: "/modelProductDetail", + name: 'ProductDetail', + component: () => import('@/views/modelProductDetail/index.vue'), + + }, { path: '/h5HomePage', name: 'H5HomePage', @@ -285,6 +292,7 @@ export const constantRoutes = [ hidden: true, meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" }, }, + { path: "search", component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"), diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue index f32c219..b988b95 100644 --- a/f/web-kboss/src/views/homePage/components/topBox/index.vue +++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue @@ -668,7 +668,7 @@ export default Vue.extend({ // 首页跳转方法 - 根据域名判断跳转到不同的首页 goHome() { if (this.isNcmatchDomain) { - this.$router.push('/ncmatchHome/index'); + this.$router.push('/ncmatchHome'); } else { this.$router.push('/homePage/index'); } diff --git a/f/web-kboss/src/views/modelProductDetail/index.vue b/f/web-kboss/src/views/modelProductDetail/index.vue new file mode 100644 index 0000000..f9326e7 --- /dev/null +++ b/f/web-kboss/src/views/modelProductDetail/index.vue @@ -0,0 +1,372 @@ + + + + +