Browse Source

代理主页路由改成page/agent-index/index

master
yangrz 2 years ago
parent
commit
268026e480
  1. 90
      agentApp/pages.json
  2. 0
      agentApp/pages/agent-index/index.vue
  3. 2
      agentApp/pages/agent-login/index.vue
  4. 2
      agentApp/pages/allpages/index.vue

90
agentApp/pages.json

@ -1,140 +1,108 @@
{ {
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"pages": [{ //pageshttps://uniapp.dcloud.io/collocation/pages
"path": "pages/allpages/index", "path": "pages/allpages/index",
"style" :
{
"style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#1783FF", "navigationBarBackgroundColor": "#1783FF",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
// "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/user-login/index", "path": "pages/user-login/index",
"style" :
{
"style": {
"navigationBarTitleText": "用户登录", "navigationBarTitleText": "用户登录",
"navigationBarBackgroundColor": "#1783FF", "navigationBarBackgroundColor": "#1783FF",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
// "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/agent-login/index", "path": "pages/agent-login/index",
"style" :
{
"style": {
"navigationBarTitleText": "代理登录", "navigationBarTitleText": "代理登录",
"navigationBarBackgroundColor": "#1783FF", "navigationBarBackgroundColor": "#1783FF",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
// "enablePullDownRefresh": false
} }
}
,{
"path" : "pages/index/index",
"style" :
},
{ {
"path": "pages/agent-index/index",
"style": {
"navigationBarTitleText": "代理主页", "navigationBarTitleText": "代理主页",
"navigationBarBackgroundColor": "#1783FF", "navigationBarBackgroundColor": "#1783FF",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}
,{
"path" : "pages/cash/cash",
"style" :
},
{ {
"path": "pages/cash/cash",
"style": {
"navigationBarTitleText": "代理提现", "navigationBarTitleText": "代理提现",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}
,{
"path" : "pages/cashdetail/cashdetail",
"style" :
},
{ {
"path": "pages/cashdetail/cashdetail",
"style": {
"navigationBarTitleText": "代理提现", "navigationBarTitleText": "代理提现",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}
,{
"path" : "pages/history/history",
"style" :
},
{ {
"path": "pages/history/history",
"style": {
"navigationBarTitleText": "代理提现历史", "navigationBarTitleText": "代理提现历史",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "pages/payment/payment", "path": "pages/payment/payment",
"style" :
{
"style": {
"navigationBarTitleText": "扫码", "navigationBarTitleText": "扫码",
"navigationBarBackgroundColor": "#ededed", "navigationBarBackgroundColor": "#ededed",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "pages/merchant-login/index", "path": "pages/merchant-login/index",
"style" :
{
"style": {
"navigationBarTitleText": "商户登录", "navigationBarTitleText": "商户登录",
"navigationBarBackgroundColor": "#F52F3E", "navigationBarBackgroundColor": "#F52F3E",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },
{ {
"path": "pages/merchant-index/index", "path": "pages/merchant-index/index",
"style" :
{
"style": {
"navigationBarTitleText": "商户主页", "navigationBarTitleText": "商户主页",
"navigationBarBackgroundColor": "#F52F3E", "navigationBarBackgroundColor": "#F52F3E",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },
{ {
"path": "pages/user-orders/user-orders", "path": "pages/user-orders/user-orders",
"style" :
{
"style": {
"navigationBarTitleText": "主页", "navigationBarTitleText": "主页",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/withdrawal-history/withdrawal-history", "path": "pages/withdrawal-history/withdrawal-history",
"style" :
{
"style": {
"navigationBarTitleText": "提现历史", "navigationBarTitleText": "提现历史",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/withdrawal-management/withdrawal-management", "path": "pages/withdrawal-management/withdrawal-management",
"style" :
{
"style": {
"navigationBarTitleText": "提现管理", "navigationBarTitleText": "提现管理",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/queuing-information/queuing-information", "path": "pages/queuing-information/queuing-information",
"style" :
{
"style": {
"navigationBarTitleText": "用户排队信息", "navigationBarTitleText": "用户排队信息",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
@ -142,32 +110,26 @@
}, },
{ {
"path": "pages/account-opened/account-opened", "path": "pages/account-opened/account-opened",
"style" :
{
"style": {
"navigationBarTitleText": "用户提现", "navigationBarTitleText": "用户提现",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/merchant-withdrawal-management/merchant-withdrawal-management", "path": "pages/merchant-withdrawal-management/merchant-withdrawal-management",
"style" :
{
"style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/merchant-withdrawal-history/merchant-withdrawal-history", "path": "pages/merchant-withdrawal-history/merchant-withdrawal-history",
"style" :
{
"style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uView", "navigationBarTitleText": "uView",

0
agentApp/pages/index/index.vue → agentApp/pages/agent-index/index.vue

2
agentApp/pages/agent-login/index.vue

@ -125,7 +125,7 @@
}).then(data => { }).then(data => {
uni.setStorageSync('agent_token', data.token) uni.setStorageSync('agent_token', data.token)
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/index'
url: '/pages/agent-index/index'
}); });
}) })
} }

2
agentApp/pages/allpages/index.vue

@ -37,7 +37,7 @@
break; break;
case 2: case 2:
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/index'
url: '/pages/agent-index/index'
}); });
break; break;
case 3: case 3:

Loading…
Cancel
Save