Browse Source

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

master
yangrz 2 years ago
parent
commit
268026e480
  1. 214
      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

214
agentApp/pages.json

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

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 => {
uni.setStorageSync('agent_token', data.token)
uni.navigateTo({
url: '/pages/index/index'
url: '/pages/agent-index/index'
});
})
}

2
agentApp/pages/allpages/index.vue

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

Loading…
Cancel
Save