From c1bca8536d898d589138fe8f3b8156d7ad0da197 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 7 Feb 2022 16:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sass/AppResidentDocument/Add.vue | 345 ++++++++++++++++++ .../AppResidentDocument.vue | 50 ++- .../components/img/right-icon.png | Bin 0 -> 258 bytes 3 files changed, 389 insertions(+), 6 deletions(-) create mode 100644 src/sass/AppResidentDocument/Add.vue create mode 100644 src/sass/AppResidentDocument/components/img/right-icon.png diff --git a/src/sass/AppResidentDocument/Add.vue b/src/sass/AppResidentDocument/Add.vue new file mode 100644 index 00000000..b544291c --- /dev/null +++ b/src/sass/AppResidentDocument/Add.vue @@ -0,0 +1,345 @@ + + + + + diff --git a/src/sass/AppResidentDocument/AppResidentDocument.vue b/src/sass/AppResidentDocument/AppResidentDocument.vue index c1fefd3e..9c0265bf 100644 --- a/src/sass/AppResidentDocument/AppResidentDocument.vue +++ b/src/sass/AppResidentDocument/AppResidentDocument.vue @@ -5,16 +5,16 @@ --> - + -
+ - +
@@ -37,8 +37,11 @@
- - + +
+
+
新增居民
+
@@ -77,6 +80,10 @@ export default { this.areaId = this.user.areaId this.areaName = this.user.areaName this.getList() + uni.$on('reload', res => { + this.current = 1 + this.getList() + }) }, onShow() { document.title = '居民管理' @@ -130,6 +137,9 @@ export default { this.current = 1 this.getList() }, + toAdd() { + uni.navigateTo({url: './Add'}) + } }, onReachBottom() { this.current = this.current + 1 @@ -221,10 +231,38 @@ uni-page-body { } } } + .pad-b112{ + width: 100%; + padding-bottom: 112px; + } .emptyWrap { background: #f5f5f5; margin: 0; } + ::v-deep .emptyText{ + text-align: center; + } + .add-btn{ + position: fixed; + bottom: 0; + left: 0; + z-index: 999; + width: 100%; + height: 112px; + line-height: 112px; + background: #3975C6; + font-size: 32px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #FFF; + div{ + text-align: center; + } + } + + ::v-deep .u-tab-bar{ + margin-bottom: -6px; + } } diff --git a/src/sass/AppResidentDocument/components/img/right-icon.png b/src/sass/AppResidentDocument/components/img/right-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..58a59c4d9c06a9f430ce26cefa3b350b3f53de06 GIT binary patch literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}dpunnLn7SY zUUTGPGUQ>s@WktE?v=R}T7}E+sqGC?dEnI2sPZ{m(CRhc|B2f&XQjK8B%Z*1@Qk`(rHj%ujA?hRTWn7jivC>A#ylm+^O!PC{xWt~$( F69684UPu4{ literal 0 HcmV?d00001