diff --git a/jnpf-app/pages.json b/jnpf-app/pages.json index ce86c862..a28fd1ea 100644 --- a/jnpf-app/pages.json +++ b/jnpf-app/pages.json @@ -52,6 +52,35 @@ "navigationBarTitleText": "" } }, + { + "path": "pages/index/home", + "style": { + } + }, + { + "path": "pages/workFlow/flowLaunch/index", + "style": { + "navigationBarTitleText": "我发起的" + } + }, + { + "path": "pages/workFlow/flowTodo/index", + "style": { + "navigationBarTitleText": "待办事宜" + } + }, + { + "path": "pages/workFlow/flowDone/index", + "style": { + "navigationBarTitleText": "已办事宜" + } + }, + { + "path": "pages/workFlow/flowCopy/index", + "style": { + "navigationBarTitleText": "抄送我的" + } + }, { "path": "pages/index/portal", "style": { @@ -62,7 +91,7 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "JNPF快速开发平台" + "navigationBarTitleText": "济钢APP" } }, // #ifndef MP @@ -116,7 +145,7 @@ { "path": "pages/index/workFlow", "style": { - "navigationBarTitleText": "JNPF快速开发平台" + "navigationBarTitleText": "济钢APP" } }, { @@ -129,13 +158,13 @@ { "path": "pages/index/contacts", "style": { - "navigationBarTitleText": "JNPF快速开发平台" + "navigationBarTitleText": "济钢APP" } }, { "path": "pages/index/my", "style": { - "navigationBarTitleText": "JNPF快速开发平台", + "navigationBarTitleText": "济钢APP", "app-plus": { "bounce": "none" } @@ -208,7 +237,7 @@ "navigationBarTitleText": "" } }, - { + /*{ "path": "flowLaunch/index", "style": { "navigationBarTitleText": "我发起的" @@ -231,7 +260,7 @@ "style": { "navigationBarTitleText": "抄送我的" } - }, + },*/ { "path": "entrust/index", "style": { @@ -1049,6 +1078,12 @@ "pages/message" ] }, + "pages/index/home": { + "network": "all", + "packages": [ + "pages/home" + ] + }, "pages/index/workFlow": { "network": "all", "packages": [ @@ -1069,28 +1104,34 @@ } }, "tabBar": { - "color": "#303133", - "selectedColor": "#2979FF", + "color": "#86909C", + "selectedColor": "#084287", "backgroundColor": "#ffffff", "list": [ { - "pagePath": "pages/index/portal", + "pagePath": "pages/index/home", "text": "首页", "iconPath": "static/image/tabbar/home.png", "selectedIconPath": "static/image/tabbar/homeHL.png" }, - { + /*{ + "pagePath": "pages/index/portal", + "text": "首页", + "iconPath": "static/image/tabbar/home.png", + "selectedIconPath": "static/image/tabbar/homeHL.png" + },*/ + /*{ "pagePath": "pages/index/workFlow", "text": "协同", "iconPath": "static/image/tabbar/workFlow.png", "selectedIconPath": "static/image/tabbar/workFlowHL.png" - }, - { + },*/ + /*{ "pagePath": "pages/index/apply", "text": "工作台", "iconPath": "static/image/tabbar/apply.png", "selectedIconPath": "static/image/tabbar/applyHL.png" - }, + },*/ { "pagePath": "pages/index/index", "text": "消息", @@ -1106,9 +1147,11 @@ ] }, "globalStyle": { - "navigationBarTitleText": "JNPF快速开发平台", - "navigationBarTextStyle": "black", - "navigationBarBackgroundColor": "#ffffff", + "navigationBarTitleText": "济钢APP", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#0F52BA", + // "navigationBarBackgroundColor": "#0F52BA", + // "backgroundColor": "#f0f2f6", "backgroundColor": "#f0f2f6", "usingComponents": { "ly-tree-node": "/components/ly-tree/ly-tree-node" diff --git a/jnpf-app/pages/index/home.vue b/jnpf-app/pages/index/home.vue new file mode 100644 index 00000000..5cd9c979 --- /dev/null +++ b/jnpf-app/pages/index/home.vue @@ -0,0 +1,409 @@ + + + + \ No newline at end of file diff --git a/jnpf-app/pages/login/index.vue b/jnpf-app/pages/login/index.vue index f6e6d65f..f606f0f4 100644 --- a/jnpf-app/pages/login/index.vue +++ b/jnpf-app/pages/login/index.vue @@ -207,7 +207,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { uni.hideLoading() uni.reLaunch({ - url: '/pages/index/portal' + url: '/pages/index/home' }); }).catch(() => { uni.hideLoading() @@ -226,7 +226,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { uni.hideLoading() uni.reLaunch({ - url: '/pages/index/portal' + url: '/pages/index/home' }); }).catch(() => { uni.hideLoading() @@ -353,7 +353,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { uni.hideLoading() uni.switchTab({ - url: '/pages/index/portal' + url: '/pages/index/home' }); this.show = false }).catch(() => { @@ -447,7 +447,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { this.loading = false uni.switchTab({ - url: '/pages/index/portal' + url: '/pages/index/home' }); }).catch(() => { this.loading = false diff --git a/jnpf-app/pages/login/otherLogin.vue b/jnpf-app/pages/login/otherLogin.vue index f4145c49..8bd49950 100644 --- a/jnpf-app/pages/login/otherLogin.vue +++ b/jnpf-app/pages/login/otherLogin.vue @@ -46,7 +46,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { uni.hideLoading() uni.reLaunch({ - url: '/pages/index/portal' + url: '/pages/index/home' }); }).catch(() => { uni.hideLoading() @@ -71,7 +71,7 @@ this.$store.dispatch('user/getCurrentUser').then((res) => { uni.hideLoading() uni.reLaunch({ - url: '/pages/index/portal' + url: '/pages/index/home' }); }).catch(() => { uni.hideLoading()