Commit 9c1c4ab5 by LJM

iconfont

parent 5b75494d
......@@ -55,6 +55,12 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe73c;</span>
<div class="name">寄售管理</div>
<div class="code-name">&amp;#xe73c;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe609;</span>
<div class="name">数据统计</div>
<div class="code-name">&amp;#xe609;</div>
......@@ -216,9 +222,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1677120594046') format('woff2'),
url('iconfont.woff?t=1677120594046') format('woff'),
url('iconfont.ttf?t=1677120594046') format('truetype');
src: url('iconfont.woff2?t=1735546528948') format('woff2'),
url('iconfont.woff?t=1735546528948') format('woff'),
url('iconfont.ttf?t=1735546528948') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
......@@ -245,6 +251,15 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconjishouguanli"></span>
<div class="name">
寄售管理
</div>
<div class="code-name">.iconjishouguanli
</div>
</li>
<li class="dib">
<span class="icon iconfont iconshujutongji"></span>
<div class="name">
数据统计
......@@ -489,6 +504,14 @@
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconjishouguanli"></use>
</svg>
<div class="name">寄售管理</div>
<div class="code-name">#iconjishouguanli</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconshujutongji"></use>
</svg>
<div class="name">数据统计</div>
......
@font-face {
font-family: "iconfont"; /* Project id 2537242 */
src: url('iconfont.woff2?t=1677120594046') format('woff2'),
url('iconfont.woff?t=1677120594046') format('woff'),
url('iconfont.ttf?t=1677120594046') format('truetype');
src: url('iconfont.woff2?t=1735546528948') format('woff2'),
url('iconfont.woff?t=1735546528948') format('woff'),
url('iconfont.ttf?t=1735546528948') format('truetype');
}
.iconfont {
......@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.iconjishouguanli:before {
content: "\e73c";
}
.iconshujutongji:before {
content: "\e609";
}
......
......@@ -6,6 +6,13 @@
"description": "猎芯云芯系统前端",
"glyphs": [
{
"icon_id": "28357630",
"name": "寄售管理",
"font_class": "jishouguanli",
"unicode": "e73c",
"unicode_decimal": 59196
},
{
"icon_id": "15187540",
"name": "数据统计",
"font_class": "shujutongji",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment