mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Collapse): 新增外部样式类 title-class @rex-zsd (#1271)
This commit is contained in:
parent
1949fa03a2
commit
13e00d9de3
@ -1,7 +1,7 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
|
||||
VantComponent({
|
||||
classes: ['content-class'],
|
||||
classes: ['title-class', 'content-class'],
|
||||
|
||||
relation: {
|
||||
name: 'collapse',
|
||||
|
@ -3,6 +3,7 @@
|
||||
<view class="van-collapse-item van-hairline--top custom-class">
|
||||
<van-cell
|
||||
title="{{ title }}"
|
||||
title-class="title-class"
|
||||
icon="{{ icon }}"
|
||||
is-link="{{ isLink }}"
|
||||
value="{{ value }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user