Style(AI):输入框改为多行文本

This commit is contained in:
lifizer
2025-06-27 14:48:07 +08:00
parent a3bf9df15d
commit 195cd9405c
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -23,10 +23,11 @@
</view> </view>
<!-- 输入框 --> <!-- 输入框 -->
<view class="input-wrap flex-center-between"> <view class="input-wrap flex-center-between">
<input <textarea
v-model.trim="prompt" v-model.trim="prompt"
:show-confirm-bar="false" :show-confirm-bar="false"
:adjust-position="true" :adjust-position="true"
:auto-height="true"
:disabled="loading" :disabled="loading"
:maxlength="-1" :maxlength="-1"
class="inp" class="inp"
+2 -2
View File
@@ -159,7 +159,7 @@ page {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 100rpx; min-height: 100rpx;
width: calc(100% - 122rpx); width: calc(100% - 122rpx);
padding: 6rpx 6rpx 6rpx 24rpx; padding: 6rpx 6rpx 6rpx 24rpx;
border-radius: 30rpx; border-radius: 30rpx;
@@ -184,7 +184,7 @@ page {
height: 88rpx; height: 88rpx;
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
line-height: 88rpx; line-height: 48rpx;
color: #333; color: #333;
font-size: 30rpx; font-size: 30rpx;
} }