Commit bf06eacd authored by xinzhedeai's avatar xinzhedeai

html内容修改 如图片大小限制

parent 5641b37e
......@@ -91,7 +91,7 @@
</van-cell>
</van-cell-group>
<van-cell-group :class="{'disable-van-cell': disabled}" v-show="pageType !== 'detail' && !filePathList.length">
<van-cell>文件:<span style="color: red;">(限制大小2.5M以内,格式png/jpg/jpeg/pdf)</span>
<van-cell>文件:<span style="color: red;">(格式png/jpg/jpeg/pdf)</span>
<div style="width: 2.5rem;">
<van-uploader v-model="fileList"
accept=".jpg,.jpeg,.png,.pdf"
......
......@@ -13,7 +13,7 @@ window.addEventListener("load", function() {
loading: false,
finished: false,
page: 0,
size: 99,
size: 9999,
total: 0
}
},
......
......@@ -70,7 +70,7 @@
</van-cell>
</van-cell-group>
<van-cell-group :class="{'disable-van-cell': disabled}" v-show="!disabled">
<van-cell>文件:<span style="color: red;">(限制大小2.5M以内,格式png/jpg/jpeg)</span>
<van-cell>文件:<span style="color: red;">(格式png/jpg/jpeg)</span>
<div style="width: 2.5rem;">
<van-uploader v-model="fileList"
accept=".jpg,.jpeg,.png"
......
......@@ -92,7 +92,7 @@
<h5 v-if="form.hdStatus == 3 || form.hdStatus == 2" style="color:indianred;font-size: 12px;">
整改图片已提交审核, 审核通过后显示
</h5>
<div style="width: 2.5rem;">
<div style="width: 2.5rem;" v-show="form.hdStatus == 1">
<van-image
width="100"
height="100"
......@@ -102,9 +102,15 @@
</div></van-cell>
</van-cell-group>
<van-cell-group v-if="!disabled">
<van-cell>整改照片
<van-cell>整改照片<span style="color: red;">(格式png/jpg/jpeg)</span>
<div style="width: 2.5rem;">
<van-uploader v-model="fileList" :max-count="1" :deletable="!disabled" :preview-full-image="false">
<van-uploader
v-model="fileList"
accept=".jpg,.jpeg,.png"
:max-count="1"
:deletable="!disabled"
:before-read="beforeRead"
:preview-full-image="false">
</van-uploader>
</div></van-cell>
</van-cell-group>
......
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