diff --git a/src/assets/123.png b/src/assets/123.png new file mode 100644 index 0000000..c259f56 Binary files /dev/null and b/src/assets/123.png differ diff --git a/src/assets/124.png b/src/assets/124.png new file mode 100644 index 0000000..fdb604f Binary files /dev/null and b/src/assets/124.png differ diff --git a/src/assets/222.png b/src/assets/222.png new file mode 100644 index 0000000..4618622 Binary files /dev/null and b/src/assets/222.png differ diff --git a/src/assets/aa.png b/src/assets/aa.png new file mode 100644 index 0000000..a363583 Binary files /dev/null and b/src/assets/aa.png differ diff --git a/src/assets/activeBanner.png b/src/assets/activeBanner.png new file mode 100644 index 0000000..aeaac3c Binary files /dev/null and b/src/assets/activeBanner.png differ diff --git a/src/assets/arrow-down.png b/src/assets/arrow-down.png new file mode 100644 index 0000000..19a62aa Binary files /dev/null and b/src/assets/arrow-down.png differ diff --git a/src/assets/arrow-right.png b/src/assets/arrow-right.png new file mode 100644 index 0000000..9fbda12 Binary files /dev/null and b/src/assets/arrow-right.png differ diff --git a/src/assets/arrow-right1.png b/src/assets/arrow-right1.png new file mode 100644 index 0000000..2cb5774 Binary files /dev/null and b/src/assets/arrow-right1.png differ diff --git a/src/assets/group.png b/src/assets/group.png new file mode 100644 index 0000000..275d4cf Binary files /dev/null and b/src/assets/group.png differ diff --git a/src/assets/yingxiao.png b/src/assets/yingxiao.png new file mode 100644 index 0000000..8b7f0d7 Binary files /dev/null and b/src/assets/yingxiao.png differ diff --git a/src/assets/yingxiaobanner.png b/src/assets/yingxiaobanner.png new file mode 100644 index 0000000..a702cb7 Binary files /dev/null and b/src/assets/yingxiaobanner.png differ diff --git a/src/router/index.ts b/src/router/index.ts index 9b158d0..f50f1db 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,6 +14,39 @@ const routes: RouteRecordRaw[] = [ name: "Login", component: () => import("@/views/login/index.vue"), }, + { + path: "/active", + name: "Active", + component: () => import("@/views/saleActive/index.vue"), + redirect: "/active/newUser", + children: [ + { + path: "newUser", + name: "newUser", + component: () => import("@/views/saleActive/newUser.vue"), + }, + { + path: "newUserDetail", + name: "newUserDetail", + component: () => import("@/views/saleActive/newUserDetail.vue"), + }, + { + path: "oldBringsNew", + name: "oldBringsNew", + component: () => import("@/views/saleActive/oldBringsNew.vue"), + }, + { + path: "openDetail", + name: "openDetail", + component: () => import("@/views/saleActive/openDetail.vue"), + }, + { + path: "invite", + name: "invite", + component: () => import("@/views/saleActive/invite.vue"), + }, + ], + }, { path: "/404", name: "404", @@ -92,6 +125,11 @@ const routes: RouteRecordRaw[] = [ name: "LayoutHome", component: () => import("@/views/home/index.vue"), }, + { + path: "yingxiao", + name: "yingxiao", + component: () => import("@/views/yingxiao/index.vue"), + }, { path: "market", name: "LayoutMarket", @@ -253,25 +291,25 @@ const router = createRouter({ routes, }); // ====== 添加全局前置守卫 ====== -router.beforeEach((to, from, next) => { - console.log("Navigating to:", to.path); - const list = ["/layout/home","/document/introdution","/layout/admin/home"]; - if (list.indexOf(to.path) != -1) { - next(); - return; - } else { - const token = localStorage.getItem("token"); // 或从 pinia/vuex 获取 - const isLoginPage = to.path === "/login"; - if (!token && !isLoginPage) { - // 没有 token 且不是去登录页 → 跳转登录 - next({ path: "/login" }); - } else if (token && isLoginPage) { - // 已登录却访问登录页 → 跳转首页(可选) - next({ path: "/layout/home" }); - } else { - // 正常访问 - next(); - } - } -}); +// router.beforeEach((to, from, next) => { +// console.log("Navigating to:", to.path); +// const list = ["/layout/home", "/document/introdution", "/layout/admin/home"]; +// if (list.indexOf(to.path) != -1) { +// next(); +// return; +// } else { +// const token = localStorage.getItem("token"); // 或从 pinia/vuex 获取 +// const isLoginPage = to.path === "/login"; +// if (!token && !isLoginPage) { +// // 没有 token 且不是去登录页 → 跳转登录 +// next({ path: "/login" }); +// } else if (token && isLoginPage) { +// // 已登录却访问登录页 → 跳转首页(可选) +// next({ path: "/layout/home" }); +// } else { +// // 正常访问 +// next(); +// } +// } +// }); export default router; diff --git a/src/views/admin/index.vue b/src/views/admin/index.vue index 4ff9430..c169cbe 100644 --- a/src/views/admin/index.vue +++ b/src/views/admin/index.vue @@ -1,15 +1,20 @@ -
-
+

{{ item.title }}

@@ -71,7 +71,7 @@
海量高性能 GPU 集群算力
-
搭载 NVIDIA A100/H100/H800 等高性能 +
搭载 NVIDIA A100/H100/H800 等高性能 GPU,拥有强悍算力与超高显存带宽,精准适配不同精度需求,大幅提升运算效率与资源利用率;同时优化稀疏矩阵运算,有效减少 AI 模型的冗余计算。
@@ -80,7 +80,7 @@
算力灵活调度
-
+
本平台支持按需计费与包周期计费两种正式模式,适配短期突发算力需求与长期稳定部署场景。按需计费按实结算,避免资源浪费;包周期计费性价比更优,保障持续运算。用户可自主择选,兼顾成本与效率,助力业务高效推进。
@@ -88,11 +88,11 @@
低价高配 算力性价比超高
-
- 更强更全 AI 算力集群,即刻解锁算力租用服务 +
+ 算力性价比之王!花一半钱享翻倍算力,顶级硬件配置 + 灵活计费模式,无隐形消费。中小团队、初创企业无需负担高昂成本,轻松拥抱 AI 时代,高性价比之选。
- +
@@ -135,6 +135,7 @@ + \ No newline at end of file diff --git a/src/views/saleActive/invite.vue b/src/views/saleActive/invite.vue new file mode 100644 index 0000000..43013a5 --- /dev/null +++ b/src/views/saleActive/invite.vue @@ -0,0 +1,180 @@ + + + \ No newline at end of file diff --git a/src/views/saleActive/newUser.vue b/src/views/saleActive/newUser.vue new file mode 100644 index 0000000..4199438 --- /dev/null +++ b/src/views/saleActive/newUser.vue @@ -0,0 +1,168 @@ + + + \ No newline at end of file diff --git a/src/views/saleActive/newUserDetail.vue b/src/views/saleActive/newUserDetail.vue new file mode 100644 index 0000000..2748d16 --- /dev/null +++ b/src/views/saleActive/newUserDetail.vue @@ -0,0 +1,110 @@ + + + + + \ No newline at end of file diff --git a/src/views/saleActive/newUserRegister.vue b/src/views/saleActive/newUserRegister.vue new file mode 100644 index 0000000..0b5bad3 --- /dev/null +++ b/src/views/saleActive/newUserRegister.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/src/views/saleActive/oldBringsNew.vue b/src/views/saleActive/oldBringsNew.vue new file mode 100644 index 0000000..91d0fe7 --- /dev/null +++ b/src/views/saleActive/oldBringsNew.vue @@ -0,0 +1,61 @@ + + + \ No newline at end of file diff --git a/src/views/saleActive/openDetail.vue b/src/views/saleActive/openDetail.vue new file mode 100644 index 0000000..c4c10e1 --- /dev/null +++ b/src/views/saleActive/openDetail.vue @@ -0,0 +1,138 @@ + + + \ No newline at end of file diff --git a/src/views/yingxiao/index.vue b/src/views/yingxiao/index.vue new file mode 100644 index 0000000..084b282 --- /dev/null +++ b/src/views/yingxiao/index.vue @@ -0,0 +1,306 @@ + + + +