Style(AI):输入框改为多行文本
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user