From 1702a7c6a37745da199e88917bf491297c3a1cf4 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 10 Oct 2022 19:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/NavBar.vue | 27 +++++++++++++++ pages.json | 44 ++++++++++++++++++------ pages/ProductManage/EmptyPipeInStore.vue | 17 +++++++-- pages/home/home.vue | 13 ++++++- pages/login/login.vue | 28 ++++++--------- utils/api.js | 11 ++++-- utils/request.js | 27 ++++++++++++--- vuex/modules/user.js | 14 ++++++-- vuex/types.js | 3 +- 9 files changed, 142 insertions(+), 42 deletions(-) create mode 100644 components/NavBar.vue diff --git a/components/NavBar.vue b/components/NavBar.vue new file mode 100644 index 0000000..9a5f5cf --- /dev/null +++ b/components/NavBar.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/pages.json b/pages.json index d33f66d..1dc731d 100644 --- a/pages.json +++ b/pages.json @@ -4,7 +4,7 @@ "path" : "pages/login/login", "style": { "navigationStyle": "custom" - } + } } ,{ "path" : "pages/home/home", @@ -22,34 +22,56 @@ } ,{ "path" : "pages/ProductManage/EmptyPipeInStore", - "style" : { - "navigationBarTitleText": "空管入库", - "navigationStyle": "default", - "enablePullDownRefresh": false + "style": { + "navigationStyle": "custom" } } ,{ "path" : "pages/ProductManage/ZjCasing", "style" : { "navigationBarTitleText": "子卷套管", - "navigationStyle": "default", - "enablePullDownRefresh": false + "app-plus": { + "titleNView": { + "buttons":[ + { + "type":"home" + } + ] + } + }, + "enablePullDownRefresh": false } } ,{ "path" : "pages/ProductManage/ZjDelivery", "style" : { "navigationBarTitleText": "子卷配送", - "navigationStyle": "default", - "enablePullDownRefresh": false + "app-plus": { + "titleNView": { + "buttons":[ + { + "type":"home" + } + ] + } + }, + "enablePullDownRefresh": false } } ,{ "path" : "pages/ProductManage/ZjOutStore", "style" : { "navigationBarTitleText": "子卷出站", - "navigationStyle": "default", - "enablePullDownRefresh": false + "app-plus": { + "titleNView": { + "buttons":[ + { + "type":"home" + } + ] + } + }, + "enablePullDownRefresh": false } } ,{ diff --git a/pages/ProductManage/EmptyPipeInStore.vue b/pages/ProductManage/EmptyPipeInStore.vue index 239d03a..d9c079f 100644 --- a/pages/ProductManage/EmptyPipeInStore.vue +++ b/pages/ProductManage/EmptyPipeInStore.vue @@ -1,15 +1,28 @@ diff --git a/pages/home/home.vue b/pages/home/home.vue index 4bc171b..83e01a7 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -18,20 +18,31 @@