From 1a0c2a75fb900216a395c511e1a13a78daba9cf7 Mon Sep 17 00:00:00 2001 From: ihzero Date: Wed, 17 Apr 2024 22:28:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cu-navbar/index.vue | 8 ++ src/pages.json | 17 ++++ src/pages/mine/index.vue | 2 +- src/pages/user/index.vue | 157 +++++++++++++++++++++++++++++ src/pages/user/update.vue | 45 +++++++++ 5 files changed, 228 insertions(+), 1 deletion(-) create mode 100644 src/pages/user/index.vue create mode 100644 src/pages/user/update.vue diff --git a/src/components/cu-navbar/index.vue b/src/components/cu-navbar/index.vue index f7ade82..e8b2296 100644 --- a/src/components/cu-navbar/index.vue +++ b/src/components/cu-navbar/index.vue @@ -6,7 +6,11 @@ :titleStyle="titleStyle" fixed placeholder + :isBack="isBack" > + diff --git a/src/pages.json b/src/pages.json index 60ed5df..5a56ead 100644 --- a/src/pages.json +++ b/src/pages.json @@ -42,6 +42,23 @@ } } ] + }, + { + "root": "pages/user", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "员工管理" + } + }, + { + "path": "update", + "style": { + "navigationBarTitleText": "修改信息" + } + } + ] } ], "globalStyle": { diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index ac38497..1ec6e29 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -41,7 +41,7 @@ const opList = [ { icon: 'photo-fill', title: '员工管理', - url: '', + url: '/pages/user/index', }, { icon: 'lock', diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue new file mode 100644 index 0000000..74e5ed5 --- /dev/null +++ b/src/pages/user/index.vue @@ -0,0 +1,157 @@ + + diff --git a/src/pages/user/update.vue b/src/pages/user/update.vue new file mode 100644 index 0000000..92de474 --- /dev/null +++ b/src/pages/user/update.vue @@ -0,0 +1,45 @@ + +