Skip to content

Commit a575670

Browse files
ZYSzysPanJiaChen
authored andcommitted
perf[ArticleDetail]: refine el-col :span (PanJiaChen#841)
1 parent 44fa96f commit a575670

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/example/components/ArticleDetail.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<Warning />
1818

19-
<el-col :span="21">
19+
<el-col :span="24">
2020
<el-form-item style="margin-bottom: 40px;" prop="title">
2121
<MDinput name="name" v-model="postForm.title" required :maxlength="100">
2222
标题
@@ -34,14 +34,14 @@
3434
</el-form-item>
3535
</el-col>
3636

37-
<el-col :span="8">
37+
<el-col :span="10">
3838
<el-form-item label-width="80px" label="发布时间:" class="postInfo-container-item">
3939
<el-date-picker v-model="postForm.display_time" type="datetime" format="yyyy-MM-dd HH:mm:ss" placeholder="选择日期时间">
4040
</el-date-picker>
4141
</el-form-item>
4242
</el-col>
4343

44-
<el-col :span="8">
44+
<el-col :span="6">
4545
<el-form-item label-width="60px" label="重要性:" class="postInfo-container-item">
4646
<el-rate style="margin-top:8px;" v-model="postForm.importance" :max='3' :colors="['#99A9BF', '#F7BA2A', '#FF9900']" :low-threshold="1"
4747
:high-threshold="3">

0 commit comments

Comments
 (0)