Commit bf06eacd authored by xinzhedeai's avatar xinzhedeai

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

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