This commit is contained in:
Nino 2016-12-22 20:09:21 +08:00
parent 9c435055fc
commit f438240812
2 changed files with 12 additions and 6 deletions

10
dist/icon/index.wxss vendored
View File

@ -2,11 +2,11 @@
@font-face {
font-family: 'zuiicon';
src: url('https://b.yzcdn.cn/zui/font/zuiicon-eeabfa2d9e.eot');
src: url('https://b.yzcdn.cn/zui/font/zuiicon-eeabfa2d9e.eot?#iefix') format('embedded-opentype'),
url('https://b.yzcdn.cn/zui/font/zuiicon-eeabfa2d9e.woff2') format('woff2'),
url('https://b.yzcdn.cn/zui/font/zuiicon-eeabfa2d9e.woff') format('woff'),
url('https://b.yzcdn.cn/zui/font/zuiicon-eeabfa2d9e.ttf') format('truetype')
src: url('https://b.yzcdn.cn/zui/font/zuiicon-ca855b1878.eot');
src: url('https://b.yzcdn.cn/zui/font/zuiicon-ca855b1878.eot?#iefix') format('embedded-opentype'),
url('https://b.yzcdn.cn/zui/font/zuiicon-ca855b1878.woff2') format('woff2'),
url('https://b.yzcdn.cn/zui/font/zuiicon-ca855b1878.woff') format('woff'),
url('https://b.yzcdn.cn/zui/font/zuiicon-ca855b1878.ttf') format('truetype')
}
.zui-icon {

View File

@ -1,7 +1,13 @@
<view class="container">
<view class="zui-panel">
<view wx:for="{{ icons }}" wx:for-item="icon" class="icon-wrap">
<view class="zui-icon zui-icon-{{ icon }}"></view>
<view class="zui-icon zui-icon-{{ icon }}" style="font-size: 20px; color: #ff4343;"></view>
<view class="icon-classname">zui-icon-{{ icon }}</view>
</view>
</view>
<view class="zui-panel">
<view wx:for="{{ icons }}" wx:for-item="icon" class="icon-wrap">
<view class="zui-icon zui-icon-{{ icon }}" style="font-size: 40px;"></view>
<view class="icon-classname">zui-icon-{{ icon }}</view>
</view>
</view>