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 {