From 0d29d9a2bf0d893a67f1263bb9525131a50a2128 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 23 Mar 2024 11:12:55 +0800
Subject: [PATCH] 首次提交大宝wap
---
src/router/index.js | 341 +++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 287 insertions(+), 54 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 2bd57b8..7975927 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,10 +4,10 @@
import Home from '@/page/home/home'
import Buy from '@/page/home/buy'
import Alertdetail from '@/page/home/components/alert' // 公告详情
-import Register from '@/page/register'
+// import Register from '@/page/register'
import Forget from '@/page/forget'
-import Login from '@/page/login'
-import List from '@/page/list/list'
+// 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' // 指数查询
@@ -16,8 +16,13 @@
import ListDetail2 from '@/page/list/detail2'
import MyList from '@/page/list/my-list'
import Inquiry from '@/page/home/inquiry'
-import OrderList from '@/page/user/order-list'
+// import OrderList from '@/page/user/order-list'
import Warehouse from '@/page/user/Warehouse.vue'
+import yeb from '@/page/user/yeb.vue'
+import yebs from '@/page/user/yebs.vue'
+import yebs2 from '@/page/user/yebs2.vue'
+import SubDK from '@/page/user/SubDK.vue'
+import tixian from '@/page/tixian/tixian.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'
@@ -35,6 +40,7 @@
import Setting from '@/page/user/my'
import Transfer from '@/page/user/transfer'
import IndexList from '@/page/list/index-list'
+import setting from '@/page/newUser/setting'
import indexBuy from '@/page/home/index-buy'
import TwoBuy from '@/page/home/two-buy'
import SubWarehouseBuy from '@/page/home/sub-warehouse-buy'
@@ -50,17 +56,28 @@
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 download from '@/page/download/download.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'
import service from '@/page/service/service.vue'
+import chongz from '@/page/service/chongz.vue'
+import Subscription from '@/page/home/Subscription.vue' // VIP抢筹 和 大宗交易
+import sharerecordDz from '@/page/home/sharerecordDz.vue' // 大宗交易记录
+import vipdetail from '@/page/home/vipdetail.vue'// vip抢筹详情
+import favorites from '@/page/user/favorites.vue'
+import help from '@/page/home/help.vue'
+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 new_service from '@/page/home/new_service.vue'
Vue.use(Router)
const routerPush = Router.prototype.push
-Router.prototype.push = function push(location) {
+Router.prototype.push = function push (location) {
return routerPush.call(this, location).catch(error => error)
}
export default new Router({
@@ -68,7 +85,8 @@
{
path: '/',
redirect: '/home'
- }, {
+ },
+ {
path: '/home',
name: 'home',
meta: {
@@ -77,7 +95,44 @@
index: 0
},
component: Home
- }, {
+ },
+ {
+ path: '/Subscription',
+ name: 'Subscription',
+ meta: {
+ title: 'A股',
+ requireAuth: true,
+ hasHeader: false,
+ show: true,
+ index: 58
+ },
+ component: Subscription
+ },
+ {
+ path: '/sharerecordDz',
+ name: 'sharerecordDz',
+ meta: {
+ title: '大宗交易记录',
+ requireAuth: false,
+ hasHeader: false,
+ index: 66,
+ show: true
+ },
+ component: sharerecordDz
+ },
+ {
+ path: '/vipdetail',
+ name: 'vipdetail',
+ meta: {
+ title: 'VIP抢筹',
+ requireAuth: true,
+ hasHeader: false,
+ show: true,
+ index: 1
+ },
+ component: vipdetail
+ },
+ {
path: '/buy',
name: 'buy',
meta: {
@@ -87,13 +142,17 @@
index: 1
},
component: Buy
- }, {
+ },
+ {
path: '/newPage',
name: 'newPage',
meta: {
+ // title: '详情',
title: i18n.t('hj238'),
- hasHeader: true,
- is_Show: true,
+ hasHeader: false,
+ // hasHeader: true,
+ // is_Show: true,
+ is_Show: false,
index: 2
},
component: NewPage
@@ -117,7 +176,7 @@
// index: 3
// },
// component: Register
- // },
+ // },
{
path: '/forget',
name: 'forget',
@@ -126,7 +185,7 @@
index: 4
},
component: Forget
- },
+ },
// {
// path: '/login',
// name: 'login',
@@ -137,7 +196,7 @@
// },
// component: Login
// },
- {
+ {
path: '/openaccount',
name: 'openaccount',
meta: {
@@ -146,7 +205,7 @@
index: 6
},
component: OpenAccount
- },
+ },
{
path: '/trading-list',
name: 'TradingList',
@@ -157,7 +216,7 @@
index: 7
},
component: TradingList
- }
+ },
// {
// path: '/list',
// name: 'list',
@@ -169,7 +228,7 @@
// },
// component: List
// }
- , {
+ {
path: '/indexsearchlist',
name: '指数查询',
meta: {
@@ -177,7 +236,18 @@
index: 8
},
component: IndexSearchlist
- }, {
+ },
+ {
+ path: '/setting',
+ name: 'setting',
+ meta: {
+ title: '设置',
+ requireAuth: false,
+ index: 91
+ },
+ component: setting
+ },
+ {
path: '/indexlist',
name: 'indexlist',
meta: {
@@ -186,7 +256,8 @@
index: 9
},
component: IndexList
- }, {
+ },
+ {
path: '/searchlist',
name: '个股查询',
meta: {
@@ -194,7 +265,8 @@
index: 10
},
component: Searchlist
- }, {
+ },
+ {
path: '/searchmylist',
name: 'searchmylist',
meta: {
@@ -203,7 +275,8 @@
index: 11
},
component: SearchMylist
- }, {
+ },
+ {
path: '/mylist',
name: 'mylist',
meta: {
@@ -211,10 +284,10 @@
requireAuth: true,
hasHeader: true,
index: 12
-
},
component: MyList
- }, {
+ },
+ {
path: '/listdetail',
name: 'listdetail',
meta: {
@@ -224,7 +297,8 @@
index: 13
},
component: ListDetail
- }, {
+ },
+ {
path: '/listdetail2',
name: 'listdetail2',
meta: {
@@ -270,7 +344,8 @@
index: 17
},
component: SubWarehouseBuy
- }, {
+ },
+ {
path: '/futuresBuy',
name: 'futuresBuy',
meta: {
@@ -280,7 +355,8 @@
index: 18
},
component: futuresBuy
- }, {
+ },
+ {
path: '/inquiry',
name: 'inquiry',
meta: {
@@ -289,7 +365,16 @@
index: 19
},
component: Inquiry
- },
+ },{
+ path: '/tixian',
+ name: 'tixian',
+ meta: {
+ title: '提现',
+ requireAuth: true,
+ index: 19
+ },
+ component: tixian
+ },
// {
// path: '/user',
// name: 'user',
@@ -310,7 +395,48 @@
index: 21
},
component: Transfer
- },
+ },
+ {
+ path: '/yeb',
+ name: 'yeb',
+ meta: {
+ title: '余额宝',
+ requireAuth: true,
+ index: 999
+ },
+ component: yeb
+ },
+ {
+ path: '/subDK',
+ name: 'subDK',
+ meta: {
+ title: '申请贷款',
+ requireAuth: true,
+ index: 998
+ },
+ component: SubDK
+ },
+
+ {
+ path: '/yebs',
+ name: 'yebs',
+ meta: {
+ title: '余额宝记录',
+ requireAuth: true,
+ index: 1000
+ },
+ component: yebs
+ },
+ {
+ path: '/yebs2',
+ name: 'yebs2',
+ meta: {
+ title: '贷款记录',
+ requireAuth: true,
+ index: 1002
+ },
+ component: yebs2
+ },
// {
// path: '/orderlist',
// name: 'orderlist',
@@ -322,7 +448,7 @@
// },
// component: OrderList
// },
- {
+ {
path: '/warehouse',
name: 'Warehouse',
meta: {
@@ -343,7 +469,8 @@
index: 23
},
component: holdOrderList
- }, {
+ },
+ {
path: '/holdorderlist2',
name: 'holdorderlist2',
meta: {
@@ -353,7 +480,8 @@
index: 24
},
component: holdOrderList2
- }, {
+ },
+ {
path: '/sellorderlist',
name: 'sellorderlist',
meta: {
@@ -363,7 +491,8 @@
index: 25
},
component: sellOrderList
- }, {
+ },
+ {
path: '/sellorderlist2',
name: 'sellorderlist2',
meta: {
@@ -373,7 +502,8 @@
index: 26
},
component: sellOrderList2
- }, {
+ },
+ {
path: '/detail',
name: 'detail',
meta: {
@@ -383,7 +513,8 @@
index: 27
},
component: Detail
- }, {
+ },
+ {
path: '/card',
name: 'card',
meta: {
@@ -393,7 +524,8 @@
index: 28
},
component: Card
- }, {
+ },
+ {
path: '/authentication',
name: 'authentication',
meta: {
@@ -403,7 +535,8 @@
index: 29
},
component: Authentication
- }, {
+ },
+ {
path: '/aggre',
name: 'aggre',
meta: {
@@ -412,7 +545,8 @@
index: 30
},
component: Aggre
- }, {
+ },
+ {
path: '/recharge',
name: 'recharge',
meta: {
@@ -420,10 +554,10 @@
requireAuth: true,
hasHeader: true,
index: 31
-
},
component: Recharge
- }, {
+ },
+ {
path: '/rechargeSure',
name: 'rechargeSure',
meta: {
@@ -431,10 +565,10 @@
requireAuth: true,
hasHeader: true,
index: 32
-
},
component: RechargeSure
- }, {
+ },
+ {
path: '/rechargelist',
name: 'rechargelist',
meta: {
@@ -444,7 +578,8 @@
index: 33
},
component: RechargeList
- }, {
+ },
+ {
path: '/cash',
name: 'cash',
meta: {
@@ -454,7 +589,8 @@
index: 34
},
component: Cash
- }, {
+ },
+ {
path: '/addCard',
name: 'addCard',
meta: {
@@ -462,10 +598,10 @@
requireAuth: true,
hasHeader: true,
index: 35
-
},
component: AddCard
- }, {
+ },
+ {
path: '/cashlist',
name: 'cashlist',
meta: {
@@ -473,10 +609,10 @@
requireAuth: true,
hasHeader: true,
index: 36
-
},
component: Cashlist
- }, {
+ },
+ {
path: '/setting',
name: 'setting',
meta: {
@@ -485,7 +621,8 @@
index: 37
},
component: Setting
- }, {
+ },
+ {
path: '/agree',
name: 'agree',
meta: {
@@ -494,7 +631,8 @@
index: 38
},
component: Agree
- }, {
+ },
+ {
path: '/trade',
name: 'trade',
meta: {
@@ -571,14 +709,15 @@
index: 45
},
component: () => import('../page/user/notify')
- }, {
+ },
+ {
path: '/fundslist',
name: 'fundslist',
meta: {
title: '分仓配资',
requireAuth: false,
hasHeader: true,
- index: 46,
+ index: 46
},
component: FundsList
},
@@ -588,7 +727,7 @@
meta: {
title: i18n.t('hj248'),
requireAuth: false,
- hasHeader: true,
+ hasHeader: false,
index: 47,
show: true
},
@@ -637,9 +776,20 @@
title: i18n.t('hj243'),
requireAuth: false,
hasHeader: false,
- index: 51,
+ index: 51
},
component: NewUser
+ },{
+ path: '/download',
+ name: 'download',
+ meta: {
+ title: i18n.t('hj243'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 57,
+ show: true
+ },
+ component: download
},
{
path: '/wallet',
@@ -648,7 +798,7 @@
title: i18n.t('hj244'),
requireAuth: false,
hasHeader: false,
- index: 52,
+ index: 52
},
component: Wallet
},
@@ -725,6 +875,89 @@
component: service
},
{
+ path: '/chongz',
+ name: 'chongz',
+ meta: {
+ title: '充值',
+ requireAuth: false,
+ hasHeader: false,
+ index: 59,
+ show: true
+ },
+ component: chongz
+ },
+ {
+ path: '/favorites',
+ name: 'Favorites',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 58
+ },
+ component: favorites
+ },
+ {
+ path: '/help',
+ name: 'help',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 59,
+ show: true
+ },
+ component: help
+ },
+ {
+ path: '/help_html',
+ name: 'help_html',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 60,
+ show: true
+ },
+ component: help_html
+ },
+ {
+ path: '/help_fxkz',
+ name: 'help_fxkz',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 61,
+ show: true
+ },
+ component: help_fxkz
+ },
+ {
+ path: '/help_wdfw',
+ name: 'help_wdfw',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 61,
+ show: true
+ },
+ component: help_wdfw
+ },
+ {
+ path: '/new_service',
+ name: 'new_service',
+ meta: {
+ title: i18n.t('hj2'),
+ requireAuth: false,
+ hasHeader: false,
+ index: 62,
+ show: true
+ },
+ component: new_service
+ },
+ {
// 会匹配所有路径
path: '*',
redirect: '/home'
--
Gitblit v1.9.3