Doc: Card 示例页 title 标注错误为 CAPSULE (#385)

This commit is contained in:
Fyerl 2018-07-30 11:30:41 +08:00 committed by Yao
parent f51725c438
commit 5ee309639a
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
<wxs module="filter">
module.exports.toUpperCase = function(v) {
return v.toUpperCase();
}
</wxs>
<view class="doc-container">
<view class="doc-title">{{ title }}</view>
<view class="doc-title">{{ filter.toUpperCase(title) }}</view>
<view class="doc-content {{ withoutPadding ? 'doc-content--without-pd' : '' }}">
<slot></slot>
</view>

View File

@ -1,4 +1,4 @@
<doc-page title="CAPSULE" without-padding>
<doc-page title="CARD" without-padding>
<zan-panel without-border>
<zan-card