qianlishi 3 years ago
parent 7ce472a2fb
commit 1bd1bd66ea

@ -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">&#xe616;</span>
<div class="name">百分比</div>
<div class="code-name">&amp;#xe616;</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe70f;</span> <span class="icon iconfont">&#xe70f;</span>
<div class="name">文件</div> <div class="name">文件</div>
@ -720,9 +726,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=1625204671216') format('woff2'), src: url('iconfont.woff2?t=1626253811180') format('woff2'),
url('iconfont.woff?t=1625204671216') format('woff'), url('iconfont.woff?t=1626253811180') format('woff'),
url('iconfont.ttf?t=1625204671216') format('truetype'); url('iconfont.ttf?t=1626253811180') format('truetype');
} }
</code></pre> </code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3> <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -748,6 +754,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 iconbaifenbi"></span>
<div class="name">
百分比
</div>
<div class="code-name">.iconbaifenbi
</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont iconfolder-o"></span> <span class="icon iconfont iconfolder-o"></span>
<div class="name"> <div class="name">
@ -1747,6 +1762,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="#iconbaifenbi"></use>
</svg>
<div class="name">百分比</div>
<div class="code-name">#iconbaifenbi</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="#iconfolder-o"></use> <use xlink:href="#iconfolder-o"></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=1625204671216') format('woff2'), src: url('iconfont.woff2?t=1626253811180') format('woff2'),
url('iconfont.woff?t=1625204671216') format('woff'), url('iconfont.woff?t=1626253811180') format('woff'),
url('iconfont.ttf?t=1625204671216') format('truetype'); url('iconfont.ttf?t=1626253811180') format('truetype');
} }
.iconfont { .iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.iconbaifenbi:before {
content: "\e616";
}
.iconfolder-o:before { .iconfolder-o:before {
content: "\e70f"; content: "\e70f";
} }

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": "15338097",
"name": "百分比",
"font_class": "baifenbi",
"unicode": "e616",
"unicode_decimal": 58902
},
{ {
"icon_id": "15461480", "icon_id": "15461480",
"name": "文件", "name": "文件",

@ -5298,7 +5298,7 @@ const widgetTools = [
code: 'widgetPiePercentageChart', code: 'widgetPiePercentageChart',
type: 'chart', type: 'chart',
label: '百分比图', label: '百分比图',
icon: 'iconnandinggeermeiguitu', icon: 'iconbaifenbi',
options: { options: {
// 配置 // 配置
setup: [ setup: [

Loading…
Cancel
Save