|
@@ -48,14 +48,14 @@
|
|
|
商品封面图<span>*</span>
|
|
商品封面图<span>*</span>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="tips">
|
|
<view class="tips">
|
|
|
- 支持jpg、png格式
|
|
|
|
|
|
|
+ 支持jpg、png格式,大小在2M以内
|
|
|
</view>
|
|
</view>
|
|
|
<view v-if="tabIndex==1">
|
|
<view v-if="tabIndex==1">
|
|
|
<image v-for="(val,index) in fmImageList" :key="index" :src="val.url" mode=""
|
|
<image v-for="(val,index) in fmImageList" :key="index" :src="val.url" mode=""
|
|
|
style="width: 140rpx;height:140rpx;border-radius: 4px; border: 1px solid #ebecee;margin-right:20rpx;margin-bottom:10rpx">
|
|
style="width: 140rpx;height:140rpx;border-radius: 4px; border: 1px solid #ebecee;margin-right:20rpx;margin-bottom:10rpx">
|
|
|
</image>
|
|
</image>
|
|
|
</view>
|
|
</view>
|
|
|
- <u-upload v-else ref="uUpload" :action="action" :file-list="fmImageList" @on-success="handleSuccess"
|
|
|
|
|
|
|
+ <u-upload v-else ref="uUpload" :action="action" :file-list="fmImageList" :max-size="2 * 1024 * 1024" @on-success="handleSuccess"
|
|
|
@on-remove=" handleRemove" max-count="1" width="140rpx" height="140rpx"></u-upload>
|
|
@on-remove=" handleRemove" max-count="1" width="140rpx" height="140rpx"></u-upload>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item upload">
|
|
<view class="item upload">
|