iconfont更新

qianming 2 years ago
parent 60f722c3c6
commit 9a99557876

@ -3,8 +3,8 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>iconfont Demo</title> <title>iconfont Demo</title>
<link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/> <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
<link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/> <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
<link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css"> <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
<link rel="stylesheet" href="demo.css"> <link rel="stylesheet" href="demo.css">
<link rel="stylesheet" href="iconfont.css"> <link rel="stylesheet" href="iconfont.css">
@ -54,6 +54,12 @@
<div class="content unicode" style="display: block;"> <div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe640;</span>
<div class="name">雷达图2</div>
<div class="code-name">&amp;#xe640;</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe683;</span> <span class="icon iconfont">&#xe683;</span>
<div class="name">热力图</div> <div class="name">热力图</div>
@ -810,9 +816,9 @@
<pre><code class="language-css" <pre><code class="language-css"
>@font-face { >@font-face {
font-family: 'iconfont'; font-family: 'iconfont';
src: url('iconfont.woff2?t=1650520683161') format('woff2'), src: url('iconfont.woff2?t=1666946350865') format('woff2'),
url('iconfont.woff?t=1650520683161') format('woff'), url('iconfont.woff?t=1666946350865') format('woff'),
url('iconfont.ttf?t=1650520683161') format('truetype'); url('iconfont.ttf?t=1666946350865') format('truetype');
} }
</code></pre> </code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3> <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -838,6 +844,15 @@
<div class="content font-class"> <div class="content font-class">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconleidatu"></span>
<div class="name">
雷达图2
</div>
<div class="code-name">.iconleidatu
</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont iconrelitu"></span> <span class="icon iconfont iconrelitu"></span>
<div class="name"> <div class="name">
@ -1972,6 +1987,14 @@
<div class="content symbol"> <div class="content symbol">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconleidatu"></use>
</svg>
<div class="name">雷达图2</div>
<div class="code-name">#iconleidatu</div>
</li>
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconrelitu"></use> <use xlink:href="#iconrelitu"></use>

@ -1,8 +1,8 @@
@font-face { @font-face {
font-family: "iconfont"; /* Project id 1513211 */ font-family: "iconfont"; /* Project id 1513211 */
src: url('iconfont.woff2?t=1650520683161') format('woff2'), src: url('iconfont.woff2?t=1666946350865') format('woff2'),
url('iconfont.woff?t=1650520683161') format('woff'), url('iconfont.woff?t=1666946350865') format('woff'),
url('iconfont.ttf?t=1650520683161') format('truetype'); url('iconfont.ttf?t=1666946350865') format('truetype');
} }
.iconfont { .iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.iconleidatu:before {
content: "\e640";
}
.iconrelitu:before { .iconrelitu:before {
content: "\e683"; content: "\e683";
} }

File diff suppressed because one or more lines are too long

@ -5,6 +5,13 @@
"css_prefix_text": "icon", "css_prefix_text": "icon",
"description": "", "description": "",
"glyphs": [ "glyphs": [
{
"icon_id": "9013588",
"name": "雷达图2",
"font_class": "leidatu",
"unicode": "e640",
"unicode_decimal": 58944
},
{ {
"icon_id": "19004935", "icon_id": "19004935",
"name": "热力图", "name": "热力图",

Loading…
Cancel
Save