| | |
| | | import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'; |
| | | import { createRouter, createWebHashHistory } from 'vue-router'; |
| | | |
| | | |
| | | const router = createRouter({ |
| | | history: createWebHashHistory(), |
| | |
| | | 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; |