mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 06:31:45 +08:00
修复*不显示
This commit is contained in:
parent
4c05387ed5
commit
2dc3941654
@ -29,9 +29,9 @@ export default {
|
|||||||
:::demo 基础用法
|
:::demo 基础用法
|
||||||
```html
|
```html
|
||||||
<zan-cell-group>
|
<zan-cell-group>
|
||||||
<zan-field type="text" label="用户名:" placeholder="请输入用户名" v-model="username"></zan-field>
|
<zan-field type="text" label="用户名:" placeholder="请输入用户名" v-model="username" required></zan-field>
|
||||||
<zan-field type="password" label="密码:" placeholder="请输入密码"></zan-field>
|
<zan-field type="password" label="密码:" placeholder="请输入密码" required></zan-field>
|
||||||
<zan-field type="textarea" label="个人介绍:" placeholder="请输入个人介绍"></zan-field>
|
<zan-field type="textarea" label="个人介绍:" placeholder="请输入个人介绍" required></zan-field>
|
||||||
</zan-cell-group>
|
</zan-cell-group>
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
@e title {
|
@e title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
|
||||||
/* 清除空白字符对高度的影响 */
|
/* 清除空白字符对高度的影响 */
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
@component-namespace zan {
|
@component-namespace zan {
|
||||||
@b field {
|
@b field {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
@m hastextarea {
|
@m hastextarea {
|
||||||
.zan-field__control {
|
.zan-field__control {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user