123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <title>IconFont</title>
- <link rel="stylesheet" href="demo.css">
- <link rel="stylesheet" href="iconfont.css">
- </head>
- <body>
- <div class="main markdown">
- <h1>IconFont 图标</h1>
- <ul class="icon_lists clear">
-
- <li>
- <i class="icon iconfont dsit-weixiubaoyang"></i>
- <div class="name">维修保养</div>
- <div class="fontclass">.dsit-weixiubaoyang</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-gonggao"></i>
- <div class="name">公告</div>
- <div class="fontclass">.dsit-gonggao</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-liebiao1"></i>
- <div class="name">列表</div>
- <div class="fontclass">.dsit-liebiao1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-woyaobaoxiu"></i>
- <div class="name">我要报修</div>
- <div class="fontclass">.dsit-woyaobaoxiu</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-gonggao1"></i>
- <div class="name">公告</div>
- <div class="fontclass">.dsit-gonggao1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-question"></i>
- <div class="name">问题</div>
- <div class="fontclass">.dsit-question</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-tianjia"></i>
- <div class="name">添加</div>
- <div class="fontclass">.dsit-tianjia</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xinjian"></i>
- <div class="name">新建</div>
- <div class="fontclass">.dsit-xinjian</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xiangzuo"></i>
- <div class="name">向左</div>
- <div class="fontclass">.dsit-xiangzuo</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-zhuti"></i>
- <div class="name">主题</div>
- <div class="fontclass">.dsit-zhuti</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shouye"></i>
- <div class="name">首页</div>
- <div class="fontclass">.dsit-shouye</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-false-circle"></i>
- <div class="name">错</div>
- <div class="fontclass">.dsit-false-circle</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-wode"></i>
- <div class="name">我的</div>
- <div class="fontclass">.dsit-wode</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-gengduo"></i>
- <div class="name">更多</div>
- <div class="fontclass">.dsit-gengduo</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-text-newlybuild"></i>
- <div class="name">新建</div>
- <div class="fontclass">.dsit-icon-text-newlybuild</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-baoxiushenqing"></i>
- <div class="name">保修申请</div>
- <div class="fontclass">.dsit-baoxiushenqing</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xunjian"></i>
- <div class="name">巡检</div>
- <div class="fontclass">.dsit-xunjian</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-daishouli"></i>
- <div class="name">待受理3</div>
- <div class="fontclass">.dsit-daishouli</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shoulizhong"></i>
- <div class="name">受理中1</div>
- <div class="fontclass">.dsit-shoulizhong</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shouliwancheng"></i>
- <div class="name">受理完成</div>
- <div class="fontclass">.dsit-shouliwancheng</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-chakan"></i>
- <div class="name">查看</div>
- <div class="fontclass">.dsit-chakan</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shenhe"></i>
- <div class="name">审核</div>
- <div class="fontclass">.dsit-shenhe</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-bianji1"></i>
- <div class="name">编辑</div>
- <div class="fontclass">.dsit-bianji1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-daiwochulide"></i>
- <div class="name">待我处理的-工单</div>
- <div class="fontclass">.dsit-daiwochulide</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shebeixunjian"></i>
- <div class="name">设备巡检</div>
- <div class="fontclass">.dsit-shebeixunjian</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xinjiangongdan"></i>
- <div class="name">新建工单</div>
- <div class="fontclass">.dsit-xinjiangongdan</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-gongdanliebiao"></i>
- <div class="name">工单列表</div>
- <div class="fontclass">.dsit-gongdanliebiao</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-wenti"></i>
- <div class="name">问题</div>
- <div class="fontclass">.dsit-wenti</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-sousuo"></i>
- <div class="name">搜索</div>
- <div class="fontclass">.dsit-sousuo</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-morentouxiang"></i>
- <div class="name">默认头像</div>
- <div class="fontclass">.dsit-morentouxiang</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-fanhui"></i>
- <div class="name">返回</div>
- <div class="fontclass">.dsit-fanhui</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-bianji"></i>
- <div class="name">编辑</div>
- <div class="fontclass">.dsit-bianji</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-wode1"></i>
- <div class="name">我的</div>
- <div class="fontclass">.dsit-wode1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-dui"></i>
- <div class="name">对</div>
- <div class="fontclass">.dsit-dui</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-guzhangbaojing"></i>
- <div class="name">故障报警</div>
- <div class="fontclass">.dsit-guzhangbaojing</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-yiji-fuwuguanli"></i>
- <div class="name">一级-服务管理</div>
- <div class="fontclass">.dsit-yiji-fuwuguanli</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-zhishiku2"></i>
- <div class="name">知识库</div>
- <div class="fontclass">.dsit-zhishiku2</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-yiyuqi"></i>
- <div class="name">已逾期</div>
- <div class="fontclass">.dsit-yiyuqi</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-jijiangyuqi"></i>
- <div class="name">即将逾期</div>
- <div class="fontclass">.dsit-jijiangyuqi</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-yuqi"></i>
- <div class="name">逾期</div>
- <div class="fontclass">.dsit-yuqi</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-mulu"></i>
- <div class="name">展开</div>
- <div class="fontclass">.dsit-mulu</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xiangyou"></i>
- <div class="name">向右</div>
- <div class="fontclass">.dsit-xiangyou</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-paizhao"></i>
- <div class="name">C 拍照</div>
- <div class="fontclass">.dsit-paizhao</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-wode2"></i>
- <div class="name">我的</div>
- <div class="fontclass">.dsit-wode2</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-pingfen-copy"></i>
- <div class="name">评分</div>
- <div class="fontclass">.dsit-pingfen-copy</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-changjianwenti"></i>
- <div class="name">常见问题 (1)</div>
- <div class="fontclass">.dsit-changjianwenti</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-xinjian1"></i>
- <div class="name">新建 (1)</div>
- <div class="fontclass">.dsit-xinjian1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shouye-fuwuzhinan"></i>
- <div class="name">首页-服务指南</div>
- <div class="fontclass">.dsit-shouye-fuwuzhinan</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-gonggaotianchong"></i>
- <div class="name">公告填充</div>
- <div class="fontclass">.dsit-gonggaotianchong</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-baoxiuliebiao"></i>
- <div class="name">报修列表</div>
- <div class="fontclass">.dsit-baoxiuliebiao</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-shouji"></i>
- <div class="name">手机</div>
- <div class="fontclass">.dsit-shouji</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-changjianwenti1"></i>
- <div class="name">常见问题</div>
- <div class="fontclass">.dsit-changjianwenti1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-ic"></i>
- <div class="name">首页</div>
- <div class="fontclass">.dsit-ic</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon_liucheng"></i>
- <div class="name">icon_liucheng</div>
- <div class="fontclass">.dsit-icon_liucheng</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon_zhengzaijinx"></i>
- <div class="name">icon_zhengzaijinx</div>
- <div class="fontclass">.dsit-icon_zhengzaijinx</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon_weizuo"></i>
- <div class="name">icon_weizuo</div>
- <div class="fontclass">.dsit-icon_weizuo</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test"></i>
- <div class="name">8</div>
- <div class="fontclass">.dsit-icon-test</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test1"></i>
- <div class="name">9</div>
- <div class="fontclass">.dsit-icon-test1</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test2"></i>
- <div class="name">7</div>
- <div class="fontclass">.dsit-icon-test2</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test3"></i>
- <div class="name">8</div>
- <div class="fontclass">.dsit-icon-test3</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test4"></i>
- <div class="name">4</div>
- <div class="fontclass">.dsit-icon-test4</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test5"></i>
- <div class="name">6</div>
- <div class="fontclass">.dsit-icon-test5</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test6"></i>
- <div class="name">5</div>
- <div class="fontclass">.dsit-icon-test6</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test7"></i>
- <div class="name">2</div>
- <div class="fontclass">.dsit-icon-test7</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test8"></i>
- <div class="name">3</div>
- <div class="fontclass">.dsit-icon-test8</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-Shape"></i>
- <div class="name">Shape</div>
- <div class="fontclass">.dsit-Shape</div>
- </li>
-
- <li>
- <i class="icon iconfont dsit-icon-test9"></i>
- <div class="name">10</div>
- <div class="fontclass">.dsit-icon-test9</div>
- </li>
-
- </ul>
- <h2 id="font-class-">font-class引用</h2>
- <hr>
- <p>font-class是unicode使用方式的一种变种,主要是解决unicode书写不直观,语意不明确的问题。</p>
- <p>与unicode使用方式相比,具有如下特点:</p>
- <ul>
- <li>兼容性良好,支持ie8+,及所有现代浏览器。</li>
- <li>相比于unicode语意明确,书写更直观。可以很容易分辨这个icon是什么。</li>
- <li>因为使用class来定义图标,所以当要替换图标时,只需要修改class里面的unicode引用。</li>
- <li>不过因为本质上还是使用的字体,所以多色图标还是不支持的。</li>
- </ul>
- <p>使用步骤如下:</p>
- <h3 id="-fontclass-">第一步:引入项目下面生成的fontclass代码:</h3>
- <pre><code class="lang-js hljs javascript"><span class="hljs-comment"><link rel="stylesheet" type="text/css" href="./iconfont.css"></span></code></pre>
- <h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
- <pre><code class="lang-css hljs"><<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">dsit-xxx</span>"></<span class="hljs-selector-tag">i</span>></code></pre>
- <blockquote>
- <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。</p>
- </blockquote>
- </div>
- </body>
- </html>
|