|
@@ -6,7 +6,7 @@
|
|
|
<el-option label="版头" :value="1"></el-option>
|
|
|
<el-option label="版尾" :value="2"></el-option>
|
|
|
</el-select>
|
|
|
- <el-button type="primary" style="float:right" @click="uploadImgPop=true">上传图片</el-button>
|
|
|
+ <el-button type="primary" style="float:right" @click="handleShowUploadPop">上传图片</el-button>
|
|
|
</div>
|
|
|
|
|
|
<div class="select-status-box" v-if="selectIds.length>0">
|
|
@@ -288,6 +288,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ handleShowUploadPop(){
|
|
|
+ this.formData.id=0
|
|
|
+ this.formData.name=''
|
|
|
+ this.formData.type=''
|
|
|
+ this.formData.imgUrl=''
|
|
|
+ this.uploadImgPop=true
|
|
|
+ },
|
|
|
+
|
|
|
handleBatchDel(){
|
|
|
this.delIds=this.selectIds
|
|
|
this.handleImgDel()
|
|
@@ -336,7 +344,7 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 160px;
|
|
|
background-color: var(--gary-gy-3-disabled, #EBEFF6);
|
|
|
- object-fit: cover !important;
|
|
|
+ object-fit: contain !important;
|
|
|
box-sizing: border-box;
|
|
|
&:hover{
|
|
|
border: 1px solid #3375e1;
|