iconfont.js 3.9 KB

1
  1. !function(d){var e,n='<svg><symbol id="icon-sousuo" viewBox="0 0 1024 1024"><path d="M994.795776 930.556601l-11.677429-11.682755L741.717796 661.901171c54.509759-70.081883 89.550035-155.741217 89.550035-253.075317C831.267831 182.996096 648.273066 0 422.449965 0 192.732169 3.896027 13.626774 186.892123 13.626774 408.824523c0 221.925742 182.996096 408.816534 408.823191 408.816534 85.654008 0 167.417314-27.254879 233.608497-73.97791l245.296578 260.868702c0 0 0 3.890701 3.890701 3.890701 11.681423 11.682755 23.364178 15.577451 42.83233 15.577451 35.040276 0 62.295155-27.253548 62.295155-62.300481C1006.477199 953.915454 1002.586498 942.232699 994.795776 930.556601L994.795776 930.556601zM418.553938 728.091022c-175.209368 0-319.273157-144.062457-319.273157-319.273157 0-175.209368 144.063788-319.269162 319.273157-319.269162 175.209368 0 319.269162 144.059794 319.269162 319.269162C737.8231 584.028565 593.763307 728.091022 418.553938 728.091022L418.553938 728.091022zM418.553938 728.091022" ></path></symbol><symbol id="icon-tupian" viewBox="0 0 1024 1024"><path d="M917.333333 64H106.666667C46.933333 64 0 110.933333 0 170.666667v682.666666c0 59.733333 46.933333 106.666667 106.666667 106.666667h810.666666c59.733333 0 106.666667-46.933333 106.666667-106.666667V170.666667c0-59.733333-46.933333-106.666667-106.666667-106.666667zM106.666667 106.666667h810.666666c36.266667 0 64 27.733333 64 64v373.333333c-164.266667 4.266667-260.266667 46.933333-369.066666 110.933333C437.333333 439.466667 236.8 403.2 42.666667 401.066667V170.666667c0-36.266667 27.733333-64 64-64z m810.666666 810.666666H106.666667c-36.266667 0-64-27.733333-64-64V443.733333c174.933333 2.133333 373.333333 27.733333 548.266666 251.733334 4.266667 6.4 10.666667 8.533333 17.066667 8.533333 4.266667 0 6.4 0 10.666667-2.133333 108.8-64 200.533333-110.933333 362.666666-113.066667V853.333333c0 36.266667-27.733333 64-64 64z" fill="#333333" ></path><path d="M746.666667 426.666667c46.933333 0 85.333333-38.4 85.333333-85.333334s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333334 85.333333 38.4 85.333333 85.333334 85.333334z m0-128c23.466667 0 42.666667 19.2 42.666666 42.666666s-19.2 42.666667-42.666666 42.666667-42.666667-19.2-42.666667-42.666667 19.2-42.666667 42.666667-42.666666z" fill="#333333" ></path></symbol><symbol id="icon-fanhui" viewBox="0 0 1024 1024"><path d="M766.862 1021.724c-10.24 0-20.594-3.64-28.444-10.922L228.693 538.396c-15.701-14.563-15.701-38.229 0-52.792L738.418 13.198c15.701-14.563 41.187-14.563 56.889 0 15.701 14.564 15.701 38.23 0 52.793L314.027 512l481.28 446.009c15.701 14.563 15.701 38.23 0 52.793-7.851 7.282-18.205 10.922-28.445 10.922z" fill="#333333" ></path></symbol></svg>',t=(e=document.getElementsByTagName("script"))[e.length-1].getAttribute("data-injectcss");if(t&&!d.__iconfont__svg__cssinject__){d.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}!function(e){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(e,0);else{var t=function(){document.removeEventListener("DOMContentLoaded",t,!1),e()};document.addEventListener("DOMContentLoaded",t,!1)}else document.attachEvent&&(o=e,i=d.document,c=!1,(l=function(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(l,50)}n()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,n())});function n(){c||(c=!0,o())}var o,i,c,l}(function(){var e,t;(e=document.createElement("div")).innerHTML=n,n=null,(t=e.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",function(e,t){t.firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(e,t.firstChild):t.appendChild(e)}(t,document.body))})}(window);