修改多图上传样式

This commit is contained in:
chenrx
2024-06-13 17:59:26 +08:00
parent b17a2ef5bf
commit 2e9f3e350b
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<view class="absolute top-0 left-0 bottom-0 right-0 bg-f00-op50 z-index-3" wx:if="{{business_licence.err}}">
<view class="absolute left-0 right-0 box-middle pl20 pr20 text-break font-22 color-fff"><i class="iconfont icon-jinggao"></i>{{business_licence.errmsg}}</view>
</view>
<image class='block wp100 img-h-200 ulib-r10' src='{{business_licence.img}}' mode='aspectFit' bindtap="previewImage" data-type="business_licence"></image>
<image class='block wp100 img-h-500 ulib-r10' src='{{business_licence.img}}' mode='aspectFit' bindtap="previewImage" data-type="business_licence"></image>
</view>
</block>
<block wx:else>
+4 -4
View File
@@ -19,16 +19,16 @@
</view>
</view>
<view class="fn-flex mt20" wx:else>
<view class="fn-flex mt20 text-center" wx:else>
<scroll-view scroll-x="true">
<block wx:for='{{row}}' wx:key='index'>
<view class="inline-block bg-f8 img-300x200 ml15 mr15 relative ulib-r10 overflowhidden mt10">
<view class="inline-block bg-f8 img-530x300 ml15 mr15 relative ulib-r10 overflowhidden mt10">
<i class="absolute top-0 right-0 bg-000-op50 iconfont icon-guanbi1 inner10 font-26 color-fff ulib-rtr10 ulib-rbl10 z-index-1" bindtap="delImg" data-index="{{index}}"></i>
<image class='block wp100 img-h-200 ulib-r10' src='{{item.img}}' mode='aspectFit' bindtap="previewImage" data-url="{{item.img}}"></image>
<image class='block wp100 img-h-530 ulib-r10' src='{{item.img}}' mode='aspectFit' bindtap="previewImage" data-url="{{item.img}}"></image>
</view>
</block>
<block wx:if="{{row.length<5}}">
<view class="inline-block bg-f8 img-300x200 ml15 mr15 relative ulib-r10 overflowhidden text-center mt10" bindtap="chooseImg">
<view class="inline-block bg-f8 img-530x300 ml15 mr15 relative ulib-r10 overflowhidden mt10" bindtap="chooseImg">
<view class="absolute left-0 right-0 box-middle color-ccc">
<i class="iconfont icon-paizhao font-48"></i>
<view class="mt10 font-22">上传图片</view>