修复textarea在ios样式问题

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