diff --git a/src/assets/iconfont/demo.css b/src/assets/iconfont/demo.css
new file mode 100644
index 0000000..a67054a
--- /dev/null
+++ b/src/assets/iconfont/demo.css
@@ -0,0 +1,539 @@
+/* Logo 字体 */
+@font-face {
+ font-family: "iconfont logo";
+ src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
+ src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
+}
+
+.logo {
+ font-family: "iconfont logo";
+ font-size: 160px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+/* tabs */
+.nav-tabs {
+ position: relative;
+}
+
+.nav-tabs .nav-more {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ height: 42px;
+ line-height: 42px;
+ color: #666;
+}
+
+#tabs {
+ border-bottom: 1px solid #eee;
+}
+
+#tabs li {
+ cursor: pointer;
+ width: 100px;
+ height: 40px;
+ line-height: 40px;
+ text-align: center;
+ font-size: 16px;
+ border-bottom: 2px solid transparent;
+ position: relative;
+ z-index: 1;
+ margin-bottom: -1px;
+ color: #666;
+}
+
+
+#tabs .active {
+ border-bottom-color: #f00;
+ color: #222;
+}
+
+.tab-container .content {
+ display: none;
+}
+
+/* 页面布局 */
+.main {
+ padding: 30px 100px;
+ width: 960px;
+ margin: 0 auto;
+}
+
+.main .logo {
+ color: #333;
+ text-align: left;
+ margin-bottom: 30px;
+ line-height: 1;
+ height: 110px;
+ margin-top: -50px;
+ overflow: hidden;
+ *zoom: 1;
+}
+
+.main .logo a {
+ font-size: 160px;
+ color: #333;
+}
+
+.helps {
+ margin-top: 40px;
+}
+
+.helps pre {
+ padding: 20px;
+ margin: 10px 0;
+ border: solid 1px #e7e1cd;
+ background-color: #fffdef;
+ overflow: auto;
+}
+
+.icon_lists {
+ width: 100% !important;
+ overflow: hidden;
+ *zoom: 1;
+}
+
+.icon_lists li {
+ width: 100px;
+ margin-bottom: 10px;
+ margin-right: 20px;
+ text-align: center;
+ list-style: none !important;
+ cursor: default;
+}
+
+.icon_lists li .code-name {
+ line-height: 1.2;
+}
+
+.icon_lists .icon {
+ display: block;
+ height: 100px;
+ line-height: 100px;
+ font-size: 42px;
+ margin: 10px auto;
+ color: #333;
+ -webkit-transition: font-size 0.25s linear, width 0.25s linear;
+ -moz-transition: font-size 0.25s linear, width 0.25s linear;
+ transition: font-size 0.25s linear, width 0.25s linear;
+}
+
+.icon_lists .icon:hover {
+ font-size: 100px;
+}
+
+.icon_lists .svg-icon {
+ /* 通过设置 font-size 来改变图标大小 */
+ width: 1em;
+ /* 图标和文字相邻时,垂直对齐 */
+ vertical-align: -0.15em;
+ /* 通过设置 color 来改变 SVG 的颜色/fill */
+ fill: currentColor;
+ /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
+ normalize.css 中也包含这行 */
+ overflow: hidden;
+}
+
+.icon_lists li .name,
+.icon_lists li .code-name {
+ color: #666;
+}
+
+/* markdown 样式 */
+.markdown {
+ color: #666;
+ font-size: 14px;
+ line-height: 1.8;
+}
+
+.highlight {
+ line-height: 1.5;
+}
+
+.markdown img {
+ vertical-align: middle;
+ max-width: 100%;
+}
+
+.markdown h1 {
+ color: #404040;
+ font-weight: 500;
+ line-height: 40px;
+ margin-bottom: 24px;
+}
+
+.markdown h2,
+.markdown h3,
+.markdown h4,
+.markdown h5,
+.markdown h6 {
+ color: #404040;
+ margin: 1.6em 0 0.6em 0;
+ font-weight: 500;
+ clear: both;
+}
+
+.markdown h1 {
+ font-size: 28px;
+}
+
+.markdown h2 {
+ font-size: 22px;
+}
+
+.markdown h3 {
+ font-size: 16px;
+}
+
+.markdown h4 {
+ font-size: 14px;
+}
+
+.markdown h5 {
+ font-size: 12px;
+}
+
+.markdown h6 {
+ font-size: 12px;
+}
+
+.markdown hr {
+ height: 1px;
+ border: 0;
+ background: #e9e9e9;
+ margin: 16px 0;
+ clear: both;
+}
+
+.markdown p {
+ margin: 1em 0;
+}
+
+.markdown>p,
+.markdown>blockquote,
+.markdown>.highlight,
+.markdown>ol,
+.markdown>ul {
+ width: 80%;
+}
+
+.markdown ul>li {
+ list-style: circle;
+}
+
+.markdown>ul li,
+.markdown blockquote ul>li {
+ margin-left: 20px;
+ padding-left: 4px;
+}
+
+.markdown>ul li p,
+.markdown>ol li p {
+ margin: 0.6em 0;
+}
+
+.markdown ol>li {
+ list-style: decimal;
+}
+
+.markdown>ol li,
+.markdown blockquote ol>li {
+ margin-left: 20px;
+ padding-left: 4px;
+}
+
+.markdown code {
+ margin: 0 3px;
+ padding: 0 5px;
+ background: #eee;
+ border-radius: 3px;
+}
+
+.markdown strong,
+.markdown b {
+ font-weight: 600;
+}
+
+.markdown>table {
+ border-collapse: collapse;
+ border-spacing: 0px;
+ empty-cells: show;
+ border: 1px solid #e9e9e9;
+ width: 95%;
+ margin-bottom: 24px;
+}
+
+.markdown>table th {
+ white-space: nowrap;
+ color: #333;
+ font-weight: 600;
+}
+
+.markdown>table th,
+.markdown>table td {
+ border: 1px solid #e9e9e9;
+ padding: 8px 16px;
+ text-align: left;
+}
+
+.markdown>table th {
+ background: #F7F7F7;
+}
+
+.markdown blockquote {
+ font-size: 90%;
+ color: #999;
+ border-left: 4px solid #e9e9e9;
+ padding-left: 0.8em;
+ margin: 1em 0;
+}
+
+.markdown blockquote p {
+ margin: 0;
+}
+
+.markdown .anchor {
+ opacity: 0;
+ transition: opacity 0.3s ease;
+ margin-left: 8px;
+}
+
+.markdown .waiting {
+ color: #ccc;
+}
+
+.markdown h1:hover .anchor,
+.markdown h2:hover .anchor,
+.markdown h3:hover .anchor,
+.markdown h4:hover .anchor,
+.markdown h5:hover .anchor,
+.markdown h6:hover .anchor {
+ opacity: 1;
+ display: inline-block;
+}
+
+.markdown>br,
+.markdown>p>br {
+ clear: both;
+}
+
+
+.hljs {
+ display: block;
+ background: white;
+ padding: 0.5em;
+ color: #333333;
+ overflow-x: auto;
+}
+
+.hljs-comment,
+.hljs-meta {
+ color: #969896;
+}
+
+.hljs-string,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-strong,
+.hljs-emphasis,
+.hljs-quote {
+ color: #df5000;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-type {
+ color: #a71d5d;
+}
+
+.hljs-literal,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-attribute {
+ color: #0086b3;
+}
+
+.hljs-section,
+.hljs-name {
+ color: #63a35c;
+}
+
+.hljs-tag {
+ color: #333333;
+}
+
+.hljs-title,
+.hljs-attr,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-selector-attr,
+.hljs-selector-pseudo {
+ color: #795da3;
+}
+
+.hljs-addition {
+ color: #55a532;
+ background-color: #eaffea;
+}
+
+.hljs-deletion {
+ color: #bd2c00;
+ background-color: #ffecec;
+}
+
+.hljs-link {
+ text-decoration: underline;
+}
+
+/* 代码高亮 */
+/* PrismJS 1.15.0
+https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+code[class*="language-"],
+pre[class*="language-"] {
+ color: black;
+ background: none;
+ text-shadow: 0 1px white;
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ line-height: 1.5;
+
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+
+ -webkit-hyphens: none;
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+pre[class*="language-"]::-moz-selection,
+pre[class*="language-"] ::-moz-selection,
+code[class*="language-"]::-moz-selection,
+code[class*="language-"] ::-moz-selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+pre[class*="language-"]::selection,
+pre[class*="language-"] ::selection,
+code[class*="language-"]::selection,
+code[class*="language-"] ::selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+@media print {
+
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+ padding: 1em;
+ margin: .5em 0;
+ overflow: auto;
+}
+
+:not(pre)>code[class*="language-"],
+pre[class*="language-"] {
+ background: #f5f2f0;
+}
+
+/* Inline code */
+:not(pre)>code[class*="language-"] {
+ padding: .1em;
+ border-radius: .3em;
+ white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+ color: slategray;
+}
+
+.token.punctuation {
+ color: #999;
+}
+
+.namespace {
+ opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+ color: #905;
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+ color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+ color: #9a6e3a;
+ background: hsla(0, 0%, 100%, .5);
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+ color: #07a;
+}
+
+.token.function,
+.token.class-name {
+ color: #DD4A68;
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+ color: #e90;
+}
+
+.token.important,
+.token.bold {
+ font-weight: bold;
+}
+
+.token.italic {
+ font-style: italic;
+}
+
+.token.entity {
+ cursor: help;
+}
diff --git a/src/assets/iconfont/demo_index.html b/src/assets/iconfont/demo_index.html
new file mode 100644
index 0000000..5486ef8
--- /dev/null
+++ b/src/assets/iconfont/demo_index.html
@@ -0,0 +1,763 @@
+
+
+
+
+ iconfont Demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Unicode
+ - Font class
+ - Symbol
+
+
+
查看项目
+
+
+
+
+
+
+ -
+
+
阴
+ 
+
+
+ -
+
+
大暴雨
+ 
+
+
+ -
+
+
刷新
+ 
+
+
+ -
+
+
刷新
+ 
+
+
+ -
+
+
多云-2-copy
+ 
+
+
+ -
+
+
多云-1
+ 
+
+
+ -
+
+
大雪
+ 
+
+
+ -
+
+
大雨
+ 
+
+
+ -
+
+
风
+ 
+
+
+ -
+
+
多云-3
+ 
+
+
+ -
+
+
多云-2
+ 
+
+
+ -
+
+
雷雨交加
+ 
+
+
+ -
+
+
多云
+ 
+
+
+ -
+
+
中雨
+ 
+
+
+ -
+
+
雾
+ 
+
+
+ -
+
+
小雨
+ 
+
+
+ -
+
+
小雪
+ 
+
+
+ -
+
+
闪电
+ 
+
+
+ -
+
+
雪
+ 
+
+
+ -
+
+
中雪
+ 
+
+
+ -
+
+
扬尘
+ 
+
+
+ -
+
+
月亮
+ 
+
+
+ -
+
+
雨夹雪
+ 
+
+
+ -
+
+
晴
+ 
+
+
+ -
+
+
霾
+ 
+
+
+
+
+
Unicode 引用
+
+
+
Unicode 是字体在网页端最原始的应用方式,特点是:
+
+ - 支持按字体的方式去动态调整图标大小,颜色等等。
+ - 默认情况下不支持多色,直接添加多色图标会自动去色。
+
+
+ 注意:新版 iconfont 支持两种方式引用多色图标:SVG symbol 引用方式和彩色字体图标模式。(使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。)
+
+
Unicode 使用步骤如下:
+
第一步:拷贝项目下面生成的 @font-face
+
@font-face {
+ font-family: 'iconfont';
+ src: url('iconfont.woff2?t=1663216428515') format('woff2'),
+ url('iconfont.woff?t=1663216428515') format('woff'),
+ url('iconfont.ttf?t=1663216428515') format('truetype');
+}
+
+
第二步:定义使用 iconfont 的样式
+
.iconfont {
+ font-family: "iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+
第三步:挑选相应图标并获取字体编码,应用于页面
+
+<span class="iconfont">3</span>
+
+
+ "iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。
+
+
+
+
+
+
+ -
+
+
+ 阴
+
+ .icon-yin
+
+
+
+ -
+
+
+ 大暴雨
+
+ .icon-dabaoyu
+
+
+
+ -
+
+
+ 刷新
+
+ .icon-shuaxin1
+
+
+
+ -
+
+
+ 刷新
+
+ .icon-shuaxin
+
+
+
+ -
+
+
+ 多云-2-copy
+
+ .icon-duoyun-2-copy
+
+
+
+ -
+
+
+ 多云-1
+
+ .icon-duoyun-1
+
+
+
+ -
+
+
+ 大雪
+
+ .icon-daxue
+
+
+
+ -
+
+
+ 大雨
+
+ .icon-dayu
+
+
+
+ -
+
+
+ 风
+
+ .icon-feng
+
+
+
+ -
+
+
+ 多云-3
+
+ .icon-duoyun-3
+
+
+
+ -
+
+
+ 多云-2
+
+ .icon-duoyun-2
+
+
+
+ -
+
+
+ 雷雨交加
+
+ .icon-leiyujiaojia
+
+
+
+ -
+
+
+ 多云
+
+ .icon-duoyun
+
+
+
+ -
+
+
+ 中雨
+
+ .icon-zhongyu
+
+
+
+ -
+
+
+ 雾
+
+ .icon-wu
+
+
+
+ -
+
+
+ 小雨
+
+ .icon-xiaoyu
+
+
+
+ -
+
+
+ 小雪
+
+ .icon-xiaoxue
+
+
+
+ -
+
+
+ 闪电
+
+ .icon-shandian
+
+
+
+ -
+
+
+ 雪
+
+ .icon-xue
+
+
+
+ -
+
+
+ 中雪
+
+ .icon-zhongxue
+
+
+
+ -
+
+
+ 扬尘
+
+ .icon-yangchen
+
+
+
+ -
+
+
+ 月亮
+
+ .icon-yueliang
+
+
+
+ -
+
+
+ 雨夹雪
+
+ .icon-yujiaxue
+
+
+
+ -
+
+
+ 晴
+
+ .icon-qing
+
+
+
+ -
+
+
+ 霾
+
+ .icon-mai
+
+
+
+
+
+
font-class 引用
+
+
+
font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。
+
与 Unicode 使用方式相比,具有如下特点:
+
+ - 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
+ - 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
+
+
使用步骤如下:
+
第一步:引入项目下面生成的 fontclass 代码:
+
<link rel="stylesheet" href="./iconfont.css">
+
+
第二步:挑选相应图标并获取类名,应用于页面:
+
<span class="iconfont icon-xxx"></span>
+
+
+ "
+ iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。
+
+
+
+
+
+
+ -
+
+
阴
+ #icon-yin
+
+
+ -
+
+
大暴雨
+ #icon-dabaoyu
+
+
+ -
+
+
刷新
+ #icon-shuaxin1
+
+
+ -
+
+
刷新
+ #icon-shuaxin
+
+
+ -
+
+
多云-2-copy
+ #icon-duoyun-2-copy
+
+
+ -
+
+
多云-1
+ #icon-duoyun-1
+
+
+ -
+
+
大雪
+ #icon-daxue
+
+
+ -
+
+
大雨
+ #icon-dayu
+
+
+ -
+
+
风
+ #icon-feng
+
+
+ -
+
+
多云-3
+ #icon-duoyun-3
+
+
+ -
+
+
多云-2
+ #icon-duoyun-2
+
+
+ -
+
+
雷雨交加
+ #icon-leiyujiaojia
+
+
+ -
+
+
多云
+ #icon-duoyun
+
+
+ -
+
+
中雨
+ #icon-zhongyu
+
+
+ -
+
+
雾
+ #icon-wu
+
+
+ -
+
+
小雨
+ #icon-xiaoyu
+
+
+ -
+
+
小雪
+ #icon-xiaoxue
+
+
+ -
+
+
闪电
+ #icon-shandian
+
+
+ -
+
+
雪
+ #icon-xue
+
+
+ -
+
+
中雪
+ #icon-zhongxue
+
+
+ -
+
+
扬尘
+ #icon-yangchen
+
+
+ -
+
+
月亮
+ #icon-yueliang
+
+
+ -
+
+
雨夹雪
+ #icon-yujiaxue
+
+
+ -
+
+
晴
+ #icon-qing
+
+
+ -
+
+
霾
+ #icon-mai
+
+
+
+
+
Symbol 引用
+
+
+
这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章
+ 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:
+
+ - 支持多色图标了,不再受单色限制。
+ - 通过一些技巧,支持像字体那样,通过
font-size, color 来调整样式。
+ - 兼容性较差,支持 IE9+,及现代浏览器。
+ - 浏览器渲染 SVG 的性能一般,还不如 png。
+
+
使用步骤如下:
+
第一步:引入项目下面生成的 symbol 代码:
+
<script src="./iconfont.js"></script>
+
+
第二步:加入通用 CSS 代码(引入一次就行):
+
<style>
+.icon {
+ width: 1em;
+ height: 1em;
+ vertical-align: -0.15em;
+ fill: currentColor;
+ overflow: hidden;
+}
+</style>
+
+
第三步:挑选相应图标并获取类名,应用于页面:
+
<svg class="icon" aria-hidden="true">
+ <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+
+
+
+
+
+
diff --git a/src/assets/iconfont/iconfont.css b/src/assets/iconfont/iconfont.css
new file mode 100644
index 0000000..57ee5f0
--- /dev/null
+++ b/src/assets/iconfont/iconfont.css
@@ -0,0 +1,115 @@
+@font-face {
+ font-family: "iconfont"; /* Project id 3641732 */
+ src: url('./iconfont.woff2?t=1663216428515') format('woff2'),
+ url('./iconfont.woff?t=1663216428515') format('woff'),
+ url('./iconfont.ttf?t=1663216428515') format('truetype');
+}
+
+.iconfont {
+ font-family: "iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-yin:before {
+ content: "\e6a0";
+}
+
+.icon-dabaoyu:before {
+ content: "\e6a7";
+}
+
+.icon-shuaxin1:before {
+ content: "\e627";
+}
+
+.icon-shuaxin:before {
+ content: "\e629";
+}
+
+.icon-duoyun-2-copy:before {
+ content: "\e68d";
+}
+
+.icon-duoyun-1:before {
+ content: "\e679";
+}
+
+.icon-daxue:before {
+ content: "\e67a";
+}
+
+.icon-dayu:before {
+ content: "\e67b";
+}
+
+.icon-feng:before {
+ content: "\e67c";
+}
+
+.icon-duoyun-3:before {
+ content: "\e67d";
+}
+
+.icon-duoyun-2:before {
+ content: "\e67e";
+}
+
+.icon-leiyujiaojia:before {
+ content: "\e67f";
+}
+
+.icon-duoyun:before {
+ content: "\e680";
+}
+
+.icon-zhongyu:before {
+ content: "\e681";
+}
+
+.icon-wu:before {
+ content: "\e682";
+}
+
+.icon-xiaoyu:before {
+ content: "\e683";
+}
+
+.icon-xiaoxue:before {
+ content: "\e684";
+}
+
+.icon-shandian:before {
+ content: "\e685";
+}
+
+.icon-xue:before {
+ content: "\e686";
+}
+
+.icon-zhongxue:before {
+ content: "\e687";
+}
+
+.icon-yangchen:before {
+ content: "\e688";
+}
+
+.icon-yueliang:before {
+ content: "\e689";
+}
+
+.icon-yujiaxue:before {
+ content: "\e68a";
+}
+
+.icon-qing:before {
+ content: "\e68b";
+}
+
+.icon-mai:before {
+ content: "\e68c";
+}
+
diff --git a/src/assets/iconfont/iconfont.js b/src/assets/iconfont/iconfont.js
new file mode 100644
index 0000000..f94a118
--- /dev/null
+++ b/src/assets/iconfont/iconfont.js
@@ -0,0 +1 @@
+window._iconfont_svg_string_3641732='',function(l){var c=(c=document.getElementsByTagName("script"))[c.length-1],s=c.getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var a,t,i,h,o,e=function(c,s){s.parentNode.insertBefore(c,s)};if(s&&!l.__iconfont__svg__cssinject__){l.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}a=function(){var c,s=document.createElement("div");s.innerHTML=l._iconfont_svg_string_3641732,(s=s.getElementsByTagName("svg")[0])&&(s.setAttribute("aria-hidden","true"),s.style.position="absolute",s.style.width=0,s.style.height=0,s.style.overflow="hidden",s=s,(c=document.body).firstChild?e(s,c.firstChild):c.appendChild(s))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),a()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(i=a,h=l.document,o=!1,p(),h.onreadystatechange=function(){"complete"==h.readyState&&(h.onreadystatechange=null,d())})}function d(){o||(o=!0,i())}function p(){try{h.documentElement.doScroll("left")}catch(c){return void setTimeout(p,50)}d()}}(window);
\ No newline at end of file
diff --git a/src/assets/iconfont/iconfont.json b/src/assets/iconfont/iconfont.json
new file mode 100644
index 0000000..55b9a00
--- /dev/null
+++ b/src/assets/iconfont/iconfont.json
@@ -0,0 +1,184 @@
+{
+ "id": "3641732",
+ "name": "weather",
+ "font_family": "iconfont",
+ "css_prefix_text": "icon-",
+ "description": "",
+ "glyphs": [
+ {
+ "icon_id": "28557556",
+ "name": "阴",
+ "font_class": "yin",
+ "unicode": "e6a0",
+ "unicode_decimal": 59040
+ },
+ {
+ "icon_id": "28557770",
+ "name": "大暴雨",
+ "font_class": "dabaoyu",
+ "unicode": "e6a7",
+ "unicode_decimal": 59047
+ },
+ {
+ "icon_id": "7724796",
+ "name": "刷新",
+ "font_class": "shuaxin1",
+ "unicode": "e627",
+ "unicode_decimal": 58919
+ },
+ {
+ "icon_id": "6999224",
+ "name": "刷新",
+ "font_class": "shuaxin",
+ "unicode": "e629",
+ "unicode_decimal": 58921
+ },
+ {
+ "icon_id": "31772217",
+ "name": "多云-2-copy",
+ "font_class": "duoyun-2-copy",
+ "unicode": "e68d",
+ "unicode_decimal": 59021
+ },
+ {
+ "icon_id": "29265274",
+ "name": "多云-1",
+ "font_class": "duoyun-1",
+ "unicode": "e679",
+ "unicode_decimal": 59001
+ },
+ {
+ "icon_id": "29265275",
+ "name": "大雪",
+ "font_class": "daxue",
+ "unicode": "e67a",
+ "unicode_decimal": 59002
+ },
+ {
+ "icon_id": "29265276",
+ "name": "大雨",
+ "font_class": "dayu",
+ "unicode": "e67b",
+ "unicode_decimal": 59003
+ },
+ {
+ "icon_id": "29265277",
+ "name": "风",
+ "font_class": "feng",
+ "unicode": "e67c",
+ "unicode_decimal": 59004
+ },
+ {
+ "icon_id": "29265278",
+ "name": "多云-3",
+ "font_class": "duoyun-3",
+ "unicode": "e67d",
+ "unicode_decimal": 59005
+ },
+ {
+ "icon_id": "29265279",
+ "name": "多云-2",
+ "font_class": "duoyun-2",
+ "unicode": "e67e",
+ "unicode_decimal": 59006
+ },
+ {
+ "icon_id": "29265280",
+ "name": "雷雨交加",
+ "font_class": "leiyujiaojia",
+ "unicode": "e67f",
+ "unicode_decimal": 59007
+ },
+ {
+ "icon_id": "29265281",
+ "name": "多云",
+ "font_class": "duoyun",
+ "unicode": "e680",
+ "unicode_decimal": 59008
+ },
+ {
+ "icon_id": "29265282",
+ "name": "中雨",
+ "font_class": "zhongyu",
+ "unicode": "e681",
+ "unicode_decimal": 59009
+ },
+ {
+ "icon_id": "29265283",
+ "name": "雾",
+ "font_class": "wu",
+ "unicode": "e682",
+ "unicode_decimal": 59010
+ },
+ {
+ "icon_id": "29265284",
+ "name": "小雨",
+ "font_class": "xiaoyu",
+ "unicode": "e683",
+ "unicode_decimal": 59011
+ },
+ {
+ "icon_id": "29265285",
+ "name": "小雪",
+ "font_class": "xiaoxue",
+ "unicode": "e684",
+ "unicode_decimal": 59012
+ },
+ {
+ "icon_id": "29265286",
+ "name": "闪电",
+ "font_class": "shandian",
+ "unicode": "e685",
+ "unicode_decimal": 59013
+ },
+ {
+ "icon_id": "29265287",
+ "name": "雪",
+ "font_class": "xue",
+ "unicode": "e686",
+ "unicode_decimal": 59014
+ },
+ {
+ "icon_id": "29265288",
+ "name": "中雪",
+ "font_class": "zhongxue",
+ "unicode": "e687",
+ "unicode_decimal": 59015
+ },
+ {
+ "icon_id": "29265289",
+ "name": "扬尘",
+ "font_class": "yangchen",
+ "unicode": "e688",
+ "unicode_decimal": 59016
+ },
+ {
+ "icon_id": "29265290",
+ "name": "月亮",
+ "font_class": "yueliang",
+ "unicode": "e689",
+ "unicode_decimal": 59017
+ },
+ {
+ "icon_id": "29265291",
+ "name": "雨夹雪",
+ "font_class": "yujiaxue",
+ "unicode": "e68a",
+ "unicode_decimal": 59018
+ },
+ {
+ "icon_id": "29265292",
+ "name": "晴",
+ "font_class": "qing",
+ "unicode": "e68b",
+ "unicode_decimal": 59019
+ },
+ {
+ "icon_id": "29265293",
+ "name": "霾",
+ "font_class": "mai",
+ "unicode": "e68c",
+ "unicode_decimal": 59020
+ }
+ ]
+}
diff --git a/src/assets/iconfont/iconfont.ttf b/src/assets/iconfont/iconfont.ttf
new file mode 100644
index 0000000..6c6aaf8
Binary files /dev/null and b/src/assets/iconfont/iconfont.ttf differ
diff --git a/src/assets/iconfont/iconfont.woff b/src/assets/iconfont/iconfont.woff
new file mode 100644
index 0000000..e0ca58d
Binary files /dev/null and b/src/assets/iconfont/iconfont.woff differ
diff --git a/src/assets/iconfont/iconfont.woff2 b/src/assets/iconfont/iconfont.woff2
new file mode 100644
index 0000000..4ed68d8
Binary files /dev/null and b/src/assets/iconfont/iconfont.woff2 differ
diff --git a/src/components/u-container-layout/index.vue b/src/components/u-container-layout/index.vue
index 7a463ad..a7d0fdf 100644
--- a/src/components/u-container-layout/index.vue
+++ b/src/components/u-container-layout/index.vue
@@ -23,6 +23,7 @@
background: white;
padding: 20px;
width: 100%;
+ height: 100%;
box-sizing: border-box;
}
}
diff --git a/src/components/u-info/index.vue b/src/components/u-info/index.vue
index 94ee146..7a933df 100644
--- a/src/components/u-info/index.vue
+++ b/src/components/u-info/index.vue
@@ -12,9 +12,11 @@
github开源地址:点我
+
github开源地址:点我
+
github开源地址:点我
@@ -58,6 +60,10 @@
font-size: 13px;
}
}
+ ::v-deep(.el-divider--horizontal){
+ margin-bottom: 10px;
+ margin-top: 10px;
+ }
.transverseMenu {
.bell {
color: white;
diff --git a/src/main.ts b/src/main.ts
index 5c17356..e04dfd4 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -16,6 +16,9 @@ import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
// 自定义暗黑模式
import "@/styles/element-dark.scss";
+// 引入阿里图标库
+import "@/assets/iconfont/iconfont.css";
+import "@/assets/iconfont/iconfont.js";
// 引入全局组件布局
import UContainerLayout from '@/components/u-container-layout/index.vue'
diff --git a/src/router/modules/other.ts b/src/router/modules/other.ts
index 5074b4f..d3028e0 100644
--- a/src/router/modules/other.ts
+++ b/src/router/modules/other.ts
@@ -60,6 +60,12 @@ const othersRouter = {
name: 'svgIcon',
meta: { title: 'svg图标', icon: 'MenuIcon' }
},
+ {
+ path: 'iconfont',
+ component: () => import('@/views/other/iconfont/index.vue'),
+ name: 'iconfont',
+ meta: { title: '阿里图标库', icon: 'MenuIcon' }
+ },
{
path: 'water-marker',
component: () => import('@/views/other/water-marker.vue'),
diff --git a/src/views/error/401.vue b/src/views/error/401.vue
index 295f68e..3d28eef 100644
--- a/src/views/error/401.vue
+++ b/src/views/error/401.vue
@@ -31,21 +31,14 @@
height: 100%;
display: flex;
align-items: center;
- min-height: calc(100vh - 205px);
justify-content: center;
}
.error-page {
- /*position: absolute;*/
- /*top: 0;*/
padding-top: 20px;
- /*left: 0;*/
- /*right: 0;*/
- /*background: white;*/
- /*bottom: 0;*/
display: flex;
align-items: center;
.img {
- width: 500px;
+ width: 300px;
}
.oops {
font-size: 32px;
diff --git a/src/views/error/404.vue b/src/views/error/404.vue
index 2cbd008..d91f208 100644
--- a/src/views/error/404.vue
+++ b/src/views/error/404.vue
@@ -1,5 +1,5 @@
-
+
![]()
@@ -29,22 +29,8 @@