iconfont增加

qianming 3 years ago
parent 2eeb5891a9
commit 72ecaa2c2a

@ -54,6 +54,12 @@
<div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe7af;</span>
<div class="name">词云图</div>
<div class="code-name">&amp;#xe7af;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe618;</span>
<div class="name">导出</div>
@ -786,9 +792,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1629797734566') format('woff2'),
url('iconfont.woff?t=1629797734566') format('woff'),
url('iconfont.ttf?t=1629797734566') format('truetype');
src: url('iconfont.woff2?t=1643094287456') format('woff2'),
url('iconfont.woff?t=1643094287456') format('woff'),
url('iconfont.ttf?t=1643094287456') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -814,6 +820,15 @@
<div class="content font-class">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconciyuntu"></span>
<div class="name">
词云图
</div>
<div class="code-name">.iconciyuntu
</div>
</li>
<li class="dib">
<span class="icon iconfont icondaochu"></span>
<div class="name">
@ -1912,6 +1927,14 @@
<div class="content symbol">
<ul class="icon_lists dib-box">
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconciyuntu"></use>
</svg>
<div class="name">词云图</div>
<div class="code-name">#iconciyuntu</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icondaochu"></use>

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 1513211 */
src: url("iconfont.woff2?t=1629797734566") format("woff2"),
url("iconfont.woff?t=1629797734566") format("woff"),
url("iconfont.ttf?t=1629797734566") format("truetype");
src: url('iconfont.woff2?t=1643094287456') format('woff2'),
url('iconfont.woff?t=1643094287456') format('woff'),
url('iconfont.ttf?t=1643094287456') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.iconciyuntu:before {
content: "\e7af";
}
.icondaochu:before {
content: "\e618";
}
@ -488,3 +492,4 @@
.iconjiantou-copy-copy:before {
content: "\e654";
}

File diff suppressed because one or more lines are too long

@ -5,6 +5,13 @@
"css_prefix_text": "icon",
"description": "",
"glyphs": [
{
"icon_id": "23043843",
"name": "词云图",
"font_class": "ciyuntu",
"unicode": "e7af",
"unicode_decimal": 59311
},
{
"icon_id": "14325372",
"name": "导出",

@ -2,7 +2,7 @@ export const widgetWordCloud = {
code: 'widgetWordCloud',
type: 'chart',
label: '词云图',
icon: 'iconnandinggeermeiguitu',
icon: 'iconciyuntu',
options: {
// 配置
setup: [

Loading…
Cancel
Save