We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d751d6 commit 51b79ffCopy full SHA for 51b79ff
src/capsule-bar/index.js
@@ -3,6 +3,9 @@ import validator from '../behaviors/validator';
3
import eventUtil from '../core/utils/event-util';
4
5
Component({
6
+ options: {
7
+ multipleSlots: true
8
+ },
9
behaviors: [validator],
10
externalClasses: ['l-title-class'],
11
properties: {
src/capsule-bar/index.wxml
@@ -16,6 +16,7 @@
16
style="height: {{titleBarHeight}}rpx;background-color: {{titleBarColor}};"
17
>
18
<cover-view wx:if="{{!hiddenTitle}}" class="title l-title-class" style="color: {{titleColor}};">{{title}}</cover-view>
19
+ <slot name="title"/>
20
</cover-view>
21
22
<!--胶囊按钮-->
0 commit comments