Yao ce5559a57e
[improvement] 部分组件边框实现修改 (#87)
* 使用超细边框

* 部分组件切换为 hairline

* 文档 边框替换
2017-12-23 14:25:41 +08:00

22 lines
741 B
Plaintext

<import src="/dist/capsule/index.wxml" />
<view class="container">
<view class="doc-title zan-hairline--bottom">CAPSULE</view>
<view class="zan-panel-title">基本用法</view>
<view class="zan-panel">
<view class="zan-cell zan-cell--last-child">
<template is="capsule" data="{{ leftText: '1折', rightText: '限购一份'}}" />
<template is="capsule" data="{{ leftText: '1折', rightText: '限购一份', type: 'danger' }}" />
</view>
</view>
<view class="zan-panel-title">自定义颜色</view>
<view class="zan-panel">
<view class="zan-cell zan-cell--last-child">
<template is="capsule" data="{{ leftText: '1折', rightText: '限购一份', color: '#38f' }}" />
</view>
</view>
</view>