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 00000000..58a59c4d Binary files /dev/null and b/src/sass/AppResidentDocument/components/img/right-icon.png differ