From ecc9636e56604f81f1dd5bcefcf8cf6e49766508 Mon Sep 17 00:00:00 2001 From: mhsnet Date: Sat, 11 May 2024 10:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8app=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E5=88=86A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jnpf-app/pages.json | 75 +++-- jnpf-app/pages/index/home.vue | 409 ++++++++++++++++++++++++++++ jnpf-app/pages/login/index.vue | 8 +- jnpf-app/pages/login/otherLogin.vue | 4 +- 4 files changed, 474 insertions(+), 22 deletions(-) create mode 100644 jnpf-app/pages/index/home.vue diff --git a/jnpf-app/pages.json b/jnpf-app/pages.json index 528d5364..a6193556 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": { @@ -1043,6 +1072,12 @@ "pages/message" ] }, + "pages/index/home": { + "network": "all", + "packages": [ + "pages/home" + ] + }, "pages/index/workFlow": { "network": "all", "packages": [ @@ -1063,28 +1098,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": "消息", @@ -1100,9 +1141,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()