|
@@ -0,0 +1,975 @@
|
|
|
|
+
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
+<html>
|
|
|
|
+<head>
|
|
|
|
+ <meta charset="utf-8"/>
|
|
|
|
+ <title>IconFont</title>
|
|
|
|
+ <link rel="stylesheet" href="demo.css">
|
|
|
|
+ <script src="iconfont.js"></script>
|
|
|
|
+
|
|
|
|
+ <style type="text/css">
|
|
|
|
+ .icon {
|
|
|
|
+ /* 通过设置 font-size 来改变图标大小 */
|
|
|
|
+ width: 1em; height: 1em;
|
|
|
|
+ /* 图标和文字相邻时,垂直对齐 */
|
|
|
|
+ vertical-align: -0.15em;
|
|
|
|
+ /* 通过设置 color 来改变 SVG 的颜色/fill */
|
|
|
|
+ fill: currentColor;
|
|
|
|
+ /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
|
|
|
+ normalize.css 中也包含这行 */
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ </style>
|
|
|
|
+</head>
|
|
|
|
+<body>
|
|
|
|
+ <div class="main markdown">
|
|
|
|
+ <h1>IconFont 图标</h1>
|
|
|
|
+ <ul class="icon_lists clear">
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-user"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">用户</div>
|
|
|
|
+ <div class="fontclass">#icon-user</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-tuichu"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">退出</div>
|
|
|
|
+ <div class="fontclass">#icon-tuichu</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-keyboard"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">键盘</div>
|
|
|
|
+ <div class="fontclass">#icon-keyboard</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-iconfontcaidan"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">菜单</div>
|
|
|
|
+ <div class="fontclass">#icon-iconfontcaidan</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-kefu"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">客服</div>
|
|
|
|
+ <div class="fontclass">#icon-kefu</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-weixin1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">微信</div>
|
|
|
|
+ <div class="fontclass">#icon-weixin1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-phonedateicon26"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">问题反馈</div>
|
|
|
|
+ <div class="fontclass">#icon-phonedateicon26</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-phone"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">电话</div>
|
|
|
|
+ <div class="fontclass">#icon-phone</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-lianxiwomendianhua"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">联系我们 电话</div>
|
|
|
|
+ <div class="fontclass">#icon-lianxiwomendianhua</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-weixin3"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">微信</div>
|
|
|
|
+ <div class="fontclass">#icon-weixin3</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-yonghu"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">用户</div>
|
|
|
|
+ <div class="fontclass">#icon-yonghu</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-facebook"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">facebook</div>
|
|
|
|
+ <div class="fontclass">#icon-facebook</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-xitong"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">系统</div>
|
|
|
|
+ <div class="fontclass">#icon-xitong</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-kefu3"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">客服</div>
|
|
|
|
+ <div class="fontclass">#icon-kefu3</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-shandianpeisong"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">闪电</div>
|
|
|
|
+ <div class="fontclass">#icon-shandianpeisong</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ai-eye"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">眼睛</div>
|
|
|
|
+ <div class="fontclass">#icon-ai-eye</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-yuefeilv"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">月费率</div>
|
|
|
|
+ <div class="fontclass">#icon-yuefeilv</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-choosehandle"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">选择-勾选</div>
|
|
|
|
+ <div class="fontclass">#icon-choosehandle</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-youxiang"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">邮箱</div>
|
|
|
|
+ <div class="fontclass">#icon-youxiang</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jiantou"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">箭头</div>
|
|
|
|
+ <div class="fontclass">#icon-jiantou</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-pingtaigonggao"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">平台公告</div>
|
|
|
|
+ <div class="fontclass">#icon-pingtaigonggao</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-chongzhi"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">充值</div>
|
|
|
|
+ <div class="fontclass">#icon-chongzhi</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-xuzhi"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">须知</div>
|
|
|
|
+ <div class="fontclass">#icon-xuzhi</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-iconfontanquan"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">安全</div>
|
|
|
|
+ <div class="fontclass">#icon-iconfontanquan</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-icon_location"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">mfcd_微店_当前位置</div>
|
|
|
|
+ <div class="fontclass">#icon-icon_location</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-tixian"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">提现</div>
|
|
|
|
+ <div class="fontclass">#icon-tixian</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jiantou1-copy-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">箭头-下</div>
|
|
|
|
+ <div class="fontclass">#icon-jiantou1-copy-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-bty1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTY1</div>
|
|
|
|
+ <div class="fontclass">#icon-bty1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jiaoyiguanli"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">交易管理</div>
|
|
|
|
+ <div class="fontclass">#icon-jiaoyiguanli</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-tixian1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">提现</div>
|
|
|
|
+ <div class="fontclass">#icon-tixian1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-shandian"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">闪电</div>
|
|
|
|
+ <div class="fontclass">#icon-shandian</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-tubiao01"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">邮箱</div>
|
|
|
|
+ <div class="fontclass">#icon-tubiao01</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-qq"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">qq</div>
|
|
|
|
+ <div class="fontclass">#icon-qq</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ego-caidan"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">菜单</div>
|
|
|
|
+ <div class="fontclass">#icon-ego-caidan</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-meiyuan"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">美元</div>
|
|
|
|
+ <div class="fontclass">#icon-meiyuan</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-arrow-down"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">arrow-down</div>
|
|
|
|
+ <div class="fontclass">#icon-arrow-down</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-arrow-up"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">arrow-up</div>
|
|
|
|
+ <div class="fontclass">#icon-arrow-up</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-zhuanyejineng"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">专业技能</div>
|
|
|
|
+ <div class="fontclass">#icon-zhuanyejineng</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-mima"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">密码</div>
|
|
|
|
+ <div class="fontclass">#icon-mima</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jisutuikuan"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">急速退款</div>
|
|
|
|
+ <div class="fontclass">#icon-jisutuikuan</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-weibiaoti"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">安全设置</div>
|
|
|
|
+ <div class="fontclass">#icon-weibiaoti</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-shouji1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">手机</div>
|
|
|
|
+ <div class="fontclass">#icon-shouji1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-chenggong"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">成功</div>
|
|
|
|
+ <div class="fontclass">#icon-chenggong</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETH"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETH</div>
|
|
|
|
+ <div class="fontclass">#icon-ETH</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTY2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTY</div>
|
|
|
|
+ <div class="fontclass">#icon-BTY2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETC</div>
|
|
|
|
+ <div class="fontclass">#icon-ETC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTC</div>
|
|
|
|
+ <div class="fontclass">#icon-BTC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTC</div>
|
|
|
|
+ <div class="fontclass">#icon-BTC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-weixin2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">微信</div>
|
|
|
|
+ <div class="fontclass">#icon-weixin2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-QQqun1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">QQ群</div>
|
|
|
|
+ <div class="fontclass">#icon-QQqun1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-kefuQQ"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">客服QQ</div>
|
|
|
|
+ <div class="fontclass">#icon-kefuQQ</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-QQqun"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">QQ群</div>
|
|
|
|
+ <div class="fontclass">#icon-QQqun</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jiazhipinggu-"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">价值评估-01</div>
|
|
|
|
+ <div class="fontclass">#icon-jiazhipinggu-</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-dianhua"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">电话</div>
|
|
|
|
+ <div class="fontclass">#icon-dianhua</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fuwu"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">服务</div>
|
|
|
|
+ <div class="fontclass">#icon-fuwu</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-asset"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">机构资产</div>
|
|
|
|
+ <div class="fontclass">#icon-asset</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-M-zichanmianban-bitebi"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">M-资产面板-比特币</div>
|
|
|
|
+ <div class="fontclass">#icon-M-zichanmianban-bitebi</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-shouji"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">手机</div>
|
|
|
|
+ <div class="fontclass">#icon-shouji</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-nav-asset-manage"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">nav-资产管理</div>
|
|
|
|
+ <div class="fontclass">#icon-nav-asset-manage</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-jiaoyi"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">交易</div>
|
|
|
|
+ <div class="fontclass">#icon-jiaoyi</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-bizhong"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">币种</div>
|
|
|
|
+ <div class="fontclass">#icon-bizhong</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-weixin"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">微信</div>
|
|
|
|
+ <div class="fontclass">#icon-weixin</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-kefu1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">客服</div>
|
|
|
|
+ <div class="fontclass">#icon-kefu1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTS3"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTS1</div>
|
|
|
|
+ <div class="fontclass">#icon-BTS3</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTS"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTS</div>
|
|
|
|
+ <div class="fontclass">#icon-BTS</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-SC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">SC</div>
|
|
|
|
+ <div class="fontclass">#icon-SC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ZEC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ZEC</div>
|
|
|
|
+ <div class="fontclass">#icon-ZEC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-SC3"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">SC1</div>
|
|
|
|
+ <div class="fontclass">#icon-SC3</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-LTC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">LTC</div>
|
|
|
|
+ <div class="fontclass">#icon-LTC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETC</div>
|
|
|
|
+ <div class="fontclass">#icon-ETC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETH1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETH</div>
|
|
|
|
+ <div class="fontclass">#icon-ETH1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fengxiant"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">风险提示</div>
|
|
|
|
+ <div class="fontclass">#icon-fengxiant</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BCC"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BCC</div>
|
|
|
|
+ <div class="fontclass">#icon-BCC</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BCC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BCC1</div>
|
|
|
|
+ <div class="fontclass">#icon-BCC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-shandian1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">闪电</div>
|
|
|
|
+ <div class="fontclass">#icon-shandian1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fenxiang"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">分享</div>
|
|
|
|
+ <div class="fontclass">#icon-fenxiang</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-hotphone"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">热线电话图标</div>
|
|
|
|
+ <div class="fontclass">#icon-hotphone</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-yirenzheng"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">账户设置-已认证</div>
|
|
|
|
+ <div class="fontclass">#icon-yirenzheng</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-feiji-"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">飞机-01</div>
|
|
|
|
+ <div class="fontclass">#icon-feiji-</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ltc"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ltc</div>
|
|
|
|
+ <div class="fontclass">#icon-ltc</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-kefu2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">在线客服</div>
|
|
|
|
+ <div class="fontclass">#icon-kefu2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ZEC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ZEC1</div>
|
|
|
|
+ <div class="fontclass">#icon-ZEC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fanhui"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">返回</div>
|
|
|
|
+ <div class="fontclass">#icon-fanhui</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-DCR3"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">dcr</div>
|
|
|
|
+ <div class="fontclass">#icon-DCR3</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fx"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">fx66</div>
|
|
|
|
+ <div class="fontclass">#icon-fx</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-logo--1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">logo-1-19</div>
|
|
|
|
+ <div class="fontclass">#icon-logo--1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ZEC2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ZEC</div>
|
|
|
|
+ <div class="fontclass">#icon-ZEC2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTS1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTS</div>
|
|
|
|
+ <div class="fontclass">#icon-BTS1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETCUSDT"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETC</div>
|
|
|
|
+ <div class="fontclass">#icon-ETCUSDT</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BCC2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BCC</div>
|
|
|
|
+ <div class="fontclass">#icon-BCC2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-LTC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">LTC</div>
|
|
|
|
+ <div class="fontclass">#icon-LTC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTC2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTC</div>
|
|
|
|
+ <div class="fontclass">#icon-BTC2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETH2"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETH</div>
|
|
|
|
+ <div class="fontclass">#icon-ETH2</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-M-zichanmianban-bitebi1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">M-资产面板-比特币</div>
|
|
|
|
+ <div class="fontclass">#icon-M-zichanmianban-bitebi1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-SC1"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">SC</div>
|
|
|
|
+ <div class="fontclass">#icon-SC1</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTCUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTC</div>
|
|
|
|
+ <div class="fontclass">#icon-BTCUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BCCUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BCC</div>
|
|
|
|
+ <div class="fontclass">#icon-BCCUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETHUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETH</div>
|
|
|
|
+ <div class="fontclass">#icon-ETHUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETCUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETC</div>
|
|
|
|
+ <div class="fontclass">#icon-ETCUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ZECUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ZEC</div>
|
|
|
|
+ <div class="fontclass">#icon-ZECUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-LTCUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">LTC</div>
|
|
|
|
+ <div class="fontclass">#icon-LTCUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTSUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTS</div>
|
|
|
|
+ <div class="fontclass">#icon-BTSUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-SCUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">SC</div>
|
|
|
|
+ <div class="fontclass">#icon-SCUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BCCBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BCC</div>
|
|
|
|
+ <div class="fontclass">#icon-BCCBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETHBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETH</div>
|
|
|
|
+ <div class="fontclass">#icon-ETHBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ETCBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ETC</div>
|
|
|
|
+ <div class="fontclass">#icon-ETCBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-ZECBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">ZEC</div>
|
|
|
|
+ <div class="fontclass">#icon-ZECBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-LTCBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">LTC</div>
|
|
|
|
+ <div class="fontclass">#icon-LTCBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTY"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTY</div>
|
|
|
|
+ <div class="fontclass">#icon-BTY</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTYUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTY</div>
|
|
|
|
+ <div class="fontclass">#icon-BTYUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-BTYBTC-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">BTY</div>
|
|
|
|
+ <div class="fontclass">#icon-BTYBTC-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-fengxiant-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">风险提示</div>
|
|
|
|
+ <div class="fontclass">#icon-fengxiant-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-DCR"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">DCR</div>
|
|
|
|
+ <div class="fontclass">#icon-DCR</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li>
|
|
|
|
+ <svg class="icon" aria-hidden="true">
|
|
|
|
+ <use xlink:href="#icon-DCRUSDT-copy"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <div class="name">DCR</div>
|
|
|
|
+ <div class="fontclass">#icon-DCRUSDT-copy</div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ </ul>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <h2 id="symbol-">symbol引用</h2>
|
|
|
|
+ <hr>
|
|
|
|
+
|
|
|
|
+ <p>这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
|
|
|
|
+ 这种用法其实是做了一个svg的集合,与另外两种相比具有如下特点:</p>
|
|
|
|
+ <ul>
|
|
|
|
+ <li>支持多色图标了,不再受单色限制。</li>
|
|
|
|
+ <li>通过一些技巧,支持像字体那样,通过<code>font-size</code>,<code>color</code>来调整样式。</li>
|
|
|
|
+ <li>兼容性较差,支持 ie9+,及现代浏览器。</li>
|
|
|
|
+ <li>浏览器渲染svg的性能一般,还不如png。</li>
|
|
|
|
+ </ul>
|
|
|
|
+ <p>使用步骤如下:</p>
|
|
|
|
+ <h3 id="-symbol-">第一步:引入项目下面生成的symbol代码:</h3>
|
|
|
|
+ <pre><code class="lang-js hljs javascript"><span class="hljs-comment"><script src="./iconfont.js"></script></span></code></pre>
|
|
|
|
+ <h3 id="-css-">第二步:加入通用css代码(引入一次就行):</h3>
|
|
|
|
+ <pre><code class="lang-js hljs javascript"><style type=<span class="hljs-string">"text/css"</span>>
|
|
|
|
+.icon {
|
|
|
|
+ width: <span class="hljs-number">1</span>em; height: <span class="hljs-number">1</span>em;
|
|
|
|
+ vertical-align: <span class="hljs-number">-0.15</span>em;
|
|
|
|
+ fill: currentColor;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+}
|
|
|
|
+<<span class="hljs-regexp">/style></span></code></pre>
|
|
|
|
+ <h3 id="-">第三步:挑选相应图标并获取类名,应用于页面:</h3>
|
|
|
|
+ <pre><code class="lang-js hljs javascript"><svg <span class="hljs-class"><span class="hljs-keyword">class</span></span>=<span class="hljs-string">"icon"</span> aria-hidden=<span class="hljs-string">"true"</span>><span class="xml"><span class="hljs-tag">
|
|
|
|
+ <<span class="hljs-name">use</span> <span class="hljs-attr">xlink:href</span>=<span class="hljs-string">"#icon-xxx"</span>></span><span class="hljs-tag"></<span class="hljs-name">use</span>></span>
|
|
|
|
+</span><<span class="hljs-regexp">/svg>
|
|
|
|
+ </span></code></pre>
|
|
|
|
+ </div>
|
|
|
|
+</body>
|
|
|
|
+</html>
|