...
|
...
|
@@ -21,7 +21,7 @@ |
|
|
<span v-on:click="deleteImage(image.index)" class="icon icon-close"></span>
|
|
|
<img v-bind:src="image.path">
|
|
|
</div>
|
|
|
<upload v-show="imageListForShow.length < 4" class="image-item" v-bind:image-list="product.imageList"></upload>
|
|
|
<upload v-show="imageListForShow.length < 4" class="image-item" v-bind:image-list="product.imageList" v-bind:bucket="bucket"></upload>
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
...
|
...
|
@@ -37,6 +37,7 @@ |
|
|
props: ['product', 'data'],
|
|
|
data() {
|
|
|
return {
|
|
|
bucket: 'evidenceImages',
|
|
|
reasons: [],
|
|
|
specialReasons: [],
|
|
|
specialNotice: {}
|
...
|
...
|
@@ -49,7 +50,7 @@ |
|
|
this.product.imageList.forEach((path, index) => {
|
|
|
list.push({
|
|
|
index: index,
|
|
|
path: util.getImgHost(path) + '?imageView2/2/w/160/h/160'
|
|
|
path: util.getImgHost(path, this.bucket) + '?imageView2/2/w/160/h/160'
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|