feat--图标新增

qianming 2 years ago
parent 58ffb64421
commit 3324b77902

@ -54,6 +54,12 @@
<div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe651;</span>
<div class="name">进度条</div>
<div class="code-name">&amp;#xe651;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe692;</span>
<div class="name">符号-单行输入框</div>
@ -828,9 +834,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1678340307663') format('woff2'),
url('iconfont.woff?t=1678340307663') format('woff'),
url('iconfont.ttf?t=1678340307663') format('truetype');
src: url('iconfont.woff2?t=1681193095225') format('woff2'),
url('iconfont.woff?t=1681193095225') format('woff'),
url('iconfont.ttf?t=1681193095225') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -856,6 +862,15 @@
<div class="content font-class">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconjindutiao"></span>
<div class="name">
进度条
</div>
<div class="code-name">.iconjindutiao
</div>
</li>
<li class="dib">
<span class="icon iconfont icondanhangshurukuang"></span>
<div class="name">
@ -2017,6 +2032,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="#iconjindutiao"></use>
</svg>
<div class="name">进度条</div>
<div class="code-name">#iconjindutiao</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icondanhangshurukuang"></use>

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 1513211 */
src: url('iconfont.woff2?t=1678340307663') format('woff2'),
url('iconfont.woff?t=1678340307663') format('woff'),
url('iconfont.ttf?t=1678340307663') format('truetype');
src: url('iconfont.woff2?t=1681193095225') format('woff2'),
url('iconfont.woff?t=1681193095225') format('woff'),
url('iconfont.ttf?t=1681193095225') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.iconjindutiao:before {
content: "\e651";
}
.icondanhangshurukuang:before {
content: "\e692";
}

File diff suppressed because one or more lines are too long

@ -5,6 +5,13 @@
"css_prefix_text": "icon",
"description": "",
"glyphs": [
{
"icon_id": "23626707",
"name": "进度条",
"font_class": "jindutiao",
"unicode": "e651",
"unicode_decimal": 58961
},
{
"icon_id": "1766474",
"name": "符号-单行输入框",

@ -4,7 +4,7 @@ export const widgetScaleHorizontal = {
type: 'scaleCharts',
tabName: '刻度尺',
label: '横刻度尺',
icon: 'iconicon_tubiao_bingtu',
icon: 'iconjindutiao',
options: {
// 配置
setup: [

@ -4,7 +4,7 @@ export const widgetScaleVertical = {
type: 'scaleCharts',
tabName: '刻度尺',
label: '竖刻度尺',
icon: 'iconicon_tubiao_bingtu',
icon: 'iconjindutiao',
options: {
// 配置
setup: [

Loading…
Cancel
Save