@zat-design/sisyphus-mobile-cli
Version:
移动端H5+小程序脚手架
45 lines (44 loc) • 7.72 kB
JavaScript
"use strict";
window._iconfont_svg_string_4338308 = '<svg><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M608 768c-17.696 0-32-14.304-32-32L576 384c0-17.696 14.304-32 32-32s32 14.304 32 32l0 352C640 753.696 625.696 768 608 768zM416 768c-17.696 0-32-14.304-32-32L384 384c0-17.696 14.304-32 32-32s32 14.304 32 32l0 352C448 753.696 433.696 768 416 768zM928 224l-160 0L768 160c0-52.928-42.72-96-95.264-96L352 64C299.072 64 256 107.072 256 160l0 64L96 224C78.304 224 64 238.304 64 256s14.304 32 32 32l832 0c17.696 0 32-14.304 32-32S945.696 224 928 224zM320 160c0-17.632 14.368-32 32-32l320.736 0C690.272 128 704 142.048 704 160l0 64L320 224 320 160zM736.128 960 288.064 960c-52.928 0-96-43.072-96-96L192.064 383.52c0-17.664 14.336-32 32-32s32 14.336 32 32L256.064 864c0 17.664 14.368 32 32 32l448.064 0c17.664 0 32-14.336 32-32L768.128 384.832c0-17.664 14.304-32 32-32s32 14.336 32 32L832.128 864C832.128 916.928 789.056 960 736.128 960z" fill="#616161" ></path></symbol><symbol id="icon-kefu" viewBox="0 0 1024 1024"><path d="M846.64217111 559.13269964v-23.56634913c2.35663547-103.69193974-28.27962006-193.24407085-89.55213109-254.51658052-28.27962006-30.63625552-63.62914512-51.84597056-106.0485752-68.34241604-7.06990501-56.55924012-68.34241467-101.33530566-141.39810029-101.33530428-75.41231969 0-136.68483073 44.77606555-141.39810027 101.33530428-40.06279462 16.49644549-75.41231969 37.70616053-106.04857521 68.34241604-61.27250965 61.27250965-91.90876518 150.82464075-89.55212972 254.51658052v28.27962005c-16.49644549 16.49644549-28.27962006 40.06279462-18.85307958 73.05568421 7.06990501 25.92298459 25.92298459 44.77606555 47.13269963 51.84597057 11.78317456 7.06990501 25.92298459 11.78317456 40.06279463 11.78317457 28.27962006 127.25829025 134.32819526 212.09715042 271.01302599 212.09715042s242.73340593-87.19549563 271.01302599-212.09715042h2.3566341c18.85307957 0 35.34952507-7.06990501 47.13270101-16.4964441 16.49644549-9.42654048 30.63625552-25.92298459 35.34952508-47.13270104 11.78317456-37.70616053-2.35663547-63.62914512-21.20971507-77.76895513z m-457.18719182-153.18127484c2.35663547 4.71326955 54.20260465 89.55212972 153.18127623 127.25829024 28.27962006 9.42654048 54.20260465 16.49644549 82.48222469 21.20971504 54.20260465 11.78317456 106.0485752 21.20971504 139.04146482 68.34241468l2.35663547 2.35663545v2.35663548c0 16.49644549-2.35663547 32.99288962-4.71326955 49.4893351-44.77606555 70.69905013-120.18838525 117.83174977-212.09715042 129.61492434-7.06990501-9.42654048-21.20971504-14.13981003-37.70616053-14.13981003-23.56635051 0-42.41943008 11.78317456-42.41943008 28.27962004s18.85307957 28.27962006 42.41943008 28.27962007c21.20971504 0 37.70616053-9.42654048 40.06279462-23.56634912 30.63625552-2.35663547 58.91587557-9.42654048 84.83886015-21.20971506 37.70616053-14.13981003 70.69905013-37.70616053 98.97867022-65.98578058 4.71326955-4.71326955 9.42654048-9.42654048 11.78317594-14.13981003-32.99288962 101.33530566-122.54502071 167.32108487-238.0201364 167.32108487-148.4680053 0-254.5165805-106.0485752-254.51658051-259.22985004v-14.13981005c0-7.06990501 0-23.56635051 2.35663548-40.0627946 82.4822247-28.27962006 115.47511569-110.76184476 115.47511568-115.47511569l16.49644411-56.55924011z m54.20260604 233.30686545c0 25.92298459-21.20971504 47.13269964-47.13270102 47.13269963s-47.13269964-21.20971504-47.13269963-47.13269963 21.20971504-47.13269964 47.13269963-47.13269963 47.13269964 21.20971504 47.13270102 47.13269963z m223.88032497 0c0 25.92298459-21.20971504 47.13269964-47.13269963 47.13269963s-47.13269964-21.20971504-47.13270102-47.13269963 21.20971504-47.13269964 47.13270102-47.13269963 47.13269964 21.20971504 47.13269963 47.13269963z m0 0" fill="#1296db" ></path><path d="M512 0C228.693333 0 0 228.693333 0 512s228.693333 512 512 512 512-228.693333 512-512S795.306667 0 512 0z m0 1006.933333C238.933333 1006.933333 17.066667 785.066667 17.066667 512S238.933333 17.066667 512 17.066667s494.933333 221.866667 494.933333 494.933333-221.866667 494.933333-494.933333 494.933333z" fill="#1296db" ></path></symbol><symbol id="icon-close" viewBox="0 0 1024 1024"><path d="M962 892.85000029L581.3 512 962 131.14999971 892.85000029 62 512 442.7 131.14999971 62 62 131.14999971 442.7 512 62 892.85000029 131.14999971 962 512 581.3 892.85000029 962z" fill="#BCBCBC" ></path></symbol><symbol id="icon-_arrow-right" viewBox="0 0 1024 1024"><path d="M279.630769 1024c-19.692308 0-43.323077-7.876923-59.076923-23.630769-31.507692-31.507692-27.569231-82.707692 3.938462-110.276923L630.153846 512 224.492308 137.846154c-31.507692-31.507692-35.446154-78.769231-3.938462-110.276923 31.507692-31.507692 78.769231-35.446154 110.276923-3.938462l464.738462 433.230769c15.753846 15.753846 23.630769 35.446154 23.630769 59.076924s-7.876923 43.323077-23.630769 59.076923l-464.738462 433.230769c-11.815385 7.876923-31.507692 15.753846-51.2 15.753846z" fill="#DDDDDD" ></path></symbol><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M873.6 842.9L716 685.4c28-29.2 50.2-62.9 66-100.1 17.3-40.8 26-84.1 26-128.7s-8.7-87.9-26-128.7c-16.7-39.4-40.5-74.7-70.9-105.1s-65.7-54.2-105.1-70.9c-40.8-17.3-84.1-26-128.7-26s-87.9 8.7-128.7 26c-39.4 16.7-74.7 40.5-105.1 70.9s-54.2 65.7-70.9 105.1c-17.3 40.8-26 84.1-26 128.7s8.7 87.9 26 128.7c16.7 39.4 40.5 74.7 70.9 105.1s65.7 54.2 105.1 70.9c40.8 17.3 84.1 26 128.7 26s87.9-8.7 128.7-26c21.7-9.2 42.2-20.6 61.4-34.1l161 161c12.4 12.4 32.8 12.4 45.2 0 12.4-12.5 12.4-32.8 0-45.3zM477.3 723.2c-71.2 0-138.2-27.7-188.6-78.1-50.4-50.4-78.1-117.3-78.1-188.6s27.7-138.2 78.1-188.6c50.4-50.4 117.3-78.1 188.6-78.1 71.2 0 138.2 27.7 188.6 78.1 50.4 50.4 78.1 117.3 78.1 188.6s-27.7 138.2-78.1 188.6c-50.4 50.4-117.4 78.1-188.6 78.1z" ></path></symbol><symbol id="icon-arrow-right" viewBox="0 0 1024 1024"><path d="M306.2 64c-9.2 0-18.5 3.6-25.7 10.8a36.576 36.576 0 0 0 0 51.9L665.9 512 280.6 897.3a36.576 36.576 0 0 0 0 51.9c14.4 14.4 37.5 14.4 51.9 0l411-411c14.4-14.4 14.4-37.5 0-51.9l-411-411c-7.8-7.2-17-11.3-26.3-11.3z" ></path></symbol></svg>', function (c) {
var t = (t = document.getElementsByTagName("script"))[t.length - 1],
e = t.getAttribute("data-injectcss"),
t = t.getAttribute("data-disable-injectsvg");
if (!t) {
var o,
n,
i,
s,
l,
d = function (t, e) {
e.parentNode.insertBefore(t, e);
};
if (e && !c.__iconfont__svg__cssinject__) {
c.__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);
}
}
o = function () {
var t,
e = document.createElement("div");
e.innerHTML = c._iconfont_svg_string_4338308, (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 ? d(e, t.firstChild) : t.appendChild(e));
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (n = function () {
document.removeEventListener("DOMContentLoaded", n, !1), o();
}, document.addEventListener("DOMContentLoaded", n, !1)) : document.attachEvent && (i = o, s = c.document, l = !1, r(), s.onreadystatechange = function () {
"complete" == s.readyState && (s.onreadystatechange = null, a());
});
}
function a() {
l || (l = !0, i());
}
function r() {
try {
s.documentElement.doScroll("left");
} catch (t) {
return void setTimeout(r, 50);
}
a();
}
}(window);