cocos-enhance-kit/assets/js/1df93b7f.40903ca8.js

1 line
5.0 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3237],{61570:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var l=n(67294),a=n(72389);function r(e){var t=e.children,n=e.fallback;return(0,a.Z)()?l.createElement(l.Fragment,null,null==t?void 0:t()):null!=n?n:null}var c=n(39960),i=n(44996),o=n(52263),s=n(87462),m=n(86010),u="features_t9lD",h=[{title:"\u589e\u5f3a\u7279\u6027",description:l.createElement(l.Fragment,null,"\u65b0\u589e\u6587\u672c\u9ad8 DPI \u6e32\u67d3\u3001Spine \u6362\u88c5\u7b49\u5b9e\u7528\u7279\u6027\uff0c\u8ba9\u4f60\u7684\u6e38\u620f\u5f00\u53d1\u66f4\u52a0\u7701\u65f6\u7701\u529b\u7701\u5fc3\u3002")},{title:"\u6027\u80fd\u63d0\u5347",description:l.createElement(l.Fragment,null,"\u591a\u7eb9\u7406\u6e32\u67d3\u3001\u52a8\u6001\u5408\u56fe\u3001Label \u589e\u5f3a\u7b49\u4f17\u591a\u4f18\u5316\u8ba9\u4f60\u7684\u6e38\u620f\u6027\u80fd\u5f97\u5230\u6210\u500d\u7684\u63d0\u5347\uff01")},{title:"\u5f00\u7bb1\u5373\u7528",description:l.createElement(l.Fragment,null,"\u672c\u9879\u76ee\u4ee3\u7801\u5b8c\u5168\u5f00\u6e90\uff0c\u5305\u62ec\u5bf9\u539f\u751f\u5f15\u64ce\u3001JavaScript \u5f15\u64ce\u7684\u6539\u52a8\u90fd\u9644\u6709\u8be6\u7ec6\u7684\u4f7f\u7528\u6587\u6863\u3002")},{title:"\u539f\u751f\u4f53\u9a8c",description:l.createElement(l.Fragment,null,"\u6240\u6709\u7279\u6027\u90fd\u901a\u8fc7\u81ea\u5b9a\u4e49\u5f15\u64ce\u5b9e\u73b0\uff0c\u8fd9\u79cd\u6df1\u5ea6\u6574\u5408\u80fd\u5e26\u6765\u524d\u6240\u672a\u6709\u7684 \u201c\u539f\u751f\u201d \u4f7f\u7528\u4f53\u9a8c\u3002")}];function d(e){var t=e.title,n=(e.Svg,e.description);return l.createElement("div",{className:(0,m.Z)("col col--3")},l.createElement("div",{className:"text--center padding-horiz--md"},l.createElement("h3",null,t),l.createElement("p",null,n)))}function g(){return l.createElement("section",{className:u},l.createElement("div",{className:"container"},l.createElement("div",{className:"row"},h.map((function(e,t){return l.createElement(d,(0,s.Z)({key:t},e))})))))}var E=n(48476),p="heroBanner_qdFl",b="buttons_AeoN";function v(){var e=(0,o.Z)().siteConfig;return l.createElement("header",{className:(0,m.Z)("hero",p),style:{height:"70vh"}},l.createElement("div",{className:"container"},l.createElement("div",{class:"row",style:{justifyContent:"center"}},l.createElement("img",{src:(0,i.Z)("/img/logo.png"),alt:"logo",style:{height:"400px"}})),l.createElement("div",{class:"row",style:{justifyContent:"center"}},l.createElement("p",{className:"hero__subtitle",style:{fontSize:"18px"}},e.tagline)),l.createElement("div",{class:"row",style:{justifyContent:"center"}},l.createElement("div",{className:b},l.createElement(c.Z,{className:"button button--primary button--lg",to:"/docs/intro",style:{marginRight:20}},"\u5f00\u59cb\u4f7f\u7528"),l.createElement(r,null,(function(){return l.createElement(c.Z,{className:"button button--outline button--primary button--lg",href:window.innerWidth>768?"https://smallmain.github.io/cocos-enhance-kit/demo/v1.0.0/web-desktop/index.html":"https://smallmain.github.io/cocos-enhance-kit/demo/v1.0.0/web-mobile/index.html",style:{marginRight:20}},"\u67e5\u770b\u6f14\u793a")})),l.createElement(c.Z,{className:"button button--secondary button--lg",href:"https://github.com/smallmain/cocos-enhance-kit"},l.createElement("svg",{style:{marginRight:8,marginBottom:-4},stroke:"currentColor",fill:"currentColor","stroke-width":"0",viewBox:"0 0 496 512",className:"GithubIcon_3htU",height:"1.2em",width:"1.2em",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-