...
|
...
|
@@ -50,16 +50,16 @@ export default { |
|
|
{
|
|
|
title: '色卡图片',
|
|
|
key: 'goodsColorImage',
|
|
|
width: 250,
|
|
|
width: 180,
|
|
|
render(row, col, index) {
|
|
|
return `<div
|
|
|
:class="{'upload-item': true ,
|
|
|
'upload-item-error':
|
|
|
:class="{'table-upload-item': true ,
|
|
|
'table-upload-item-error':
|
|
|
row.goodsColorImage.showValidate && row.goodsColorImage.validate}">
|
|
|
<div class="upload-item-img">
|
|
|
<div class="table-upload-item-img">
|
|
|
<img v-if="row.goodsColorImage.value"
|
|
|
:src="row.goodsColorImage.value"
|
|
|
alt="" width="120px" height="122px">
|
|
|
alt="" width="84px" height="112px">
|
|
|
</div>
|
|
|
|
|
|
<div>
|
...
|
...
|
@@ -69,7 +69,7 @@ export default { |
|
|
<example-pop></example-pop>
|
|
|
</div>
|
|
|
<div v-if="row.goodsColorImage.showValidate && row.goodsColorImage.validate"
|
|
|
class="upload-item-tip">
|
|
|
class="table-upload-item-tip">
|
|
|
必须上传图片
|
|
|
</div>
|
|
|
</div>`;
|
...
|
...
|
@@ -297,11 +297,11 @@ export default { |
|
|
}
|
|
|
}
|
|
|
|
|
|
.upload-item-error {
|
|
|
.table-upload-item-error {
|
|
|
border: 1px solid #f30;
|
|
|
}
|
|
|
|
|
|
.upload-item-tip {
|
|
|
.table-upload-item-tip {
|
|
|
padding-top: 6px;
|
|
|
color: #f30;
|
|
|
top: 100%;
|
...
|
...
|
|