Commit f5f9faff authored by wty's avatar wty

修改登录逻辑3

parent 6128e627
{
"files": {
"main.css": "/static/css/main.2cc9c6cc.chunk.css",
"main.js": "/static/js/main.c524e7b0.chunk.js",
"main.js.map": "/static/js/main.c524e7b0.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.4628cb4f.js",
"runtime-main.js.map": "/static/js/runtime-main.4628cb4f.js.map",
"static/css/2.1f1ea42e.chunk.css": "/static/css/2.1f1ea42e.chunk.css",
"static/js/2.3e584191.chunk.js": "/static/js/2.3e584191.chunk.js",
"static/js/2.3e584191.chunk.js.map": "/static/js/2.3e584191.chunk.js.map",
"static/js/3.4971491c.chunk.js": "/static/js/3.4971491c.chunk.js",
"static/js/3.4971491c.chunk.js.map": "/static/js/3.4971491c.chunk.js.map",
"index.html": "/index.html",
"static/css/2.1f1ea42e.chunk.css.map": "/static/css/2.1f1ea42e.chunk.css.map",
"static/css/main.2cc9c6cc.chunk.css.map": "/static/css/main.2cc9c6cc.chunk.css.map",
"static/js/2.3e584191.chunk.js.LICENSE.txt": "/static/js/2.3e584191.chunk.js.LICENSE.txt",
"static/media/dragIcon.268403b1.svg": "/static/media/dragIcon.268403b1.svg",
"static/media/logo.c725c5d1.png": "/static/media/logo.c725c5d1.png",
"static/media/setting.6a716d85.svg": "/static/media/setting.6a716d85.svg",
"static/media/trash.780a90e8.svg": "/static/media/trash.780a90e8.svg"
},
"entrypoints": [
"static/js/runtime-main.4628cb4f.js",
"static/css/2.1f1ea42e.chunk.css",
"static/js/2.3e584191.chunk.js",
"static/css/main.2cc9c6cc.chunk.css",
"static/js/main.c524e7b0.chunk.js"
]
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" type="image/x-icon" href="https://yun.duiba.com.cn/logo.png"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><title>Dui123工具箱-你的第一个工具箱何必是一个工具箱</title><link href="/static/css/2.1f1ea42e.chunk.css" rel="stylesheet"><link href="/static/css/main.2cc9c6cc.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"4971491c"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpdui123=this.webpackJsonpdui123||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([])</script><script src="/static/js/2.3e584191.chunk.js"></script><script src="/static/js/main.c524e7b0.chunk.js"></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}#root,body,html{width:100%;height:100%}body,html{padding:0;margin:0;overflow-x:hidden}body{background:#f9e0c5}.container{padding:20px 0}.tab-tool-type{width:100%;max-width:1190px;min-width:612px;height:35px;margin-top:10px;background:#dbdce0;display:flex;border-radius:3px 3px;background:linear-gradient(21deg,#00afcb 1%,#26d6ca)!important;color:#fff;font-size:14px;padding-top:4px}.tab-tool-type .item-tool-type{min-width:80px;line-height:35px;text-align:center;cursor:pointer;margin:0 10px}.tab-tool-type .item-tool-type-selected{border:1px solid #ccc;border-bottom:none;background:#fefefe;border-radius:3px 3px 0 0;color:#444}.child-type{display:flex;background:#fff;padding-left:30px}.child-type .child-type-item{min-width:30px;height:36px;line-height:36px;text-align:center;margin-right:15px;cursor:pointer}.child-type .child-type-item-selected{border-bottom:4px solid #12c2cb;color:#12c2cb}.content-item{background:#fefefe}.content-item,.content-item .content-adminTool-close{border:2px solid #b995a1}.content-item .item-name{left:78px}.content-item .item-desc{border-top:2px solid #344857;margin-top:3px}.content-item .follow{left:78px;font-weight:700}.content-item{width:278px;height:157px;border-radius:5px;padding:10px;box-sizing:border-box;position:relative;border:1px solid #ccc;background-image:-webkit-linear-gradient(top,#fff,#f9f9f9)}.content-item .content-adminTool{width:36px;height:15px;position:absolute;top:-18px;right:4px;line-height:15px;display:flex;justify-content:space-between}.content-item .content-adminTool img{width:15px;height:15px;cursor:pointer}.content-item .content-adminTool-close{width:30px;height:20px;position:absolute;top:10px;right:10px;text-align:center;line-height:20px;font-weight:700;font-size:18px;z-index:1;border-top:1px solid #ddd;cursor:pointer}.content-item .item-icon{width:65px;height:65px;position:relative;cursor:pointer}.content-item .item-icon .defaultIcon{width:100%;height:100%;font-size:40px;font-weight:700;line-height:65px;text-align:center;background:linear-gradient(21deg,#00b881 1%,#26d6ca);color:snow;border-radius:10px}.content-item .item-icon img{width:100%;height:100%}.content-item .item-name{position:absolute;height:30px;max-width:190px;font-size:17px;font-weight:700;line-height:30px;left:80px;top:10px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-item .item-desc{width:100%;height:46px;border-top:1px solid #ddd;padding-top:3px;margin-top:7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.content-item .item-desc,.content-item .item-url{font-size:12px;overflow:hidden;text-overflow:ellipsis}.content-item .item-url{white-space:nowrap;display:block;width:245px;color:#5f2150}.content-item .follow{width:48px;height:25px;position:absolute;top:40px;left:81px;line-height:25px;font-size:14px;cursor:pointer}.content-item .follow .icon-follow{width:18px;height:16px;vertical-align:sub;cursor:pointer}.admin{position:fixed;top:40%;width:100px}.admin .ant-btn{width:100px!important}.admin #components-layout-demo-top-side .logo{float:left;width:120px;height:31px;margin:16px 24px 16px 0;background:hsla(0,0%,100%,.3)}.admin .ant-row-rtl #components-layout-demo-top-side .logo{float:right;margin:16px 0 16px 24px}.admin .site-layout-background{background:#fff}.codeMain .CodeMirror{height:600px!important;width:850px}body{background:#fff}.index{width:100%;height:100%;color:#484848;background:#f1f1f1;font-size:14px;font-style:normal}.index .welcome-top{background-color:#444;color:#fff;text-align:right;padding:7px 10px;font-size:13px}.index .welcome-top .welcome-uname{padding:0 4px;font-weight:700}.index .welcome-top .login-btn{cursor:pointer;text-decoration:underline}.index .index-footer{text-align:center;color:#b3b3b3;line-height:26px;margin-top:12px}.index .nav-weather{float:right;padding-top:18px}.index .nav-weather:after{display:block;clear:both;content:""}.index .nav{width:100%;height:60px;color:#fff;max-width:1190px;min-width:612px;margin:auto;border-bottom:2px solid #dedede}.index .nav .nav-title{width:150px;height:50px;font-size:32px;line-height:50px;font-weight:700;text-align:center;margin-left:20px;float:left;margin-top:6px}.index .nav .nav-title img{width:100%}.container,.index .tool-nav{width:100%;min-width:612px;max-width:1190px;box-sizing:border-box;margin:0 auto}.container{padding:0 0 20px}.content{width:100%;max-width:1190px;min-width:612px;background:#fff;border-radius:0 0 3px 3px;box-sizing:border-box;padding:20px;display:grid;grid-template-columns:repeat(auto-fill,278px);grid-template-rows:repeat(auto-fill,157px);justify-content:space-between;grid-row-gap:20px;row-gap:20px}.login{width:100%;height:100%}.login .loginDiv{width:300px;height:120px;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.login .btn-login{width:100px;height:30px}
/*# sourceMappingURL=main.2cc9c6cc.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["webpack://src/index.css","webpack://src/App.css","webpack://src/page/indexAdmin/index.scss","webpack://src/component/ToolType/ToolType.scss","webpack://src/common/_common.scss","webpack://src/component/ContentAdmin/ContentItem.scss","webpack://src/component/Content/ContentItem.scss","webpack://src/component/AdminIndex/AdminIndex.scss","webpack://src/modal/PublishModal.scss","webpack://src/page/index/index.scss","webpack://src/component/Content/Content.scss","webpack://src/page/login/login.scss"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCZA,gBDeE,UAAW,CACX,WCVF,CANA,UAGE,SAAU,CACV,QAAS,CACT,iBACF,CAEA,KACE,kBACF,CC+DK,WAOD,cAEsB,CChF1B,eACI,UAAW,CACX,gBAAiB,CACjB,eAAgB,CAChB,WAAY,CACZ,eAAgB,CAChB,kBCNwB,CDOxB,YAAa,CACb,qBAAsB,CACtB,8DAAkE,CAClE,UAAW,CACX,cAAe,CACf,eAAgB,CAZpB,+BAeQ,cAAe,CACf,gBAAiB,CACjB,iBAAkB,CAClB,cAAe,CACf,aAAgB,CAnBxB,wCAyBQ,qBAAmB,CAAnB,kBAAmB,CACnB,kBCzBe,CD0Bf,yBAA0B,CAC1B,UAAW,CACd,YAID,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAHtB,6BAMQ,cAAe,CACf,WAAY,CACZ,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,cAAe,CAXvB,sCAcQ,+BAAgC,CAChC,aAAc,CE5CtB,cAOI,kBACkB,CARtB,qDAGI,wBAoCmB,CAvCvB,yBA6DQ,SDxDe,CCLvB,yBAuEQ,4BAA6B,CAE7B,cAK4B,CA9EpC,sBA8FQ,SAAU,CAEV,eAEe,CClGvB,cACI,WAAY,CACZ,YAAa,CAEb,iBAAkB,CAClB,YAAa,CACb,qBAAsB,CAEtB,iBAAkB,CAElB,qBAAsB,CACtB,0DAA2D,CAX/D,iCAaQ,UAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,SAAU,CACV,SAAU,CACV,gBAAiB,CACjB,YAAa,CACb,6BAA8B,CApBtC,qCAuBY,UAAW,CACX,WAAY,CACZ,cAAe,CAzB3B,uCA8BQ,UAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,QAAS,CACT,UAAW,CACX,iBAAkB,CAClB,gBAAiB,CACj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AAiB,CACjB,gBAAiB,CACjB,cAAe,CAZvB,mCAcY,aAAgB,CAChB,eAAiB,CAf7B,+BAkBY,cAAe,CACf,yBAA0B,CAnBtC,qBAuBQ,iBAAkB,CAClB,aAAc,CACd,gBAAiB,CACjB,eAAgB,CA1BxB,oBA6BQ,WAAY,CACZ,gBAAiB,CA9BzB,0BAgCY,aAAc,CACd,UAAW,CACX,UAAW,CAlCvB,YAuCQ,UAAW,CACX,WAAY,CAEZ,UAAW,CACX,gBAAiB,CACjB,eAAgB,CAChB,WAAY,CACZ,+BAAgC,CA9CxC,uBAgDY,WAAY,CACZ,WAAY,CACZ,cAAe,CACf,gBAAiB,CACjB,eAAiB,CACjB,iBAAkB,CAClB,gBAAiB,CACjB,UAAW,CACX,cAAe,CAxD3B,2BA0DgB,UAAW,CAWtB,4BALG,UAAW,CACX,eAAgB,CAChB,gBAAiB,CACjB,qBAAsB,CACtB,aAUkB,CATrB,WAOD,gBAEsB,CCjF1B,SACI,UAAW,CACX,gBAAiB,CACjB,eAAgB,CAChB,eNJmB,CMKnB,yBAA0B,CAC1B,qBAAsB,CACtB,YAAa,CACb,YAAa,CACb,6CAA8C,CAC9C,0CAA4C,CAC5C,6BAA8B,CAC9B,iBAAA,CAAA,YAAa,CCbjB,OACI,UAAW,CACX,WAAY,CAFhB,iBAKQ,WAAY,CACZ,YAAa,CACb,iBAAkB,CAClB,QAAS,CACT,OAAQ,CACR,sCAAA,CAAA,8BAA+B,CAVvC,kBAcQ,WAAY,CACZ,WAAY","file":"main.2cc9c6cc.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n#root{\n width: 100%;\n height: 100%;\n}\n","body, html{\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n overflow-x: hidden;\n}\n\nbody {\n background: #F9E0C5;\n}\n\n","@import \"../../common/common\";\r\nbody {\r\n background: $backgroundColor;\r\n}\r\n.index {\r\n width: 100%;\r\n height: 100%;\r\n color: $fontColor;\r\n background: #f1f1f1;\r\n font-size: 14px;\r\n font-style: normal;\r\n .welcome-top{\r\n background-color: #444;\r\n color: #fff;\r\n text-align: right;\r\n padding: 7px 10px;\r\n font-size: 13px;\r\n .welcome-uname{\r\n padding: 0px 4px;\r\n font-weight: bold;\r\n }\r\n .login-btn{\r\n cursor: pointer;\r\n text-decoration: underline;\r\n }\r\n }\r\n .index-footer{\r\n text-align: center;\r\n color: #b3b3b3;\r\n line-height: 26px;\r\n margin-top: 12px;\r\n }\r\n .nav-weather{\r\n float: right;\r\n padding-top: 18px;\r\n &::after{\r\n display: block;\r\n clear: both;\r\n content: \"\";\r\n }\r\n }\r\n \r\n .nav {\r\n width: 100%;\r\n height: 60px;\r\n //background: $topBarBg;\r\n color: #fff;\r\n max-width: 1190px;\r\n min-width: 612px;\r\n margin: auto;\r\n border-bottom: 2px solid #dedede;\r\n .nav-title {\r\n width: 150px;\r\n height: 50px;\r\n font-size: 32px;\r\n line-height: 50px;\r\n font-weight: bold;;\r\n text-align: center;\r\n margin-left: 20px;\r\n float: left;\r\n margin-top: 6px;\r\n img {\r\n width: 100%;\r\n }\r\n }\r\n }\r\n\r\n .tool-nav {\r\n width: 100%;\r\n min-width: 612px;\r\n max-width: 1190px;\r\n box-sizing: border-box;\r\n margin: 0 auto 0;\r\n }\r\n}\r\n\r\n.container {\r\n width: 100%;\r\n min-width: 612px;\r\n max-width: 1190px;\r\n padding: 20px 0;\r\n margin: 0 auto 0;\r\n box-sizing: border-box;\r\n}\r\n\r\n","@import \"../../common/common\";\r\n\r\n.tab-tool-type {\r\n width: 100%;\r\n max-width: 1190px;\r\n min-width: 612px;\r\n height: 35px;\r\n margin-top: 10px;\r\n background: $tabBackgroundColor;\r\n display: flex;\r\n border-radius: 3px 3px;\r\n background: linear-gradient(21deg, #00afcb 1%, #26d6ca) !important;\r\n color: #fff;\r\n font-size: 14px;\r\n padding-top: 4px;\r\n\r\n .item-tool-type {\r\n min-width: 80px;\r\n line-height: 35px;\r\n text-align: center;\r\n cursor: pointer;\r\n margin: 0 10px 0;\r\n // border-bottom: 2px solid #cccccc;\r\n }\r\n\r\n .item-tool-type-selected {\r\n border: 1px solid #ccc;\r\n border-bottom: none;\r\n background: $tabSelectedBg;\r\n border-radius: 3px 3px 0 0;\r\n color: #444;\r\n }\r\n}\r\n\r\n.child-type {\r\n display: flex;\r\n background: #fff;\r\n padding-left: 30px;\r\n\r\n .child-type-item {\r\n min-width: 30px;\r\n height: 36px;\r\n line-height: 36px;\r\n text-align: center;\r\n margin-right: 15px;\r\n cursor: pointer;\r\n }\r\n .child-type-item-selected {\r\n border-bottom: 4px solid #12C2CB;\r\n color: #12C2CB;\r\n }\r\n}\r\n","$topBarBg: #ffffff;\r\n$backgroundColor : #fff;\r\n$tabBackgroundColor: #DBDCE0;\r\n$tabSelectedBg: #FEFEFE;\r\n$fontColor:#484848;\r\n$itemBg: #FEFEFE;\r\n\r\n@mixin textOverflow(){\r\n overflow: hidden;\r\n text-overflow:ellipsis;\r\n white-space: nowrap;\r\n}\r\n","@import \"../../common/common\";\r\n@mixin test {\r\n border: 1px solid #000;\r\n box-sizing: border-box;\r\n}\r\n.content-item{\r\n width: 278px;\r\n height: 157px;\r\n border: 2px solid #B995A1;\r\n border-radius: 5px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n background: $itemBg;\r\n position: relative;\r\n\r\n .content-adminTool{\r\n width: 36px;\r\n height: 15px;\r\n position: absolute;\r\n top: -18px;\r\n right: 4px;\r\n line-height: 15px;\r\n display: flex;\r\n justify-content: space-between;\r\n\r\n img {\r\n width: 15px;\r\n height: 15px;\r\n cursor: pointer;\r\n }\r\n }\r\n .content-adminTool-close{\r\n //@include test();\r\n width: 30px;\r\n height: 20px;\r\n position: absolute;\r\n top: 10px;\r\n right: 10px;\r\n text-align: center;\r\n line-height: 20px;\r\n font-weight: bold;\r\n font-size: 18px;\r\n z-index: 1;\r\n border: 2px solid #B995A1;\r\n cursor: pointer;\r\n }\r\n\r\n .item-icon{\r\n width: 65px;\r\n height: 65px;\r\n position: relative;\r\n cursor: pointer;\r\n\r\n img{\r\n width: 100%;\r\n height: 100%;\r\n }\r\n }\r\n\r\n .item-name{\r\n position: absolute;\r\n height: 30px;\r\n max-width: 190px;\r\n font-size: 17px;\r\n font-weight: bold;\r\n line-height: 30px;\r\n left: 78px;\r\n top: 10px;\r\n cursor: pointer;\r\n @include textOverflow();\r\n //@include test();\r\n }\r\n .item-desc{\r\n width: 100%;\r\n height: 46px;\r\n font-size: 12px;\r\n border-top: 2px solid #344857;\r\n padding-top: 3px;\r\n margin-top: 3px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */\r\n -webkit-line-clamp: 3; /* 控制最多显示几行 */\r\n -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */\r\n //@include test();\r\n }\r\n .item-url{\r\n @include textOverflow();\r\n display: block;\r\n width: 245px;\r\n font-size: 12px;\r\n color: #5F2150;\r\n //@include test();\r\n }\r\n .follow{\r\n width: 48px;\r\n height: 25px;\r\n position: absolute;\r\n top: 40px;\r\n left: 78px;\r\n line-height: 25px;\r\n font-weight: bold;\r\n font-size: 14px;\r\n cursor: pointer;\r\n\r\n .icon-follow {\r\n width: 18px;\r\n height: 16px;\r\n vertical-align: sub;\r\n cursor: pointer;\r\n }\r\n }\r\n}\r\n\r\n\r\n","@import \"../../common/common\";\r\n@mixin test {\r\n border: 1px solid #000;\r\n box-sizing: border-box;\r\n}\r\n.content-item{\r\n width: 278px;\r\n height: 157px;\r\n // border: 2px solid #B995A1;\r\n border-radius: 5px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n // background: $itemBg;\r\n position: relative;\r\n\r\n border: 1px solid #ccc;\r\n background-image: -webkit-linear-gradient(top,#fff,#f9f9f9);\r\n .content-adminTool{\r\n width: 36px;\r\n height: 15px;\r\n position: absolute;\r\n top: -18px;\r\n right: 4px;\r\n line-height: 15px;\r\n display: flex;\r\n justify-content: space-between;\r\n\r\n img {\r\n width: 15px;\r\n height: 15px;\r\n cursor: pointer;\r\n }\r\n }\r\n .content-adminTool-close{\r\n //@include test();\r\n width: 30px;\r\n height: 20px;\r\n position: absolute;\r\n top: 10px;\r\n right: 10px;\r\n text-align: center;\r\n line-height: 20px;\r\n font-weight: bold;\r\n font-size: 18px;\r\n z-index: 1;\r\n // border: 2px solid #B995A1;\r\n border-top: 1px solid #ddd;\r\n cursor: pointer;\r\n }\r\n\r\n .item-icon{\r\n width: 65px;\r\n height: 65px;\r\n position: relative;\r\n cursor: pointer;\r\n\r\n .defaultIcon{\r\n width: 100%;\r\n height: 100%;\r\n font-size: 40px;\r\n font-weight: bold;\r\n line-height: 65px;\r\n text-align: center;\r\n background: linear-gradient(21deg, #00b881 1%, #26d6ca);\r\n color: #fffafa;\r\n border-radius: 10px;\r\n }\r\n\r\n img{\r\n width: 100%;\r\n height: 100%;\r\n }\r\n }\r\n\r\n .item-name{\r\n position: absolute;\r\n height: 30px;\r\n max-width: 190px;\r\n font-size: 17px;\r\n font-weight: bold;\r\n line-height: 30px;\r\n left: 80px;\r\n top: 10px;\r\n cursor: pointer;\r\n @include textOverflow();\r\n //@include test();\r\n }\r\n .item-desc{\r\n width: 100%;\r\n height: 46px;\r\n font-size: 12px;\r\n // border-top: 2px solid #344857;\r\n border-top: 1px solid #ddd;\r\n padding-top: 3px;\r\n margin-top: 7px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */\r\n -webkit-line-clamp: 3; /* 控制最多显示几行 */\r\n -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */\r\n //@include test();\r\n }\r\n .item-url{\r\n @include textOverflow();\r\n display: block;\r\n width: 245px;\r\n font-size: 12px;\r\n color: #5F2150;\r\n //@include test();\r\n }\r\n .follow{\r\n width: 48px;\r\n height: 25px;\r\n position: absolute;\r\n top: 40px;\r\n left: 81px;\r\n line-height: 25px;\r\n // font-weight: bold;\r\n font-size: 14px;\r\n cursor: pointer;\r\n\r\n .icon-follow {\r\n width: 18px;\r\n height: 16px;\r\n vertical-align: sub;\r\n cursor: pointer;\r\n }\r\n }\r\n}\r\n\r\n\r\n",".admin {\r\n position: fixed;\r\n top: 40%;\r\n .ant-btn{\r\n width: 100px !important;\r\n }\r\n width: 100px;\r\n // height: 100px;\r\n // border: 1px solid red;\r\n #components-layout-demo-top-side .logo {\r\n float: left;\r\n width: 120px;\r\n height: 31px;\r\n margin: 16px 24px 16px 0;\r\n background: rgba(255, 255, 255, 0.3);\r\n }\r\n\r\n .ant-row-rtl #components-layout-demo-top-side .logo {\r\n float: right;\r\n margin: 16px 0 16px 24px;\r\n }\r\n\r\n .site-layout-background {\r\n background: #fff;\r\n }\r\n}",".codeMain{\r\n \r\n .CodeMirror{\r\n height: 600px !important;\r\n width: 850px;\r\n }\r\n}","@import \"../../common/common\";\r\nbody {\r\n background: $backgroundColor;\r\n}\r\n.index {\r\n width: 100%;\r\n height: 100%;\r\n color: $fontColor;\r\n background: #f1f1f1;\r\n font-size: 14px;\r\n font-style: normal;\r\n .welcome-top{\r\n background-color: #444;\r\n color: #fff;\r\n text-align: right;\r\n padding: 7px 10px;\r\n font-size: 13px;\r\n .welcome-uname{\r\n padding: 0px 4px;\r\n font-weight: bold;\r\n }\r\n .login-btn{\r\n cursor: pointer;\r\n text-decoration: underline;\r\n }\r\n }\r\n .index-footer{\r\n text-align: center;\r\n color: #b3b3b3;\r\n line-height: 26px;\r\n margin-top: 12px;\r\n }\r\n .nav-weather{\r\n float: right;\r\n padding-top: 18px;\r\n &::after{\r\n display: block;\r\n clear: both;\r\n content: \"\";\r\n }\r\n }\r\n\r\n .nav {\r\n width: 100%;\r\n height: 60px;\r\n //background: $topBarBg;\r\n color: #fff;\r\n max-width: 1190px;\r\n min-width: 612px;\r\n margin: auto;\r\n border-bottom: 2px solid #dedede;\r\n .nav-title {\r\n width: 150px;\r\n height: 50px;\r\n font-size: 32px;\r\n line-height: 50px;\r\n font-weight: bold;;\r\n text-align: center;\r\n margin-left: 20px;\r\n float: left;\r\n margin-top: 6px;\r\n img {\r\n width: 100%;\r\n }\r\n }\r\n }\r\n\r\n .tool-nav {\r\n width: 100%;\r\n min-width: 612px;\r\n max-width: 1190px;\r\n box-sizing: border-box;\r\n margin: 0 auto 0;\r\n }\r\n}\r\n\r\n.container {\r\n width: 100%;\r\n min-width: 612px;\r\n max-width: 1190px;\r\n padding: 0 0 20px 0;\r\n margin: 0 auto 0;\r\n box-sizing: border-box;\r\n}\r\n\r\n","@import \"../../common/common\";\r\n.content{\r\n width: 100%;\r\n max-width: 1190px;\r\n min-width: 612px;\r\n background: $backgroundColor;\r\n border-radius: 0 0 3px 3px;\r\n box-sizing: border-box;\r\n padding: 20px;\r\n display: grid;\r\n grid-template-columns: repeat(auto-fill,278px);\r\n grid-template-rows: repeat(auto-fill, 157px);\r\n justify-content: space-between;\r\n row-gap: 20px;\r\n}\r\n",".login{\r\n width: 100%;\r\n height: 100%;\r\n\r\n .loginDiv{\r\n width: 300px;\r\n height: 120px;\r\n position: absolute;\r\n left: 50%;\r\n top: 50%;\r\n transform: translate(-50%,-50%);\r\n }\r\n\r\n .btn-login{\r\n width: 100px;\r\n height: 30px;\r\n }\r\n}\r\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
//! moment.js
//! moment.js locale configuration
This source diff could not be displayed because it is too large. You can view the blob instead.
(this.webpackJsonpdui123=this.webpackJsonpdui123||[]).push([[3],{288:function(t,e,n){"use strict";n.r(e),n.d(e,"getCLS",(function(){return p})),n.d(e,"getFCP",(function(){return S})),n.d(e,"getFID",(function(){return F})),n.d(e,"getLCP",(function(){return k})),n.d(e,"getTTFB",(function(){return C}));var i,a,r,o,u=function(t,e){return{name:t,value:void 0===e?-1:e,delta:0,entries:[],id:"v1-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(t){}},f=function(t,e){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(t){addEventListener("pageshow",(function(e){e.persisted&&t(e)}),!0)},d="function"==typeof WeakSet?new WeakSet:new Set,m=function(t,e,n){var i;return function(){e.value>=0&&(n||d.has(e)||"hidden"===document.visibilityState)&&(e.delta=e.value-(i||0),(e.delta||void 0===i)&&(i=e.value,t(e)))}},p=function(t,e){var n,i=u("CLS",0),a=function(t){t.hadRecentInput||(i.value+=t.value,i.entries.push(t),n())},r=c("layout-shift",a);r&&(n=m(t,i,e),f((function(){r.takeRecords().map(a),n()})),s((function(){i=u("CLS",0),n=m(t,i,e)})))},v=-1,l=function(){return"hidden"===document.visibilityState?0:1/0},h=function(){f((function(t){var e=t.timeStamp;v=e}),!0)},g=function(){return v<0&&(v=l(),h(),s((function(){setTimeout((function(){v=l(),h()}),0)}))),{get timeStamp(){return v}}},S=function(t,e){var n,i=g(),a=u("FCP"),r=function(t){"first-contentful-paint"===t.name&&(f&&f.disconnect(),t.startTime<i.timeStamp&&(a.value=t.startTime,a.entries.push(t),d.add(a),n()))},o=performance.getEntriesByName("first-contentful-paint")[0],f=o?null:c("paint",r);(o||f)&&(n=m(t,a,e),o&&r(o),s((function(i){a=u("FCP"),n=m(t,a,e),requestAnimationFrame((function(){requestAnimationFrame((function(){a.value=performance.now()-i.timeStamp,d.add(a),n()}))}))})))},y={passive:!0,capture:!0},E=new Date,w=function(t,e){i||(i=e,a=t,r=new Date,b(removeEventListener),L())},L=function(){if(a>=0&&a<r-E){var t={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+a};o.forEach((function(e){e(t)})),o=[]}},T=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?function(t,e){var n=function(){w(t,e),a()},i=function(){a()},a=function(){removeEventListener("pointerup",n,y),removeEventListener("pointercancel",i,y)};addEventListener("pointerup",n,y),addEventListener("pointercancel",i,y)}(e,t):w(e,t)}},b=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return t(e,T,y)}))},F=function(t,e){var n,r=g(),p=u("FID"),v=function(t){t.startTime<r.timeStamp&&(p.value=t.processingStart-t.startTime,p.entries.push(t),d.add(p),n())},l=c("first-input",v);n=m(t,p,e),l&&f((function(){l.takeRecords().map(v),l.disconnect()}),!0),l&&s((function(){var r;p=u("FID"),n=m(t,p,e),o=[],a=-1,i=null,b(addEventListener),r=v,o.push(r),L()}))},k=function(t,e){var n,i=g(),a=u("LCP"),r=function(t){var e=t.startTime;e<i.timeStamp&&(a.value=e,a.entries.push(t)),n()},o=c("largest-contentful-paint",r);if(o){n=m(t,a,e);var p=function(){d.has(a)||(o.takeRecords().map(r),o.disconnect(),d.add(a),n())};["keydown","click"].forEach((function(t){addEventListener(t,p,{once:!0,capture:!0})})),f(p,!0),s((function(i){a=u("LCP"),n=m(t,a,e),requestAnimationFrame((function(){requestAnimationFrame((function(){a.value=performance.now()-i.timeStamp,d.add(a),n()}))}))}))}},C=function(t){var e,n=u("TTFB");e=function(){try{var e=performance.getEntriesByType("navigation")[0]||function(){var t=performance.timing,e={entryType:"navigation",startTime:0};for(var n in t)"navigationStart"!==n&&"toJSON"!==n&&(e[n]=Math.max(t[n]-t.navigationStart,0));return e}();if(n.value=n.delta=e.responseStart,n.value<0)return;n.entries=[e],t(n)}catch(t){}},"complete"===document.readyState?setTimeout(e,0):addEventListener("pageshow",e)}}}]);
//# sourceMappingURL=3.4971491c.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["../../dui123/node_modules/web-vitals/dist/web-vitals.js"],"names":["e","t","n","i","a","name","value","delta","entries","id","concat","Date","now","Math","floor","random","r","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","c","persisted","u","WeakSet","Set","f","has","s","hadRecentInput","push","takeRecords","m","p","v","timeStamp","d","setTimeout","l","disconnect","startTime","add","performance","getEntriesByName","requestAnimationFrame","h","passive","capture","S","y","w","g","entryType","target","cancelable","processingStart","forEach","E","L","T","once","b","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"mappings":"kGAA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AAIA,EAAEmD,YAAYoB,iBAAiB,cAAc,IAAI,WAAW,IAAIxE,EAAEoD,YAAYqB,OAAOxE,EAAE,CAAC6D,UAAU,aAAaZ,UAAU,GAAG,IAAI,IAAIhD,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK6D,IAAI1E,EAAEE,GAAGF,EAAE2E,gBAAgB,IAAI,OAAO1E,EAAhL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE2E,cAAc1E,EAAEI,MAAM,EAAE,OAAOJ,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,GAAG,MAAMF,MAAM,aAAa2B,SAASkD,WAAW9B,WAAW9C,EAAE,GAAG6B,iBAAiB,WAAW7B","file":"static/js/3.4971491c.chunk.js","sourcesContent":["var e,t,n,i,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v1-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},r=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},c=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},u=\"function\"==typeof WeakSet?new WeakSet:new Set,f=function(e,t,n){var i;return function(){t.value>=0&&(n||u.has(t)||\"hidden\"===document.visibilityState)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},s=function(e,t){var n,i=a(\"CLS\",0),u=function(e){e.hadRecentInput||(i.value+=e.value,i.entries.push(e),n())},s=r(\"layout-shift\",u);s&&(n=f(e,i,t),o((function(){s.takeRecords().map(u),n()})),c((function(){i=a(\"CLS\",0),n=f(e,i,t)})))},m=-1,p=function(){return\"hidden\"===document.visibilityState?0:1/0},v=function(){o((function(e){var t=e.timeStamp;m=t}),!0)},d=function(){return m<0&&(m=p(),v(),c((function(){setTimeout((function(){m=p(),v()}),0)}))),{get timeStamp(){return m}}},l=function(e,t){var n,i=d(),o=a(\"FCP\"),s=function(e){\"first-contentful-paint\"===e.name&&(p&&p.disconnect(),e.startTime<i.timeStamp&&(o.value=e.startTime,o.entries.push(e),u.add(o),n()))},m=performance.getEntriesByName(\"first-contentful-paint\")[0],p=m?null:r(\"paint\",s);(m||p)&&(n=f(e,o,t),m&&s(m),c((function(i){o=a(\"FCP\"),n=f(e,o,t),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-i.timeStamp,u.add(o),n()}))}))})))},h={passive:!0,capture:!0},S=new Date,y=function(i,a){e||(e=a,t=i,n=new Date,w(removeEventListener),g())},g=function(){if(t>=0&&t<n-S){var a={entryType:\"first-input\",name:e.type,target:e.target,cancelable:e.cancelable,startTime:e.timeStamp,processingStart:e.timeStamp+t};i.forEach((function(e){e(a)})),i=[]}},E=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){y(e,t),a()},i=function(){a()},a=function(){removeEventListener(\"pointerup\",n,h),removeEventListener(\"pointercancel\",i,h)};addEventListener(\"pointerup\",n,h),addEventListener(\"pointercancel\",i,h)}(t,e):y(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,E,h)}))},L=function(n,s){var m,p=d(),v=a(\"FID\"),l=function(e){e.startTime<p.timeStamp&&(v.value=e.processingStart-e.startTime,v.entries.push(e),u.add(v),m())},h=r(\"first-input\",l);m=f(n,v,s),h&&o((function(){h.takeRecords().map(l),h.disconnect()}),!0),h&&c((function(){var r;v=a(\"FID\"),m=f(n,v,s),i=[],t=-1,e=null,w(addEventListener),r=l,i.push(r),g()}))},T=function(e,t){var n,i=d(),s=a(\"LCP\"),m=function(e){var t=e.startTime;t<i.timeStamp&&(s.value=t,s.entries.push(e)),n()},p=r(\"largest-contentful-paint\",m);if(p){n=f(e,s,t);var v=function(){u.has(s)||(p.takeRecords().map(m),p.disconnect(),u.add(s),n())};[\"keydown\",\"click\"].forEach((function(e){addEventListener(e,v,{once:!0,capture:!0})})),o(v,!0),c((function(i){s=a(\"LCP\"),n=f(e,s,t),requestAnimationFrame((function(){requestAnimationFrame((function(){s.value=performance.now()-i.timeStamp,u.add(s),n()}))}))}))}},b=function(e){var t,n=a(\"TTFB\");t=function(){try{var t=performance.getEntriesByType(\"navigation\")[0]||function(){var e=performance.timing,t={entryType:\"navigation\",startTime:0};for(var n in e)\"navigationStart\"!==n&&\"toJSON\"!==n&&(t[n]=Math.max(e[n]-e.navigationStart,0));return t}();if(n.value=n.delta=t.responseStart,n.value<0)return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"pageshow\",t)};export{s as getCLS,l as getFCP,L as getFID,T as getLCP,b as getTTFB};\n"],"sourceRoot":""}
\ No newline at end of file
(this.webpackJsonpdui123=this.webpackJsonpdui123||[]).push([[0],{173:function(e,t,n){},174:function(e,t,n){},176:function(e,t,n){},177:function(e,t,n){},178:function(e,t,n){},179:function(e,t,n){},250:function(e,t,n){},251:function(e,t,n){},252:function(e,t,n){},272:function(e,t,n){},273:function(e,t,n){},274:function(e,t,n){},279:function(e,t,n){"use strict";n.r(t);var c=n(0),i=n.n(c),a=n(28),o=n.n(a),l=n(17),r=n(158),s=n.n(r),d=n(134),u=n.n(d),j=(n(171),n(172),n(173),n(174),n(77)),b=n(21),p=n(32),m={toolBox:null,type:null,childType:null,userInfo:null,needUpdateIndex:!1,type_id:"follow",child_type_id:"all"};!function e(t){return Object.getOwnPropertyNames(t).forEach((function(n){var c=t[n];"object"==typeof c&&null!==c&&e(c)})),Object.freeze(t)}(m);var O=function(e,t){switch(console.table(t,["dataCenter\u7684dispatch"]),t.type){case"UPDATE_DATA":return Object.assign({},e,Object(p.a)({},t.data));case"NEED_UPDATE_INDEX":return Object.assign({},e,{needUpdateIndex:!e.needUpdateIndex});case"CHANGE_TYPE":return Object.assign({},e,{type_id:t.type_id});case"CHANGE_CHILD_TYPE":return Object.assign({},e,{child_type_id:t.child_type_id});default:return e}},f={domain:"http://"+window.location.hostname+":3000"},A=function(e){return{type:"CHANGE_TYPE",type_id:e}},g=n(6),h=Object(c.createContext)({}),y=Object(c.createContext)({});var x=function(e){var t=Object(c.useReducer)(O,m,(function(){return m})),n=Object(b.a)(t,2),i=n[0],a=n[1];return Object(g.jsx)(h.Provider,{value:{dataCenter:i,dispatch:a,fetchData:function(e,t,n){return fetch(function(e,t){if(t){var n=Object.keys(t).map((function(e,n){return 0===n?"?"+e+"="+t[e]:"&"+e+"="+t[e]})).join("");return console.log("\u53d1\u9001\u8bf7\u6c42\uff1a",f.domain+e+n),f.domain+e+n}return f.domain+e}(e,t),{credentials:"include"}).then((function(e){return e.json()})).then((function(e){if(console.log(e),!e.success)throw e;var t;return n&&a((t=Object(j.a)({},n,e.data),{type:"UPDATE_DATA",data:Object(p.a)({},t)})),e})).catch((function(e){throw console.error(e),e}))}},children:e.children})},v=n.p+"static/media/logo.c725c5d1.png",E=(n(176),n(177),function(e){var t=Object(c.useContext)(h),n=t.dataCenter,i=t.dispatch,a=e.child_type_id,o=e.child_type_name,l=["child-type-item"];a===n.child_type_id&&l.push("child-type-item-selected");return Object(g.jsx)("div",{className:l.join(" "),onClick:function(){console.log(a),i(function(e){return{type:"CHANGE_CHILD_TYPE",child_type_id:e}}(a))},children:o})});var I=function(e){var t,n,i=Object(c.useContext)(h),a=i.dataCenter,o=i.dispatch;return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsxs)("div",{className:"tab-tool-type",children:[Object(g.jsx)("div",{className:"follow"===a.type_id?"item-tool-type item-tool-type-selected":"item-tool-type",onClick:function(){return o(A("follow"))},children:"\u6211\u7684\u6536\u85cf"}),(null===a||void 0===a||null===(t=a.type)||void 0===t?void 0:t.length)>0&&a.type.map((function(e){var t=["item-tool-type "];return e.type_id===a.type_id&&t.push("item-tool-type-selected"),Object(g.jsx)("div",{className:t.join(""),onClick:function(){return o(A(e.type_id))},children:e.type_name},e.type_id)}))]}),Object(g.jsxs)("div",{className:"child-type",children:[Object(g.jsx)(E,{child_type_id:"all",child_type_name:"\u5168\u90e8"},"all"),(null===a||void 0===a||null===(n=a.childType)||void 0===n?void 0:n.length)>0&&(null===a||void 0===a?void 0:a.childType.map((function(e){return Object(g.jsx)(E,{child_type_id:e.child_type_id,child_type_name:e.child_type_name},e.child_type_id)})))]})]})},C=(n(178),n(179),n.p+"static/media/setting.6a716d85.svg"),k=n.p+"static/media/trash.780a90e8.svg",w=n.p+"static/media/dragIcon.268403b1.svg",D=n(95),T=n(282),R=n(162),S=n(285),J=n(284),B=D.a.Option,N=function(e){var t,n,i,a=e.visible,o=e.onCancel,l=e.data,r=T.a.useForm(),s=Object(b.a)(r,1)[0],d=Object(c.useContext)(h),u=d.fetchData,j=d.dataCenter,m=d.dispatch;return Object(c.useEffect)((function(){var e;(null===j||void 0===j?void 0:j.type)&&u("/query/queryChildType",{type_id:null===j||void 0===j||null===(e=j.type[0])||void 0===e?void 0:e.type_id},"childType").then((function(e){console.log(e)}))}),[]),Object(g.jsx)(S.a,{visible:a,title:l?"\u4fee\u6539\u5de5\u5177\u7bb1":"\u65b0\u5efa\u5de5\u5177\u7bb1",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onCancel:o,onOk:function(){s.validateFields().then((function(e){!function(e){var t={toolbox_name:e.name,toolbox_icon:e.icon,toolbox_desc:e.depict,toolbox_url:e.url};l?(t=Object(p.a)(Object(p.a)({},t),{},{toolbox_id:l.toolbox_id}),u("/update/updateToolBox",t).then((function(e){e.success?(R.b.success("\u4fee\u6539\u6210\u529f"),m({type:"NEED_UPDATE_INDEX"}),o()):R.b.error("\u65b0\u5efa\u5931\u8d25")}))):(t=Object(p.a)(Object(p.a)({},t),{},{type_id:e.type,child_type_id:e.childType}),console.log(t),u("/add/addToolBox",t).then((function(e){e.success?(R.b.success("\u65b0\u5efa\u6210\u529f"),m({type:"NEED_UPDATE_INDEX"}),o()):R.b.error("\u65b0\u5efa\u5931\u8d25")})))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(g.jsxs)(T.a,Object(p.a)(Object(p.a)({form:s},{labelCol:{span:4},wrapperCol:{span:18}}),{},{name:"form_in_modal",initialValues:l?{name:l.toolbox_name,icon:l.toolbox_icon,url:l.toolbox_url,depict:l.toolbox_desc}:{type:(null===j||void 0===j?void 0:j.type)&&(null===j||void 0===j||null===(t=j.type[0])||void 0===t?void 0:t.type_id)},children:[Object(g.jsx)(T.a.Item,{name:"name",label:"\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u540d\u79f0!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u540d\u79f0"})}),Object(g.jsx)(T.a.Item,{name:"icon",label:"\u56fe\u6807",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u56fe\u6807url!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u56fe\u6807url"})}),Object(g.jsx)(T.a.Item,{name:"depict",label:"\u63cf\u8ff0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u63cf\u8ff0!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u63cf\u8ff0"})}),Object(g.jsx)(T.a.Item,{name:"url",label:"\u94fe\u63a5",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u94fe\u63a5!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u94fe\u63a5"})}),!l&&Object(g.jsx)(T.a.Item,{name:"type",label:"\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7c7b\u578b!"}],children:Object(g.jsx)(D.a,{placeholder:"\u8bf7\u9009\u62e9\u7c7b\u578b",onChange:function(e){s.setFieldsValue({type:e}),u("/query/queryChildType",{type_id:e},"childType").then((function(e){console.log(e)})),console.log(j)},children:(null===j||void 0===j||null===(n=j.type)||void 0===n?void 0:n.length)&&(null===j||void 0===j?void 0:j.type.map((function(e){return Object(g.jsx)(B,{value:e.type_id,children:e.type_name},e.type_id)})))})}),!l&&(null===j||void 0===j?void 0:j.childType)&&Object(g.jsx)(T.a.Item,{name:"childType",label:"\u5b50\u7c7b\u578b",children:Object(g.jsx)(D.a,{placeholder:"\u8bf7\u9009\u62e9\u5b50\u7c7b\u578b",onChange:function(e){s.setFieldsValue({childType:e})},allowClear:!0,children:(null===j||void 0===j||null===(i=j.childType)||void 0===i?void 0:i.length)&&(null===j||void 0===j?void 0:j.childType.map((function(e){return Object(g.jsx)(B,{value:e.child_type_id,children:e.child_type_name},e.child_type_id)})))})})]}))})};var q=function(e){var t=Object(c.useState)(!1),n=Object(b.a)(t,2),i=n[0],a=n[1],o=Object(c.useContext)(h).fetchData,l=(Object(c.useContext)(y).showPop,e.value),r=l.toolbox_icon,s=l.toolbox_name,d=l.toolbox_desc,u=l.toolbox_url,j=(l.follow,l.toolbox_id),p=Object(c.useState)(r),m=Object(b.a)(p,2),O=m[0],f=m[1],A=function(e){window.location.href=e};return Object(g.jsxs)("div",{className:"content-item",children:[Object(g.jsxs)("div",{className:"content-adminTool",children:[Object(g.jsx)("img",{src:w,alt:""}),Object(g.jsx)("img",{src:C,alt:"",onClick:function(){return a(!0)}}),Object(g.jsx)("img",{src:k,alt:"",onClick:function(){return function(e){o("/delete/deleteToolBoxById",{toolbox_id:e})}(j)}})]}),Object(g.jsxs)("div",{className:"item-icon",onClick:function(){return A(u)},children:[!O&&Object(g.jsx)("div",{className:"defaultIcon",children:s[0]}),O&&Object(g.jsx)("img",{src:O,alt:"",onError:function(e){return f(null)}})]}),Object(g.jsx)("div",{className:"item-name",onClick:function(){return A(u)},children:s}),Object(g.jsx)("div",{className:"item-desc",children:d}),Object(g.jsx)("a",{className:"item-url",href:u,children:u}),i&&Object(g.jsx)(N,{visible:i,onCancel:function(){return a(!1)},data:e.value})]})};n(250);var G=function(e){var t=Object(c.useContext)(h),n=t.dataCenter,i=t.fetchData,a=e.value,o=a.toolbox_icon,l=a.toolbox_name,r=a.toolbox_desc,s=a.toolbox_url,d=a.toolbox_id,u=Object(c.useState)(!1),j=Object(b.a)(u,2),p=j[0],m=j[1],O=Object(c.useState)(o),f=Object(b.a)(O,2),A=f[0],y=f[1],x=function(e){return window.location.href=e};return Object(c.useEffect)((function(){var e;(null===(e=n.userInfo)||void 0===e?void 0:e.follow.includes(d))?m(!0):m(!1)}),[n.toolBox,n.userInfo]),Object(g.jsxs)("div",{className:"content-item",children:[Object(g.jsxs)("div",{className:"item-icon",onClick:function(){return x(s)},children:[!A&&Object(g.jsx)("div",{className:"defaultIcon",children:l[0]}),A&&Object(g.jsx)("img",{src:A,alt:"",onError:function(e){return y(null)}})]}),Object(g.jsx)("div",{className:"item-name",onClick:function(){return x(s)},children:l}),Object(g.jsx)("div",{className:"item-desc",children:r}),Object(g.jsx)("a",{className:"item-url",href:s,children:s}),Object(g.jsxs)("div",{className:"follow",children:[Object(g.jsx)("img",{className:"icon-follow",src:p?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAADICAYAAAAX+yb+AAAAAXNSR0IArs4c6QAAFLJJREFUeF7tnXu0XHV1x7/7zJ0zSaFd6FIK3jtnAiSZmfDSNoWKdJkUUJCwAHkUVGihFVZBeUgBQbvABJSHj6SiFKo8VSywsPIWQkkVNS2mIJDMzA1g7pnw1oW1Ae6cuffsrjP3phBM7pzH73cec/b8m/377r0/v/nmnHvmnH0I8hECQiBVBChV1UgxQkAIQEwpXwIhkDICYsqUbYiUIwTElPIdEAIpIyCmTNmGSDlCQEwp3wEhkDICuTJla2T2MBe6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IokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgf8DJGyXX6wRtw0AAAAASUVORK5CYII=",alt:"",onClick:function(){return function(){var e=n.userInfo.follow.slice();if(p){var t=e.indexOf(d);e.splice(t,1)}else e.push(d);console.log({follow:JSON.stringify(e),uid:n.userInfo.uid}),i("/users/follow",{follow:JSON.stringify(e),uid:n.userInfo.uid}).then((function(){return i("/users/getUser",{uid:100001},"userInfo")}))}()}}),"\u6536\u85cf"]})]})};var K=function(e){var t,n,i=Object(c.useContext)(h).dataCenter;return Object(g.jsx)("div",{className:"content",children:(null===(t=i.toolBox)||void 0===t?void 0:t.length)?null===i||void 0===i||null===(n=i.toolBox)||void 0===n?void 0:n.filter((function(e){return"all"===i.child_type_id||e.child_type_id===i.child_type_id})).map((function(e){return Object(g.jsx)(q,{value:e},e.toolbox_id)})):"\u6ca1\u6709\u6570\u636e\u4e86\uff01"})},F=(n(251),n(31)),z=(n(252),n(153)),X=(n(253),n(254),n(147),n(255),n(257),n(258),n(52),n(259),n(260),n(261),n(262),n(263),D.a.Option,function(e){var t=e.visible,n=e.onCancel,i=e.data,a=Object(c.useState)(""),o=Object(b.a)(a,2),l=o[0],r=o[1],s=Object(c.useState)(""),d=Object(b.a)(s,2),u=d[0],j=d[1],p=Object(c.useState)(""),m=Object(b.a)(p,2),O=m[0],A=(m[1],Object(c.useContext)(h)),y=A.fetchData,x=A.dataCenter;return Object(c.useEffect)((function(){i&&j(i.page_name)}),[i]),Object(g.jsxs)(S.a,{visible:t,title:"\u53d1\u5e03",okText:"\u53d1\u5e03",cancelText:"\u53d6\u6d88",onCancel:n,onOk:function(e){console.log(l),l&&u?i?fetch("".concat(f.domain,"/page/updatePage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page_id:i.page_id,page_name:u,code:l})}).then((function(e){return e.json()})).then((function(e){e.success?(n(),R.b.success("\u66ff\u6362\u6210\u529f\uff01"),(null===x||void 0===x?void 0:x.type)&&y("/page/queryPage",{},"queryPage").then((function(e){}))):R.b.error("\u66ff\u6362\u5931\u8d25")})):fetch("".concat(f.domain,"/page/addPage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page_name:u,code:l})}).then((function(e){return e.json()})).then((function(e){e.success?(n(),R.b.success("\u53d1\u5e03\u6210\u529f\uff01"),(null===x||void 0===x?void 0:x.type)&&y("/page/queryPage",{},"queryPage").then((function(e){}))):R.b.error(e.error||"\u53d1\u5e03\u5931\u8d25")})):R.b.error("\u8bf7\u8865\u5168\u4fe1\u606f\uff01")},width:"1000px",children:[Object(g.jsx)(T.a.Item,{name:"page_name",label:"\u9875\u9762\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0",defaultValue:(null===i||void 0===i?void 0:i.page_name)?i.page_name:u,onChange:function(e){j(e.target.value)}})}),Object(g.jsx)(T.a.Item,{name:"type",label:"\u5e03\u5c40\u4ee3\u7801",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(g.jsx)("div",{className:"codeMain",children:Object(g.jsx)(z.UnControlled,{onChange:function(e,t,n){r(n)},value:O,options:{styleActiveLine:!0,lineNumbers:!0,theme:"monokai",tabSize:2,keyMap:"sublime",mode:"text/javascript",smartIndent:!0,lineWrapping:!0,autofocus:!0}})})})]})}),M=n(283),U=n(117),P=D.a.Option,Q=(M.a.TabPane,function(e){var t,n=e.visible,a=e.onCancel,o=e.queryData,l=e.data;console.log(l);var r=T.a.useForm(),s=Object(b.a)(r,1)[0];l&&s.setFieldsValue({type_name:l.type_name});var d=Object(c.useContext)(h),u=d.fetchData,j=d.dataCenter,m=d.dispatch,O=i.a.useState(1),f=Object(b.a)(O,2),A=f[0],y=f[1];return Object(g.jsx)(S.a,{visible:n,title:"".concat(l?"\u4fee\u6539":"\u65b0\u5efa","\u7c7b\u578b"),okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onCancel:a,onOk:function(){s.validateFields().then((function(e){!function(e){if(l){console.log(l);var t={type_id:"",type_name:""};t=l.isRemove?{child_type_id:l.type_id,child_type_name:e.type_name}:{type_id:l.type_id,type_name:e.type_name},u("/typeManage/updateType",t).then((function(e){e.success&&(R.b.success("\u4fee\u6539\u6210\u529f"),m({type:"NEED_UPDATE_INDEX"}),o(),a())}))}else console.log(e),u("/add/addType",e).then((function(e){e.success&&(R.b.success("\u65b0\u5efa\u6210\u529f"),m({type:"NEED_UPDATE_INDEX"}),a())}))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(g.jsxs)(T.a,Object(p.a)(Object(p.a)({form:s},{labelCol:{span:4},wrapperCol:{span:18}}),{},{name:"form_in_modal",initialValues:{modifier:"public","radio-group":1},children:[!l&&Object(g.jsx)(T.a.Item,{name:"radio-group",label:"\u7c7b\u578b",children:Object(g.jsxs)(U.a.Group,{onChange:function(e){console.log("radio checked",e.target.value),y(e.target.value)},value:A,children:[Object(g.jsx)(U.a,{value:1,children:"\u7236\u7c7b\u578b"}),Object(g.jsx)(U.a,{value:2,children:"\u5b50\u7c7b\u578b"})]})}),1===A||l?Object(g.jsx)(T.a.Item,{name:"type_name",label:"".concat(l?"":"\u7236","\u7c7b\u578b"),rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})}):Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(T.a.Item,{name:"type_id",label:"\u7236\u7c7b\u578b",hasFeedback:!0,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b!"}],children:Object(g.jsx)(D.a,{placeholder:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b",onChange:function(e){s.setFieldsValue({type_id:e})},children:(null===j||void 0===j||null===(t=j.type)||void 0===t?void 0:t.length)&&(null===j||void 0===j?void 0:j.type.map((function(e){return Object(g.jsx)(P,{value:e.type_id,children:e.type_name},e.type_id)})))})}),Object(g.jsx)(T.a.Item,{name:"child_type_name",label:"\u5b50\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(g.jsx)(J.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})})]})]}))})}),Z=n(286),W=n(281);var L=function(e){var t=e.visible,n=e.onCancel,i=(e.onPublish,Object(c.useState)(!1)),a=Object(b.a)(i,2),o=a[0],l=a[1],r=Object(c.useState)(""),s=Object(b.a)(r,2),d=s[0],u=s[1],j=Object(c.useContext)(h),p=j.fetchData,m=j.dataCenter,O=[{title:"\u9875\u9762Id",dataIndex:"page_id",width:150,align:"center"},{title:"\u9875\u9762\u540d\u79f0",dataIndex:"page_name",width:200,align:"center"},{title:"\u9875\u9762Url",dataIndex:"pageUrl",width:300,align:"center",render:function(e,t){return Object(g.jsx)(Z.b,{size:"middle",children:Object(g.jsx)("a",{href:t.pageUrl,children:t.pageUrl})})}},{title:"\u64cd\u4f5c",key:"action",align:"center",width:100,render:function(e,t){return Object(g.jsx)(Z.b,{size:"middle",children:Object(g.jsx)("a",{onClick:function(){return e=t,console.log(e),u(e),void l(!0);var e},children:"\u66ff\u6362"})})}}];return Object(c.useEffect)((function(){console.log(m),(null===m||void 0===m?void 0:m.type)&&p("/page/queryPage",{},"queryPage").then((function(e){}))}),[]),Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(S.a,{visible:t,title:"\u9875\u9762\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:Object(g.jsx)(W.a,{columns:O,dataSource:(null===m||void 0===m?void 0:m.queryPage)&&m.queryPage,pagination:{pageSize:10},size:"middle"})}),o&&Object(g.jsx)(X,{visible:o,onCancel:function(){return l(!1)},data:d})]})},V=n(73),Y=n(287);V.a,V.a.Item,V.a.Item;var H=function(e){var t=e.visible,n=e.onCancel,i=Object(c.useState)(!1),a=Object(b.a)(i,2),o=a[0],l=a[1],r=Object(c.useState)(""),s=Object(b.a)(r,2),d=s[0],u=s[1],j=Object(c.useState)(""),p=Object(b.a)(j,2),m=p[0],O=p[1],f=Object(c.useContext)(h),A=f.fetchData,y=f.dataCenter,x=f.dispatch,v=function e(t,n){return t.map((function(t,c){var i=n(t);return t.children&&(i.children=e(t.children,(function(e){return{isRemove:!0,key:e.child_type_id,type_id:e.child_type_id,type_name:e.child_type_name}}))),i}))},E=function(){(null===y||void 0===y?void 0:y.type)&&A("/typeManage/queryTypeForManage",{},"childTypeData").then((function(e){var t=v(e.data,(function(e){return{key:e.type_id,type_id:e.type_id,type_name:e.type_name}}));u(t)}))};Object(c.useEffect)((function(){E()}),[]);var I=[{title:"\u7c7b\u578b\u540d",width:100,dataIndex:"type_name",key:"type_name"},{title:"Id",width:100,dataIndex:"type_id",align:"center",key:"type_id"},{title:"\u64cd\u4f5c",width:100,key:"operation",align:"center",render:function(e,t){return Object(g.jsxs)(Z.b,{size:"middle",children:[t.isRemove&&Object(g.jsx)(Y.a,{title:"\u786e\u5b9a\u5220\u9664\u5417\uff1f",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onConfirm:function(){A("/typeManage/deleteChildType",{child_type_id:t.type_id}).then((function(e){e.success?(R.b.success("\u522a\u9664\u6210\u529f"),x({type:"NEED_UPDATE_INDEX"}),E()):R.b.error("\u522a\u9664\u5931\u8d25")}))},children:Object(g.jsx)("a",{href:"#",children:"\u5220\u9664"})}),Object(g.jsx)("a",{href:"#",onClick:function(){return O(t),void l(!0)},children:"\u4fee\u6539"})]})}}];return Object(g.jsxs)(S.a,{visible:t,title:"\u7c7b\u578b\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:[Object(g.jsx)(W.a,{columns:I,dataSource:d}),o&&Object(g.jsx)(Q,{visible:o,onCancel:function(){return l(!1)},queryData:function(){return E()},data:m})]})};var _=function(){var e=Object(c.useState)(!1),t=Object(b.a)(e,2),n=t[0],i=t[1],a=Object(c.useState)(!1),o=Object(b.a)(a,2),l=o[0],r=o[1],s=Object(c.useState)(!1),d=Object(b.a)(s,2),u=d[0],j=d[1],p=Object(c.useState)(!1),m=Object(b.a)(p,2),O=m[0],f=m[1],A=Object(c.useState)(!1),h=Object(b.a)(A,2),y=h[0],x=h[1];return Object(g.jsxs)("div",{className:"admin",children:[Object(g.jsx)(F.a,{onClick:function(){return i(!0)},children:"\u65b0\u5efa\u5de5\u5177\u76d2"}),Object(g.jsx)(F.a,{onClick:function(){return j(!0)},children:"\u65b0\u5efa\u7c7b\u578b"}),Object(g.jsx)(F.a,{onClick:function(){return r(!0)},children:"\u53d1\u5e03"}),Object(g.jsx)(F.a,{onClick:function(){return f(!0)},children:"\u9875\u9762\u7ba1\u7406"}),Object(g.jsx)(F.a,{onClick:function(){return x(!0)},children:"\u7c7b\u578b\u7ba1\u7406"}),n&&Object(g.jsx)(N,{visible:n,onCancel:function(){return i(!1)}}),l&&Object(g.jsx)(X,{visible:l,onCancel:function(){return r(!1)}}),u&&Object(g.jsx)(Q,{visible:u,onCancel:function(){return j(!1)}}),O&&Object(g.jsx)(L,{visible:O,onCancel:function(){return f(!1)}}),y&&Object(g.jsx)(H,{visible:y,onCancel:function(){return x(!1)}})]})},$=n(26),ee=function(){var e=window.location.href;window.location.href="http://sso.duibadev.com.cn/login/?redirect=".concat(encodeURIComponent(e),"&systemId=491"),console.log("\u91cd\u5b9a\u5411\uff1a",window.location.href)};var te=function(){Object($.f)();var e,t=Object(c.useContext)(h),n=t.fetchData,i=t.dataCenter,a=t.dispatch;return Object(c.useEffect)((function(){n("/query/queryType",{},"type").then((function(){return n("/query/queryChildType",{type_id:i.type_id},"childType")})).then((function(){return a({type:"NEED_UPDATE_INDEX"})}))}),[i.type_id]),Object(c.useEffect)((function(){if(i.needUpdateIndex){var e,t="all"===i.type_id?{}:"follow"===i.type_id?{isFollow:!0,type_id:JSON.stringify(null===i||void 0===i||null===(e=i.userInfo)||void 0===e?void 0:e.follow)}:{type_id:i.type_id};n("/query/queryToolBox",t,"toolBox").then((function(){return a({type:"NEED_UPDATE_INDEX"})}))}}),[i.needUpdateIndex]),Object(c.useEffect)((function(){n("/users/getUser",{uid:"100001"},"userInfo").catch((function(e){return 70001===+e.code&&ee()}))}),[]),Object(g.jsx)(y.Provider,{value:{hidePop:function(){return setPop("")},showPop:function(e){}},children:Object(g.jsxs)("div",{className:"index",children:[Object(g.jsx)("div",{className:"welcome-top",children:Object(g.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(g.jsx)("span",{className:"welcome-uname",children:null===i||void 0===i||null===(e=i.userInfo)||void 0===e?void 0:e.name}),Object(g.jsx)("a",{className:"login-btn",children:"\u9000\u51fa\u767b\u5f55"})]})}),Object(g.jsxs)("div",{className:"nav",children:[Object(g.jsx)("div",{className:"nav-title",children:Object(g.jsx)("img",{src:v,alt:""})}),Object(g.jsx)("div",{className:"nav-weather",children:Object(g.jsx)("iframe",{width:"360",height:"40",frameBorder:"0",scrolling:"no",hspace:"0",src:"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"})})]}),Object(g.jsx)("div",{className:"tool-nav",children:Object(g.jsx)(I,{})}),Object(g.jsx)("div",{className:"container",children:Object(g.jsx)(K,{})}),Object(g.jsxs)("div",{className:"index-footer",children:["\u5151\u5427\u7814\u53d1\u4e2d\u5fc3\xb7\u676d\u5dde\u5151\u5427\u7f51\u7edc\u79d1\u6280\u6e38\u620f\u516c\u53f8\u7248\u6743\u6240\u6709",Object(g.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]}),Object(g.jsx)(_,{})]})})};n(272),n(273);var ne=function(e){var t,n,i=Object(c.useContext)(h).dataCenter;return Object(g.jsx)("div",{className:"content",children:(null===(t=i.toolBox)||void 0===t?void 0:t.length)?null===i||void 0===i||null===(n=i.toolBox)||void 0===n?void 0:n.filter((function(e){return"all"===i.child_type_id||e.child_type_id===i.child_type_id})).map((function(e){return Object(g.jsx)(G,{value:e},e.toolbox_id)})):"\u6ca1\u6709\u6570\u636e\u4e86\uff01"})};var ce=function(){Object($.f)();var e,t=Object(c.useContext)(h),n=t.fetchData,i=t.dataCenter,a=t.dispatch;return Object(c.useEffect)((function(){n("/query/queryType",{},"type").then((function(){return n("/query/queryChildType",{type_id:i.type_id},"childType")})).then((function(){return a({type:"NEED_UPDATE_INDEX"})}))}),[i.type_id]),Object(c.useEffect)((function(){if(i.needUpdateIndex){var e,t="follow"===i.type_id?{isFollow:!0,type_id:JSON.stringify(null===i||void 0===i||null===(e=i.userInfo)||void 0===e?void 0:e.follow)}:{type_id:i.type_id};n("/query/queryToolBox",t,"toolBox").then((function(){return a({type:"NEED_UPDATE_INDEX"})}))}}),[i.needUpdateIndex]),Object(c.useEffect)((function(){n("/users/getUser",{uid:"100001"},"userInfo").catch((function(e){return 70001===+e.code&&ee()}))}),[]),Object(g.jsxs)("div",{className:"index",children:[Object(g.jsx)("div",{className:"welcome-top",children:Object(g.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(g.jsx)("span",{className:"welcome-uname",children:null===i||void 0===i||null===(e=i.userInfo)||void 0===e?void 0:e.name}),Object(g.jsx)("a",{className:"login-btn",children:"\u9000\u51fa\u767b\u5f55"})]})}),Object(g.jsxs)("div",{className:"nav",children:[Object(g.jsx)("div",{className:"nav-title",children:Object(g.jsx)("img",{src:v,alt:""})}),Object(g.jsx)("div",{className:"nav-weather",children:Object(g.jsx)("iframe",{width:"360",height:"40",frameBorder:"0",scrolling:"no",hspace:"0",src:"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"})})]}),Object(g.jsx)("div",{className:"tool-nav",children:Object(g.jsx)(I,{})}),Object(g.jsx)("div",{className:"container",children:Object(g.jsx)(ne,{})}),Object(g.jsxs)("div",{className:"index-footer",children:["\u5151\u5427\u7814\u53d1\u4e2d\u5fc3\xb7\u676d\u5dde\u5151\u5427\u7f51\u7edc\u79d1\u6280\u6709\u9650\u516c\u53f8\u7248\u6743\u6240\u6709",Object(g.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]})]})};n(274);var ie=function(){var e=Object($.f)(),t=Object(c.useContext)(h),n=t.fetchData,i=t.dataCenter,a=Object(c.useState)(!1),o=Object(b.a)(a,2),l=o[0],r=o[1],s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(c.useState)(e),n=Object(b.a)(t,2),i=n[0],a=n[1],o=Object(c.useCallback)((function(e,t){a((function(){return Object.assign({},Object(p.a)({},i),Object(j.a)({},e,t))}))}),[i]);return[i,o]}(),d=Object(b.a)(s,2),u=d[0],m=d[1],O=function(){n("/users/getUser",{},"userInfo").then((function(t){return t.data.uid&&e.push("/")})).catch((function(e){return 70001===e.code&&r(!0)}))},f=function(){l?n("/users/login",{uid:u.uid}).then((function(){O()})):O()};return Object(c.useEffect)((function(){i.userInfo}),[i.userInfo]),Object(c.useEffect)((function(){f()}),[]),Object(g.jsx)("div",{className:"login",children:Object(g.jsxs)("div",{className:"loginDiv",children:[l&&Object(g.jsx)("input",{type:"text",onChange:function(e){return m("uid",e.target.value)},defaultValue:u.uid}),Object(g.jsx)("button",{className:"btn-login",onClick:function(){return f()},children:"\u767b\u5f55"})]})})},ae=n(91);var oe=function(){return Object(c.useEffect)((function(){console.log("%c+","font-size: 1px;\n padding: 122px 217px;\n background-image: url(https://yun.duiba.com.cn/spark/assets/cc8da992b527b3cd24da7df9a5be8b2361c2e549.jpg);\n background-size: contain;\n background-repeat: no-repeat;\n color: transparent;")}),[]),Object(g.jsx)(ae.a,{children:Object(g.jsx)(x,{children:Object(g.jsxs)($.c,{children:[Object(g.jsx)($.a,{exact:!0,path:"/login",component:ie}),Object(g.jsx)($.a,{exact:!0,path:"/",component:ce}),Object(g.jsx)($.a,{exact:!0,path:"/admin",component:te})]})})})},le=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,288)).then((function(t){var n=t.getCLS,c=t.getFID,i=t.getFCP,a=t.getLCP,o=t.getTTFB;n(e),c(e),i(e),a(e),o(e)}))};u.a.locale("zh-cn"),o.a.render(Object(g.jsx)(i.a.StrictMode,{children:Object(g.jsx)(l.a,{locale:s.a,children:Object(g.jsx)(oe,{})})}),document.getElementById("root")),le()}},[[279,1,2]]]);
//# sourceMappingURL=main.c524e7b0.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["dataCenter/reducer.js","config/apiConfig.js","dataCenter/action.js","dataCenter/Root.jsx","static/logo.png","component/ToolType/ToolType.jsx","static/setting.svg","static/trash.svg","static/dragIcon.svg","modal/ToolModal.jsx","component/ContentAdmin/ContentItemAdmin.jsx","component/Content/ContentItem.jsx","static/followed.png","static/notFollow.png","component/ContentAdmin/Content.jsx","modal/PublishModal.jsx","modal/TypeModal.jsx","modal/PageModal.jsx","modal/RemoveType.jsx","component/AdminIndex/AdminIndex.jsx","utils/gotoLogin.js","page/indexAdmin/index.jsx","component/Content/Content.jsx","page/index/index.jsx","page/login/login.jsx","utils/hook.js","App.js","reportWebVitals.js","index.js"],"names":["initDataCenter","toolBox","type","childType","userInfo","needUpdateIndex","type_id","child_type_id","deepFreeze","obj","Object","getOwnPropertyNames","forEach","name","prop","freeze","dataReducer","state","action","console","table","assign","data","apiConfig","domain","window","location","hostname","CHANGE_TYPE","Root","createContext","PopContext","DataCenter","props","useReducer","dataCenter","dispatch","Provider","value","fetchData","path","requestData","dataName","fetch","paramsStr","keys","map","v","i","join","log","generateUrl","credentials","then","res","json","success","catch","e","error","children","ChildTypeItem","useContext","child_type_name","classNameArr","push","className","onClick","CHANGE_CHILD_TYPE","ToolType","length","type_name","Option","Select","ToolModal","visible","onCancel","Form","useForm","form","useEffect","title","okText","cancelText","onOk","validateFields","values","input","toolbox_name","toolbox_icon","icon","toolbox_desc","depict","toolbox_url","url","toolbox_id","message","onCreate","info","labelCol","span","wrapperCol","initialValues","Item","label","rules","required","placeholder","onChange","setFieldsValue","allowClear","ContentItemAdmin","useState","setVisible","showPop","follow","itemIcon","setItemIcon","jumpUrl","href","src","dragIcon","alt","setting","trash","deleteItem","onError","ContentItem","isFollow","setIsFollow","includes","_follow","slice","index","indexOf","splice","JSON","stringify","uid","Content","filter","PublishModal","code","setcode","page_name","setPageName","oldCode","method","headers","body","page_id","response","width","defaultValue","target","editor","options","styleActiveLine","lineNumbers","theme","tabSize","keyMap","mode","smartIndent","lineWrapping","autofocus","TypeModal","Tabs","TabPane","queryData","React","setValue","isRemove","modifier","Group","hasFeedback","PageModal","onPublish","publish","setPublish","pageData","setpageData","columns","dataIndex","align","render","text","record","size","pageUrl","key","dataSource","queryPage","pagination","pageSize","RemoveType","typeModal","setTypeModal","typeData","settypeData","oldData","setoldData","changeData","list","cb","item","newData","onConfirm","AdminIndex","pageModal","setpageModal","removeType","setremoveType","gotoLogin","redirectUrl","encodeURIComponent","Index","useHistory","_typeId","hidePop","setPop","popName","logo","height","frameBorder","scrolling","hspace","Login","history","needLogin","setNeedLogin","setInput","setInputData","useCallback","useFormState","getUser","doLogin","App","exact","component","IndexAdmin","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","moment","locale","ReactDOM","StrictMode","zhCN","document","getElementById"],"mappings":"wfAAMA,EAAiB,CACnBC,QAAS,KACTC,KAAM,KACNC,UAAW,KACXC,SAAU,KACVC,iBAAiB,EACjBC,QAAS,SACTC,cAAe,QAQnB,SAASC,EAAWC,GAchB,OAZgBC,OAAOC,oBAAoBF,GAGjCG,SAAQ,SAAUC,GACxB,IAAIC,EAAOL,EAAII,GAGI,iBAARC,GAA6B,OAATA,GAC3BN,EAAWM,MAIZJ,OAAOK,OAAON,GAIzBD,CAAWR,GAEX,IAAMgB,EAAc,SAACC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WAAf,UAEQmK,GAAc,uBAAOnO,KAAK,OAAO0G,SAAU,SAAAlD,GAAC,OAAI6K,EAAS,MAAM7K,EAAEgG,OAAOpH,QAAQmH,aAAclE,EAAMmD,MAExG,wBAAQxE,UAAU,YAAYC,QAAS,kBAAMyK,KAA7C,gC,SEZDC,OAvBf,WAUI,OATA7J,qBAAU,WACN7D,QAAQ+B,IAAI,MAAZ,iPAOD,IAEC,cAAC,KAAD,UACI,cAAC,EAAD,UACI,eAAC,IAAD,WACI,cAAC,IAAD,CAAO4L,OAAK,EAACtM,KAAK,SAASuM,UAAWZ,KACtC,cAAC,IAAD,CAAOW,OAAK,EAACtM,KAAK,IAAIuM,UAAWvB,KACjC,cAAC,IAAD,CAAOsB,OAAK,EAACtM,KAAK,SAASuM,UAAWC,aCZ3CC,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqB9L,MAAK,YAAkD,IAA/C+L,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCKdO,IAAOC,OAAO,SACdC,IAASlE,OACL,cAAC,IAAMmE,WAAP,UACI,cAAC,IAAD,CAAgBF,OAAQG,IAAxB,SACI,cAAC,GAAD,QAGRC,SAASC,eAAe,SAM5Bd,O","file":"static/js/main.c524e7b0.chunk.js","sourcesContent":["const initDataCenter = {\r\n toolBox: null,\r\n type: null,\r\n childType: null,\r\n userInfo: null,\r\n needUpdateIndex: false,\r\n type_id: 'follow',\r\n child_type_id: 'all'\r\n}\r\n\r\n/**\r\n * deepFreeze()\r\n * @param obj\r\n * @returns {unknown[]}\r\n */\r\nfunction deepFreeze(obj) {\r\n // 取回定义在obj上的属性名\r\n let propNames = Object.getOwnPropertyNames(obj);\r\n\r\n // 在冻结自身之前冻结属性\r\n propNames.forEach(function (name) {\r\n let prop = obj[name];\r\n\r\n // 如果prop是个对象,冻结它\r\n if (typeof prop == 'object' && prop !== null)\r\n deepFreeze(prop);\r\n });\r\n\r\n // 冻结自身(no-op if already frozen)\r\n return Object.freeze(obj);\r\n}\r\n\r\n//任何修改原始对象的操作都是禁止的!\r\ndeepFreeze(initDataCenter)\r\n\r\nconst dataReducer = (state, action) => {\r\n // console.log(action)\r\n console.table(action,['dataCenter的dispatch'])\r\n switch (action.type) {\r\n case 'UPDATE_DATA':\r\n return Object.assign({}, state, {\r\n ...action.data\r\n })\r\n case 'NEED_UPDATE_INDEX':\r\n return Object.assign({}, state, {needUpdateIndex: !state.needUpdateIndex})\r\n case 'CHANGE_TYPE':\r\n return Object.assign({}, state, {type_id: action.type_id})\r\n case 'CHANGE_CHILD_TYPE':\r\n return Object.assign({}, state, {child_type_id: action.child_type_id})\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport {\r\n initDataCenter,\r\n dataReducer,\r\n}\r\n","const apiConfig = {\r\n domain: 'http://' + window.location.hostname + ':3000',\r\n}\r\n\r\nexport default apiConfig\r\n","const UPDATE_DATA = data => ({type: 'UPDATE_DATA', data: {...data}})\r\nconst NEED_UPDATE_INDEX = () => ({type: 'NEED_UPDATE_INDEX'})\r\nconst CHANGE_TYPE = type_id => ({type: 'CHANGE_TYPE', type_id: type_id})\r\nconst CHANGE_CHILD_TYPE = child_type_id => ({type: 'CHANGE_CHILD_TYPE', child_type_id: child_type_id})\r\n\r\nexport {\r\n UPDATE_DATA,\r\n NEED_UPDATE_INDEX,\r\n CHANGE_TYPE,\r\n CHANGE_CHILD_TYPE\r\n}\r\n","import React, {createContext, useReducer} from \"react\";\r\nimport {dataReducer, initDataCenter} from \"./reducer\";\r\nimport apiConfig from \"../config/apiConfig\";\r\nimport {UPDATE_DATA} from \"./action\";\r\n\r\nconst Root = createContext({})\r\nconst PopContext = createContext({})\r\n\r\nfunction DataCenter(props) {\r\n const [dataCenter, dispatch] = useReducer(dataReducer, initDataCenter, () => {\r\n return initDataCenter\r\n })\r\n\r\n const generateUrl = (path, requestData) => {\r\n if (requestData) {\r\n const keyArr = Object.keys(requestData)\r\n const paramsStr = keyArr.map((v, i) => {\r\n if (i === 0) {\r\n return '?' + v + '=' + requestData[v]\r\n } else {\r\n return '&' + v + '=' + requestData[v]\r\n }\r\n }).join('')\r\n console.log('发送请求:', apiConfig.domain + path + paramsStr)\r\n return apiConfig.domain + path + paramsStr\r\n }\r\n return apiConfig.domain + path\r\n }\r\n\r\n const fetchData = (path, requestData, dataName) =>\r\n fetch(generateUrl(path, requestData), {credentials: 'include'})\r\n .then(res => res.json())\r\n .then(res => {\r\n console.log(res);\r\n if (res.success) {\r\n !!dataName && dispatch(UPDATE_DATA({[dataName]: res.data}))\r\n } else {\r\n throw res\r\n }\r\n return res\r\n })\r\n .catch(e => {\r\n console.error(e)\r\n throw e\r\n })\r\n\r\n\r\n return (\r\n <Root.Provider value={{dataCenter, dispatch, fetchData}}>\r\n {\r\n props.children\r\n }\r\n </Root.Provider>\r\n )\r\n}\r\n\r\nexport {\r\n Root,\r\n PopContext,\r\n}\r\nexport default DataCenter\r\n\r\n","export default __webpack_public_path__ + \"static/media/logo.c725c5d1.png\";","import './ToolType.scss'\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {CHANGE_CHILD_TYPE, CHANGE_TYPE} from \"../../dataCenter/action\";\r\n\r\nconst ChildTypeItem = props => {\r\n const {dataCenter, dispatch} = useContext(Root)\r\n const {child_type_id, child_type_name} = props\r\n const classNameArr = ['child-type-item']\r\n if (child_type_id === dataCenter.child_type_id) {\r\n classNameArr.push('child-type-item-selected')\r\n }\r\n const handleClick = () => {\r\n console.log(child_type_id)\r\n dispatch(CHANGE_CHILD_TYPE(child_type_id))\r\n }\r\n return (\r\n <div className={classNameArr.join(' ')} onClick={handleClick}>{child_type_name}</div>\r\n )\r\n}\r\n\r\n\r\nfunction ToolType(props) {\r\n const {dataCenter, dispatch} = useContext(Root)\r\n return (\r\n <>\r\n <div className=\"tab-tool-type\">\r\n <div className={dataCenter.type_id === 'follow' ? 'item-tool-type item-tool-type-selected' : 'item-tool-type'}\r\n onClick={() => dispatch(CHANGE_TYPE('follow'))}>我的收藏\r\n </div>\r\n {\r\n dataCenter?.type?.length > 0 && dataCenter.type.map(v => {\r\n const classNameArr = ['item-tool-type ']\r\n if (v[\"type_id\"] === dataCenter.type_id) classNameArr.push('item-tool-type-selected')\r\n return (\r\n <div key={v[\"type_id\"]} className={classNameArr.join('')}\r\n onClick={() => dispatch(CHANGE_TYPE( v[\"type_id\"]))}>{v.type_name}</div>\r\n )\r\n })\r\n }\r\n </div>\r\n <div className=\"child-type\">\r\n <ChildTypeItem key={'all'} child_type_id={'all'} child_type_name={'全部'}/>\r\n {\r\n dataCenter?.childType?.length > 0 && dataCenter?.childType.map(v => {\r\n return (\r\n <ChildTypeItem key={v.child_type_id} child_type_id={v.child_type_id}\r\n child_type_name={v.child_type_name}/>\r\n )\r\n })\r\n }\r\n </div>\r\n </>\r\n )\r\n}\r\n\r\nexport default ToolType\r\n","export default __webpack_public_path__ + \"static/media/setting.6a716d85.svg\";","export default __webpack_public_path__ + \"static/media/trash.780a90e8.svg\";","export default __webpack_public_path__ + \"static/media/dragIcon.268403b1.svg\";","import React, {useContext, useEffect} from 'react';\r\nimport {Root} from \"../dataCenter/Root\";\r\nimport {Form, Input, message, Modal, Select} from 'antd';\r\nimport {NEED_UPDATE_INDEX} from \"../dataCenter/action\";\r\n\r\nconst {Option} = Select;\r\nconst ToolModal = ({visible, onCancel, data}) => {\r\n const [form] = Form.useForm();\r\n const {fetchData, dataCenter, dispatch} = useContext(Root)\r\n const formItemLayout = {\r\n labelCol: {span: 4},\r\n wrapperCol: {span: 18},\r\n };\r\n const onCreate = (values) => {\r\n let input = {\r\n toolbox_name: values.name,\r\n toolbox_icon: values.icon,\r\n toolbox_desc: values.depict,\r\n toolbox_url: values.url,\r\n }\r\n if (!data) {\r\n input = {\r\n ...input,\r\n type_id: values.type,\r\n child_type_id: values.childType\r\n }\r\n console.log(input);\r\n fetchData('/add/addToolBox', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('新建成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n } else {\r\n message.error('新建失败')\r\n }\r\n })\r\n\r\n } else {\r\n input = {\r\n ...input,\r\n toolbox_id: data.toolbox_id\r\n }\r\n fetchData('/update/updateToolBox', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('修改成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n } else {\r\n message.error('新建失败')\r\n }\r\n })\r\n }\r\n };\r\n\r\n const onGenderChange = (value) => {\r\n form.setFieldsValue({\r\n type: value,\r\n });\r\n fetchData('/query/queryChildType', {type_id: value}, 'childType')\r\n .then((res) => {\r\n\r\n console.log(res);\r\n })\r\n console.log(dataCenter);\r\n };\r\n const onChildGenderChange = (value) => {\r\n form.setFieldsValue({\r\n childType: value,\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dataCenter?.type && fetchData('/query/queryChildType', {type_id: dataCenter?.type[0]?.type_id}, 'childType')\r\n .then((res) => {\r\n\r\n console.log(res);\r\n })\r\n }, [])\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title={data ? '修改工具箱' : '新建工具箱'}\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={() => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n // form.resetFields();\r\n onCreate(values);\r\n })\r\n .catch((info) => {\r\n console.log('Validate Failed:', info);\r\n });\r\n }}\r\n >\r\n <Form\r\n form={form}\r\n // layout=\"vertical\"\r\n {...formItemLayout}\r\n name=\"form_in_modal\"\r\n initialValues={data ? {\r\n name: data.toolbox_name,\r\n icon: data.toolbox_icon,\r\n url: data.toolbox_url,\r\n depict: data.toolbox_desc,\r\n } : {type: dataCenter?.type && dataCenter?.type[0]?.type_id}}\r\n >\r\n <Form.Item\r\n name=\"name\"\r\n label=\"名称\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入名称\"/>\r\n </Form.Item>\r\n <Form.Item name=\"icon\"\r\n label=\"图标\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入图标url!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入图标url\"/>\r\n </Form.Item>\r\n <Form.Item\r\n name=\"depict\"\r\n label=\"描述\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入描述!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入描述\"/>\r\n </Form.Item>\r\n <Form.Item\r\n name=\"url\"\r\n label=\"链接\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入链接!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入链接\"/>\r\n </Form.Item>\r\n {!data && <Form.Item\r\n name=\"type\"\r\n label=\"类型\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请选择类型!',\r\n },\r\n ]}\r\n >\r\n <Select\r\n placeholder=\"请选择类型\"\r\n onChange={onGenderChange}\r\n // allowClear\r\n >\r\n {\r\n dataCenter?.type?.length && dataCenter?.type.map(v => {\r\n return (\r\n <Option key={v.type_id} value={v.type_id}>{v.type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>}\r\n {!data && dataCenter?.childType && <Form.Item\r\n name=\"childType\"\r\n label=\"子类型\"\r\n >\r\n <Select\r\n placeholder=\"请选择子类型\"\r\n onChange={onChildGenderChange}\r\n allowClear\r\n >\r\n {\r\n dataCenter?.childType?.length && dataCenter?.childType.map(v => {\r\n return (\r\n <Option key={v.child_type_id} value={v.child_type_id}>{v.child_type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>}\r\n </Form>\r\n </Modal>\r\n );\r\n};\r\nexport default ToolModal\r\n","import './ContentItem.scss'\r\nimport notFollow from '../../static/notFollow.png'\r\nimport followed from '../../static/followed.png'\r\nimport setting from '../../static/setting.svg'\r\nimport trash from '../../static/trash.svg'\r\nimport dragIcon from '../../static/dragIcon.svg'\r\nimport {useContext, useState} from \"react\";\r\nimport {PopContext, Root} from \"../../dataCenter/Root\";\r\nimport ToolModal from \"../../modal/ToolModal\"\r\n\r\nfunction ContentItemAdmin(props) {\r\n const [visible, setVisible] = useState(false)\r\n\r\n const {fetchData} = useContext(Root)\r\n const {showPop} = useContext(PopContext)\r\n\r\n const {toolbox_icon, toolbox_name, toolbox_desc, toolbox_url, follow, toolbox_id} = props.value\r\n\r\n const [itemIcon, setItemIcon] = useState(toolbox_icon)\r\n\r\n const jumpUrl = url => {\r\n window.location.href = url\r\n }\r\n const deleteItem = toolbox_id => {\r\n fetchData('/delete/deleteToolBoxById', {toolbox_id})\r\n }\r\n\r\n return (\r\n <div className=\"content-item\">\r\n <div className=\"content-adminTool\">\r\n <img src={dragIcon} alt=\"\"/>\r\n <img src={setting} alt=\"\" onClick={() => setVisible(true)}/>\r\n <img src={trash} alt=\"\" onClick={() => deleteItem(toolbox_id)}/>\r\n </div>\r\n <div className=\"item-icon\" onClick={() => jumpUrl(toolbox_url)}>\r\n {\r\n !itemIcon && <div className=\"defaultIcon\">{toolbox_name[0]}</div>\r\n }\r\n {\r\n itemIcon && <img src={itemIcon} alt='' onError={e => setItemIcon(null)}/>\r\n }\r\n </div>\r\n <div className=\"item-name\" onClick={() => jumpUrl(toolbox_url)}>{toolbox_name}</div>\r\n <div className=\"item-desc\">{toolbox_desc}</div>\r\n <a className='item-url' href={toolbox_url}>{toolbox_url}</a>\r\n {/*<div className=\"follow\">*/}\r\n {/* <img className='icon-follow' src={follow ? followed : notFollow} alt=\"\"/>*/}\r\n {/* 收藏*/}\r\n {/*</div>*/}\r\n {visible && <ToolModal\r\n visible={visible}\r\n onCancel={() =>\r\n setVisible(false)\r\n }\r\n data={props.value}\r\n />}\r\n </div>\r\n\r\n )\r\n}\r\n\r\nexport default ContentItemAdmin\r\n","import './ContentItem.scss'\r\nimport notFollow from '../../static/notFollow.png'\r\nimport followed from '../../static/followed.png'\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\n\r\nfunction ContentItem(props) {\r\n const {dataCenter, fetchData} = useContext(Root)\r\n const {toolbox_icon, toolbox_name, toolbox_desc, toolbox_url, toolbox_id} = props.value\r\n const [isFollow, setIsFollow] = useState(false)\r\n const [itemIcon, setItemIcon] = useState(toolbox_icon)\r\n\r\n const jumpUrl = url => window.location.href = url\r\n\r\n const follow = () => {\r\n const _follow = dataCenter.userInfo.follow.slice()\r\n if (!isFollow) {\r\n _follow.push(toolbox_id)\r\n } else {\r\n const index = _follow.indexOf(toolbox_id)\r\n _follow.splice(index, 1)\r\n }\r\n console.log( {follow: JSON.stringify(_follow), uid: dataCenter.userInfo.uid})\r\n fetchData('/users/follow', {follow: JSON.stringify(_follow), uid: dataCenter.userInfo.uid})\r\n .then(() => fetchData('/users/getUser', {uid: 100001}, 'userInfo'))\r\n }\r\n\r\n useEffect(() => {\r\n if (dataCenter.userInfo?.follow.includes(toolbox_id)) {\r\n setIsFollow(true)\r\n } else {\r\n setIsFollow(false)\r\n }\r\n }, [dataCenter.toolBox, dataCenter.userInfo])\r\n\r\n return (\r\n <div className=\"content-item\">\r\n <div className=\"item-icon\" onClick={() => jumpUrl(toolbox_url)}>\r\n {\r\n !itemIcon && <div className=\"defaultIcon\">{toolbox_name[0]}</div>\r\n }\r\n {\r\n itemIcon && <img src={itemIcon} alt='' onError={e => setItemIcon(null)}/>\r\n }\r\n\r\n </div>\r\n <div className=\"item-name\" onClick={() => jumpUrl(toolbox_url)}>{toolbox_name}</div>\r\n <div className=\"item-desc\">{toolbox_desc}</div>\r\n <a className='item-url' href={toolbox_url}>{toolbox_url}</a>\r\n <div className=\"follow\">\r\n <img className='icon-follow' src={isFollow ? followed : notFollow} alt=\"\" onClick={() => follow()}/>\r\n 收藏\r\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pBEGQFBiLMlBUYBF8bpTOmFgSZkTBf3YMofTGbEbfHwjzKWvv5jCGH7p4YCKL0RGweWK3125jZbZTePI99DpsJRDzFGHNFDttg4omBIEpPxOaFHR8ff/b09LQTpo8dJo+Fxcyn12q1U5rN5oN5Yw12fhgIovTDa2FUItoHAI4HgN0Kgz0e4Ied2dHHUfLCoQ4nXBBlxcdda71fkiT7I6I7COjpecJl5vvckX6I+B1jzHfyYASb8hgIoiyP68KetNYHMfNBALAtADwTAJ4xC+i9AHAPAEwi4oXGmKsLOw8ApTEQRFka1V4c1cbGxjZrt9tOoFCr1e5Zvnz57wGg7cVbAC2FgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgf8DJGyXX6wRtw0AAAAASUVORK5CYII=\"","import './Content.scss'\r\nimport ContentItemAdmin from \"./ContentItemAdmin\";\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport ContentItem from \"../Content/ContentItem\";\r\n\r\nfunction Content(props) {\r\n const {dataCenter} = useContext(Root)\r\n\r\n return (\r\n <div className=\"content\">\r\n {\r\n dataCenter.toolBox?.length ? dataCenter?.toolBox?.filter(v => {\r\n if (dataCenter.child_type_id === 'all') return true\r\n else return v.child_type_id === dataCenter.child_type_id\r\n }).map(v => {\r\n return (\r\n <ContentItemAdmin key={v['toolbox_id']} value={v}/>\r\n )\r\n })\r\n :\r\n '没有数据了!'\r\n }\r\n </div>\r\n )\r\n}\r\n\r\nexport default Content\r\n","import './PublishModal.scss'\r\nimport React, {useContext, useEffect, useState} from 'react';\r\nimport {Root} from \"../dataCenter/Root\";\r\nimport {UnControlled as CodeMirror} from 'react-codemirror2'\r\nimport {Form, Input, message, Modal, Select} from 'antd';\r\nimport apiConfig from \"../config/apiConfig\";\r\n\r\nimport 'codemirror/addon/display/autorefresh';\r\nimport 'codemirror/addon/comment/comment';\r\nimport 'codemirror/addon/edit/matchbrackets';\r\nimport 'codemirror/keymap/sublime';\r\nimport 'codemirror/theme/eclipse.css';\r\nimport 'codemirror/theme/monokai.css';\r\nimport 'codemirror/lib/codemirror.js';\r\nimport 'codemirror/lib/codemirror.css';\r\nimport 'codemirror/theme/solarized.css'\r\nimport 'codemirror/mode/javascript/javascript'\r\nimport 'codemirror/addon/selection/active-line';\r\nimport 'codemirror/addon/fold/foldgutter.css';\r\n\r\nconst { Option } = Select;\r\n\r\n\r\nconst PublishModal = ({ visible, onCancel, data }) => {\r\n const [code, setcode] = useState('')\r\n const [page_name, setPageName] = useState('')\r\n const [oldCode, setoldCode] = useState('')\r\n const { fetchData, dataCenter } = useContext(Root)\r\n const onCreate = (values) => {\r\n console.log(code);\r\n\r\n if (!code || !page_name) {\r\n message.error('请补全信息!')\r\n return\r\n }\r\n if (data) {\r\n fetch(`${apiConfig.domain}/page/updatePage`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n page_id: data.page_id,\r\n page_name: page_name,\r\n code: code\r\n })\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n if (data.success) {\r\n onCancel()\r\n message.success('替换成功!')\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n\r\n })\r\n } else {\r\n message.error( '替换失败')\r\n }\r\n });\r\n } else {\r\n fetch(`${apiConfig.domain}/page/addPage`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n page_name: page_name,\r\n code: code\r\n })\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n if (data.success) {\r\n onCancel()\r\n message.success('发布成功!')\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n\r\n })\r\n } else {\r\n message.error(data.error || '发布失败')\r\n }\r\n });\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n data&&setPageName(data.page_name)\r\n }, [data])\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title=\"发布\"\r\n okText=\"发布\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={onCreate}\r\n width='1000px'\r\n >\r\n <Form.Item\r\n name=\"page_name\"\r\n label=\"页面名称\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入页面名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入页面名称\" defaultValue={data?.page_name ? data.page_name : page_name} onChange={(e) => { setPageName(e.target.value) }} />\r\n </Form.Item>\r\n <Form.Item\r\n name=\"type\"\r\n label=\"布局代码\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入页面名称!',\r\n },\r\n ]}\r\n >\r\n <div className='codeMain'>\r\n <CodeMirror\r\n onChange={(editor, data, value) => {\r\n setcode(value)\r\n }}\r\n value={oldCode}\r\n options={{\r\n styleActiveLine: true,//光标代码高亮\r\n lineNumbers: true,\r\n theme: 'monokai',\r\n tabSize: 2,\r\n keyMap: 'sublime',\r\n mode: 'text/javascript',\r\n smartIndent: true, //自动缩进\r\n lineWrapping: true,\r\n autofocus: true\r\n }}\r\n />\r\n </div>\r\n </Form.Item>\r\n </Modal>\r\n );\r\n};\r\nexport default PublishModal\r\n","import React from 'react';\r\nimport { Button, Modal, Form, Input, Radio, Select, message, Tabs } from 'antd';\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { Root } from \"../dataCenter/Root\";\r\nimport { NEED_UPDATE_INDEX } from \"../dataCenter/action\";\r\nconst { Option } = Select;\r\nconst { TabPane } = Tabs;\r\nconst TypeModal = ({ visible, onCancel, queryData, data }) => {\r\n console.log(data);\r\n const [form] = Form.useForm();\r\n if (data) {\r\n form.setFieldsValue({\r\n type_name: data.type_name,\r\n });\r\n }\r\n const formItemLayout = {\r\n labelCol: { span: 4 },\r\n wrapperCol: { span: 18 },\r\n };\r\n\r\n const { fetchData, dataCenter, dispatch } = useContext(Root)\r\n const [value, setValue] = React.useState(1);\r\n\r\n\r\n const onCreate = (values) => {\r\n if (data) {\r\n console.log(data);\r\n\r\n let input = {\r\n type_id: '',\r\n type_name: ''\r\n }\r\n if (!data.isRemove) {\r\n input = {\r\n type_id: data.type_id,\r\n type_name: values.type_name\r\n }\r\n } else {\r\n input = {\r\n child_type_id: data.type_id,\r\n child_type_name: values.type_name\r\n }\r\n }\r\n fetchData('/typeManage/updateType', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('修改成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n queryData()\r\n onCancel()\r\n }\r\n })\r\n } else {\r\n console.log(values);\r\n fetchData('/add/addType', values)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('新建成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n }\r\n })\r\n }\r\n\r\n };\r\n // function callback(key) {\r\n // console.log(key);\r\n // }\r\n\r\n const onChange = e => {\r\n console.log('radio checked', e.target.value);\r\n setValue(e.target.value);\r\n };\r\n\r\n const onGenderChange = (value) => {\r\n form.setFieldsValue({\r\n type_id: value,\r\n });\r\n };\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title={`${data ? '修改' : '新建'}类型`}\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={() => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n // form.resetFields();\r\n onCreate(values);\r\n })\r\n .catch((info) => {\r\n console.log('Validate Failed:', info);\r\n });\r\n }}\r\n >\r\n <Form\r\n form={form}\r\n // layout=\"vertical\"\r\n {...formItemLayout}\r\n name=\"form_in_modal\"\r\n initialValues={{\r\n modifier: 'public',\r\n 'radio-group': 1\r\n }}\r\n >\r\n\r\n {!data && <Form.Item name=\"radio-group\" label=\"类型\">\r\n <Radio.Group onChange={onChange} value={value}>\r\n <Radio value={1}>父类型</Radio>\r\n <Radio value={2}>子类型</Radio>\r\n </Radio.Group>\r\n </Form.Item>}\r\n {value === 1 || data ? <Form.Item\r\n name=\"type_name\"\r\n label={`${data ? '' : '父'}类型`}\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入类型名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入类型名称\" />\r\n </Form.Item> :\r\n <>\r\n <Form.Item\r\n name=\"type_id\"\r\n label=\"父类型\"\r\n hasFeedback\r\n rules={[{ required: true, message: '请选择父类型!' }]}\r\n >\r\n <Select\r\n placeholder=\"请选择父类型\"\r\n onChange={onGenderChange}\r\n // allowClear\r\n >\r\n {\r\n dataCenter?.type?.length && dataCenter?.type.map(v => {\r\n return (\r\n <Option key={v.type_id} value={v.type_id}>{v.type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>\r\n <Form.Item\r\n name=\"child_type_name\"\r\n label=\"子类型\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入类型名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入类型名称\" />\r\n </Form.Item>\r\n </>\r\n\r\n }\r\n </Form>\r\n </Modal>\r\n );\r\n};\r\nexport default TypeModal\r\n","import React, {useContext, useEffect, useState} from 'react';\r\nimport {Root} from \"../dataCenter/Root\";\r\nimport {Modal, Space, Table} from 'antd';\r\nimport PublishModal from \"./PublishModal\"\r\n\r\nfunction PageModal({ visible, onCancel, onPublish }) {\r\n\r\n const [publish, setPublish] = useState(false)\r\n const [pageData, setpageData] = useState('')\r\n const { fetchData, dataCenter } = useContext(Root)\r\n\r\n const onChangePage = (values) => {\r\n console.log(values);\r\n setpageData(values);\r\n setPublish(true)\r\n };\r\n const onRemovePage = (values) => {\r\n console.log(values);\r\n // setVisible(false);\r\n };\r\n\r\n\r\n\r\n const columns = [\r\n {\r\n title: '页面Id',\r\n dataIndex: 'page_id',\r\n width: 150,\r\n align: 'center'\r\n },\r\n {\r\n title: '页面名称',\r\n dataIndex: 'page_name',\r\n width: 200,\r\n align: 'center'\r\n },\r\n {\r\n title: '页面Url',\r\n dataIndex: 'pageUrl',\r\n width: 300,\r\n align: 'center',\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n <a href={record.pageUrl}>{record.pageUrl}</a>\r\n </Space>\r\n ),\r\n },\r\n {\r\n title: '操作',\r\n key: 'action',\r\n align: 'center',\r\n width: 100,\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n <a onClick={() => onChangePage(record)}>替换</a>\r\n {/* <a onClick={() => onRemovePage(record)}>删除</a> */}\r\n </Space>\r\n ),\r\n },\r\n ];\r\n\r\n\r\n useEffect(() => {\r\n console.log(dataCenter);\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n })\r\n }, [])\r\n\r\n\r\n const data = [\r\n {\r\n key: '1',\r\n name: '1 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '2',\r\n name: '2 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '3',\r\n name: '3 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '4',\r\n name: '4 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '5',\r\n name: '5 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '6',\r\n name: '6 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '7',\r\n name: '7 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '8',\r\n name: '8 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '9',\r\n name: '9 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '10',\r\n name: '10 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '11',\r\n name: '11 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '12',\r\n name: '12 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n ];\r\n return (\r\n <>\r\n <Modal\r\n visible={visible}\r\n title=\"页面管理\"\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n width='1000px'\r\n onCancel={onCancel}\r\n onOk={onCancel}\r\n >\r\n <Table columns={columns} dataSource={dataCenter?.queryPage && dataCenter.queryPage} pagination={{ pageSize: 10 }} size=\"middle\" />\r\n </Modal>\r\n {publish && <PublishModal\r\n visible={publish}\r\n onCancel={() =>\r\n setPublish(false)\r\n }\r\n data={pageData}\r\n />}\r\n </>\r\n )\r\n}\r\n\r\nexport default PageModal\r\n","import { Menu, Modal, Popconfirm, Space, Table, message } from 'antd';\r\nimport React, { useContext, useEffect, useState } from 'react';\r\nimport TypeModal from '../modal/TypeModal'\r\nimport { NEED_UPDATE_INDEX } from \"../dataCenter/action\";\r\nimport { Root } from \"../dataCenter/Root\";\r\n\r\nconst menu = (\r\n <Menu>\r\n <Menu.Item>Action 1</Menu.Item>\r\n <Menu.Item>Action 2</Menu.Item>\r\n </Menu>\r\n);\r\n\r\nfunction RemoveType({ visible, onCancel }) {\r\n\r\n const [typeModal, setTypeModal] = useState(false)\r\n const [typeData, settypeData] = useState('')\r\n const [oldData, setoldData] = useState('')\r\n const { fetchData, dataCenter, dispatch } = useContext(Root)\r\n\r\n const changType = (data) => {\r\n setoldData(data)\r\n setTypeModal(true)\r\n }\r\n\r\n const changeData = (list, cb) => {\r\n return list.map((item, index) => {\r\n const res = cb(item);\r\n if (item.children) res.children = changeData(item.children, item => ({\r\n isRemove: true,\r\n key: item.child_type_id,\r\n type_id: item.child_type_id,\r\n type_name: item.child_type_name,\r\n }));\r\n return res;\r\n })\r\n }\r\n\r\n const removeType = (data) => {\r\n fetchData('/typeManage/deleteChildType', { child_type_id: data.type_id })\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('刪除成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n queryData()\r\n // onCancel()\r\n }else{\r\n message.error('刪除失败')\r\n }\r\n })\r\n }\r\n\r\n const queryData = () => {\r\n dataCenter?.type && fetchData('/typeManage/queryTypeForManage', {}, 'childTypeData')\r\n .then((res) => {\r\n // console.log(res.data);\r\n const newData = changeData(res.data, item => ({\r\n key: item.type_id,\r\n type_id: item.type_id,\r\n type_name: item.type_name,\r\n }));\r\n // console.log(newData);\r\n settypeData(newData)\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n queryData()\r\n }, [])\r\n\r\n const columns = [\r\n { title: '类型名', width: 100, dataIndex: 'type_name', key: 'type_name' },\r\n { title: 'Id', width: 100, dataIndex: 'type_id', align: 'center', key: 'type_id' },\r\n {\r\n title: '操作', width: 100, key: 'operation', align: 'center',\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n {record.isRemove && <Popconfirm title=\"确定删除吗?\" okText=\"确定\" cancelText=\"取消\" onConfirm={() => removeType(record)}>\r\n <a href=\"#\" >删除</a>\r\n </Popconfirm>}\r\n <a href=\"#\" onClick={() => changType(record)}>修改</a>\r\n </Space>\r\n )\r\n },\r\n ];\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title=\"类型管理\"\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n width='1000px'\r\n onCancel={onCancel}\r\n onOk={onCancel}\r\n >\r\n <Table\r\n columns={columns}\r\n dataSource={typeData}\r\n />\r\n {typeModal && <TypeModal\r\n visible={typeModal}\r\n onCancel={() =>\r\n setTypeModal(false)\r\n }\r\n queryData={() =>\r\n queryData()\r\n }\r\n data={oldData}\r\n />}\r\n </Modal>\r\n\r\n );\r\n}\r\nexport default RemoveType\r\n","import React, {useState} from 'react'\r\nimport './AdminIndex.scss'\r\nimport {Button} from 'antd';\r\nimport ToolModal from '../../modal/ToolModal'\r\nimport PublishModal from '../../modal/PublishModal'\r\nimport TypeModal from '../../modal/TypeModal'\r\nimport PageModal from '../../modal/PageModal'\r\nimport RemoveType from '../../modal/RemoveType'\r\n\r\nfunction AdminIndex() {\r\n const [visible, setVisible] = useState(false)\r\n const [publish, setPublish] = useState(false)\r\n const [typeModal, setTypeModal] = useState(false)\r\n const [pageModal, setpageModal] = useState(false)\r\n const [removeType, setremoveType] = useState(false)\r\n\r\n return (\r\n <div className='admin'>\r\n <Button onClick={() => setVisible(true)}>新建工具盒</Button>\r\n <Button onClick={() => setTypeModal(true)}>新建类型</Button>\r\n <Button onClick={() => setPublish(true)}>发布</Button>\r\n <Button onClick={() => setpageModal(true)}>页面管理</Button>\r\n <Button onClick={() => setremoveType(true)}>类型管理</Button>\r\n {visible && <ToolModal\r\n visible={visible}\r\n onCancel={() =>\r\n setVisible(false)\r\n }\r\n />}\r\n {publish && <PublishModal\r\n visible={publish}\r\n onCancel={() =>\r\n setPublish(false)\r\n }\r\n />}\r\n {typeModal && <TypeModal\r\n visible={typeModal}\r\n onCancel={() =>\r\n setTypeModal(false)\r\n }\r\n />}\r\n {pageModal && <PageModal\r\n visible={pageModal}\r\n onCancel={() =>\r\n setpageModal(false)\r\n }\r\n />}\r\n {removeType && <RemoveType\r\n visible={removeType}\r\n onCancel={() =>\r\n setremoveType(false)\r\n }\r\n />}\r\n </div>\r\n )\r\n}\r\n\r\nexport default AdminIndex\r\n","const gotoLogin = () => {\r\n const redirectUrl = window.location.href\r\n window.location.href = `http://sso.duibadev.com.cn/login/?redirect=${encodeURIComponent(redirectUrl)}&systemId=491`;\r\n console.log('重定向:',window.location.href)\r\n}\r\n\r\nexport default gotoLogin\r\n","import logo from \"../../static/logo.png\";\r\nimport './index.scss'\r\nimport ToolType from \"../../component/ToolType/ToolType\";\r\nimport Content from '../../component/ContentAdmin/Content'\r\nimport {PopContext, Root} from \"../../dataCenter/Root\";\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {NEED_UPDATE_INDEX} from \"../../dataCenter/action\";\r\nimport AdminIndex from \"../../component/AdminIndex/AdminIndex\";\r\nimport {useHistory} from \"react-router-dom\";\r\nimport gotoLogin from \"../../utils/gotoLogin\";\r\n\r\nfunction Index() {\r\n const history = useHistory()\r\n const {fetchData, dataCenter, dispatch} = useContext(Root)\r\n const showPop = popComponent => {}\r\n const getUser = () => {\r\n fetchData('/users/getUser', {uid: '100001'}, 'userInfo')\r\n .catch(res =>\r\n +res.code === 70001 && (gotoLogin())\r\n )\r\n }\r\n\r\n useEffect(() => {\r\n fetchData('/query/queryType', {}, 'type')\r\n .then(()=> fetchData('/query/queryChildType',{type_id: dataCenter.type_id},'childType'))\r\n .then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }, [dataCenter.type_id])\r\n\r\n useEffect(() => {\r\n if (dataCenter.needUpdateIndex) {\r\n const _typeId = dataCenter.type_id === 'all' ? {} : dataCenter.type_id === 'follow' ? {\r\n isFollow: true,\r\n type_id: JSON.stringify(dataCenter?.userInfo?.follow)\r\n } : {type_id: dataCenter.type_id}\r\n fetchData('/query/queryToolBox', _typeId, 'toolBox').then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }\r\n }, [dataCenter.needUpdateIndex])\r\n\r\n useEffect(() => {\r\n getUser()\r\n }, [])\r\n\r\n return (\r\n <PopContext.Provider value={{hidePop: () => setPop(''), showPop: popName => showPop(popName)}}>\r\n <div className=\"index\">\r\n <div className=\"welcome-top\">\r\n <span>欢迎您!\r\n <span className=\"welcome-uname\">{dataCenter?.userInfo?.name}</span>\r\n <a className=\"login-btn\">退出登录</a>\r\n </span>\r\n </div>\r\n <div className=\"nav\">\r\n <div className=\"nav-title\">\r\n <img src={logo} alt=\"\"/>\r\n </div>\r\n <div className=\"nav-weather\">\r\n <iframe width=\"360\" height=\"40\" frameBorder=\"0\" scrolling=\"no\" hspace=\"0\"\r\n src=\"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1\"/>\r\n </div>\r\n </div>\r\n <div className=\"tool-nav\">\r\n <ToolType/>\r\n </div>\r\n <div className=\"container\">\r\n <Content/>\r\n </div>\r\n <div className=\"index-footer\">\r\n 兑吧研发中心·杭州兑吧网络科技游戏公司版权所有\r\n <br/>\r\n 浙ICP备14017299号-1\r\n </div>\r\n <AdminIndex/>\r\n </div>\r\n </PopContext.Provider>\r\n )\r\n}\r\n\r\nexport default Index\r\n\r\n","import './Content.scss'\r\nimport ContentItem from \"./ContentItem\";\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\n\r\nfunction Content(props) {\r\n const {dataCenter} = useContext(Root)\r\n return (\r\n <div className=\"content\">\r\n {\r\n dataCenter.toolBox?.length ? dataCenter?.toolBox?.filter(v => {\r\n if (dataCenter.child_type_id === 'all') return true\r\n else return v.child_type_id === dataCenter.child_type_id\r\n }).map(v => {\r\n return (\r\n <ContentItem key={v['toolbox_id']} value={v}/>\r\n )\r\n })\r\n :\r\n '没有数据了!'\r\n }\r\n </div>\r\n )\r\n}\r\n\r\nexport default Content\r\n","import logo from \"../../static/logo.png\";\r\nimport './index.scss'\r\nimport ToolType from \"../../component/ToolType/ToolType\";\r\nimport Content from \"../../component/Content/Content\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {useContext, useEffect} from \"react\";\r\nimport {NEED_UPDATE_INDEX} from \"../../dataCenter/action\";\r\nimport {useHistory} from \"react-router-dom\";\r\nimport gotoLogin from \"../../utils/gotoLogin\";\r\n\r\nfunction Index() {\r\n const history = useHistory()\r\n const {fetchData, dataCenter, dispatch} = useContext(Root)\r\n const getUser = () => {\r\n fetchData('/users/getUser', {uid: '100001'}, 'userInfo')\r\n .catch(res =>\r\n +res.code === 70001 && (gotoLogin())\r\n )\r\n }\r\n useEffect(() => {\r\n fetchData('/query/queryType', {}, 'type')\r\n .then(() => fetchData('/query/queryChildType', {type_id: dataCenter.type_id}, 'childType'))\r\n .then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }, [dataCenter.type_id])\r\n useEffect(() => {\r\n if (dataCenter.needUpdateIndex) {\r\n const _typeId = dataCenter.type_id === 'follow' ? {\r\n isFollow: true,\r\n type_id: JSON.stringify(dataCenter?.userInfo?.follow)\r\n } : {type_id: dataCenter.type_id}\r\n fetchData('/query/queryToolBox', _typeId, 'toolBox').then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }\r\n }, [dataCenter.needUpdateIndex])\r\n\r\n useEffect(() => {\r\n getUser()\r\n }, [])\r\n\r\n return (\r\n\r\n <div className=\"index\">\r\n <div className=\"welcome-top\">\r\n <span>欢迎您!\r\n <span className=\"welcome-uname\">{dataCenter?.userInfo?.name}</span>\r\n <a className=\"login-btn\">退出登录</a>\r\n </span>\r\n </div>\r\n <div className=\"nav\">\r\n <div className=\"nav-title\">\r\n <img src={logo} alt=\"\"/>\r\n </div>\r\n <div className=\"nav-weather\">\r\n <iframe width=\"360\" height=\"40\" frameBorder=\"0\" scrolling=\"no\" hspace=\"0\"\r\n src=\"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1\"/>\r\n </div>\r\n </div>\r\n <div className=\"tool-nav\">\r\n <ToolType/>\r\n </div>\r\n <div className=\"container\">\r\n <Content/>\r\n </div>\r\n <div className=\"index-footer\">\r\n 兑吧研发中心·杭州兑吧网络科技有限公司版权所有\r\n <br/>\r\n 浙ICP备14017299号-1\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default Index\r\n\r\n","import './login.scss'\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {useFormState} from \"../../utils/hook\";\r\nimport {useHistory} from \"react-router-dom\";\r\n\r\nfunction Login() {\r\n const history = useHistory()\r\n const {fetchData, dataCenter} = useContext(Root)\r\n const [needLogin,setNeedLogin] = useState(false)\r\n const [input, setInput] = useFormState()\r\n const getUser = ()=>{\r\n fetchData('/users/getUser', {}, 'userInfo')\r\n .then(res => res.data.uid && (history.push('/')))\r\n .catch(res =>\r\n res.code === 70001 && setNeedLogin(true)\r\n )\r\n }\r\n const doLogin = () => {\r\n if (needLogin){\r\n fetchData('/users/login',{uid: input.uid})\r\n .then(()=>{\r\n getUser()\r\n })\r\n }else {\r\n getUser()\r\n }\r\n }\r\n useEffect(() => {\r\n if (dataCenter.userInfo) {\r\n // window.location.href = '/index'\r\n }\r\n }, [dataCenter.userInfo])\r\n\r\n useEffect(() => {\r\n doLogin()\r\n }, [])\r\n return (\r\n <div className=\"login\">\r\n <div className='loginDiv'>\r\n {\r\n needLogin && <input type=\"text\" onChange={e => setInput('uid',e.target.value)} defaultValue={input.uid}/>\r\n }\r\n <button className='btn-login' onClick={() => doLogin()}>登录</button>\r\n </div>\r\n\r\n </div>\r\n )\r\n}\r\n\r\nexport default Login\r\n","import {useCallback, useState} from \"react\";\r\n\r\nconst useFormState = (initialValues = {}) => {\r\n const [input, setInput] = useState(initialValues)\r\n\r\n const setInputData = useCallback((name, value) => {\r\n setInput(() => Object.assign({}, {...input}, {[name]: value}))\r\n }, [input])\r\n\r\n return [input, setInputData]\r\n}\r\n\r\n\r\nconst useDrag = () => {\r\n\r\n}\r\n\r\n\r\n\r\n//这个hook很有意思,怎么样保存return出去的那个组件的数据呢\r\n// function usePopContainer(props) {\r\n// const dragRef = useRef()\r\n// const [offset, setOffset] = useState({x: 0, y: 0})\r\n// const [draggable, setDraggable] = useState(false)\r\n// const handleMouseDown = e => {\r\n// e.stopPropagation()\r\n// setDraggable(true)\r\n// setOffset({\r\n// x: e.clientX - dragRef.current['getBoundingClientRect']().x,\r\n// y: e.clientY - dragRef.current['getBoundingClientRect']().y\r\n// })\r\n// }\r\n//\r\n// const handleMouseUp = () => setDraggable(false)\r\n// const handleMouseMove = e => {\r\n// if (draggable) {\r\n// dragRef.current.style.transform = `translate(${e.clientX - offset.x}px,${e.clientY - offset.y}px)`\r\n// console.log(dragRef.current.style.transform)\r\n// }\r\n// }\r\n// return {\r\n// PopContainer: props => (\r\n// <div className=\"drag-Container\"\r\n// onMouseUp={() => handleMouseUp()}\r\n// onMouseMove={(e) => handleMouseMove(e)}>\r\n// <div className=\"Pop-container\"\r\n// ref={dragRef}\r\n// >\r\n// {props.children}\r\n// </div>\r\n// </div>\r\n// ),\r\n// dragMouseDown: e => handleMouseDown(e)\r\n// }\r\n// }\r\n\r\nexport {\r\n useFormState,\r\n useDrag,\r\n}\r\n","import './App.css';\r\nimport DataCenter from \"./dataCenter/Root\";\r\nimport IndexAdmin from \"./page/indexAdmin\";\r\nimport Index from \"./page/index\";\r\nimport Login from \"./page/login/login\";\r\nimport {HashRouter as Router, Route, Switch} from \"react-router-dom\";\r\nimport {useEffect} from \"react\";\r\n\r\nfunction App() {\r\n useEffect(() => {\r\n console.log(\"%c+\",\r\n `font-size: 1px;\r\n padding: 122px 217px;\r\n background-image: url(https://yun.duiba.com.cn/spark/assets/cc8da992b527b3cd24da7df9a5be8b2361c2e549.jpg);\r\n background-size: contain;\r\n background-repeat: no-repeat;\r\n color: transparent;`);\r\n }, [])\r\n return (\r\n <Router>\r\n <DataCenter>\r\n <Switch>\r\n <Route exact path='/login' component={Login}/>\r\n <Route exact path='/' component={Index}/>\r\n <Route exact path='/admin' component={IndexAdmin}/>\r\n </Switch>\r\n </DataCenter>\r\n </Router>\r\n );\r\n}\r\n\r\nexport default App;\r\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport {ConfigProvider} from 'antd';\r\n// 由于 antd 组件的默认文案是英文,所以需要修改为中文\r\nimport zhCN from 'antd/lib/locale/zh_CN';\r\nimport moment from 'moment';\r\nimport 'moment/locale/zh-cn';\r\nimport 'antd/dist/antd.css';\r\nimport './index.css';\r\nimport App from './App';\r\nimport reportWebVitals from './reportWebVitals';\r\n\r\nmoment.locale('zh-cn');\r\nReactDOM.render(\r\n <React.StrictMode>\r\n <ConfigProvider locale={zhCN}>\r\n <App />\r\n </ConfigProvider>\r\n </React.StrictMode>,\r\n document.getElementById('root')\r\n);\r\n\r\n// If you want to start measuring performance in your app, pass a function\r\n// to log results (for example: reportWebVitals(console.log))\r\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\r\nreportWebVitals();\r\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"4971491c"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpdui123=this.webpackJsonpdui123||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([]);
//# sourceMappingURL=runtime-main.4628cb4f.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,I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EAAWG,QACxB,IAAI,IAAI5F,EAAI,EAAGA,EAAIyF,EAAWvF,OAAQF,IAAKP,EAAqBgG,EAAWzF,IAC3E,IAAIU,EAAsBiF,EAI1B7E,I","file":"static/js/runtime-main.4628cb4f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"3\":\"4971491c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonpdui123\"] = this[\"webpackJsonpdui123\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1630047561806" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1233"
data-spm-anchor-id="a313x.7781069.0.i1"
width="200" height="200"><defs><style type="text/css"></style></defs><path d="M544 256h-64v512h64V256z" fill="#040000" p-id="1234"></path><path d="M493.29 210.71l-64.11 64.11c-16.67 16.67-4.87 45.18 18.71 45.18h128.22c23.58 0 35.38-28.51 18.71-45.18l-64.11-64.11a26.47 26.47 0 0 0-37.42 0zM493.29 813.29l-64.11-64.11c-16.67-16.67-4.87-45.18 18.71-45.18h128.22c23.58 0 35.38 28.51 18.71 45.18l-64.11 64.11a26.47 26.47 0 0 1-37.42 0zM768 480.01H256V544h512v-63.99z" fill="#000000" p-id="1235" data-spm-anchor-id="a313x.7781069.0.i0" class="selected"></path><path d="M209.84 530.8l65.06 64.5c16.71 16.56 45.1 4.7 45.1-18.8v-129c0-23.52-28.39-35.35-45.1-18.79l-65.06 64.5a26.47 26.47 0 0 0 0 37.59zM813.29 530.71l-64.11 64.11C732.5 611.49 704 599.69 704 576.11V447.89c0-23.58 28.5-35.39 45.18-18.71l64.11 64.11a26.47 26.47 0 0 1 0 37.42z" fill="#000000" p-id="1236" data-spm-anchor-id="a313x.7781069.0.i4" class="selected"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1629861469690" class="icon" viewBox="0 0 1097 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1162"
width="214.2578125" height="200"><defs><style type="text/css"></style></defs><path d="M526.628571 877.860571c59.245714 0 114.541714 22.674286 156.745143 64.219429a446.244571 446.244571 0 0 0 129.170286-74.825143 222.573714 222.573714 0 0 1 22.747429-168.082286 221.622857 221.622857 0 0 1 134.070857-103.936c4.315429-25.380571 6.436571-50.468571 6.436571-74.898285 0-24.356571-2.194286-49.444571-6.436571-74.825143a221.769143 221.769143 0 0 1-134.070857-103.936 222.500571 222.500571 0 0 1-22.674286-168.155429 444.854857 444.854857 0 0 0-129.316572-74.752A221.549714 221.549714 0 0 1 526.628571 162.816c-59.245714 0-114.468571-22.747429-156.672-64.219429A445.074286 445.074286 0 0 0 240.64 173.494857a222.354286 222.354286 0 0 1-22.747429 168.082286 221.622857 221.622857 0 0 1-133.997714 103.862857c-4.388571 25.380571-6.509714 50.468571-6.509714 74.898286 0 24.429714 2.194286 49.517714 6.509714 74.898285a221.622857 221.622857 0 0 1 133.997714 103.862858 222.354286 222.354286 0 0 1 22.747429 168.155428 446.464 446.464 0 0 0 129.243429 74.825143 221.403429 221.403429 0 0 1 156.672-64.219429m-152.502858 144.091429a61.805714 61.805714 0 0 1-20.260571-3.437714h-0.219429a524.141714 524.141714 0 0 1-171.154285-99.108572 62.171429 62.171429 0 0 1-18.651429-64.877714A146.285714 146.285714 0 0 0 150.820571 737.718857a145.334857 145.334857 0 0 0-94.354285-69.632 61.952 61.952 0 0 1-46.957715-48.859428A532.114286 532.114286 0 0 1 0 520.338286c0-32.256 3.218286-65.536 9.508571-98.816a61.952 61.952 0 0 1 46.957715-48.859429 145.334857 145.334857 0 0 0 94.354285-69.632A146.285714 146.285714 0 0 0 163.84 186.221714a62.025143 62.025143 0 0 1 18.724571-64.877714A522.459429 522.459429 0 0 1 353.718857 22.235429a61.952 61.952 0 0 1 65.828572 16.310857c28.086857 30.281143 66.194286 46.957714 107.081142 46.957714 40.96 0 78.994286-16.676571 107.154286-46.957714a61.952 61.952 0 0 1 65.828572-16.237715c63.122286 21.942857 120.685714 55.296 171.154285 98.962286 18.505143 16.091429 25.819429 41.545143 18.651429 64.950857a146.432 146.432 0 0 0 13.092571 116.809143c20.48 35.547429 53.979429 60.342857 94.354286 69.632 23.917714 5.485714 42.349714 24.649143 46.884571 48.859429 6.363429 33.353143 9.508571 66.56 9.508572 98.816 0 32.182857-3.145143 65.536-9.508572 98.889143a61.952 61.952 0 0 1-46.957714 48.859428 145.334857 145.334857 0 0 0-94.354286 69.632 146.505143 146.505143 0 0 0-13.019428 116.809143 62.025143 62.025143 0 0 1-18.651429 64.877714 524.141714 524.141714 0 0 1-171.154285 99.108572h-0.146286a62.171429 62.171429 0 0 1-65.682286-16.384 144.969143 144.969143 0 0 0-107.154286-46.884572c-40.96 0-78.994286 16.603429-107.154285 46.957715a62.171429 62.171429 0 0 1-45.348572 19.748571" fill="#000000" p-id="1163"></path><path d="M526.409143 393.947429a126.537143 126.537143 0 0 0-126.464 126.464 126.537143 126.537143 0 0 0 126.464 126.390857 126.537143 126.537143 0 0 0 126.390857-126.390857 126.537143 126.537143 0 0 0-126.390857-126.464m0 327.094857a200.850286 200.850286 0 0 1-200.630857-200.630857 200.850286 200.850286 0 0 1 200.630857-200.630858A200.850286 200.850286 0 0 1 727.04 520.411429a200.850286 200.850286 0 0 1-200.630857 200.630857" fill="#000000" p-id="1164"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1629861474867" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1316"
width="200" height="200"><defs><style type="text/css"></style></defs><path d="M666.686094 949.472752H355.997429L217.694165 223.362331h587.295193l-138.230127 726.110421zM316.064281 74.45411h390.55496l21.283052 74.454111H294.78123l21.209913-74.454111z m632.786801 74.454111H805.281908L770.541533 27.060924a37.227055 37.227055 0 0 0-35.83744-27.060924H287.97943a37.227055 37.227055 0 0 0-35.83744 27.060924l-34.740376 121.920434H73.832441a37.300193 37.300193 0 0 0 0 74.454111h68.017998l146.714092 770.285551a37.300193 37.300193 0 0 0 36.568817 30.27898h372.343689a37.300193 37.300193 0 0 0 36.568817-30.27898l146.714092-770.285551h68.017998a37.300193 37.300193 0 0 0 0-74.454111z" fill="#000000" p-id="1317"></path><path d="M511.268624 837.791586c10.312406 0 18.650096-8.33769 18.650096-18.650096V297.889579a18.650096 18.650096 0 0 0-37.227055 0V819.14149c0 10.239269 8.33769 18.650096 18.650096 18.650096M436.814513 837.791586l1.389615-0.073137a18.650096 18.650096 0 0 0 17.260482-19.893437l-37.300193-521.25191a18.796372 18.796372 0 0 0-19.820299-17.260481 18.650096 18.650096 0 0 0-17.260481 19.893436l37.227055 521.25191c0.731376 9.800443 8.849654 17.333619 18.503821 17.333619M584.406257 837.718449a18.650096 18.650096 0 0 0 19.893436-17.260482l37.300193-521.25191a18.650096 18.650096 0 0 0-17.260482-19.893436 18.796372 18.796372 0 0 0-19.893436 17.260481l-37.227055 521.25191c-0.731376 10.239269 7.021213 19.16206 17.260481 19.893437" fill="#000000" p-id="1318"></path></svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment