tijiao
This commit is contained in:
@@ -481,12 +481,12 @@
|
||||
alt=""
|
||||
/>
|
||||
<span class="el-upload-list__item-actions">
|
||||
<!-- <span
|
||||
<span
|
||||
class="el-upload-list__item-preview"
|
||||
@click="handlePictureCardPreview(file)"
|
||||
>
|
||||
<i class="el-icon-zoom-in"></i>
|
||||
</span> -->
|
||||
</span>
|
||||
|
||||
<span
|
||||
v-if="!disabled"
|
||||
@@ -630,6 +630,13 @@
|
||||
>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<el-dialog :visible.sync="dialogVisibleImg" :append-to-body="true">
|
||||
<img
|
||||
width="100%"
|
||||
:src="dataForm.productImages"
|
||||
alt=""
|
||||
/>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -677,6 +684,7 @@ export default {
|
||||
props: ["data", "pageType", "dataInfo", "labelId", "currentNode"],
|
||||
data() {
|
||||
return {
|
||||
dataForm:{},
|
||||
isShowWord: false,
|
||||
imagePreviews: false,
|
||||
record: {},
|
||||
@@ -1609,8 +1617,9 @@ this.addCertificateForm.mark=''
|
||||
console.log("options", this.options);
|
||||
// this.getCate(val)
|
||||
},
|
||||
handlePictureCardPreview(file) {
|
||||
// 图片预览逻辑
|
||||
handlePictureCardPreview(file) {
|
||||
this.dataForm.productImages = file.url;
|
||||
this.dialogVisibleImg = true;
|
||||
},
|
||||
handleClose(done) {
|
||||
done();
|
||||
@@ -1632,31 +1641,31 @@ this.addCertificateForm.mark=''
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
/deep/.el-upload-list--picture-card .el-upload-list__item {
|
||||
width: 80px !important;
|
||||
height: 80px !important;
|
||||
line-height: 80px !important;
|
||||
width:80px !important;
|
||||
height:80px !important;
|
||||
line-height:80px !important;
|
||||
}
|
||||
/deep/.el-upload--picture-card {
|
||||
width: 80px !important;
|
||||
height: 80px !important;
|
||||
line-height: 80px !important;
|
||||
width:80px !important;
|
||||
height:80px !important;
|
||||
line-height:80px !important;
|
||||
}
|
||||
}
|
||||
/deep/.yianDrawer header {
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
/deep/.custom-upload {
|
||||
min-height: 60px !important;
|
||||
min-height: 120px !important;
|
||||
}
|
||||
/deep/.custom-upload .el-upload--picture-card {
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
line-height: 70px !important;
|
||||
width:80px !important;
|
||||
height:80px !important;
|
||||
line-height:80px !important;
|
||||
}
|
||||
/deep/.custom-upload .el-upload-list--picture-card .el-upload-list__item {
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
line-height: 60px !important;
|
||||
width:80px !important;
|
||||
height:80px !important;
|
||||
line-height:80px !important;
|
||||
}
|
||||
/deep/.custom-upload-box .el-form-item__label {
|
||||
line-height: 60px !important;
|
||||
|
||||
Reference in New Issue
Block a user