iconfont增加

qianming 3 years ago
parent 2eeb5891a9
commit 72ecaa2c2a

@ -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">&#xe7af;</span>
<div class="name">词云图</div>
<div class="code-name">&amp;#xe7af;</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe618;</span> <span class="icon iconfont">&#xe618;</span>
<div class="name">导出</div> <div class="name">导出</div>
@ -786,9 +792,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=1629797734566') format('woff2'), src: url('iconfont.woff2?t=1643094287456') format('woff2'),
url('iconfont.woff?t=1629797734566') format('woff'), url('iconfont.woff?t=1643094287456') format('woff'),
url('iconfont.ttf?t=1629797734566') format('truetype'); url('iconfont.ttf?t=1643094287456') format('truetype');
} }
</code></pre> </code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3> <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -814,6 +820,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 iconciyuntu"></span>
<div class="name">
词云图
</div>
<div class="code-name">.iconciyuntu
</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont icondaochu"></span> <span class="icon iconfont icondaochu"></span>
<div class="name"> <div class="name">
@ -1912,6 +1927,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="#iconciyuntu"></use>
</svg>
<div class="name">词云图</div>
<div class="code-name">#iconciyuntu</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="#icondaochu"></use> <use xlink:href="#icondaochu"></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=1629797734566") format("woff2"), src: url('iconfont.woff2?t=1643094287456') format('woff2'),
url("iconfont.woff?t=1629797734566") format("woff"), url('iconfont.woff?t=1643094287456') format('woff'),
url("iconfont.ttf?t=1629797734566") format("truetype"); url('iconfont.ttf?t=1643094287456') format('truetype');
} }
.iconfont { .iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.iconciyuntu:before {
content: "\e7af";
}
.icondaochu:before { .icondaochu:before {
content: "\e618"; content: "\e618";
} }
@ -488,3 +492,4 @@
.iconjiantou-copy-copy:before { .iconjiantou-copy-copy:before {
content: "\e654"; content: "\e654";
} }

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": "23043843",
"name": "词云图",
"font_class": "ciyuntu",
"unicode": "e7af",
"unicode_decimal": 59311
},
{ {
"icon_id": "14325372", "icon_id": "14325372",
"name": "导出", "name": "导出",

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

Loading…
Cancel
Save