mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
17 lines
464 B
Plaintext
17 lines
464 B
Plaintext
<import src="/dist/capsule/index.wxml" />
|
|
|
|
<view class="container">
|
|
|
|
<view class="doc-title zan-hairline--bottom">CAPSULE</view>
|
|
|
|
<zan-panel title='基本用法'>
|
|
<zan-capsule leftText="1折扣" rightText="限购一份" />
|
|
<zan-capsule type="danger" leftText="1折扣" rightText="限购一份" />
|
|
</zan-panel>
|
|
|
|
<zan-panel title='自定义颜色'>
|
|
<zan-capsule color="#38f" leftText="1折扣" rightText="限购一份" />
|
|
</zan-panel>
|
|
|
|
</view>
|