Skip to content

Commit ce34c7e

Browse files
committed
fix(index): 页面响应式完善
1 parent e22dbb1 commit ce34c7e

File tree

2 files changed

+20
-135
lines changed

2 files changed

+20
-135
lines changed

App.vue

Lines changed: 0 additions & 134 deletions
This file was deleted.

src/App.vue

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,26 @@
33
<template>
44
<div class="w-full p-8">
55
<ElRow :gutter="0">
6-
<ElCol :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
6+
<ElCol
7+
:xs="{
8+
span: 24,
9+
}"
10+
:sm="{
11+
span: 24,
12+
}"
13+
:md="{
14+
span: 24,
15+
}"
16+
:lg="{
17+
span: 12,
18+
offset: 6,
19+
}"
20+
:xl="{
21+
span: 10,
22+
offset: 7,
23+
24+
}"
25+
>
726
<ElForm class="w-full" label-position="top" label-width="100px">
827
<ElFormItem label="类型" :hide-required-asterisk="true">
928
<ElSelect

0 commit comments

Comments
 (0)