From 69c2047690489ea86d3d1958accd520d08d51a53 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 17 Feb 2025 16:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BD=AE=E4=BC=91=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=20=E4=B8=B4=E6=97=B6=E5=A4=96=E5=87=BA=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 283 ++++---- src/pages/index/index.vue | 402 ++++++----- src/pages/login/index.vue | 822 +++++++++++----------- src/pages/my/index.vue | 469 ++++++------ src/pages/stagger-holidays/details.vue | 241 +++++++ src/pages/stagger-holidays/index.vue | 659 +++++++++++++++++ src/pages/stagger-holidays/recordList.vue | 145 ++++ src/pages/temporary-outing/details.vue | 241 +++++++ src/pages/temporary-outing/index.vue | 666 ++++++++++++++++++ src/pages/temporary-outing/recordList.vue | 143 ++++ src/static/go_out.png | Bin 0 -> 3722 bytes src/static/lx_icon.png | Bin 0 -> 3832 bytes 12 files changed, 3110 insertions(+), 961 deletions(-) create mode 100644 src/pages/stagger-holidays/details.vue create mode 100644 src/pages/stagger-holidays/index.vue create mode 100644 src/pages/stagger-holidays/recordList.vue create mode 100644 src/pages/temporary-outing/details.vue create mode 100644 src/pages/temporary-outing/index.vue create mode 100644 src/pages/temporary-outing/recordList.vue create mode 100644 src/static/go_out.png create mode 100644 src/static/lx_icon.png diff --git a/src/pages.json b/src/pages.json index c7fe08e..d2a803c 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,136 +1,149 @@ { - "pages": [ - //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - // { - // "path": "pages/index/index", - // "style": { - // "navigationBarTitleText": "uni-app" - // } - // }, - // 首页 - { - "path": "pages/login/index", - "style": { - "navigationBarTitleText": "登录" - } - }, - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" - } - }, - { - "path": "pages/face/index", - "style": { - "navigationBarTitleText": "人脸录入", - "navigationBarBackgroundColor": "#ffffff" - } - }, - { - "path": "pages/clock/index", - "style": { - "navigationBarTitleText": "考勤打卡", - "navigationBarBackgroundColor": "#ffffff" - } - }, - // 我的 - { - "path": "pages/my/index", - "style": { - "navigationBarTitleText": "我的" - } - }, - // 出差报备 - { - "path": "pages/evection/index", - "style": { - "navigationBarTitleText": "出差报备" - } - }, - // 报备记录列表 - { - "path": "pages/evection/recordList", - "style": { - "navigationBarTitleText": "报备记录" - } - }, - // 报备记录列表 - { - "path": "pages/evection/details", - "style": { - "navigationBarTitleText": "出差报备详情" - } - }, - // 休假报备 - { - "path": "pages/holiday/index", - "style": { - "navigationBarTitleText": "休假报备" - } - }, - // 报备记录列表 - { - "path": "pages/holiday/recordList", - "style": { - "navigationBarTitleText": "报备记录" - } - }, - // 报备记录列表 - { - "path": "pages/holiday/details", - "style": { - "navigationBarTitleText": "休假报备详情" - } - }, - //修改密码 - { - "path": "pages/password/index", - "style": { - "navigationBarTitleText": "修改密码" - } - }, - { - "path" : "pages/panel/index", - "style" : - { - "navigationBarTitleText" : "面板", - "navigationBarBackgroundColor": "#ffffff" - } - }, - { - "path" : "pages/clock/detail", - "style" : - { - "navigationBarTitleText" : "人脸考勤", - "navigationBarBackgroundColor": "#ffffff" - } - } - ], - "tabBar": { - "color": "#2c2c2c", - "selectedColor": "#1296db", - "borderStyle": "black", - "backgroundColor": "#FFFFFF", - "iconWidth": "24px", - "list": [{ - "pagePath": "pages/index/index", - "text": "首页", - "iconPath": "static/home.png", - "selectedIconPath": "static/homeSelected.png" - }, - { - "pagePath": "pages/my/index", - "text": "我的", - "iconPath": "static/workSpace.png", - "selectedIconPath": "static/workSpaceSelected.png" - } - ] - }, - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - } -} \ No newline at end of file + "pages": [ + //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + // { + // "path": "pages/index/index", + // "style": { + // "navigationBarTitleText": "uni-app" + // } + // }, + // 首页 + { + "path": "pages/login/index", + "style": { + "navigationBarTitleText": "登录" + } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + }, + { + "path": "pages/face/index", + "style": { + "navigationBarTitleText": "人脸录入", + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/clock/index", + "style": { + "navigationBarTitleText": "考勤打卡", + "navigationBarBackgroundColor": "#ffffff" + } + }, + // 我的 + { + "path": "pages/my/index", + "style": { + "navigationBarTitleText": "我的" + } + }, + // 出差报备 + { + "path": "pages/evection/index", + "style": { + "navigationBarTitleText": "出差报备" + } + }, + // 报备记录列表 + { + "path": "pages/evection/recordList", + "style": { + "navigationBarTitleText": "报备记录" + } + }, + // 报备记录列表 + { + "path": "pages/evection/details", + "style": { + "navigationBarTitleText": "出差报备详情" + } + }, + // 休假报备 + { + "path": "pages/holiday/index", + "style": { + "navigationBarTitleText": "休假报备" + } + }, + // 报备记录列表 + { + "path": "pages/holiday/recordList", + "style": { + "navigationBarTitleText": "报备记录" + } + }, + // 报备记录列表 + { + "path": "pages/holiday/details", + "style": { + "navigationBarTitleText": "休假报备详情" + } + }, + //修改密码 + { + "path": "pages/password/index", + "style": { + "navigationBarTitleText": "修改密码" + } + }, + { + "path": "pages/panel/index", + "style": { + "navigationBarTitleText": "面板", + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/clock/detail", + "style": { + "navigationBarTitleText": "人脸考勤", + "navigationBarBackgroundColor": "#ffffff" + } + }, + // 轮休申请 + { + "path": "pages/stagger-holidays/index", + "style": { + "navigationBarTitleText": "轮休申请" + } + }, + // 临时外出申请 + { + "path": "pages/temporary-outing/index", + "style": { + "navigationBarTitleText": "临时外出申请" + } + } + ], + "tabBar": { + "color": "#2c2c2c", + "selectedColor": "#1296db", + "borderStyle": "black", + "backgroundColor": "#FFFFFF", + "iconWidth": "24px", + "list": [ + { + "pagePath": "pages/index/index", + "text": "首页", + "iconPath": "static/home.png", + "selectedIconPath": "static/homeSelected.png" + }, + { + "pagePath": "pages/my/index", + "text": "我的", + "iconPath": "static/workSpace.png", + "selectedIconPath": "static/workSpaceSelected.png" + } + ] + }, + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + } +} diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 9910f70..6a7bd4a 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,217 +1,233 @@ - \ No newline at end of file + .grid-item:nth-child(2n) { + margin-right: 0; + } + } + } + + .centered-text { + text-align: center; + display: block; + } + diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index e9141f1..8c24d8a 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -1,440 +1,454 @@ diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index 052713d..ae26160 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -1,260 +1,271 @@ diff --git a/src/pages/stagger-holidays/details.vue b/src/pages/stagger-holidays/details.vue new file mode 100644 index 0000000..cfea40b --- /dev/null +++ b/src/pages/stagger-holidays/details.vue @@ -0,0 +1,241 @@ +