| | |
| | | import Forget from '@/page/forget' |
| | | import Login from '@/page/login' |
| | | import List from '@/page/list/list' |
| | | import TradingList from '@/page/list/trading-list' |
| | | import Searchlist from '@/page/list/list-search' |
| | | import IndexSearchlist from '@/page/list/indexlist-search' // 指数查询 |
| | | import SearchMylist from '@/page/list/my-list-search' |
| | | import ListDetail from '@/page/list/detail' |
| | | import ListDetail from '@/page/list/listDetail' |
| | | 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 holdOrderList2 from '@/page/user/search-order/hold-stockSpell' |
| | | import sellOrderList from '@/page/user/search-order/sell-stockCode' |
| | |
| | | import newLogin from '@/page/login/login.vue' |
| | | import newRegister from '@/page/login/register.vue' |
| | | import NewPage from '@/page/home/newPage' |
| | | 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) |
| | | |
| | |
| | | path: '/newPage', |
| | | name: 'newPage', |
| | | meta: { |
| | | title: 'new', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | title: '详情', |
| | | hasHeader: true, |
| | | is_Show: true, |
| | | index: 2 |
| | | }, |
| | | component: NewPage |
| | | }, |
| | | { |
| | | path: '/register', |
| | | name: 'register', |
| | | path: '/newGg', |
| | | name: 'newGg', |
| | | meta: { |
| | | title: '注册', |
| | | index: 3 |
| | | title: '公告详情', |
| | | hasHeader: true, |
| | | is_Show: true, |
| | | index: 49 |
| | | }, |
| | | component: Register |
| | | }, { |
| | | component: NewGg |
| | | }, |
| | | // { |
| | | // path: '/register', |
| | | // name: 'register', |
| | | // meta: { |
| | | // title: '注册', |
| | | // index: 3 |
| | | // }, |
| | | // component: Register |
| | | // }, |
| | | { |
| | | path: '/forget', |
| | | name: 'forget', |
| | | meta: { |
| | |
| | | index: 4 |
| | | }, |
| | | component: Forget |
| | | }, { |
| | | path: '/login', |
| | | name: 'login', |
| | | meta: { |
| | | title: '账户登录', |
| | | hasHeader: true, |
| | | index: 5 |
| | | }, |
| | | component: Login |
| | | }, { |
| | | }, |
| | | // { |
| | | // path: '/login', |
| | | // name: 'login', |
| | | // meta: { |
| | | // title: '账户登录', |
| | | // hasHeader: true, |
| | | // index: 5 |
| | | // }, |
| | | // component: Login |
| | | // }, |
| | | { |
| | | path: '/openaccount', |
| | | name: 'openaccount', |
| | | meta: { |
| | |
| | | index: 6 |
| | | }, |
| | | component: OpenAccount |
| | | }, { |
| | | path: '/list', |
| | | name: 'list', |
| | | }, |
| | | { |
| | | path: '/trading-list', |
| | | name: 'TradingList', |
| | | meta: { |
| | | title: '行情', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 7 |
| | | }, |
| | | component: List |
| | | }, { |
| | | component: TradingList |
| | | } |
| | | // { |
| | | // path: '/list', |
| | | // name: 'list', |
| | | // meta: { |
| | | // title: '行情', |
| | | // requireAuth: false, |
| | | // hasHeader: false, |
| | | // index: 7 |
| | | // }, |
| | | // component: List |
| | | // } |
| | | , { |
| | | path: '/indexsearchlist', |
| | | name: '指数查询', |
| | | meta: { |
| | |
| | | meta: { |
| | | title: '详情', |
| | | requireAuth: false, |
| | | hasHeader: true, |
| | | hasHeader: false, |
| | | index: 13 |
| | | }, |
| | | component: ListDetail |
| | |
| | | index: 21 |
| | | }, |
| | | component: Transfer |
| | | }, { |
| | | path: '/orderlist', |
| | | name: 'orderlist', |
| | | }, |
| | | // { |
| | | // path: '/orderlist', |
| | | // name: 'orderlist', |
| | | // meta: { |
| | | // title: '持仓', |
| | | // requireAuth: false, |
| | | // hasHeader: true, |
| | | // index: 22 |
| | | // }, |
| | | // component: OrderList |
| | | // }, |
| | | { |
| | | path: '/warehouse', |
| | | name: 'Warehouse', |
| | | meta: { |
| | | title: '持仓', |
| | | requireAuth: false, |
| | | hasHeader: true, |
| | | hasHeader: false, |
| | | index: 22 |
| | | }, |
| | | component: OrderList |
| | | component: Warehouse |
| | | }, |
| | | { |
| | | path: '/holdorderlist', |
| | |
| | | component: FundsList |
| | | }, |
| | | { |
| | | path: '/newLogin', |
| | | path: '/login', |
| | | name: 'newLogin', |
| | | meta: { |
| | | title: '新登录', |
| | | title: '用户登录', |
| | | requireAuth: false, |
| | | hasHeader: true, |
| | | index: 47 |
| | | index: 47, |
| | | show: true |
| | | }, |
| | | component: newLogin |
| | | }, |
| | | { |
| | | path: '/newRegister', |
| | | path: '/register', |
| | | name: 'newRegister', |
| | | meta: { |
| | | title: '新注册', |
| | | title: '用户注册', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 48 |
| | | index: 48, |
| | | show: true |
| | | }, |
| | | component: newRegister |
| | | }, |
| | | { |
| | | path: '/kline', |
| | | name: 'kline', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 49, |
| | | show: true |
| | | }, |
| | | component: KLine |
| | | }, |
| | | { |
| | | path: '/TradingBuy', |
| | | name: 'TradingBuy', |
| | | meta: { |
| | | title: '图标', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 50, |
| | | show: true |
| | | }, |
| | | component: TradingBuy |
| | | }, |
| | | { |
| | | path: '/NewUser', |
| | | 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' |