File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 66 width : 100% ;
77 display : table;
88}
9+
10+ .mt-10 {
11+ margin-top : 10px ;
12+ }
13+
14+ .mb-10 {
15+ margin-bottom : 10px ;
16+ }
17+
18+ .ml-10 {
19+ margin-left : 10px ;
20+ }
21+
22+ .mr-10 {
23+ margin-right : 10px ;
24+ }
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ export default defineComponent({
6262
6363<template>
6464 <div>
65- <c-input v-model="value1" size="large" placeholder="大号输入框" />
66- <c-input v-model="value2" placeholder="默认输入框" />
65+ <c-input v-model="value1" size="large" placeholder="大号输入框" class="mb-10" />
66+ <c-input v-model="value2" placeholder="默认输入框" class="mb-10" />
6767 <c-input v-model="value3" size="small" placeholder="小号输入框" />
6868 </div>
6969</template>
@@ -181,7 +181,7 @@ export default defineComponent({
181181
182182<template>
183183 <div>
184- <c-input v-model="value" type="password" placeholder="密码输入框" />
184+ <c-input v-model="value" type="password" placeholder="密码输入框" class="mb-10" />
185185 <c-input v-model="value" type="password" show-password placeholder="可切换密码可见性" />
186186 </div>
187187</template>
@@ -212,8 +212,8 @@ export default defineComponent({
212212
213213<template>
214214 <div>
215- <c-input v-model="value" prepend="http://" placeholder="请输入网址" />
216- <c-input v-model="value" append=".com" placeholder="请输入域名" />
215+ <c-input v-model="value" prepend="http://" placeholder="请输入网址" class="mb-10" />
216+ <c-input v-model="value" append=".com" placeholder="请输入域名" class="mb-10" />
217217 <c-input v-model="value" prepend="https://" append=".org" placeholder="请输入网址" />
218218 </div>
219219</template>
@@ -224,8 +224,6 @@ export default defineComponent({
224224
225225:::
226226
227-
228-
229227## Input参数
230228
231229| 参数 | 类型 | 默认 | 说明 |
You can’t perform that action at this time.
0 commit comments