iconfont2.js 2.3 KB

1
  1. window._iconfont_svg_string_='<svg><symbol id="icon-xuexiaoguanli" viewBox="0 0 1024 1024"><path d="M316.359111 276.48c20.195556 0 36.579556 16.327111 36.636445 36.522667v340.878222l-0.056889 158.037333a38.286222 38.286222 0 0 1-38.286223 38.286222H208.952889A38.229333 38.229333 0 0 1 170.666667 811.918222v-498.915555c0-20.138667 16.327111-36.522667 36.579555-36.522667zM823.751111 170.666667c16.327111 0 29.582222 13.255111 29.639111 29.582222v621.966222a29.582222 29.582222 0 0 1-29.582222 29.582222H435.370667a29.582222 29.582222 0 0 1-29.582223-29.582222V200.248889l0.341334-4.664889a31.857778 31.857778 0 0 1 3.299555-9.614222 27.306667 27.306667 0 0 1 5.006223-6.656l-2.446223 2.787555a29.752889 29.752889 0 0 1 1.479111-1.820444l0.967112-0.967111a29.582222 29.582222 0 0 1 10.581333-6.826667l1.080889-0.341333A29.582222 29.582222 0 0 1 435.427556 170.666667z m-86.414222 490.894222H517.12v74.979555h220.16v-74.979555z m0-191.715556H517.12v74.922667h220.16V469.788444z m0-191.829333H517.12v74.979556h220.16V278.016z" fill="#B2B6BA" ></path></symbol></svg>',function(n){var t=(t=document.getElementsByTagName("script"))[t.length-1],e=t.getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var i,o,a,c,d,l=function(t,e){e.parentNode.insertBefore(t,e)};if(e&&!n.__iconfont__svg__cssinject__){n.__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(t){console&&console.log(t)}}i=function(){var t,e=document.createElement("div");e.innerHTML=n._iconfont_svg_string_,(e=e.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",e=e,(t=document.body).firstChild?l(e,t.firstChild):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),i()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(a=i,c=n.document,d=!1,r(),c.onreadystatechange=function(){"complete"==c.readyState&&(c.onreadystatechange=null,s())})}function s(){d||(d=!0,a())}function r(){try{c.documentElement.doScroll("left")}catch(t){return void setTimeout(r,50)}s()}}(window);