From 9c893e0395b88f31e016aadc8f05d57782d918cb Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 22 Dec 2023 18:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 17 ++ pages/index/manager.vue | 2 +- pages/jump/jump.vue | 6 +- pages/jump/jumpDetail.vue | 316 +++++++++++-------------------- pages/leave/addLeave.vue | 381 ++++++++++++++++++++++++++++++++++++++ pages/leave/leave.vue | 262 ++++++++++++++++++++++++++ 6 files changed, 776 insertions(+), 208 deletions(-) create mode 100644 pages/leave/addLeave.vue create mode 100644 pages/leave/leave.vue diff --git a/pages.json b/pages.json index 09bb748..da48721 100644 --- a/pages.json +++ b/pages.json @@ -376,6 +376,23 @@ "navigationBarTextStyle": "white", "enablePullDownRefresh": false } + }, + { + "path" : "pages/leave/leave", + "style" : + { + "navigationStyle": "custom" + } + }, + { + "path" : "pages/leave/addLeave", + "style" : + { + "navigationBarTitleText": "离栏登记", + "navigationBarBackgroundColor": "#feb048", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } } diff --git a/pages/index/manager.vue b/pages/index/manager.vue index b7dd9c0..a4f0be3 100644 --- a/pages/index/manager.vue +++ b/pages/index/manager.vue @@ -65,7 +65,7 @@ tips: '离舍类型/原因、离舍时间', bg: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/3246c202312191633441356.png', color: '#366ecf', - url: '' + url: '/pages/leave/leave' }, ]) diff --git a/pages/jump/jump.vue b/pages/jump/jump.vue index 276fdaf..5e159a9 100644 --- a/pages/jump/jump.vue +++ b/pages/jump/jump.vue @@ -34,7 +34,7 @@ - + 耳号 @@ -106,6 +106,10 @@ url }) } + + const navBack = ()=>{ + uni.navigateBack() + } //查看 const perviewFn = (url) => { diff --git a/pages/jump/jumpDetail.vue b/pages/jump/jumpDetail.vue index 6109811..a2351c0 100644 --- a/pages/jump/jumpDetail.vue +++ b/pages/jump/jumpDetail.vue @@ -1,224 +1,128 @@ - \ No newline at end of file diff --git a/pages/leave/addLeave.vue b/pages/leave/addLeave.vue new file mode 100644 index 0000000..52ab931 --- /dev/null +++ b/pages/leave/addLeave.vue @@ -0,0 +1,381 @@ + + + + + \ No newline at end of file diff --git a/pages/leave/leave.vue b/pages/leave/leave.vue new file mode 100644 index 0000000..586842c --- /dev/null +++ b/pages/leave/leave.vue @@ -0,0 +1,262 @@ + + + + + \ No newline at end of file