sso

demo_fontclass.html 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>IconFont</title>
  6. <link rel="stylesheet" href="demo.css">
  7. <link rel="stylesheet" href="iconfont.css">
  8. </head>
  9. <body>
  10. <div class="main markdown">
  11. <h1>IconFont 图标</h1>
  12. <ul class="icon_lists clear">
  13. <li>
  14. <i class="icon iconfont icon-wsmp-payuser"></i>
  15. <div class="name">会员</div>
  16. <div class="fontclass">.icon-wsmp-payuser</div>
  17. </li>
  18. <li>
  19. <i class="icon iconfont icon-jiankangshuidi"></i>
  20. <div class="name">健康 水滴</div>
  21. <div class="fontclass">.icon-jiankangshuidi</div>
  22. </li>
  23. <li>
  24. <i class="icon iconfont icon-iconbaocuo"></i>
  25. <div class="name">报错</div>
  26. <div class="fontclass">.icon-iconbaocuo</div>
  27. </li>
  28. <li>
  29. <i class="icon iconfont icon-morentouxiang"></i>
  30. <div class="name">225默认头像</div>
  31. <div class="fontclass">.icon-morentouxiang</div>
  32. </li>
  33. <li>
  34. <i class="icon iconfont icon-accessory"></i>
  35. <div class="name">accessory</div>
  36. <div class="fontclass">.icon-accessory</div>
  37. </li>
  38. <li>
  39. <i class="icon iconfont icon-add"></i>
  40. <div class="name">add</div>
  41. <div class="fontclass">.icon-add</div>
  42. </li>
  43. <li>
  44. <i class="icon iconfont icon-addition_fill"></i>
  45. <div class="name">addition_fill</div>
  46. <div class="fontclass">.icon-addition_fill</div>
  47. </li>
  48. <li>
  49. <i class="icon iconfont icon-addition"></i>
  50. <div class="name">addition</div>
  51. <div class="fontclass">.icon-addition</div>
  52. </li>
  53. <li>
  54. <i class="icon iconfont icon-addressbook_fill"></i>
  55. <div class="name">addressbook_fill</div>
  56. <div class="fontclass">.icon-addressbook_fill</div>
  57. </li>
  58. <li>
  59. <i class="icon iconfont icon-addressbook"></i>
  60. <div class="name">addressbook</div>
  61. <div class="fontclass">.icon-addressbook</div>
  62. </li>
  63. <li>
  64. <i class="icon iconfont icon-browse_fill"></i>
  65. <div class="name">browse_fill</div>
  66. <div class="fontclass">.icon-browse_fill</div>
  67. </li>
  68. <li>
  69. <i class="icon iconfont icon-brush"></i>
  70. <div class="name">brush</div>
  71. <div class="fontclass">.icon-brush</div>
  72. </li>
  73. <li>
  74. <i class="icon iconfont icon-brush_fill"></i>
  75. <div class="name">brush_fill</div>
  76. <div class="fontclass">.icon-brush_fill</div>
  77. </li>
  78. <li>
  79. <i class="icon iconfont icon-computer_fill"></i>
  80. <div class="name">computer_fill</div>
  81. <div class="fontclass">.icon-computer_fill</div>
  82. </li>
  83. <li>
  84. <i class="icon iconfont icon-computer"></i>
  85. <div class="name">computer</div>
  86. <div class="fontclass">.icon-computer</div>
  87. </li>
  88. <li>
  89. <i class="icon iconfont icon-coordinates_fill"></i>
  90. <div class="name">coordinates_fill</div>
  91. <div class="fontclass">.icon-coordinates_fill</div>
  92. </li>
  93. <li>
  94. <i class="icon iconfont icon-coordinates"></i>
  95. <div class="name">coordinates</div>
  96. <div class="fontclass">.icon-coordinates</div>
  97. </li>
  98. <li>
  99. <i class="icon iconfont icon-coupons_fill"></i>
  100. <div class="name">coupons_fill</div>
  101. <div class="fontclass">.icon-coupons_fill</div>
  102. </li>
  103. <li>
  104. <i class="icon iconfont icon-customerservice_fill"></i>
  105. <div class="name">customerservice_fill</div>
  106. <div class="fontclass">.icon-customerservice_fill</div>
  107. </li>
  108. <li>
  109. <i class="icon iconfont icon-customerservice"></i>
  110. <div class="name">customerservice</div>
  111. <div class="fontclass">.icon-customerservice</div>
  112. </li>
  113. <li>
  114. <i class="icon iconfont icon-document"></i>
  115. <div class="name">document</div>
  116. <div class="fontclass">.icon-document</div>
  117. </li>
  118. <li>
  119. <i class="icon iconfont icon-document_fill"></i>
  120. <div class="name">document_fill</div>
  121. <div class="fontclass">.icon-document_fill</div>
  122. </li>
  123. <li>
  124. <i class="icon iconfont icon-dynamic_fill"></i>
  125. <div class="name">dynamic_fill</div>
  126. <div class="fontclass">.icon-dynamic_fill</div>
  127. </li>
  128. <li>
  129. <i class="icon iconfont icon-editor"></i>
  130. <div class="name">editor</div>
  131. <div class="fontclass">.icon-editor</div>
  132. </li>
  133. <li>
  134. <i class="icon iconfont icon-emoji"></i>
  135. <div class="name">emoji</div>
  136. <div class="fontclass">.icon-emoji</div>
  137. </li>
  138. <li>
  139. <i class="icon iconfont icon-enter"></i>
  140. <div class="name">enter</div>
  141. <div class="fontclass">.icon-enter</div>
  142. </li>
  143. <li>
  144. <i class="icon iconfont icon-flag_fill"></i>
  145. <div class="name">flag_fill</div>
  146. <div class="fontclass">.icon-flag_fill</div>
  147. </li>
  148. <li>
  149. <i class="icon iconfont icon-flag"></i>
  150. <div class="name">flag</div>
  151. <div class="fontclass">.icon-flag</div>
  152. </li>
  153. <li>
  154. <i class="icon iconfont icon-group_fill"></i>
  155. <div class="name">group_fill</div>
  156. <div class="fontclass">.icon-group_fill</div>
  157. </li>
  158. <li>
  159. <i class="icon iconfont icon-headlines_fill"></i>
  160. <div class="name">headlines_fill</div>
  161. <div class="fontclass">.icon-headlines_fill</div>
  162. </li>
  163. <li>
  164. <i class="icon iconfont icon-homepage_fill"></i>
  165. <div class="name">homepage_fill</div>
  166. <div class="fontclass">.icon-homepage_fill</div>
  167. </li>
  168. <li>
  169. <i class="icon iconfont icon-homepage"></i>
  170. <div class="name">homepage</div>
  171. <div class="fontclass">.icon-homepage</div>
  172. </li>
  173. <li>
  174. <i class="icon iconfont icon-interactive_fill"></i>
  175. <div class="name">interactive_fill</div>
  176. <div class="fontclass">.icon-interactive_fill</div>
  177. </li>
  178. <li>
  179. <i class="icon iconfont icon-interactive"></i>
  180. <div class="name">interactive</div>
  181. <div class="fontclass">.icon-interactive</div>
  182. </li>
  183. <li>
  184. <i class="icon iconfont icon-label"></i>
  185. <div class="name">label</div>
  186. <div class="fontclass">.icon-label</div>
  187. </li>
  188. <li>
  189. <i class="icon iconfont icon-like_fill"></i>
  190. <div class="name">like_fill</div>
  191. <div class="fontclass">.icon-like_fill</div>
  192. </li>
  193. <li>
  194. <i class="icon iconfont icon-like"></i>
  195. <div class="name">like</div>
  196. <div class="fontclass">.icon-like</div>
  197. </li>
  198. <li>
  199. <i class="icon iconfont icon-lock"></i>
  200. <div class="name">lock</div>
  201. <div class="fontclass">.icon-lock</div>
  202. </li>
  203. <li>
  204. <i class="icon iconfont icon-mail"></i>
  205. <div class="name">mail</div>
  206. <div class="fontclass">.icon-mail</div>
  207. </li>
  208. <li>
  209. <i class="icon iconfont icon-manage"></i>
  210. <div class="name">manage</div>
  211. <div class="fontclass">.icon-manage</div>
  212. </li>
  213. <li>
  214. <i class="icon iconfont icon-message"></i>
  215. <div class="name">message</div>
  216. <div class="fontclass">.icon-message</div>
  217. </li>
  218. <li>
  219. <i class="icon iconfont icon-mine_fill"></i>
  220. <div class="name">mine_fill</div>
  221. <div class="fontclass">.icon-mine_fill</div>
  222. </li>
  223. <li>
  224. <i class="icon iconfont icon-mobilephone_fill"></i>
  225. <div class="name">mobilephone_fill</div>
  226. <div class="fontclass">.icon-mobilephone_fill</div>
  227. </li>
  228. <li>
  229. <i class="icon iconfont icon-mobilephone"></i>
  230. <div class="name">mobilephone</div>
  231. <div class="fontclass">.icon-mobilephone</div>
  232. </li>
  233. <li>
  234. <i class="icon iconfont icon-offline_fill"></i>
  235. <div class="name">offline_fill</div>
  236. <div class="fontclass">.icon-offline_fill</div>
  237. </li>
  238. <li>
  239. <i class="icon iconfont icon-offline"></i>
  240. <div class="name">offline</div>
  241. <div class="fontclass">.icon-offline</div>
  242. </li>
  243. <li>
  244. <i class="icon iconfont icon-order_fill"></i>
  245. <div class="name">order_fill</div>
  246. <div class="fontclass">.icon-order_fill</div>
  247. </li>
  248. <li>
  249. <i class="icon iconfont icon-other"></i>
  250. <div class="name">other</div>
  251. <div class="fontclass">.icon-other</div>
  252. </li>
  253. <li>
  254. <i class="icon iconfont icon-picture_fill"></i>
  255. <div class="name">picture_fill</div>
  256. <div class="fontclass">.icon-picture_fill</div>
  257. </li>
  258. <li>
  259. <i class="icon iconfont icon-prompt_fill"></i>
  260. <div class="name">prompt_fill</div>
  261. <div class="fontclass">.icon-prompt_fill</div>
  262. </li>
  263. <li>
  264. <i class="icon iconfont icon-qrcode_fill"></i>
  265. <div class="name">qrcode_fill</div>
  266. <div class="fontclass">.icon-qrcode_fill</div>
  267. </li>
  268. <li>
  269. <i class="icon iconfont icon-remind_fill"></i>
  270. <div class="name">remind_fill</div>
  271. <div class="fontclass">.icon-remind_fill</div>
  272. </li>
  273. <li>
  274. <i class="icon iconfont icon-remind"></i>
  275. <div class="name">remind</div>
  276. <div class="fontclass">.icon-remind</div>
  277. </li>
  278. <li>
  279. <i class="icon iconfont icon-return"></i>
  280. <div class="name">return</div>
  281. <div class="fontclass">.icon-return</div>
  282. </li>
  283. <li>
  284. <i class="icon iconfont icon-service_fill"></i>
  285. <div class="name">service_fill</div>
  286. <div class="fontclass">.icon-service_fill</div>
  287. </li>
  288. <li>
  289. <i class="icon iconfont icon-service"></i>
  290. <div class="name">service</div>
  291. <div class="fontclass">.icon-service</div>
  292. </li>
  293. <li>
  294. <i class="icon iconfont icon-setup_fill"></i>
  295. <div class="name">setup_fill</div>
  296. <div class="fontclass">.icon-setup_fill</div>
  297. </li>
  298. <li>
  299. <i class="icon iconfont icon-setup"></i>
  300. <div class="name">setup</div>
  301. <div class="fontclass">.icon-setup</div>
  302. </li>
  303. <li>
  304. <i class="icon iconfont icon-smallscreen"></i>
  305. <div class="name">smallscreen</div>
  306. <div class="fontclass">.icon-smallscreen</div>
  307. </li>
  308. <li>
  309. <i class="icon iconfont icon-success_fill"></i>
  310. <div class="name">success_fill</div>
  311. <div class="fontclass">.icon-success_fill</div>
  312. </li>
  313. <li>
  314. <i class="icon iconfont icon-success"></i>
  315. <div class="name">success</div>
  316. <div class="fontclass">.icon-success</div>
  317. </li>
  318. <li>
  319. <i class="icon iconfont icon-time_fill"></i>
  320. <div class="name">time_fill</div>
  321. <div class="fontclass">.icon-time_fill</div>
  322. </li>
  323. <li>
  324. <i class="icon iconfont icon-trash"></i>
  325. <div class="name">trash</div>
  326. <div class="fontclass">.icon-trash</div>
  327. </li>
  328. <li>
  329. <i class="icon iconfont icon-trash_fill"></i>
  330. <div class="name">trash_fill</div>
  331. <div class="fontclass">.icon-trash_fill</div>
  332. </li>
  333. <li>
  334. <i class="icon iconfont icon-undo"></i>
  335. <div class="name">undo</div>
  336. <div class="fontclass">.icon-undo</div>
  337. </li>
  338. <li>
  339. <i class="icon iconfont icon-workbench_fill"></i>
  340. <div class="name">workbench_fill</div>
  341. <div class="fontclass">.icon-workbench_fill</div>
  342. </li>
  343. <li>
  344. <i class="icon iconfont icon-daoru"></i>
  345. <div class="name">导入</div>
  346. <div class="fontclass">.icon-daoru</div>
  347. </li>
  348. <li>
  349. <i class="icon iconfont icon-search"></i>
  350. <div class="name">search</div>
  351. <div class="fontclass">.icon-search</div>
  352. </li>
  353. <li>
  354. <i class="icon iconfont icon-packup"></i>
  355. <div class="name">packup</div>
  356. <div class="fontclass">.icon-packup</div>
  357. </li>
  358. <li>
  359. <i class="icon iconfont icon-unfold"></i>
  360. <div class="name">unfold</div>
  361. <div class="fontclass">.icon-unfold</div>
  362. </li>
  363. <li>
  364. <i class="icon iconfont icon-wangwang"></i>
  365. <div class="name">wangwang_fill</div>
  366. <div class="fontclass">.icon-wangwang</div>
  367. </li>
  368. <li>
  369. <i class="icon iconfont icon-yanzhengma"></i>
  370. <div class="name">验证码</div>
  371. <div class="fontclass">.icon-yanzhengma</div>
  372. </li>
  373. <li>
  374. <i class="icon iconfont icon-baocuo-chahua"></i>
  375. <div class="name">报错-插画</div>
  376. <div class="fontclass">.icon-baocuo-chahua</div>
  377. </li>
  378. <li>
  379. <i class="icon iconfont icon-pengyou"></i>
  380. <div class="name">朋友</div>
  381. <div class="fontclass">.icon-pengyou</div>
  382. </li>
  383. <li>
  384. <i class="icon iconfont icon-suoyou"></i>
  385. <div class="name">所有</div>
  386. <div class="fontclass">.icon-suoyou</div>
  387. </li>
  388. <li>
  389. <i class="icon iconfont icon-huiyuan"></i>
  390. <div class="name">会员</div>
  391. <div class="fontclass">.icon-huiyuan</div>
  392. </li>
  393. <li>
  394. <i class="icon iconfont icon-huiyuan1"></i>
  395. <div class="name">会员</div>
  396. <div class="fontclass">.icon-huiyuan1</div>
  397. </li>
  398. <li>
  399. <i class="icon iconfont icon-kongyemian"></i>
  400. <div class="name">空页面</div>
  401. <div class="fontclass">.icon-kongyemian</div>
  402. </li>
  403. <li>
  404. <i class="icon iconfont icon-logout"></i>
  405. <div class="name">logout</div>
  406. <div class="fontclass">.icon-logout</div>
  407. </li>
  408. <li>
  409. <i class="icon iconfont icon-cloudupload-o"></i>
  410. <div class="name">cloud upload-o</div>
  411. <div class="fontclass">.icon-cloudupload-o</div>
  412. </li>
  413. </ul>
  414. <h2 id="font-class-">font-class引用</h2>
  415. <hr>
  416. <p>font-class是unicode使用方式的一种变种,主要是解决unicode书写不直观,语意不明确的问题。</p>
  417. <p>与unicode使用方式相比,具有如下特点:</p>
  418. <ul>
  419. <li>兼容性良好,支持ie8+,及所有现代浏览器。</li>
  420. <li>相比于unicode语意明确,书写更直观。可以很容易分辨这个icon是什么。</li>
  421. <li>因为使用class来定义图标,所以当要替换图标时,只需要修改class里面的unicode引用。</li>
  422. <li>不过因为本质上还是使用的字体,所以多色图标还是不支持的。</li>
  423. </ul>
  424. <p>使用步骤如下:</p>
  425. <h3 id="-fontclass-">第一步:引入项目下面生成的fontclass代码:</h3>
  426. <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
  427. <h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
  428. <pre><code class="lang-css hljs">&lt;<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">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
  429. <blockquote>
  430. <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。</p>
  431. </blockquote>
  432. </div>
  433. </body>
  434. </html>