Commit 63d10beb by 胡悦

修改上传图片样式

1 parent 1de10277
...@@ -105,7 +105,14 @@ ...@@ -105,7 +105,14 @@
style="width: 100px;height: 100px;" style="width: 100px;height: 100px;"
:src="releaseForm.jumpContent" :src="releaseForm.jumpContent"
fit="fill" fit="fill"
></el-image> >
<div
slot="error"
class="image-slot"
>
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
<el-button <el-button
class="import-btn" class="import-btn"
type="primary" type="primary"
...@@ -149,7 +156,14 @@ ...@@ -149,7 +156,14 @@
style="width: 100px;height: 100px;" style="width: 100px;height: 100px;"
:src="releaseForm.showContent" :src="releaseForm.showContent"
fit="fill" fit="fill"
></el-image> >
<div
slot="error"
class="image-slot"
>
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
<el-button <el-button
style="margin-left: 20px;" style="margin-left: 20px;"
class="import-btn" class="import-btn"
...@@ -350,4 +364,14 @@ export default { ...@@ -350,4 +364,14 @@ export default {
.el-dialog__body { .el-dialog__body {
padding-top: 0 !important; padding-top: 0 !important;
} }
.image-slot {
font-size: 30px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
background: #f5f7fa;
color: #909399;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!