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