| | |
| | | import Authentication from "@/page/user/authentication"; |
| | | import Aggre from "@/page/user/agreement"; |
| | | import Recharge from "@/page/user/recharge"; |
| | | import recharges from "@/page/user/recharges"; |
| | | import RransferIndex from "@/page/user/ransferIndex"; |
| | | import transferindexList from "@/page/user//compontents/transferindex-list"; |
| | | import RechargeSure from "@/page/user/recharge-sure"; |
| | |
| | | import IndexList from "@/page/list/index-list"; |
| | | import setting from "@/page/newUser/setting"; |
| | | import indexBuy from "@/page/home/index-buy"; |
| | | import Record from "@/page/home/Record"; |
| | | import TwoBuy from "@/page/home/two-buy"; |
| | | import SubWarehouseBuy from "@/page/home/sub-warehouse-buy"; |
| | | import futuresBuy from "@/page/home/futures-buy"; |
| | |
| | | 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 TradingBuy from "@/page/trading/newbuy.vue"; |
| | | // import TradingBuy from "@/page/trading/buy.vue"; |
| | | import NewUser from "@/page/newUser/index.vue"; |
| | | import download from "@/page/download/download.vue"; |
| | | import Wallet from "@/page/wallet/index.vue"; |
| | |
| | | import Transfers from "@/page/transfer/index.vue"; |
| | | import Authentications from "@/page/authentication/index.vue"; |
| | | import BankCard from "@/page/bankCard/index.vue"; |
| | | import banklist from "@/page/bankCard/banklist.vue"; |
| | | import updatabank from "@/page/bankCard/updatabank.vue"; |
| | | import BankCard1 from "@/page/bankCard1/index.vue"; |
| | | import service from "@/page/service/service.vue"; |
| | | import chongz from "@/page/service/chongz.vue"; |
| | | import Subscription from "@/page/home/Subscription.vue"; // VIP抢筹 和 大宗交易 |
| | |
| | | import help_html from "@/page/home/help_html.vue"; |
| | | import help_fxkz from "@/page/home/help_fxkz.vue"; |
| | | import help_wdfw from "@/page/home/help_wdfw.vue"; |
| | | import help_fwxy from "@/page/home/help_fwxy.vue"; |
| | | import new_service from "@/page/home/new_service.vue"; |
| | | Vue.use(Router); |
| | | |
| | |
| | | path: "/setting", |
| | | name: "setting", |
| | | meta: { |
| | | title: "设置", |
| | | title: "Setting", |
| | | requireAuth: true, |
| | | index: 91 |
| | | }, |
| | |
| | | path: "/yeb", |
| | | name: "yeb", |
| | | meta: { |
| | | title: "余额宝", |
| | | title: "yeb", |
| | | requireAuth: true, |
| | | index: 999 |
| | | }, |
| | |
| | | path: "/subDK", |
| | | name: "subDK", |
| | | meta: { |
| | | title: "申请贷款", |
| | | title: i18n.t("贷款"), |
| | | requireAuth: true, |
| | | index: 998 |
| | | }, |
| | |
| | | path: "/yebs", |
| | | name: "yebs", |
| | | meta: { |
| | | title: "余额宝记录", |
| | | title: "yebs—history", |
| | | requireAuth: true, |
| | | index: 1000 |
| | | }, |
| | |
| | | }, |
| | | component: Recharge |
| | | }, |
| | | |
| | | { |
| | | path: "/recharges", |
| | | name: "recharges", |
| | | meta: { |
| | | requireAuth: true, |
| | | show: true |
| | | // title: "充值" |
| | | // requireAuth: true, |
| | | // hasHeader: true, |
| | | // index: 31 |
| | | }, |
| | | component: recharges |
| | | }, |
| | | { |
| | | path: "/transferIndex", |
| | | name: "transferIndex", |
| | |
| | | path: "/rechargeSure", |
| | | name: "rechargeSure", |
| | | meta: { |
| | | title: "RechargeSure", |
| | | requireAuth: true, |
| | | show: true |
| | | }, |
| | |
| | | path: "/rechargelist", |
| | | name: "rechargelist", |
| | | meta: { |
| | | title: i18n.t("hj168"), |
| | | requireAuth: true, |
| | | hasHeader: true, |
| | | index: 33 |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 56, |
| | | show: true |
| | | }, |
| | | component: RechargeList |
| | | }, |
| | |
| | | path: "/cashlist", |
| | | name: "cashlist", |
| | | meta: { |
| | | title: i18n.t("hj162"), |
| | | requireAuth: true, |
| | | hasHeader: true, |
| | | index: 36 |
| | | title: 'Withdraw', |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 56, |
| | | show: true |
| | | }, |
| | | component: Cashlist |
| | | }, |
| | |
| | | path: "/alertdetail", |
| | | name: "alertdetail", |
| | | meta: { |
| | | title: "公告详情", |
| | | title: "Announcement details", |
| | | requireAuth: true, |
| | | hasHeader: true, |
| | | index: 40 |
| | | }, |
| | | component: Alertdetail |
| | |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 47, |
| | | show: true |
| | | show: true, |
| | | title: i18n.t("hj24"), |
| | | }, |
| | | component: newLogin |
| | | }, |
| | |
| | | component: BankCard |
| | | }, |
| | | { |
| | | path: "/bankCard1", |
| | | name: "bankCard1", |
| | | meta: { |
| | | title: i18n.t("关于我们"), |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 57, |
| | | show: true |
| | | }, |
| | | component: BankCard1 |
| | | }, |
| | | { |
| | | path: "/banklist", |
| | | name: "banklist", |
| | | meta: { |
| | | title: i18n.t("hj247"), |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 57, |
| | | show: true |
| | | }, |
| | | component: banklist |
| | | }, |
| | | { |
| | | path: "/updatabank", |
| | | name: "updatabank", |
| | | meta: { |
| | | title: i18n.t("hj247"), |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 57, |
| | | show: true |
| | | }, |
| | | component: updatabank |
| | | }, |
| | | { |
| | | path: "/service", |
| | | name: "service", |
| | | meta: { |
| | |
| | | show: true |
| | | }, |
| | | component: help_wdfw |
| | | }, { |
| | | path: "/help_fwxy", |
| | | name: "help_fwxy", |
| | | meta: { |
| | | title: i18n.t("《用戶服務協議》"), |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 61, |
| | | show: true |
| | | }, |
| | | component: help_fwxy |
| | | }, |
| | | { |
| | | path: "/new_service", |
| | |
| | | component: new_service |
| | | }, |
| | | { |
| | | path: "/Record", |
| | | name: "Record", |
| | | meta: { |
| | | title: i18n.t("hj2"), |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 62, |
| | | show: true |
| | | }, |
| | | component: Record |
| | | }, |
| | | { |
| | | // 会匹配所有路径 |
| | | path: "*", |
| | | redirect: "/home" |