mirror of
https://gitee.com/anji-plus/report.git
synced 2026-03-20 09:38:35 +08:00
iconfont
This commit is contained in:
@@ -54,6 +54,12 @@
|
||||
<div class="content unicode" style="display: block;">
|
||||
<ul class="icon_lists dib-box">
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">百分比</div>
|
||||
<div class="code-name">&#xe616;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">文件</div>
|
||||
@@ -720,9 +726,9 @@
|
||||
<pre><code class="language-css"
|
||||
>@font-face {
|
||||
font-family: 'iconfont';
|
||||
src: url('iconfont.woff2?t=1625204671216') format('woff2'),
|
||||
url('iconfont.woff?t=1625204671216') format('woff'),
|
||||
url('iconfont.ttf?t=1625204671216') format('truetype');
|
||||
src: url('iconfont.woff2?t=1626253811180') format('woff2'),
|
||||
url('iconfont.woff?t=1626253811180') format('woff'),
|
||||
url('iconfont.ttf?t=1626253811180') format('truetype');
|
||||
}
|
||||
</code></pre>
|
||||
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
||||
@@ -748,6 +754,15 @@
|
||||
<div class="content font-class">
|
||||
<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">
|
||||
<span class="icon iconfont iconfolder-o"></span>
|
||||
<div class="name">
|
||||
@@ -1747,6 +1762,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="#iconbaifenbi"></use>
|
||||
</svg>
|
||||
<div class="name">百分比</div>
|
||||
<div class="code-name">#iconbaifenbi</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#iconfolder-o"></use>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 1513211 */
|
||||
src: url('iconfont.woff2?t=1625204671216') format('woff2'),
|
||||
url('iconfont.woff?t=1625204671216') format('woff'),
|
||||
url('iconfont.ttf?t=1625204671216') format('truetype');
|
||||
src: url('iconfont.woff2?t=1626253811180') format('woff2'),
|
||||
url('iconfont.woff?t=1626253811180') format('woff'),
|
||||
url('iconfont.ttf?t=1626253811180') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
@@ -13,6 +13,10 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.iconbaifenbi:before {
|
||||
content: "\e616";
|
||||
}
|
||||
|
||||
.iconfolder-o:before {
|
||||
content: "\e70f";
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -5,6 +5,13 @@
|
||||
"css_prefix_text": "icon",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "15338097",
|
||||
"name": "百分比",
|
||||
"font_class": "baifenbi",
|
||||
"unicode": "e616",
|
||||
"unicode_decimal": 58902
|
||||
},
|
||||
{
|
||||
"icon_id": "15461480",
|
||||
"name": "文件",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5298,7 +5298,7 @@ const widgetTools = [
|
||||
code: 'widgetPiePercentageChart',
|
||||
type: 'chart',
|
||||
label: '百分比图',
|
||||
icon: 'iconnandinggeermeiguitu',
|
||||
icon: 'iconbaifenbi',
|
||||
options: {
|
||||
// 配置
|
||||
setup: [
|
||||
|
||||
Reference in New Issue
Block a user