修复tag在无添加主题时plain展现 (#77)

This commit is contained in:
Yao 2017-12-11 21:26:20 +08:00 committed by GitHub
parent 678b944f2c
commit 72337c2168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -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'
}
]
},

View File

@ -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>

View File

@ -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;