-
Notifications
You must be signed in to change notification settings - Fork 0
/
svg.js
1 lines (1 loc) · 9.1 KB
/
svg.js
1
(function(window){var svgSprite='<svg><symbol id="i-error" viewBox="0 0 1024 1024"><path d="M512 85.333333c-235.52 0-426.666667 190.933333-426.666667 426.666667s191.146667 426.666667 426.666667 426.666667 426.666667-190.933333 426.666667-426.666667-191.146667-426.666667-426.666667-426.666667zM554.666667 725.333333l-85.333333 0 0-85.333333 85.333333 0 0 85.333333zM554.666667 554.666667l-85.333333 0 0-256 85.333333 0 0 256z" ></path></symbol><symbol id="i-loading" viewBox="0 0 1024 1024"><path d="M626.34496 121.8304c0 53.15072-43.07968 96.2304-96.2304 96.2304-53.1456 0-96.2304-43.07968-96.2304-96.2304C433.88928 68.67968 476.96896 25.6 530.11456 25.6c53.1456 0 96.2304 43.0848 96.2304 96.2304zM530.11456 833.9968c-46.50496 0-84.1984 37.69856-84.1984 84.1984s37.69856 84.1984 84.1984 84.1984 84.1984-37.69856 84.1984-84.1984-37.69344-84.1984-84.1984-84.1984z m398.18752-253.83936c-33.21856 0-60.14464-26.92096-60.14464-60.14464 0-33.21856 26.92608-60.14464 60.14464-60.14464 33.22368 0 60.14464 26.92608 60.14464 60.14464-0.00512 33.21856-26.9312 60.14464-60.14464 60.14464zM228.15744 520.0128c0-53.1456-43.07968-96.2304-96.2304-96.2304-53.1456 0-96.2304 43.07968-96.2304 96.2304 0 53.1456 43.07968 96.2304 96.2304 96.2304 53.15072 0 96.2304-43.0848 96.2304-96.2304z m88.448-349.59872c37.5808 37.5808 37.5808 98.5088 0 136.08448-37.5808 37.5808-98.5088 37.5808-136.0896 0s-37.5808-98.5088 0-136.0896 98.5088-37.5808 136.0896 0.00512z m444.03712 580.12672c-28.1856 28.1856-28.1856 73.8816-0.00512 102.0672 28.1856 28.1856 73.8816 28.1856 102.0672 0 28.1856-28.1856 28.1856-73.8816 0-102.0672-28.18048-28.19072-73.87648-28.19072-102.06208 0z m85.05856-478.06464c-18.7904 18.7904-49.25952 18.7904-68.03968 0-18.79552-18.79552-18.79552-49.25952 0-68.0448a48.09728 48.09728 0 0 1 68.03968 0c18.7904 18.7904 18.7904 49.25952 0 68.0448zM316.60544 733.52704c-37.5808-37.5808-98.5088-37.5808-136.0896 0s-37.5808 98.5088 0 136.08448c37.5808 37.5808 98.5088 37.5808 136.08448 0 37.5808-37.57568 37.5808-98.50368 0.00512-136.08448z" fill="#272536" ></path></symbol><symbol id="i-zuo" viewBox="0 0 1024 1024"><path d="M743.023 955.358c9.028 0 18.056-2.904 24.948-8.712 13.783-11.605 13.783-30.43 0-42.046L321.354 528.232c-15.128-12.748-15.128-33.5 0-46.248L753.762 117.6c13.783-11.605 13.783-30.44 0-42.046-13.783-11.616-36.112-11.616-49.896 0L271.458 439.938c-42.649 35.93-42.649 94.411 0 130.34l446.616 376.368c6.892 5.808 15.921 8.712 24.949 8.712z" ></path></symbol><symbol id="i-you" viewBox="0 0 1024 1024"><path d="M295.310513 1024a39.383767 39.383767 0 0 1-27.883707-67.188707L712.227072 512.011027 267.505574 67.289529a39.383767 39.383767 0 1 1 55.688646-55.767414l472.605206 472.605205a39.383767 39.383767 0 0 1 0 55.688647l-472.605206 472.605205a39.383767 39.383767 0 0 1-27.883707 11.578828z" ></path></symbol><symbol id="i-setting" viewBox="0 0 1024 1024"><path d="M961.8 439.6l-3.8-24-73.3-24.5c-6.4-19.8-14.4-39.2-23.9-57.7l34.6-69.1-14.2-19.8c-28.8-39.3-63.2-73.7-102.3-102.1l-19.7-14.2-69.1 34.6c-18.6-9.5-37.9-17.5-57.7-23.9L608 65.8l-23.8-3.7c-26.5-4.2-49.4-6.2-72.2-6.2-22.2 0-45.2 2-72.3 6.3l-24 3.8-24.4 73.4c-20.2 6.6-39.6 14.6-57.7 23.8l-69-34.7-19.7 14.2c-39.2 28.4-73.6 62.7-102.2 102.1l-14.2 19.8 34.6 69.1c-9.4 18.5-17.4 37.8-23.8 57.6L66 415.6l-3.8 24C58 466.1 56 489.7 56 512c0 22.4 2 46 6.2 72.3l3.8 24 73.3 24.5c6.4 19.8 14.4 39.2 23.9 57.7l-34.4 68.9L143 779c14.8 20.6 30.1 38.7 46.7 55.4 15.5 15.6 33.6 30.9 55.3 46.8l19.7 14.2 69-34.6c18.6 9.5 37.9 17.6 57.7 23.9l24.4 73.4 24 3.8c26.3 4.2 49.9 6.2 72.2 6.2 22.3 0 45.9-2 72.3-6.2l24-3.8 24.4-73.4c19.6-6.4 38.9-14.4 57.6-23.8l69.1 34.6 19.7-14.2c21.5-15.5 39.6-30.8 55.3-46.8 16.3-16.3 31.5-34.5 46.7-55.4l14.2-19.8-34.6-69.1c9.5-18.5 17.5-37.8 23.9-57.7l73.3-24.5 3.8-24c4.2-26.3 6.2-49.9 6.2-72.2 0.3-22.1-1.7-45.8-6.1-72.2z m-65.5 71.6v0.5c0 13.5-0.9 27.2-2.6 41.9l-35.4 11.8L827 576l-9.7 31.5c-5.5 18.2-12.8 35.9-21.7 52.7l-15.4 29.1 31.4 62.7c-9.2 11.6-18.3 21.9-27.8 31.4l-0.2 0.2c-9.3 9.4-19.6 18.5-31.2 27.6l-62.5-31.3-29 15.1c-17.1 8.9-35.1 16.3-53.4 22.1l-31.3 9.8-10.2 31-11.8 35.4c-14.6 1.8-28.4 2.6-41.9 2.6-13.4 0-27.2-0.9-41.9-2.6l-11.8-35.4-10.3-31.3-31.5-9.7c-18.6-5.7-36.3-13-52.7-21.7L334.9 780l-29.5 14.7-33.3 16.6c-11.6-9.2-21.9-18.3-31.4-27.8-9.7-9.7-18.8-20-27.8-31.4l31.2-62.5-15.2-29c-9.1-17.4-16.5-35.2-21.9-53l-9.7-31.5-66.6-22.1c-1.8-14.6-2.6-28.4-2.6-41.9s0.9-27.2 2.6-41.9l66.4-22.1 9.7-31.4c5.6-18.1 13-36 21.9-53.2l15.2-29-14.6-29.3-16.6-33.3c17.5-21.8 37.4-41.7 59.2-59.2l62.6 31.3 29.1-15.3c16.8-8.8 34.7-16.2 53.2-22l31.3-9.8 10.4-31.1 11.8-35.4c15.1-1.7 28.8-2.6 41.8-2.6 13.4 0 27.2 0.9 41.8 2.6l22.2 66.3 31.3 9.7c18.2 5.7 36.1 13.1 53.2 21.9l29 15.2 62.5-31.3c21.8 17.5 41.8 37.4 59.5 59.3L780.4 334l15 28.9c8.9 17.2 16.4 35.2 22.1 53.5l9.8 31.3 31.1 10.4 35.4 11.8c1.9 15 2.7 28.5 2.5 41.3zM512.2 337.7c-96.1 0-174.3 78.2-174.3 174.3 0 96.1 78.2 174.3 174.3 174.3 96.1 0 174.3-78.2 174.3-174.3 0-96.1-78.2-174.3-174.3-174.3z m72.3 246.6c-19.3 19.3-45 30-72.3 30-27.3 0-53-10.6-72.3-30-19.3-19.3-30-45-30-72.3 0-27.3 10.6-53 30-72.3 19.3-19.3 45-30 72.3-30s53 10.6 72.3 30 30 45 30 72.3-10.7 53-30 72.3z" ></path></symbol><symbol id="i-dianzan" viewBox="0 0 1024 1024"><path d="M859.2 406.4H616c-1.6 0-3.2-1.6-3.2-4.8l43.2-152c8-28.8 4.8-59.2-9.6-84.8S608 118.4 579.2 110.4c-28.8-8-59.2-4.8-84.8 9.6s-44.8 38.4-52.8 67.2l-22.4 78.4c-24 81.6-99.2 139.2-184 139.2h-68.8c-52.8 0-96 43.2-96 96v320c0 52.8 43.2 96 96 96h612.8c44.8 0 83.2-30.4 92.8-72l80-320c1.6-8 3.2-16 3.2-24 0-52.8-43.2-94.4-96-94.4z m-694.4 448c-17.6 0-32-14.4-32-32v-320c0-17.6 14.4-32 32-32h80v384h-80z m724.8-345.6l-80 320c-3.2 14.4-16 24-30.4 24H308.8V457.6c80-25.6 145.6-89.6 169.6-174.4l22.4-78.4c3.2-12.8 11.2-22.4 22.4-28.8 11.2-6.4 24-8 36.8-4.8 12.8 3.2 22.4 11.2 28.8 22.4 6.4 11.2 8 24 4.8 36.8L550.4 384c-1.6 6.4-3.2 12.8-3.2 19.2 0 36.8 30.4 67.2 67.2 67.2h243.2c17.6 0 32 14.4 32 32 1.6 1.6 0 4.8 0 6.4z" ></path></symbol><symbol id="i-xia" viewBox="0 0 1024 1024"><path d="M511.99011254 141.21142578c10.23376465 0 18.95471191 3.60900903 26.2122798 10.81713891 7.25262451 7.20812988 10.86657691 15.96862769 10.86657763 26.2666626v577.89129615l196.1619873-196.43884254c7.099365-7.00543237 15.90435815-10.61444068 26.34082031-10.61444139 10.61938477 0 19.43426538 3.50518822 26.51385474 10.51062059 7.04498291 7.10430908 10.54522705 15.96862769 10.54522706 26.57318092 0 10.40679908-3.54473877 19.16235352-10.69354248 26.37542748l-259.55694604 259.48278761C531.23156714 879.28833008 522.44635033 882.78857422 512.00988746 882.78857422c-10.45623779 0-19.24145531-3.50024414-26.3704834-10.71331811l-259.55200195-259.48278761C218.94848656 605.37939453 215.36914062 596.62384009 215.36914062 586.21704102c0-10.60949731 3.52496314-19.46887183 10.56994606-26.57318092C232.99395776 552.63842773 241.82861328 549.12829614 252.44799805 549.12829614c10.42163062 0 19.2167356 3.60900903 26.36553931 10.61444068l196.1125493 196.43884253V178.29522729c0-10.30297828 3.60900903-19.05853271 10.88635255-26.2666626C493.05517555 144.81549073 501.80084252 141.21142578 512.02966309 141.21142578h-0.03955055z" ></path></symbol><symbol id="i-xiazai" viewBox="0 0 1024 1024"><path d="M768 352a224 224 0 0 1 0 448h-32a32 32 0 0 1 0-64h32a160 160 0 0 0 0-320 147.2 147.2 0 0 0-27.84 2.56 32 32 0 0 1-38.08-27.52 192 192 0 0 0-380.16 0 32 32 0 0 1-38.08 27.52A147.2 147.2 0 0 0 256 416a160 160 0 0 0 0 320h32a32 32 0 0 1 0 64h-32a224 224 0 0 1 0-448h8.32a256 256 0 0 1 495.36 0z" ></path><path d="M480 608a32 32 0 0 1 64 0v288a32 32 0 0 1-64 0z" ></path><path d="M600 746.88a32 32 0 0 1 48 42.24l-112 128a32 32 0 0 1-48 0l-112-128a32 32 0 1 1 48-42.24l88 100.48z" ></path></symbol></svg>';var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;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)}}ready(appendSvg)})(window)