From c754d075e658a197b5f2040ee24a5d9ded7d93fa Mon Sep 17 00:00:00 2001 From: zhouyanli <593579392@qq.com> Date: Mon, 31 Aug 2026 15:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E8=B0=83=E6=9F=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=8F=E8=BF=B0=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service-list/questionnaireDetail.vue | 10 ++++---- .../service-list/questionnaireFillout.vue | 23 ++++++++----------- .../pageSubPack/visitor/visitor-detail.vue | 2 -- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/property-uniapp-project/pageSubPack/service-list/questionnaireDetail.vue b/property-uniapp-project/pageSubPack/service-list/questionnaireDetail.vue index 17cfe7d..5062aba 100644 --- a/property-uniapp-project/pageSubPack/service-list/questionnaireDetail.vue +++ b/property-uniapp-project/pageSubPack/service-list/questionnaireDetail.vue @@ -2,10 +2,7 @@ {{ detailItem.title || '' }} - - 为了给您提供更好的服务,希望您能抽出几分钟时间,将最近的感受和建议告诉我们, - 我们十分重视每位用户的宝贵意见,期待您的参与! - + {{ detailItem.description || '' }} 暂无问卷内容 @@ -142,7 +139,7 @@ page { font-weight: 600; color: #333; text-align: center; - margin: 0px 0 20rpx 0; + margin: 0px 0 30rpx 0; } .survey-desc { @@ -163,7 +160,8 @@ page { } .question-item { - margin-bottom: 30rpx; + /* margin-bottom: 30rpx; */ + margin: 30rpx 0 ; } .question-title { diff --git a/property-uniapp-project/pageSubPack/service-list/questionnaireFillout.vue b/property-uniapp-project/pageSubPack/service-list/questionnaireFillout.vue index 1b7f13b..a17cc33 100644 --- a/property-uniapp-project/pageSubPack/service-list/questionnaireFillout.vue +++ b/property-uniapp-project/pageSubPack/service-list/questionnaireFillout.vue @@ -11,11 +11,7 @@ {{ detailItem.title || '' }} - - - 为了给您提供更好的服务,希望您能抽出几分钟时间,将最近的感受和建议告诉我们, - 我们十分重视每位用户的宝贵意见,期待您的参与! - + {{ detailItem.description || '' }} @@ -205,9 +201,9 @@ const handleSubmit = async () => { const ans = answers.value[q.cid] if (ans === undefined || ans === null || ans === '' || (Array.isArray(ans) && ans.length === 0)) { uni.showToast({ title: `请填写第${questionList.value.indexOf(q) + 1}题`, icon: 'none' }) - return - } - } + return + } + } } const answerList = [] @@ -215,14 +211,14 @@ const handleSubmit = async () => { const val = answers.value[q.cid] if (val !== undefined && val !== null && val !== '' && !(Array.isArray(val) && val.length === 0)) { answerList.push({ cid: q.cid, value: val }) - } + } } uni.showLoading({ title: "提交中...", mask: true }) try { let params = { answerList, villageId: uni.getStorageSync("currentVillageId") - } + } const res = await submitQuestionnair(detailItem.value.id,params) uni.hideLoading() if (res.code === 200) { @@ -232,7 +228,7 @@ const handleSubmit = async () => { uni.showToast({ title: res.msg || '提交失败', icon: 'none' }) } } catch (err) { - console.log('errrr',err) + // console.log('errrr',err) uni.hideLoading() uni.showToast({ title: err.msg || '网络异常', icon: 'none' }) } @@ -297,7 +293,8 @@ page { } .question-item { - margin-bottom: 30rpx; + // margin-bottom: 30rpx; + margin: 30rpx 0; .question-title { font-size: 32rpx; @@ -310,7 +307,7 @@ page { color: #ff3b30; font-size: 36rpx; margin-right: 8rpx; - } + } } } diff --git a/property-uniapp-project/pageSubPack/visitor/visitor-detail.vue b/property-uniapp-project/pageSubPack/visitor/visitor-detail.vue index f5de1d7..0b53d66 100644 --- a/property-uniapp-project/pageSubPack/visitor/visitor-detail.vue +++ b/property-uniapp-project/pageSubPack/visitor/visitor-detail.vue @@ -9,8 +9,6 @@ - - 来访地址: