Commit 0547e32c authored by linwenqing's avatar linwenqing

refactor:证件上传图片高度设置400rpx

parent 75f46f1e
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</view> </view>
<view class="upload-container"> <view class="upload-container">
<view class="img-container" v-for="(item, index) in imgList[key].desc" :key="index"> <view class="img-container" v-for="(item, index) in imgList[key].desc" :key="index">
<image class="upload-img" @click="handleClick(type, index)" :src="imgs[index]" mode="widthFix"> <image class="upload-img" @click="handleClick(type, index)" :src="imgs[index]" mode="aspectFit">
</image> </image>
<text class="img-desc">{{ item }}</text> <text class="img-desc">{{ item }}</text>
</view> </view>
...@@ -230,6 +230,7 @@ ...@@ -230,6 +230,7 @@
.upload-img { .upload-img {
margin-top: 30rpx; margin-top: 30rpx;
width: 100%; width: 100%;
height: 400rpx !important;
} }
.two { .two {
......
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