Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
京东前端
nutui
提交
6f1a374a
N
nutui
项目概览
京东前端
/
nutui
通知
37
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nutui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6f1a374a
编写于
1月 22, 2021
作者:
N
ninidesign
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 优化icon
上级
463fd09a
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
101 addition
and
27 deletion
+101
-27
src/styles/font/demo_index.html
src/styles/font/demo_index.html
+46
-0
src/styles/font/iconfont.css
src/styles/font/iconfont.css
+14
-6
src/styles/font/iconfont.eot
src/styles/font/iconfont.eot
+0
-0
src/styles/font/iconfont.js
src/styles/font/iconfont.js
+20
-20
src/styles/font/iconfont.json
src/styles/font/iconfont.json
+14
-0
src/styles/font/iconfont.svg
src/styles/font/iconfont.svg
+7
-1
src/styles/font/iconfont.ttf
src/styles/font/iconfont.ttf
+0
-0
src/styles/font/iconfont.woff
src/styles/font/iconfont.woff
+0
-0
src/styles/font/iconfont.woff2
src/styles/font/iconfont.woff2
+0
-0
未找到文件。
src/styles/font/demo_index.html
浏览文件 @
6f1a374a
...
...
@@ -30,6 +30,18 @@
<div
class=
"content unicode"
style=
"display: block;"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont"
>

</span>
<div
class=
"name"
>
share-n
</div>
<div
class=
"code-name"
>
&
#xe6bd;
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont"
>

</span>
<div
class=
"name"
>
horizontal-n
</div>
<div
class=
"code-name"
>
&
#xe6bc;
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont"
>

