1. 修复安全问题的文案显示bug
This commit is contained in:
parent
8ee2fc8dc1
commit
d3364ecec5
@ -7,8 +7,7 @@
|
||||
<image class="icon-arrow" src="/static/images/icon_arrow.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<input class="input" :value="item.answer" maxlength="50" placeholder="请输入答案"
|
||||
placeholder-class="input-placeholder" :disabled="true"></input>
|
||||
<view class="input">{{item.answer}}</view>
|
||||
</view>
|
||||
<view class="button" @click="updateAnswer">修改</view>
|
||||
</view>
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user