mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-25 02:58:27 +08:00
parent
6242423768
commit
978b59650c
@ -260,5 +260,6 @@ Page({
|
|||||||
|
|
||||||
| 类名 | 说明 |
|
| 类名 | 说明 |
|
||||||
| ---------------- | -------------- |
|
| ---------------- | -------------- |
|
||||||
|
| label-class | 左侧文本样式类 |
|
||||||
| input-class | 输入框样式类 |
|
| input-class | 输入框样式类 |
|
||||||
| right-icon-class | 右侧图标样式类 |
|
| right-icon-class | 右侧图标样式类 |
|
||||||
|
@ -6,7 +6,7 @@ import { canIUseModel } from '../common/version';
|
|||||||
VantComponent({
|
VantComponent({
|
||||||
field: true,
|
field: true,
|
||||||
|
|
||||||
classes: ['input-class', 'right-icon-class'],
|
classes: ['input-class', 'right-icon-class', 'label-class'],
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
...commonProps,
|
...commonProps,
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
custom-style="{{ customStyle }}"
|
custom-style="{{ customStyle }}"
|
||||||
arrow-direction="{{ arrowDirection }}"
|
arrow-direction="{{ arrowDirection }}"
|
||||||
custom-class="van-field"
|
custom-class="van-field"
|
||||||
|
title-class="label-class"
|
||||||
>
|
>
|
||||||
<slot name="left-icon" slot="icon" />
|
<slot name="left-icon" slot="icon" />
|
||||||
<slot name="label" slot="title" />
|
<slot name="label" slot="title" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user