iconfont更新

qianming 3 years ago
parent 0bfdb5f18d
commit 1546449567

@ -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">&#xe683;</span>
<div class="name">热力图</div>
<div class="code-name">&amp;#xe683;</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe60d;</span> <span class="icon iconfont">&#xe60d;</span>
<div class="name">恢复备份</div> <div class="name">恢复备份</div>
@ -804,9 +810,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=1646807984187') format('woff2'), src: url('iconfont.woff2?t=1650520683161') format('woff2'),
url('iconfont.woff?t=1646807984187') format('woff'), url('iconfont.woff?t=1650520683161') format('woff'),
url('iconfont.ttf?t=1646807984187') format('truetype'); url('iconfont.ttf?t=1650520683161') format('truetype');
} }
</code></pre> </code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3> <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -832,6 +838,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 iconrelitu"></span>
<div class="name">
热力图
</div>
<div class="code-name">.iconrelitu
</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont iconhuifubeifen"></span> <span class="icon iconfont iconhuifubeifen"></span>
<div class="name"> <div class="name">
@ -1957,6 +1972,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="#iconrelitu"></use>
</svg>
<div class="name">热力图</div>
<div class="code-name">#iconrelitu</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="#iconhuifubeifen"></use> <use xlink:href="#iconhuifubeifen"></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=1646807984187') format('woff2'), src: url('iconfont.woff2?t=1650520683161') format('woff2'),
url('iconfont.woff?t=1646807984187') format('woff'), url('iconfont.woff?t=1650520683161') format('woff'),
url('iconfont.ttf?t=1646807984187') format('truetype'); url('iconfont.ttf?t=1650520683161') format('truetype');
} }
.iconfont { .iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.iconrelitu:before {
content: "\e683";
}
.iconhuifubeifen:before { .iconhuifubeifen:before {
content: "\e60d"; content: "\e60d";
} }

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": "19004935",
"name": "热力图",
"font_class": "relitu",
"unicode": "e683",
"unicode_decimal": 59011
},
{ {
"icon_id": "15047024", "icon_id": "15047024",
"name": "恢复备份", "name": "恢复备份",

@ -10,7 +10,7 @@ export const widgetHeatmap = {
code: 'widget-heatmap', code: 'widget-heatmap',
type: 'chart', type: 'chart',
label: '热力图', label: '热力图',
icon: 'iconicon_tubiao_bingtu', icon: 'iconrelitu',
options: { options: {
// 配置 // 配置
setup: [ setup: [

Loading…
Cancel
Save