iconfont.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @font-face {
  2. font-family: 'iconfont';
  3. src: url('/assets/iconfont/iconfont.ttf');
  4. }
  5. .iconfont {
  6. font-family: 'iconfont';
  7. }
  8. /*
  9. // 快应用不支持伪类,需要用unicode的方式实现iconfont,对应的Unicode为'&#x' + content中‘\’后的内容
  10. // 例如.icon-search,content中‘\’后的内容为‘e661’,对应的Unicode就是'&#xe661',应用实例为:<text>&#xe661;</text>
  11. // 该项目的iconfont对应的unicode如下:
  12. .icon-search:before {
  13. content: "\e661";
  14. }
  15. .icon-arrow-left:before {
  16. content: "\e606";
  17. }
  18. .icon-user:before {
  19. content: "\e643";
  20. }
  21. .icon-menu:before {
  22. content: "\e60c";
  23. }
  24. .icon-edit:before {
  25. content: "\e641";
  26. }
  27. .icon-message:before {
  28. content: "\e60e";
  29. }
  30. .icon-shelf:before {
  31. content: "\e601";
  32. }
  33. .icon-shelf-line:before {
  34. content: "\e602";
  35. }
  36. .icon-search-book-line:before {
  37. content: "\e603";
  38. }
  39. .icon-search-book:before {
  40. content: "\e604";
  41. }
  42. .icon-refresh:before {
  43. content: "\e607";
  44. }
  45. .icon-order:before {
  46. content: "\e624";
  47. }
  48. .icon-order-reverse:before {
  49. content: "\e6d6";
  50. }
  51. .icon-library:before {
  52. content: "\e67d";
  53. }
  54. .icon-library-line:before {
  55. content: "\e681";
  56. }
  57. .icon-arrow-right:before {
  58. content: "\e6d7";
  59. }
  60. */