tanghaolin
2025-04-18 e3ab5c403cce86811f9bdf8ae5f0d00f1f776b1f
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;