mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* style: badge上标大小改变更加灵活 * style: panel-title的行高跟随字号 * style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值 * style: 修复作为组件使用时dialog的定位问题 * style: 修正示例 * style: add * style: capsule * style: modify readme * style: add noticebar * style: modify readme * style: noticebar优化 * style: add popup * style: remove * style: 左右反了... * style: 通告栏支持同一页面多个 * style: 独立管理不同noticebar的动画数据
26 lines
908 B
Plaintext
26 lines
908 B
Plaintext
<view class="container">
|
|
|
|
<view class="doc-title">LABEL</view>
|
|
|
|
<view class="zan-panel">
|
|
<view class="zan-cell zan-cell--last-child">
|
|
<view class="zan-label">灰色</view>
|
|
<view class="zan-label zan-label--primary">红色</view>
|
|
<view class="zan-label zan-label--disabled">黑色</view>
|
|
</view>
|
|
</view>
|
|
<view class="zan-panel">
|
|
<view class="zan-cell zan-cell--last-child">
|
|
<view class="zan-label zan-label--primary zan-label--small">会员折扣</view>
|
|
<view class="zan-label zan-label--primary zan-label--small">返现</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="zan-panel">
|
|
<view class="zan-cell zan-cell--last-child">
|
|
<view class="zan-label zan-label--primary zan-label--small zan-label--plain">会员折扣</view>
|
|
<view class="zan-label zan-label--primary zan-label--small zan-label--plain">返现</view>
|
|
</view>
|
|
</view>
|
|
</view>
|