From d3364ecec56c7a04e94ff1490e4ddfaee78cb12d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Sat, 14 Sep 2024 09:49:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8D=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=9A=84=E6=96=87=E6=A1=88=E6=98=BE=E7=A4=BA?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/safeQuestion/safeQuestion.vue | 16 ++++------------ pages/updateSafeQuestion/updateSafeQuestion.vue | 5 ++++- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/pages/safeQuestion/safeQuestion.vue b/pages/safeQuestion/safeQuestion.vue index 6d4d2ae..ef5b978 100644 --- a/pages/safeQuestion/safeQuestion.vue +++ b/pages/safeQuestion/safeQuestion.vue @@ -7,8 +7,7 @@ - + {{item.answer}} 修改 @@ -97,17 +96,10 @@ page { .input { border-radius: 0 0 32rpx 32rpx; - height: 100rpx; - line-height: 100rpx; + line-height: 40rpx; background: #FFFFFF; - padding: 0 32rpx; -} - -.input-placeholder { - height: 100rpx; - font-size: 36rpx; - font-weight: bold; - line-height: 100rpx; + padding: 20rpx 32rpx; + word-break: break-all; } .line { diff --git a/pages/updateSafeQuestion/updateSafeQuestion.vue b/pages/updateSafeQuestion/updateSafeQuestion.vue index c7b88f9..c6d1d50 100644 --- a/pages/updateSafeQuestion/updateSafeQuestion.vue +++ b/pages/updateSafeQuestion/updateSafeQuestion.vue @@ -73,9 +73,12 @@ export default { ...mapState(useUserStore, ['userInfo']) }, async onLoad (data) { - await this.getQuestionList() + this.getQuestionList() const questionAnswer = JSON.parse(data.questionAnswer) if (questionAnswer) { + uni.setNavigationBarTitle({ + title: '安全问题设置' + }) this.questionAnswer = questionAnswer this.answer = questionAnswer.map(item => { return {