| | |
| | | import ListDetail2 from '@/page/list/detail2' |
| | | import MyList from '@/page/list/my-list' |
| | | import Inquiry from '@/page/home/inquiry' |
| | | import User from '@/page/user/user' |
| | | import OrderList from '@/page/user/order-list' |
| | | import Warehouse from '@/page/user/Warehouse.vue' |
| | | import holdOrderList from '@/page/user/search-order/hold-stockCode' |
| | |
| | | import NewGg from '@/page/home/newGg' |
| | | import KLine from '@/page/kline/index.vue' |
| | | import TradingBuy from '@/page/trading/buy.vue' |
| | | import NewUser from '@/page/newUser/index.vue' |
| | | import Wallet from '@/page/wallet/index.vue'; |
| | | import TransferRecord from '@/page/transferRecord/index.vue' |
| | | import CashWithdrawalRecord from '@/page/cashWithdrawalRecord/index.vue' |
| | | import Transfers from '@/page/transfer/index.vue' |
| | | import Authentications from '@/page/authentication/index.vue' |
| | | import BankCard from '@/page/bankCard/index.vue' |
| | | |
| | | Vue.use(Router) |
| | | |
| | |
| | | index: 19 |
| | | }, |
| | | component: Inquiry |
| | | }, { |
| | | path: '/user', |
| | | name: 'user', |
| | | meta: { |
| | | title: '我的', |
| | | requireAuth: false, |
| | | hasHeader: true, |
| | | index: 20 |
| | | }, |
| | | component: User |
| | | }, |
| | | }, |
| | | // { |
| | | // path: '/user', |
| | | // name: 'user', |
| | | // meta: { |
| | | // title: '我的', |
| | | // requireAuth: false, |
| | | // hasHeader: true, |
| | | // index: 20 |
| | | // }, |
| | | // component: User |
| | | // }, |
| | | { |
| | | path: '/transfer', |
| | | name: 'transfer', |
| | |
| | | component: TradingBuy |
| | | }, |
| | | { |
| | | path: '/User', |
| | | name: 'NewUser', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 51, |
| | | }, |
| | | component: NewUser |
| | | }, |
| | | { |
| | | path: '/wallet', |
| | | name: 'Wallet', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 52, |
| | | }, |
| | | component: Wallet |
| | | }, |
| | | { |
| | | path: '/transferRecord', |
| | | name: 'transferRecord', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 53, |
| | | show: true |
| | | }, |
| | | component: TransferRecord |
| | | }, |
| | | { |
| | | path: '/cashWithdrawalRecord', |
| | | name: 'cashWithdrawalRecord', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 54, |
| | | show: true |
| | | }, |
| | | component: CashWithdrawalRecord |
| | | }, |
| | | { |
| | | path: '/transfers', |
| | | name: 'transfers', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 55, |
| | | show: true |
| | | }, |
| | | component: Transfers |
| | | }, |
| | | { |
| | | path: '/authentications', |
| | | name: 'authentications', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 56, |
| | | show: true |
| | | }, |
| | | component: Authentications |
| | | }, |
| | | { |
| | | path: '/bankCard', |
| | | name: 'bankCard', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 57, |
| | | show: true |
| | | }, |
| | | component: BankCard |
| | | }, |
| | | { |
| | | // 会匹配所有路径 |
| | | path: '*', |
| | | redirect: '/home' |