From e3ab5c403cce86811f9bdf8ae5f0d00f1f776b1f Mon Sep 17 00:00:00 2001 From: tanghaolin <1723298894@qq.com> Date: 星期五, 18 四月 2025 15:40:55 +0800 Subject: [PATCH] 添加联系我们界面 --- src/router/index.ts | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 1474dd5..d3befe5 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,5 @@ -import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'; +import { createRouter, createWebHashHistory } from 'vue-router'; + const router = createRouter({ history: createWebHashHistory(), @@ -62,7 +63,50 @@ name: 'payment', component: () => import('../views/PaymentPage.vue'), }, + { + path: '/feedback', + name: 'feedback', + component: () => import('../views/FeedBack.vue'), + }, + { + path: '/order-info', + name: 'order-info', + component: () => import('../views/OrderInfo.vue'), + }, + { + path:'/select-selpara', + name:'select-selpara', + component: () => import('../views/SPump/Select/ByPara2/Index.vue'), + }, + { + path:'/Select/PumpList/Index', + name:'pumplist-index', + component: () => import('../views/SPump/Select/PumpList/Index.vue'), + }, + { + path:'/byParas/Index', + name:'byParas-index', + component: () => import('../views/SPump/Detail/byParas/Index.vue'), + }, + { + path: '/cart', + name: 'cart', + component: () => import('../views/CartPage.vue'), + }, + { + path: '/gb19762-2025', + name: 'gb19762-2025', + component: () => import('../views/GB19762-2025.vue'), + }, + { + path: '/contact-us', + name: 'contact-us', + component: () => import('../views/ContactUs.vue'), + }, ], }); +router.beforeEach((to, from, next) => { + next(); +}); export default router; -- Gitblit v1.9.3