Skip to content

Commit 79edf3e

Browse files
committed
build: Travis CI automatic compilation
1 parent 51b79ff commit 79edf3e

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

dist/capsule-bar/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/capsule-bar/index.wxml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<cover-view class="title-bar" style="height: {{titleBarHeight}}rpx;background-color: {{titleBarColor}};">
1212
<cover-view wx:if="{{!hiddenTitle}}" class="title l-title-class" style="color: {{titleColor}};">{{title}}</cover-view>
13+
<slot name="title"/>
1314
</cover-view>
1415

1516

examples/dist/capsule-bar/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import validator from '../behaviors/validator';
33
import eventUtil from '../core/utils/event-util';
44

55
Component({
6+
options: {
7+
multipleSlots: true
8+
},
69
behaviors: [validator],
710
externalClasses: ['l-title-class'],
811
properties: {

examples/dist/capsule-bar/index.wxml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
style="height: {{titleBarHeight}}rpx;background-color: {{titleBarColor}};"
1717
>
1818
<cover-view wx:if="{{!hiddenTitle}}" class="title l-title-class" style="color: {{titleColor}};">{{title}}</cover-view>
19+
<slot name="title"/>
1920
</cover-view>
2021

2122
<!--胶囊按钮-->

0 commit comments

Comments
 (0)