From 72337c2168a3d601d1f3626a9c77b84013c33d2f Mon Sep 17 00:00:00 2001 From: Yao Date: Mon, 11 Dec 2017 21:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtag=E5=9C=A8=E6=97=A0?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=BB=E9=A2=98=E6=97=B6plain=E5=B1=95?= =?UTF-8?q?=E7=8E=B0=20(#77)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/pages/dashboard/config.js | 6 +++--- example/pages/tag/index.wxml | 1 + packages/tag/index.pcss | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/example/pages/dashboard/config.js b/example/pages/dashboard/config.js index e5a3608f..73e1f07d 100644 --- a/example/pages/dashboard/config.js +++ b/example/pages/dashboard/config.js @@ -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' } ] }, diff --git a/example/pages/tag/index.wxml b/example/pages/tag/index.wxml index b3822552..681dc781 100644 --- a/example/pages/tag/index.wxml +++ b/example/pages/tag/index.wxml @@ -20,6 +20,7 @@ + 灰色 会员折扣 返现 返现 diff --git a/packages/tag/index.pcss b/packages/tag/index.pcss index 5c4acaf3..0a794eb1 100644 --- a/packages/tag/index.pcss +++ b/packages/tag/index.pcss @@ -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;