mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
修复tag在无添加主题时plain展现 (#77)
This commit is contained in:
parent
678b944f2c
commit
72337c2168
@ -23,9 +23,6 @@ export default {
|
||||
}, {
|
||||
name: 'Icon 图标',
|
||||
path: '/pages/icon/index'
|
||||
}, {
|
||||
name: 'Tag 标记',
|
||||
path: '/pages/tag/index'
|
||||
}, {
|
||||
name: 'Layout 布局',
|
||||
path: '/pages/layout/index'
|
||||
@ -56,6 +53,9 @@ export default {
|
||||
}, {
|
||||
name: 'Tab 标签',
|
||||
path: '/pages/tab/index'
|
||||
}, {
|
||||
name: 'Tag 标记',
|
||||
path: '/pages/tag/index'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
<view class="zan-panel">
|
||||
<view class="zan-cell zan-cell--last-child">
|
||||
<view class="zan-tag zan-tag--plain">灰色</view>
|
||||
<view class="zan-tag zan-tag--danger zan-tag--plain">会员折扣</view>
|
||||
<view class="zan-tag zan-tag--warn zan-tag--plain">返现</view>
|
||||
<view class="zan-tag zan-tag--primary zan-tag--plain">返现</view>
|
||||
|
@ -7,9 +7,15 @@
|
||||
font-size: 11px;
|
||||
background: #c9c9c9;
|
||||
border: 1rpx solid #e5e5e5;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.zan-tag--plain {
|
||||
color: #c9c9c9;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* 各种主题代码 */
|
||||
.zan-tag--primary {
|
||||
color: #fff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user