Commit 090d48dc authored by 罗林杰's avatar 罗林杰

修改图片

parent aea6e751
......@@ -166,9 +166,9 @@
</div>
<!-- 当图片数量为4或6时,上下两排展示 -->
<div v-else-if="form.url.length === 4 || form.url.length === 2" style="padding-left: 40px">
<el-row v-for="(row, rowIndex) in Math.ceil(form.url.length / 2)" :key="rowIndex" :gutter="2">
<el-row v-for="(row, rowIndex) in Math.ceil(form.url.length / 2)" :key="rowIndex" :gutter="1">
<el-col v-for="(imagePath, index) in form.url.slice(rowIndex * 2, rowIndex * 2 + 2)" :key="index" :span="12">
<div style="padding-left: 20px;">
<div style="padding-left: 10px;">
<img :src="imagePath" alt="" class="avatar3">
</div>
</el-col>
......@@ -177,7 +177,7 @@
<!-- 当图片数量为5, 7, 8或9时,按九宫格显示 -->
<el-row v-else :gutter="2" style="padding-left: 40px">
<el-col v-for="(imagePath, index) in form.url" :key="index" :span="8">
<div style="padding-left: 20px">
<div style="padding-left: 10px">
<img :src="imagePath" alt="" class="avatar2">
</div>
</el-col>
......@@ -332,6 +332,10 @@ export default {
{
label: '已驳回',
value: '2'
},
{
label: '自动驳回',
value: '3'
}
],
isArticleOptions: [
......@@ -684,13 +688,14 @@ export default {
display: block;
}
.avatar2 {
width: 165px;
width: 175px;
height: 130px;
display: block;
}
.avatar3 {
width: 250px;
width: 260px;
height: 200px;
padding-top: 4px;
display: block;
}
.avatar4 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment