From e2879a83376921c028d42ce9ab46fad80de629c7 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 24 Dec 2021 09:04:23 +0800 Subject: [PATCH 1/2] bug --- src/apps/AppResidentDocument/DetailCard.vue | 2 +- .../AppServicePublic/AppServicePublic.vue | 24 ++++++++++++++----- src/apps/AppServicePublic/Detail.vue | 8 ++++++- src/apps/AppUniMsg/Add.vue | 4 ++++ 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/apps/AppResidentDocument/DetailCard.vue b/src/apps/AppResidentDocument/DetailCard.vue index fc3bf43b..7a8afb9f 100644 --- a/src/apps/AppResidentDocument/DetailCard.vue +++ b/src/apps/AppResidentDocument/DetailCard.vue @@ -12,7 +12,7 @@
-
家庭成员{{ data.family.length }}
+
家庭成员 {{ data.family.length }}人
diff --git a/src/apps/AppServicePublic/AppServicePublic.vue b/src/apps/AppServicePublic/AppServicePublic.vue index 862f34ce..fc77c695 100644 --- a/src/apps/AppServicePublic/AppServicePublic.vue +++ b/src/apps/AppServicePublic/AppServicePublic.vue @@ -1,9 +1,9 @@ @@ -52,6 +52,12 @@ export default { }, mounted() {}, methods: { + previewImage(images, img) { + uni.previewImage({ + urls: images.map(v => v.url), + current: img + }) + }, getDetail() { this.$http.post(`/app/appcontentinfo/queryDetailById?id=${this.id}`).then((res) => { if (res?.data) { diff --git a/src/apps/AppUniMsg/Add.vue b/src/apps/AppUniMsg/Add.vue index 4bc6f60e..597a4abf 100644 --- a/src/apps/AppUniMsg/Add.vue +++ b/src/apps/AppUniMsg/Add.vue @@ -82,6 +82,10 @@ export default { return this.$u.toast('请输入发布组织') } + if (!this.forms.content) { + return this.$u.toast('请输入正文') + } + const imgs = [] if (this.forms.images) { this.forms.images.map((e) => { From 4cd05c721e23d1f80f886f4a33d03280fd29c192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Fri, 24 Dec 2021 09:05:29 +0800 Subject: [PATCH 2/2] 25895 --- src/apps/AppWorkonline/Detail.vue | 14 -------------- src/apps/AppWorkonline/Opinion.vue | 2 +- src/apps/AppWorkonline/detail.vue | 14 -------------- 3 files changed, 1 insertion(+), 29 deletions(-) diff --git a/src/apps/AppWorkonline/Detail.vue b/src/apps/AppWorkonline/Detail.vue index f2f41175..5c0e27aa 100644 --- a/src/apps/AppWorkonline/Detail.vue +++ b/src/apps/AppWorkonline/Detail.vue @@ -583,12 +583,9 @@ export default { display: flex; position: relative; justify-content: space-between; - // align-items: center; padding-bottom: 40px; .item-left { - height: 100%; - // position: relative; .item-left-ava-icon { position: relative; @@ -601,12 +598,10 @@ export default { background-color: #2266ff; color: #fff; font-size: 28px; - // vertical-align: middle; text-align: center; z-index: 999; img { - // margin: 16px 0 0 8px; width: 48px; height: 48px; } @@ -618,11 +613,9 @@ export default { left: 50px; width: 36px; height: 36px; - // background: #fff; border-radius: 50%; text-align: center; vertical-align: middle; - img { width: 36px; height: 36px; @@ -648,7 +641,6 @@ export default { } .solid { - // height: 100%; height: calc(100%); border-left: 4px solid #eee; position: absolute; @@ -657,7 +649,6 @@ export default { } .dashed { - // height: 100%; height: calc(100%); border-left: 4px dashed #eee; position: absolute; @@ -1093,12 +1084,10 @@ export default { display: flex; position: relative; justify-content: space-between; - // align-items: center; padding-bottom: 40px; .item-left { height: 100%; - // position: relative; .item-left-ava-icon { position: relative; @@ -1111,12 +1100,10 @@ export default { background-color: #2266ff; color: #fff; font-size: 28px; - // vertical-align: middle; text-align: center; z-index: 999; img { - // margin: 16px 0 0 8px; width: 48px; height: 48px; } @@ -1128,7 +1115,6 @@ export default { left: 50px; width: 36px; height: 36px; - // background: #fff; border-radius: 50%; text-align: center; vertical-align: middle; diff --git a/src/apps/AppWorkonline/Opinion.vue b/src/apps/AppWorkonline/Opinion.vue index b5fbd56a..95794e29 100644 --- a/src/apps/AppWorkonline/Opinion.vue +++ b/src/apps/AppWorkonline/Opinion.vue @@ -67,7 +67,7 @@ (最多9张)
- +
diff --git a/src/apps/AppWorkonline/detail.vue b/src/apps/AppWorkonline/detail.vue index f2f41175..5c0e27aa 100644 --- a/src/apps/AppWorkonline/detail.vue +++ b/src/apps/AppWorkonline/detail.vue @@ -583,12 +583,9 @@ export default { display: flex; position: relative; justify-content: space-between; - // align-items: center; padding-bottom: 40px; .item-left { - height: 100%; - // position: relative; .item-left-ava-icon { position: relative; @@ -601,12 +598,10 @@ export default { background-color: #2266ff; color: #fff; font-size: 28px; - // vertical-align: middle; text-align: center; z-index: 999; img { - // margin: 16px 0 0 8px; width: 48px; height: 48px; } @@ -618,11 +613,9 @@ export default { left: 50px; width: 36px; height: 36px; - // background: #fff; border-radius: 50%; text-align: center; vertical-align: middle; - img { width: 36px; height: 36px; @@ -648,7 +641,6 @@ export default { } .solid { - // height: 100%; height: calc(100%); border-left: 4px solid #eee; position: absolute; @@ -657,7 +649,6 @@ export default { } .dashed { - // height: 100%; height: calc(100%); border-left: 4px dashed #eee; position: absolute; @@ -1093,12 +1084,10 @@ export default { display: flex; position: relative; justify-content: space-between; - // align-items: center; padding-bottom: 40px; .item-left { height: 100%; - // position: relative; .item-left-ava-icon { position: relative; @@ -1111,12 +1100,10 @@ export default { background-color: #2266ff; color: #fff; font-size: 28px; - // vertical-align: middle; text-align: center; z-index: 999; img { - // margin: 16px 0 0 8px; width: 48px; height: 48px; } @@ -1128,7 +1115,6 @@ export default { left: 50px; width: 36px; height: 36px; - // background: #fff; border-radius: 50%; text-align: center; vertical-align: middle;