修复键盘遮挡输入框问题

main
Connor 2024-06-08 18:57:20 +08:00
parent a14a78fe89
commit 23a8b6d719
1 changed files with 7 additions and 1 deletions

View File

@ -61,7 +61,7 @@
</view> </view>
<!-- 评论区输入框 --> <!-- 评论区输入框 -->
<up-popup :show="showInput" duration="0" @close="close" @open="open" class="comment-po"> <up-popup :show="showInput" duration="0" @close="close" @open="open" class="comment-po">
<view class="flex justifyBetween comment-input" :style="{ marginBottom: bottomVal + 'px' }"> <view class="flex justifyBetween comment-input" :style="{ marginBottom: bottomVal + 26 + 'px' }">
<view class="input-in flex alignCenter justifyCenter"> <view class="input-in flex alignCenter justifyCenter">
<input class="input-in-text" v-if="showInputText" focus="true" maxlength="55" :placeholder="placeholderInput" :adjust-position="false" /> <input class="input-in-text" v-if="showInputText" focus="true" maxlength="55" :placeholder="placeholderInput" :adjust-position="false" />
</view> </view>
@ -517,5 +517,11 @@
.comment-po{ .comment-po{
// height: 500rpx; // height: 500rpx;
} }
.input-bt-text{
font-weight: 400;
font-size: 28rpx;
color: #FFFFFF;
}
</style> </style>