</span>
<div
class=
"name"
>
more-x
</div>
...
...
@@ -656,6 +668,24 @@
<div
class=
"content font-class"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont nut-icon-share-n"
></span>
<div
class=
"name"
>
share-n
</div>
<div
class=
"code-name"
>
.nut-icon-share-n
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont nut-icon-horizontal-n"
></span>
<div
class=
"name"
>
horizontal-n
</div>
<div
class=
"code-name"
>
.nut-icon-horizontal-n
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon nutui-iconfont nut-icon-more-x"
></span>
<div
class=
"name"
>
...
...
@@ -1549,6 +1579,22 @@
<div
class=
"content symbol"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#nut-icon-share-n"
></use>
</svg>
<div
class=
"name"
>
share-n
</div>
<div
class=
"code-name"
>
#nut-icon-share-n
</div>
</li>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#nut-icon-horizontal-n"
></use>
</svg>
<div
class=
"name"
>
horizontal-n
</div>
<div
class=
"code-name"
>
#nut-icon-horizontal-n
</div>
</li>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#nut-icon-more-x"
></use>
...
...
src/styles/font/iconfont.css
浏览文件 @
6f1a374a
此差异已折叠。
点击以展开。
src/styles/font/iconfont.eot
浏览文件 @
6f1a374a
无法预览此类型文件
src/styles/font/iconfont.js
浏览文件 @
6f1a374a
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/styles/font/iconfont.json
浏览文件 @
6f1a374a
...
...
@@ -5,6 +5,20 @@
"css_prefix_text"
:
"nut-icon-"
,
"description"
:
"nutui 3.0字体管理"
,
"glyphs"
:
[
{
"icon_id"
:
"19593347"
,
"name"
:
"share-n"
,
"font_class"
:
"share-n"
,
"unicode"
:
"e6bd"
,
"unicode_decimal"
:
59069
},
{
"icon_id"
:
"19593318"
,
"name"
:
"horizontal-n"
,
"font_class"
:
"horizontal-n"
,
"unicode"
:
"e6bc"
,
"unicode_decimal"
:
59068
},
{
"icon_id"
:
"19589181"
,
"name"
:
"more-x"
,
...
...
src/styles/font/iconfont.svg
浏览文件 @
6f1a374a
...
...
@@ -20,6 +20,12 @@ Created by iconfont
/>
<missing-glyph
/>
<glyph
glyph-name=
"share-n"
unicode=
""
d=
"M744.727273-96.969697H279.272727c-155.151515 0-279.272727 124.121212-279.272727 279.272727V585.69697c0 155.151515 124.121212 279.272727 279.272727 279.272727h108.606061c24.824242 0 46.545455-21.721212 46.545454-46.545455S412.70303 771.878788 387.878788 771.878788H279.272727c-102.4 0-186.181818-83.781818-186.181818-186.181818v-403.39394c0-102.4 83.781818-186.181818 186.181818-186.181818h465.454546c102.4 0 186.181818 83.781818 186.181818 186.181818V582.593939c0 24.824242 21.721212 46.545455 46.545454 46.545455s46.545455-21.721212 46.545455-46.545455V182.30303c0-155.151515-124.121212-279.272727-279.272727-279.272727z m170.666666 868.848485h-248.242424c-24.824242 0-46.545455 21.721212-46.545454 46.545454S642.327273 864.969697 667.151515 864.969697h248.242424c24.824242 0 46.545455-21.721212 46.545455-46.545455S940.218182 771.878788 915.393939 771.878788zM515.10303 275.393939h-9.309091c-24.824242 6.206061-40.339394 27.927273-37.236363 55.854546 43.442424 232.727273 201.69697 425.115152 428.218182 530.618182 24.824242 9.309091 49.648485 0 62.060606-21.721212 9.309091-24.824242 0-49.648485-21.721212-62.060607-201.69697-93.090909-338.230303-260.654545-378.569697-465.454545-3.10303-21.721212-21.721212-37.236364-43.442425-37.236364z"
horiz-adv-x=
"1024"
/>
<glyph
glyph-name=
"horizontal-n"
unicode=
""
d=
"M977.454545 771.878788h-930.90909C21.721212 771.878788 0 793.6 0 818.424242S21.721212 864.969697 46.545455 864.969697h930.90909c24.824242 0 46.545455-21.721212 46.545455-46.545455S1002.278788 771.878788 977.454545 771.878788zM977.454545-96.969697h-930.90909C21.721212-96.969697 0-75.248485 0-50.424242S21.721212-3.878788 46.545455-3.878788h930.90909c24.824242 0 46.545455-21.721212 46.545455-46.545454s-21.721212-46.545455-46.545455-46.545455zM977.454545 337.454545h-620.60606c-24.824242 0-46.545455 21.721212-46.545455 46.545455s21.721212 46.545455 46.545455 46.545455h620.60606c24.824242 0 46.545455-21.721212 46.545455-46.545455s-21.721212-46.545455-46.545455-46.545455z"
horiz-adv-x=
"1024"
/>
<glyph
glyph-name=
"more-x"
unicode=
""
d=
"M937.115152 467.781818c-43.442424 0-80.678788-37.236364-80.678788-80.678788s37.236364-80.678788 80.678788-80.678788c43.442424 0 80.678788 37.236364 80.678787 80.678788s-34.133333 80.678788-80.678787 80.678788M508.89697 520.5333330000001c-74.472727 0-133.430303-58.957576-133.430303-133.430303s58.957576-133.430303 133.430303-133.430303 133.430303 58.957576 133.430303 133.430303-58.957576 133.430303-133.430303 133.430303M83.781818 467.781818C40.339394 467.781818 3.10303 430.545455 3.10303 387.10303S37.236364 306.42424200000005 83.781818 306.42424200000005s80.678788 37.236364 80.678788 80.678788-37.236364 80.678788-80.678788 80.678788"
horiz-adv-x=
"1024"
/>
...
...
@@ -278,7 +284,7 @@ Created by iconfont
<glyph
glyph-name=
"search"
unicode=
""
d=
"M512-128C231.131429-128 0 103.131429 0 384S231.131429 896 512 896 1024 664.868571 1024 384 792.868571-128 512-128z m0 936.228571C277.942857 808.228571 87.771429 618.057143 87.771429 384S277.942857-40.228571 512-40.228571 936.228571 149.942857 936.228571 384 746.057143 808.228571 512 808.228571zM980.114286-128c-11.702857 0-23.405714 2.925714-32.182857 11.702857l-117.028572 117.028572c-17.554286 17.554286-17.554286 43.885714 0 61.44s43.885714 17.554286 61.44 0l117.028572-117.028572c17.554286-17.554286 17.554286-43.885714 0-61.44-5.851429-8.777143-17.554286-11.702857-29.257143-11.702857z"
horiz-adv-x=
"1024"
/>
<glyph
glyph-name=
"share"
unicode=
""
d=
"M7
92.369318-128H297.138494c-165.076941 0-297.138494 132.061553-297.138494 297.138494V598.338542c0 165.076941 132.061553 297.138494 297.138494 297.138494h115.553859c26.412311 0 49.523082-23.110772 49.523083-49.523082S439.104664 796.430871 412.692353 796.430871H297.138494C188.187713 796.430871 99.046165 707.289323 99.046165 598.338542v-429.200048c0-108.950781 89.141548-198.09233 198.092329-198.092329h495.230824c108.950781 0 198.09233 89.141548 198.09233 198.092329V595.037003c0 26.412311 23.110772 49.523082 49.523082 49.523082s49.523082-23.110772 49.523083-49.523082V169.138494c0-165.076941-132.061553-297.138494-297.138495-297.138494z m181.584636 924.430871h-264.123106c-26.412311 0-49.523082 23.110772-49.523083 49.523083S683.418537 895.477036 709.830848 895.477036h264.123106c26.412311 0 49.523082-23.110772 49.523082-49.523082S1000.366264 796.430871 973.953954 796.430871zM548.055445 268.184659h-9.904616c-26.412311 6.603078-42.920005 29.713849-39.618466 59.427699C544.753906 575.22777 713.132387 779.923177 954.144721 892.175497c26.412311 9.904616 52.824621 0 66.030776-23.110771 9.904616-26.412311 0-52.824621-23.110771-66.030777-214.600024-99.046165-359.867732-277.329261-402.787737-495.230824-3.301539-23.110772-23.110772-39.618466-46.221544-39.618466
z"
horiz-adv-x=
"1090"
/>
<glyph
glyph-name=
"share"
unicode=
""
d=
"M7
44.727273-96.969697H279.272727c-155.151515 0-279.272727 124.121212-279.272727 279.272727V585.69697c0 155.151515 124.121212 279.272727 279.272727 279.272727h108.606061c24.824242 0 46.545455-21.721212 46.545454-46.545455S412.70303 771.878788 387.878788 771.878788H279.272727c-102.4 0-186.181818-83.781818-186.181818-186.181818v-403.39394c0-102.4 83.781818-186.181818 186.181818-186.181818h465.454546c102.4 0 186.181818 83.781818 186.181818 186.181818V582.593939c0 24.824242 21.721212 46.545455 46.545454 46.545455s46.545455-21.721212 46.545455-46.545455V182.30303000000004c0-155.151515-124.121212-279.272727-279.272727-279.272727z m170.666666 868.848485h-248.242424c-24.824242 0-46.545455 21.721212-46.545454 46.545454S642.327273 864.969697 667.151515 864.969697h248.242424c24.824242 0 46.545455-21.721212 46.545455-46.545455S940.218182 771.878788 915.393939 771.878788zM515.10303 275.39393900000005h-9.309091c-24.824242 6.206061-40.339394 27.927273-37.236363 55.854546 43.442424 232.727273 201.69697 425.115152 428.218182 530.618182 24.824242 9.309091 49.648485 0 62.060606-21.721212 9.309091-24.824242 0-49.648485-21.721212-62.060607-201.69697-93.090909-338.230303-260.654545-378.569697-465.454545-3.10303-21.721212-21.721212-37.236364-43.442425-37.236364
z"
horiz-adv-x=
"1090"
/>
<glyph
glyph-name=
"follow"
unicode=
""
d=
"M1120.193939 529.842424h-93.090909c0 136.533333-111.709091 245.139394-245.139394 245.139394-65.163636 0-124.121212-24.824242-170.666666-68.266666l-3.103031-3.103031c-24.824242-24.824242-65.163636-24.824242-89.987878 0l-6.206061 6.206061c-46.545455 43.442424-105.50303 68.266667-170.666667 68.266666C204.8 778.084848 96.193939 666.375758 96.193939 532.945455H3.10303C3.10303 719.127273 155.151515 871.175758 341.333333 871.175758c80.678788 0 158.254545-27.927273 220.315152-80.678788C623.709091 843.248485 701.284848 871.175758 781.963636 871.175758c186.181818-3.10303 338.230303-155.151515 338.230303-341.333334zM89.987879 250.569697c-3.10303 6.206061-9.309091 12.412121-12.412121 18.618182-49.648485 77.575758-77.575758 167.563636-77.575758 260.654545h93.090909c0-74.472727 21.721212-148.945455 62.060606-211.00606 3.10303-6.206061 6.206061-9.309091 9.309091-12.412122l-74.472727-55.854545z m946.424242 6.206061l-77.575757 52.751515c43.442424 65.163636 68.266667 142.739394 68.266666 220.315151h93.090909c0-99.29697-27.927273-192.387879-83.781818-273.066666zM561.648485-118.690909c-9.309091 0-21.721212 3.10303-31.030303 6.206061-9.309091 3.10303-15.515152 6.206061-18.618182 9.30909-173.769697 77.575758-319.612121 201.69697-425.115152 359.951516l77.575758 52.751515c96.193939-142.739394 229.624242-257.551515 387.878788-325.818182l3.10303-3.10303s3.10303-3.10303 6.206061-3.103031l12.412121 6.206061c155.151515 71.369697 288.581818 183.078788 384.775758 328.921212l77.575757-52.751515c-105.50303-158.254545-251.345455-282.375758-425.115151-363.054546l-18.618182-9.30909c-9.309091-3.10303-21.721212-6.206061-31.030303-6.206061z"
horiz-adv-x=
"1120"
/>
...
...
src/styles/font/iconfont.ttf
浏览文件 @
6f1a374a
无法预览此类型文件
src/styles/font/iconfont.woff
浏览文件 @
6f1a374a
无法预览此类型文件
src/styles/font/iconfont.woff2
浏览文件 @
6f1a374a
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录