Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fbd36409
authored
May 30, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
688c5b6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
14 deletions
router/index.js
router/index.js
View file @
fbd36409
...
@@ -20,56 +20,64 @@ const router = new Router({
...
@@ -20,56 +20,64 @@ const router = new Router({
path
:
'/pages/index/index'
,
path
:
'/pages/index/index'
,
aliasPath
:
'/'
,
aliasPath
:
'/'
,
meta
:
{
meta
:
{
title
:
'首页'
title
:
'首页'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/search/search'
,
path
:
'/pages/search/search'
,
aliasPath
:
'/search'
,
aliasPath
:
'/search'
,
meta
:
{
meta
:
{
title
:
'搜索首页'
title
:
'搜索首页'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/search/searchlist'
,
path
:
'/pages/search/searchlist'
,
aliasPath
:
'/s'
,
aliasPath
:
'/s'
,
meta
:
{
meta
:
{
title
:
'搜索列表'
title
:
'搜索列表'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/car/car'
,
path
:
'/pages/car/car'
,
aliasPath
:
'/joincart'
,
aliasPath
:
'/joincart'
,
meta
:
{
meta
:
{
title
:
'购物车'
title
:
'购物车'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/classp/map'
,
path
:
'/pages/classp/map'
,
aliasPath
:
'/sitmap'
,
aliasPath
:
'/sitmap'
,
meta
:
{
meta
:
{
title
:
'分类选型'
title
:
'分类选型'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/classp/list'
,
path
:
'/pages/classp/list'
,
aliasPath
:
'/optimum'
,
aliasPath
:
'/optimum'
,
meta
:
{
meta
:
{
title
:
'分类列表'
title
:
'分类列表'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/brand/brand'
,
path
:
'/pages/brand/brand'
,
aliasPath
:
'/brand/:brand_id'
,
aliasPath
:
'/brand/:brand_id'
,
meta
:
{
meta
:
{
title
:
'品牌详情'
title
:
'品牌详情'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/detail/detail'
,
path
:
'/pages/detail/detail'
,
aliasPath
:
'/item/:goods_id'
,
aliasPath
:
'/item/:goods_id'
,
meta
:
{
meta
:
{
title
:
'商品详情'
title
:
'商品详情'
,
auth
:
false
}
}
},
},
{
{
...
@@ -84,42 +92,48 @@ const router = new Router({
...
@@ -84,42 +92,48 @@ const router = new Router({
path
:
'/pages/confirm/pay'
,
path
:
'/pages/confirm/pay'
,
aliasPath
:
'/pay/online'
,
aliasPath
:
'/pay/online'
,
meta
:
{
meta
:
{
title
:
'猎芯收银台'
title
:
'猎芯收银台'
,
auth
:
true
}
}
},
},
{
{
path
:
'/pages/confirm/offline'
,
path
:
'/pages/confirm/offline'
,
aliasPath
:
'/pay/offline'
,
aliasPath
:
'/pay/offline'
,
meta
:
{
meta
:
{
title
:
'转账支付'
title
:
'转账支付'
,
auth
:
true
}
}
},
},
{
{
path
:
'/pages/confirm/confirmSuccess'
,
path
:
'/pages/confirm/confirmSuccess'
,
aliasPath
:
'/order/success'
,
aliasPath
:
'/order/success'
,
meta
:
{
meta
:
{
title
:
'提交订单成功'
title
:
'提交订单成功'
,
auth
:
true
}
}
},
},
{
{
path
:
'/pages/mine/login'
,
path
:
'/pages/mine/login'
,
aliasPath
:
'/login'
,
aliasPath
:
'/login'
,
meta
:
{
meta
:
{
title
:
'登录'
title
:
'登录'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/mine/forget'
,
path
:
'/pages/mine/forget'
,
aliasPath
:
'/forget'
,
aliasPath
:
'/forget'
,
meta
:
{
meta
:
{
title
:
'忘记密码'
title
:
'忘记密码'
,
auth
:
false
}
}
},
},
{
{
path
:
'/pages/mine/agreements'
,
path
:
'/pages/mine/agreements'
,
aliasPath
:
'/reg/agreements'
,
aliasPath
:
'/reg/agreements'
,
meta
:
{
meta
:
{
title
:
'协议'
title
:
'协议'
,
auth
:
false
}
}
},
},
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment