修复textarea在ios样式问题

parent d11d717a
......@@ -26,3 +26,5 @@ build
*.sln
*.sw?
.rexma
components.d.ts
src/declaration/auto-imports.d.ts
\ No newline at end of file
......@@ -10,20 +10,20 @@ declare module 'vue' {
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
VanButton: typeof import('vant/es')['Button']
VanCol: typeof import('vant/es')['Col']
VanCalendar: typeof import('vant/es')['Calendar']
VanCascader: typeof import('vant/es')['Cascader']
VanEmpty: typeof import('vant/es')['Empty']
VanField: typeof import('vant/es')['Field']
VanForm: typeof import('vant/es')['Form']
VanIcon: typeof import('vant/es')['Icon']
VanImagePreview: typeof import('vant/es')['ImagePreview']
VanList: typeof import('vant/es')['List']
VanNavBar: typeof import('vant/es')['NavBar']
VanNoticeBar: typeof import('vant/es')['NoticeBar']
VanPopup: typeof import('vant/es')['Popup']
VanProgress: typeof import('vant/es')['Progress']
VanPullRefresh: typeof import('vant/es')['PullRefresh']
VanRow: typeof import('vant/es')['Row']
VanSearch: typeof import('vant/es')['Search']
VanStep: typeof import('vant/es')['Step']
VanSteps: typeof import('vant/es')['Steps']
VanSticky: typeof import('vant/es')['Sticky']
VanSwipe: typeof import('vant/es')['Swipe']
VanSwipeItem: typeof import('vant/es')['SwipeItem']
VanTab: typeof import('vant/es')['Tab']
......
......@@ -26,8 +26,10 @@
</radio-group>
</div>
</div>
<textarea v-model="item.enclosureDesc" rows="2" placeholder="请输入图片描述"
:disabled="!item.uploadResult" />
<div class="text">
<textarea v-model="item.enclosureDesc" disable-default-padding placeholder="请输入图片描述"
:disabled="!item.uploadResult" style="max-height: 30px;"></textarea>
</div>
</div>
</div>
<van-progress :percentage="item.progress" v-if="!item.uploadResult" />
......@@ -211,6 +213,11 @@ const handleNext = () => {
justify-content: space-between;
align-items: center;
.title {
color: #545454;
font-size: 15px;
}
.radio-box {
display: flex;
align-items: center;
......@@ -220,20 +227,19 @@ const handleNext = () => {
}
}
.title {
color: #545454;
font-size: 15px;
}
textarea {
border: 1px solid #cccccc;
.text {
flex: 1;
border-radius: 5px;
font-size: 14px;
padding: 10px;
width: 100%;
box-sizing: border-box;
resize: none;
textarea {
border: 1px solid #cccccc;
border-radius: 5px;
font-size: 14px;
padding: 10px;
width: 100%;
box-sizing: border-box;
resize: none;
min-height: 100%;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment