| | |
| | | path: '/bookdetail', |
| | | name: 'bookdetail', |
| | | component: bookdetail, |
| | | meta: { |
| | | scrollToTop: true, |
| | | }, |
| | | }, |
| | | { |
| | | path: '/search', |
| | | name: 'search', |
| | | meta: { |
| | | name: '搜索', |
| | | }, |
| | | component: () => import('@/views/home/search.vue'), |
| | | }, |
| | | { |
| | | path: '/bookStore', |
| | | name: 'bookStore', |
| | | component: bookStore, |
| | | meta: { |
| | | scrollToTop: true, |
| | | }, |
| | | }, |
| | | { |
| | | path: '/textBookApply', |
| | | name: 'textBookApply', |
| | | component: () => import('@/views/bookStore/textBookApply.vue'), |
| | | meta: { |
| | | scrollToTop: true, |
| | | }, |
| | | }, |
| | | //个人中心 |
| | | { |
| | |
| | | ], |
| | | }, |
| | | ], |
| | | scrollBehavior(to, from, savedPosition) { |
| | | return { x: 0, y: 0 } |
| | | }, |
| | | }) |
| | | |
| | | export default router |