mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-10 06:59:45 +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';
|
import { VantComponent } from '../common/component';
|
||||||
|
|
||||||
VantComponent({
|
VantComponent({
|
||||||
classes: ['content-class'],
|
classes: ['title-class', 'content-class'],
|
||||||
|
|
||||||
relation: {
|
relation: {
|
||||||
name: 'collapse',
|
name: 'collapse',
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<view class="van-collapse-item van-hairline--top custom-class">
|
<view class="van-collapse-item van-hairline--top custom-class">
|
||||||
<van-cell
|
<van-cell
|
||||||
title="{{ title }}"
|
title="{{ title }}"
|
||||||
|
title-class="title-class"
|
||||||
icon="{{ icon }}"
|
icon="{{ icon }}"
|
||||||
is-link="{{ isLink }}"
|
is-link="{{ isLink }}"
|
||||||
value="{{ value }}"
|
value="{{ value }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user