|
|
@@ -13,8 +13,8 @@
|
|
|
<li v-if="showImgList.length < num && (multiple || showImgList.length == 0)" class="uploadImg" @click="chooseImage" :style="{ width: size + 'rpx', height: size + 'rpx' }">
|
|
|
<view class="iconfont icontupiantianjia"></view>
|
|
|
</li>
|
|
|
- <!--<view style="white-space: nowarp;font-size: 24upx; color: #999;">图片大小不得超过1.5M</view>-->
|
|
|
- <view style="white-space: nowarp;font-size: 24upx; color: #999;">建议上传比例800X500</view>
|
|
|
+ <view v-if="!remark" style="white-space: nowarp;font-size: 24upx; color: #999;">图片大小不得超过1.5M</view>
|
|
|
+ <view v-else style="white-space: nowarp;font-size: 24upx; color: #999;">{{remark}}</view>
|
|
|
</ul>
|
|
|
</slot>
|
|
|
</div>
|
|
|
@@ -56,6 +56,11 @@
|
|
|
type: String,
|
|
|
default: "1.5M"
|
|
|
},
|
|
|
+ //备注
|
|
|
+ remark: {
|
|
|
+ type: String,
|
|
|
+ default: ""
|
|
|
+ },
|
|
|
// 是否记录用户的选择记录
|
|
|
isSave: {
|
|
|
type: Boolean,
|