Commit 379b97b1 by LJM

css

parent 4474a2b0
Showing with 40 additions and 40 deletions
......@@ -47,12 +47,12 @@
"navigationBarTitleText": "商品详情"
}
},
{
"path": "pages/confirm/confirm",
"style": {
"navigationBarTitleText": "提交订单"
}
},
{
"path": "pages/confirm/confirm",
"style": {
"navigationBarTitleText": "提交订单"
}
},
{
"path": "pages/mine/login",
"style": {
......
......@@ -72,13 +72,13 @@ const router = new Router({
title: '商品详情'
}
},
{
path: '/pages/confirm/confirm',
aliasPath: '/order/confirm',
meta: {
title: '确认订单'
}
},
{
path: '/pages/confirm/confirm',
aliasPath: '/order/confirm',
meta: {
title: '确认订单'
}
},
{
path: '/pages/mine/login',
aliasPath: '/login',
......@@ -125,30 +125,6 @@ const router = new Router({
}
},
{
path: '/pages/mine/userAddress',
aliasPath: '/user/reciveaddress',
meta: {
title: '收货地址',
auth: true
}
},
{
path: '/pages/mine/userAddressAdd',
aliasPath: '/user/userAddressAdd',
meta: {
title: '新增地址',
auth: true
}
},
{
path: '/pages/mine/userAddressEdit',
aliasPath: '/user/userAddressEdit',
meta: {
title: '编辑地址',
auth: true
}
},
{
path: '/pages/mine/coupdz',
aliasPath: '/user/coupdz',
meta: {
......@@ -252,6 +228,30 @@ const router = new Router({
}
},
{
path: '/pages/mine/userAddress',
aliasPath: '/user/reciveaddress',
meta: {
title: '收货地址',
auth: true
}
},
{
path: '/pages/mine/userAddressAdd',
aliasPath: '/user/userAddressAdd',
meta: {
title: '新增地址',
auth: true
}
},
{
path: '/pages/mine/userAddressEdit',
aliasPath: '/user/userAddressEdit',
meta: {
title: '编辑地址',
auth: true
}
},
{
path: '/pages/mine/invoice',
aliasPath: '/user/invoice',
meta: {
......@@ -260,7 +260,7 @@ const router = new Router({
}
},
{
path: '/pages/mine/invoice',
path: '/pages/mine/invoiceAdd',
aliasPath: '/user/invoiceAdd',
meta: {
title: '新增发票',
......@@ -268,7 +268,7 @@ const router = new Router({
}
},
{
path: '/pages/mine/invoice',
path: '/pages/mine/invoiceEdit',
aliasPath: '/user/invoiceEdit',
meta: {
title: '编辑发票',
......@@ -280,7 +280,7 @@ const router = new Router({
//全局路由前置守卫
router.beforeEach((to, from, next) => {
if (to.meta.auth) {
if (!getCookie('Yo4teW_uid') || getCookie('Yo4teW_uid') == 0) {
uni.navigateTo({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment