Commit d9043206 authored by wty's avatar wty

新增背景生成 dev

parent 554f1579
const env = 'prod' const env = 'dev'
const getConfig = ()=>{ const getConfig = ()=>{
switch (env){ switch (env){
......
{ {
"files": { "files": {
"main.css": "/static/css/main.ca93c6f5.chunk.css", "main.css": "/static/css/main.ca93c6f5.chunk.css",
"main.js": "/static/js/main.6e8d308a.chunk.js", "main.js": "/static/js/main.f2c08f80.chunk.js",
"main.js.map": "/static/js/main.6e8d308a.chunk.js.map", "main.js.map": "/static/js/main.f2c08f80.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.6f469cb7.js", "runtime-main.js": "/static/js/runtime-main.6f469cb7.js",
"runtime-main.js.map": "/static/js/runtime-main.6f469cb7.js.map", "runtime-main.js.map": "/static/js/runtime-main.6f469cb7.js.map",
"static/css/2.1f1ea42e.chunk.css": "/static/css/2.1f1ea42e.chunk.css", "static/css/2.1f1ea42e.chunk.css": "/static/css/2.1f1ea42e.chunk.css",
...@@ -24,6 +24,6 @@ ...@@ -24,6 +24,6 @@
"static/css/2.1f1ea42e.chunk.css", "static/css/2.1f1ea42e.chunk.css",
"static/js/2.a11bd04d.chunk.js", "static/js/2.a11bd04d.chunk.js",
"static/css/main.ca93c6f5.chunk.css", "static/css/main.ca93c6f5.chunk.css",
"static/js/main.6e8d308a.chunk.js" "static/js/main.f2c08f80.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="//yun.duiba.com.cn/polaris/dui512-512.da584fffa7f8fd717dd77acc6efdfc360ffe7da6.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>兑123百宝箱·软件下载|新人导航|文档规范|在线工具</title><link href="/static/css/2.1f1ea42e.chunk.css" rel="stylesheet"><link href="/static/css/main.ca93c6f5.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:"4a2ff99b"}[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.a11bd04d.chunk.js"></script><script src="/static/js/main.6e8d308a.chunk.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" type="image/x-icon" href="//yun.duiba.com.cn/polaris/dui512-512.da584fffa7f8fd717dd77acc6efdfc360ffe7da6.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>兑123百宝箱·软件下载|新人导航|文档规范|在线工具</title><link href="/static/css/2.1f1ea42e.chunk.css" rel="stylesheet"><link href="/static/css/main.ca93c6f5.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:"4a2ff99b"}[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.a11bd04d.chunk.js"></script><script src="/static/js/main.f2c08f80.chunk.js"></script></body></html>
\ No newline at end of file \ 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.webpackJsonpdui123=this.webpackJsonpdui123||[]).push([[0],{176:function(e,t,n){},177:function(e,t,n){},179:function(e,t,n){},180:function(e,t,n){},181:function(e,t,n){},182:function(e,t,n){},252:function(e,t,n){},253:function(e,t,n){},270:function(e,t,n){},271:function(e,t,n){},275:function(e,t,n){},276:function(e,t,n){},277:function(e,t,n){},282:function(e,t,n){"use strict";n.r(t);var i=n(0),c=n.n(i),a=n(28),o=n.n(a),r=n(18),l=n(161),s=n.n(l),d=n(136),u=n.n(d),p=(n(174),n(175),n(176),n(177),n(29)),j=n.n(p),b=n(79),m=n(47),f=n(17),y=n(33),h={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 i=t[n];"object"==typeof i&&null!==i&&e(i)})),Object.freeze(t)}(h);var O=function(e,t){switch(console.log(t),t.type){case"UPDATE_DATA":return Object.assign({},e,Object(y.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}},g={domain:"//"+window.location.hostname},A=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",g.domain+e+n),g.domain+e+n}return g.domain+e},v=n(6),x=Object(i.createContext)({}),I=Object(i.createContext)({});var E=function(e){var t=Object(i.useReducer)(O,h,(function(){return h})),n=Object(f.a)(t,2),c=n[0],a=n[1],o=function(){var e=Object(m.a)(j.a.mark((function e(t,n,i){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch(A(t,n),{credentials:"include"}).then((function(e){return e.json()})).then((function(e){return console.log("res:",e),e.success?(i&&a((t=Object(b.a)({},i,e.data),{type:"UPDATE_DATA",data:Object(y.a)({},t)})),e):e;var t})).catch((function(e){return console.error(e),e})));case 1:case"end":return e.stop()}}),e)})));return function(t,n,i){return e.apply(this,arguments)}}();return Object(v.jsx)(x.Provider,{value:{dataCenter:c,dispatch:a,fetchData:o},children:e.children})},C=n.p+"static/media/logo.a12b1e54.png",w=(n(179),n(180),function(e){var t=Object(i.useContext)(x),n=(t.dataCenter,t.dispatch,e.childTypeId),c=e.child_type_id,a=e.child_type_name,o=e.setChildTypeId,r=["child-type-item"];c===n&&r.push("child-type-item-selected");return Object(v.jsx)("div",{className:r.join(" "),onClick:function(){o(c)},children:a})});var k=function(e){var t,n=e.typeData,c=e.setChildTypeId,a=e.setTypeId,o=e.typeId,r=e.childTypeId,l=Object(i.useContext)(x),s=(l.dataCenter,l.dispatch,function(){return n.filter((function(e){return e.type_id===o}))[0]});return Array.isArray(n)?Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:"tab-tool-type",children:Array.isArray(n)&&n.map((function(e){return Object(v.jsx)("div",{className:o===e.type_id?"item-tool-type item-tool-type-selected":"item-tool-type",onClick:function(){return a(null===e||void 0===e?void 0:e.type_id)},children:null===e||void 0===e?void 0:e.type_name},e.type_id)}))}),Object(v.jsxs)("div",{className:"child-type",children:["all"!==o&&"follow"!==o&&Object(v.jsx)(w,{child_type_id:"all",child_type_name:"\u5168\u90e8",setChildTypeId:c,childTypeId:r},"all"),Array.isArray(null===(t=s())||void 0===t?void 0:t.children)&&s().children.map((function(e){return Object(v.jsx)(w,{child_type_id:e.child_type_id,child_type_name:e.child_type_name,setChildTypeId:c,childTypeId:r},e.child_type_id)}))]})]}):Object(v.jsx)("div",{children:"\u65e0\u6570\u636e,\u6216\u6570\u636e\u683c\u5f0f\u9519\u8bef"})},T=(n(181),n(182),n.p+"static/media/setting.6a716d85.svg"),D=n.p+"static/media/trash.780a90e8.svg",R=n.p+"static/media/dragIcon.268403b1.svg",S=n(97),B=n(285),J=n(165),N=n(288),q=n(287),G=S.a.Option,K=function(e){var t,n,c,a=e.visible,o=e.onCancel,r=e.data,l=B.a.useForm(),s=Object(f.a)(l,1)[0],d=Object(i.useContext)(x),u=d.fetchData,p=d.dataCenter,j=d.dispatch;return Object(i.useEffect)((function(){var e;(null===p||void 0===p?void 0:p.type)&&u("/query/queryChildType",{type_id:null===p||void 0===p||null===(e=p.type[0])||void 0===e?void 0:e.type_id},"childType").then((function(e){console.log(e)}))}),[]),Object(v.jsx)(N.a,{visible:a,title:r?"\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:encodeURIComponent(e.url)};r?(t=Object(y.a)(Object(y.a)({},t),{},{toolbox_id:r.toolbox_id}),u("/update/updateToolBox",t).then((function(e){e.success?(J.b.success("\u4fee\u6539\u6210\u529f"),j({type:"NEED_UPDATE_INDEX"}),o()):J.b.error("\u65b0\u5efa\u5931\u8d25")}))):(t=Object(y.a)(Object(y.a)({},t),{},{type_id:e.type,child_type_id:e.childType}),console.log(t),u("/add/addToolBox",t).then((function(e){e.success?(J.b.success("\u65b0\u5efa\u6210\u529f"),j({type:"NEED_UPDATE_INDEX"}),o()):J.b.error("\u65b0\u5efa\u5931\u8d25")})))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(v.jsxs)(B.a,Object(y.a)(Object(y.a)({form:s},{labelCol:{span:4},wrapperCol:{span:18}}),{},{name:"form_in_modal",initialValues:r?{name:r.toolbox_name,icon:r.toolbox_icon,url:r.toolbox_url,depict:r.toolbox_desc}:{type:(null===p||void 0===p?void 0:p.type)&&(null===p||void 0===p||null===(t=p.type[0])||void 0===t?void 0:t.type_id)},children:[Object(v.jsx)(B.a.Item,{name:"name",label:"\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u540d\u79f0"})}),Object(v.jsx)(B.a.Item,{name:"icon",label:"\u56fe\u6807",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u56fe\u6807url!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u56fe\u6807url"})}),Object(v.jsx)(B.a.Item,{name:"depict",label:"\u63cf\u8ff0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u63cf\u8ff0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u63cf\u8ff0"})}),Object(v.jsx)(B.a.Item,{name:"url",label:"\u94fe\u63a5",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u94fe\u63a5!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u94fe\u63a5"})}),!r&&Object(v.jsx)(B.a.Item,{name:"type",label:"\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7c7b\u578b!"}],children:Object(v.jsx)(S.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(p)},children:(null===p||void 0===p||null===(n=p.type)||void 0===n?void 0:n.length)&&(null===p||void 0===p?void 0:p.type.map((function(e){return Object(v.jsx)(G,{value:e.type_id,children:e.type_name},e.type_id)})))})}),!r&&(null===p||void 0===p?void 0:p.childType)&&Object(v.jsx)(B.a.Item,{name:"childType",label:"\u5b50\u7c7b\u578b",children:Object(v.jsx)(S.a,{placeholder:"\u8bf7\u9009\u62e9\u5b50\u7c7b\u578b",onChange:function(e){s.setFieldsValue({childType:e})},allowClear:!0,children:(null===p||void 0===p||null===(c=p.childType)||void 0===c?void 0:c.length)&&(null===p||void 0===p?void 0:p.childType.map((function(e){return Object(v.jsx)(G,{value:e.child_type_id,children:e.child_type_name},e.child_type_id)})))})})]}))})};var M=function(e){var t=Object(i.useState)(!1),n=Object(f.a)(t,2),c=n[0],a=n[1],o=Object(i.useContext)(x),r=o.fetchData,l=o.dispatch,s=(Object(i.useContext)(I).showPop,e.value),d=s.toolbox_icon,u=s.toolbox_name,p=s.toolbox_desc,j=s.toolbox_url,b=(s.follow,s.toolbox_id),m=Object(i.useState)(d),y=Object(f.a)(m,2),h=y[0],O=y[1],g=function(e){window.location.href=e};return Object(v.jsxs)("div",{className:"content-item",children:[Object(v.jsxs)("div",{className:"content-adminTool",children:[Object(v.jsx)("img",{src:R,alt:""}),Object(v.jsx)("img",{src:T,alt:"",onClick:function(){return a(!0)}}),Object(v.jsx)("img",{src:D,alt:"",onClick:function(){return function(e){r("/delete/deleteToolBoxById",{toolbox_id:e}).then((function(){return l({type:"NEED_UPDATE_INDEX"})}))}(b)}})]}),Object(v.jsxs)("div",{className:"item-icon",onClick:function(){return g(j)},children:[!h&&Object(v.jsx)("div",{className:"defaultIcon",children:u[0]}),h&&Object(v.jsx)("img",{src:h,alt:"",onError:function(e){return O(null)}})]}),Object(v.jsx)("div",{className:"item-name",onClick:function(){return g(j)},children:u}),Object(v.jsx)("div",{className:"item-desc",children:p}),Object(v.jsx)("a",{className:"item-url",href:j,children:j}),c&&Object(v.jsx)(K,{visible:c,onCancel:function(){return a(!1)},data:e.value})]})};var F=function(e){var t,n=e.childTypeId,c=e.typeId,a=Object(i.useContext)(x).dataCenter;return Object(v.jsx)("div",{className:"content",children:(null===(t=a.toolBox)||void 0===t?void 0:t.length)?null===a||void 0===a?void 0:a.toolBox.filter((function(e){var t,n;return"all"===c||("follow"===c?null===a||void 0===a||null===(t=a.userInfo)||void 0===t||null===(n=t.follow)||void 0===n?void 0:n.includes(e.type_id):e.type_id===c)})).filter((function(e){return"all"===n||e.child_type_id===n})).map((function(e){return Object(v.jsx)(M,{value:e},e.toolbox_id)})):"\u6ca1\u6709\u6570\u636e\u4e86\uff01"})},X=(n(252),n(32)),z=(n(253),n(156)),U=(n(254),n(255),n(150),n(256),n(258),n(259),n(54),n(260),n(261),n(262),n(263),n(264),S.a.Option,function(e){var t=e.visible,n=e.onCancel,c=e.data,a=Object(i.useState)(""),o=Object(f.a)(a,2),r=o[0],l=o[1],s=Object(i.useState)(""),d=Object(f.a)(s,2),u=d[0],p=d[1],j=Object(i.useState)(""),b=Object(f.a)(j,2),m=b[0],y=(b[1],Object(i.useContext)(x)),h=y.fetchData,O=y.dataCenter;return Object(i.useEffect)((function(){c&&p(c.page_name)}),[c]),Object(v.jsxs)(N.a,{visible:t,title:"\u53d1\u5e03",okText:"\u53d1\u5e03",cancelText:"\u53d6\u6d88",onCancel:n,onOk:function(e){console.log(r),r&&u?c?fetch("".concat(g.domain,"/page/updatePage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page_id:c.page_id,page_name:u,code:r})}).then((function(e){return e.json()})).then((function(e){e.success?(n(),J.b.success("\u66ff\u6362\u6210\u529f\uff01"),(null===O||void 0===O?void 0:O.type)&&h("/page/queryPage",{},"queryPage").then((function(e){}))):J.b.error("\u66ff\u6362\u5931\u8d25")})):fetch("".concat(g.domain,"/page/addPage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page_name:u,code:r})}).then((function(e){return e.json()})).then((function(e){e.success?(n(),J.b.success("\u53d1\u5e03\u6210\u529f\uff01"),(null===O||void 0===O?void 0:O.type)&&h("/page/queryPage",{},"queryPage").then((function(e){}))):J.b.error(e.error||"\u53d1\u5e03\u5931\u8d25")})):J.b.error("\u8bf7\u8865\u5168\u4fe1\u606f\uff01")},width:"1000px",children:[Object(v.jsx)(B.a.Item,{name:"page_name",label:"\u9875\u9762\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0",defaultValue:(null===c||void 0===c?void 0:c.page_name)?c.page_name:u,onChange:function(e){p(e.target.value)}})}),Object(v.jsx)(B.a.Item,{name:"type",label:"\u5e03\u5c40\u4ee3\u7801",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(v.jsx)("div",{className:"codeMain",children:Object(v.jsx)(z.UnControlled,{onChange:function(e,t,n){l(n)},value:m,options:{styleActiveLine:!0,lineNumbers:!0,theme:"monokai",tabSize:2,keyMap:"sublime",mode:"text/javascript",smartIndent:!0,lineWrapping:!0,autofocus:!0}})})})]})}),P=n(286),Q=n(119),Z=S.a.Option,W=(P.a.TabPane,function(e){var t,n=e.visible,a=e.onCancel,o=e.queryData,r=e.data;console.log(r);var l=B.a.useForm(),s=Object(f.a)(l,1)[0];r&&s.setFieldsValue({type_name:r.type_name});var d=Object(i.useContext)(x),u=d.fetchData,p=d.dataCenter,j=d.dispatch,b=c.a.useState(1),m=Object(f.a)(b,2),h=m[0],O=m[1];return Object(v.jsx)(N.a,{visible:n,title:"".concat(r?"\u4fee\u6539":"\u65b0\u5efa","\u7c7b\u578b"),okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onCancel:a,onOk:function(){s.validateFields().then((function(e){!function(e){if(r){console.log(r);var t={type_id:"",type_name:""};t=r.isRemove?{child_type_id:r.type_id,child_type_name:e.type_name}:{type_id:r.type_id,type_name:e.type_name},u("/typeManage/updateType",t).then((function(e){e.success&&(J.b.success("\u4fee\u6539\u6210\u529f"),j({type:"NEED_UPDATE_INDEX"}),o(),a())}))}else console.log(e),u("/add/addType",e).then((function(e){e.success&&(J.b.success("\u65b0\u5efa\u6210\u529f"),j({type:"NEED_UPDATE_INDEX"}),a())}))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(v.jsxs)(B.a,Object(y.a)(Object(y.a)({form:s},{labelCol:{span:4},wrapperCol:{span:18}}),{},{name:"form_in_modal",initialValues:{modifier:"public","radio-group":1},children:[!r&&Object(v.jsx)(B.a.Item,{name:"radio-group",label:"\u7c7b\u578b",children:Object(v.jsxs)(Q.a.Group,{onChange:function(e){console.log("radio checked",e.target.value),O(e.target.value)},value:h,children:[Object(v.jsx)(Q.a,{value:1,children:"\u7236\u7c7b\u578b"}),Object(v.jsx)(Q.a,{value:2,children:"\u5b50\u7c7b\u578b"})]})}),1===h||r?Object(v.jsx)(B.a.Item,{name:"type_name",label:"".concat(r?"":"\u7236","\u7c7b\u578b"),rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})}):Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(B.a.Item,{name:"type_id",label:"\u7236\u7c7b\u578b",hasFeedback:!0,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b!"}],children:Object(v.jsx)(S.a,{placeholder:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b",onChange:function(e){s.setFieldsValue({type_id:e})},children:(null===p||void 0===p||null===(t=p.type)||void 0===t?void 0:t.length)&&(null===p||void 0===p?void 0:p.type.map((function(e){return Object(v.jsx)(Z,{value:e.type_id,children:e.type_name},e.type_id)})))})}),Object(v.jsx)(B.a.Item,{name:"child_type_name",label:"\u5b50\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})})]})]}))})}),L=n(289),V=n(284);var Y=function(e){var t=e.visible,n=e.onCancel,c=(e.onPublish,Object(i.useState)(!1)),a=Object(f.a)(c,2),o=a[0],r=a[1],l=Object(i.useState)(""),s=Object(f.a)(l,2),d=s[0],u=s[1],p=Object(i.useContext)(x),j=p.fetchData,b=p.dataCenter,m=[{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(v.jsx)(L.b,{size:"middle",children:Object(v.jsx)("a",{href:t.pageUrl,children:t.pageUrl})})}},{title:"\u64cd\u4f5c",key:"action",align:"center",width:100,render:function(e,t){return Object(v.jsx)(L.b,{size:"middle",children:Object(v.jsx)("a",{onClick:function(){return e=t,console.log(e),u(e),void r(!0);var e},children:"\u66ff\u6362"})})}}];return Object(i.useEffect)((function(){console.log(b),(null===b||void 0===b?void 0:b.type)&&j("/page/queryPage",{},"queryPage").then((function(e){}))}),[]),Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(N.a,{visible:t,title:"\u9875\u9762\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:Object(v.jsx)(V.a,{columns:m,dataSource:(null===b||void 0===b?void 0:b.queryPage)&&b.queryPage,pagination:{pageSize:10},size:"middle"})}),o&&Object(v.jsx)(U,{visible:o,onCancel:function(){return r(!1)},data:d})]})},H=n(75),_=n(290);H.a,H.a.Item,H.a.Item;var $=function(e){var t=e.visible,n=e.onCancel,c=Object(i.useState)(!1),a=Object(f.a)(c,2),o=a[0],r=a[1],l=Object(i.useState)(""),s=Object(f.a)(l,2),d=s[0],u=s[1],p=Object(i.useState)(""),j=Object(f.a)(p,2),b=j[0],m=j[1],y=Object(i.useContext)(x),h=y.fetchData,O=y.dataCenter,g=y.dispatch,A=function e(t,n){return t.map((function(t,i){var c=n(t);return t.children&&(c.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}}))),c}))},I=function(){(null===O||void 0===O?void 0:O.type)&&h("/typeManage/queryTypeForManage",{},"childTypeData").then((function(e){var t=A(e.data,(function(e){return{key:e.type_id,type_id:e.type_id,type_name:e.type_name}}));u(t)}))};Object(i.useEffect)((function(){I()}),[]);var E=[{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(v.jsxs)(L.b,{size:"middle",children:[t.isRemove&&Object(v.jsx)(_.a,{title:"\u786e\u5b9a\u5220\u9664\u5417\uff1f",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onConfirm:function(){h("/typeManage/deleteChildType",{child_type_id:t.type_id}).then((function(e){e.success?(J.b.success("\u522a\u9664\u6210\u529f"),g({type:"NEED_UPDATE_INDEX"}),I()):J.b.error("\u522a\u9664\u5931\u8d25")}))},children:Object(v.jsx)("a",{href:"#",children:"\u5220\u9664"})}),Object(v.jsx)("span",{onClick:function(){return m(t),void r(!0)},children:"\u4fee\u6539"})]})}}];return Object(v.jsxs)(N.a,{visible:t,title:"\u7c7b\u578b\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:[Object(v.jsx)(V.a,{columns:E,dataSource:d}),o&&Object(v.jsx)(W,{visible:o,onCancel:function(){return r(!1)},queryData:function(){return I()},data:b})]})};var ee=function(){var e=Object(i.useState)(!1),t=Object(f.a)(e,2),n=t[0],c=t[1],a=Object(i.useState)(!1),o=Object(f.a)(a,2),r=o[0],l=o[1],s=Object(i.useState)(!1),d=Object(f.a)(s,2),u=d[0],p=d[1],j=Object(i.useState)(!1),b=Object(f.a)(j,2),m=b[0],y=b[1],h=Object(i.useState)(!1),O=Object(f.a)(h,2),g=O[0],A=O[1];return Object(v.jsxs)("div",{className:"admin",children:[Object(v.jsx)(X.a,{onClick:function(){return c(!0)},children:"\u65b0\u5efa\u5de5\u5177\u76d2"}),Object(v.jsx)(X.a,{onClick:function(){return p(!0)},children:"\u65b0\u5efa\u7c7b\u578b"}),Object(v.jsx)(X.a,{onClick:function(){return l(!0)},children:"\u53d1\u5e03"}),Object(v.jsx)(X.a,{onClick:function(){return y(!0)},children:"\u9875\u9762\u7ba1\u7406"}),Object(v.jsx)(X.a,{onClick:function(){return A(!0)},children:"\u7c7b\u578b\u7ba1\u7406"}),n&&Object(v.jsx)(K,{visible:n,onCancel:function(){return c(!1)}}),r&&Object(v.jsx)(U,{visible:r,onCancel:function(){return l(!1)}}),u&&Object(v.jsx)(W,{visible:u,onCancel:function(){return p(!1)}}),m&&Object(v.jsx)(Y,{visible:m,onCancel:function(){return y(!1)}}),g&&Object(v.jsx)($,{visible:g,onCancel:function(){return A(!1)}})]})},te=n(26),ne=function(){var e=window.location.href;window.location.href="https://sso.duiba.com.cn/login/?redirect=".concat(encodeURIComponent(e),"&systemId=491"),console.log("\u91cd\u5b9a\u5411\uff1a",window.location.href)};n(270),n(271);function ie(){return(ie=Object(m.a)(j.a.mark((function e(t,n,i){var c,a;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=t.id,a=t.name,e.next=3,fetch(A("/md/addMd",{uid:c,uname:a,type:n,info:i,timestamp:Date.now()}),{credentials:"include"});case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ce=function(e,t,n){return ie.apply(this,arguments)};var ae=function(e){var t=Object(i.useContext)(x),n=t.dataCenter,c=t.fetchData,a=e.value,o=a.toolbox_icon,r=a.toolbox_name,l=a.toolbox_desc,s=a.toolbox_url,d=a.toolbox_id,u=Object(i.useState)(!1),p=Object(f.a)(u,2),b=p[0],y=p[1],h=Object(i.useState)(o),O=Object(f.a)(h,2),g=O[0],A=O[1],I=function(){var e=Object(m.a)(j.a.mark((function e(t,i){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ce(null===n||void 0===n?void 0:n.userInfo,"click","toolbox_"+i+"_"+d);case 2:window.open(t);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return Object(i.useEffect)((function(){var e,t;(null===(e=n.userInfo)||void 0===e||null===(t=e.follow)||void 0===t?void 0:t.includes(d))?y(!0):y(!1)}),[n.toolBox,n.userInfo]),Object(v.jsxs)("div",{className:"content-item",children:[Object(v.jsxs)("div",{className:"item-icon",onClick:function(){return I(s,"icon")},children:[!g&&Object(v.jsx)("div",{className:"defaultIcon",children:r[0]}),g&&Object(v.jsx)("img",{src:g,alt:"",onError:function(e){return A(null)}})]}),Object(v.jsx)("div",{className:"item-name",onClick:function(){return I(s,"title")},children:r}),Object(v.jsx)("div",{className:"item-desc",children:l}),Object(v.jsx)("a",{className:"item-url",onClick:function(){return I(s,"url")},children:s}),Object(v.jsxs)("div",{className:"follow",children:[Object(v.jsx)("img",{className:"icon-follow",src:b?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAADICAYAAAAX+yb+AAAAAXNSR0IArs4c6QAAFLJJREFUeF7tnXu0XHV1x7/7zJ0zSaFd6FIK3jtnAiSZmfDSNoWKdJkUUJCwAHkUVGihFVZBeUgBQbvABJSHj6SiFKo8VSywsPIWQkkVNS2mIJDMzA1g7pnw1oW1Ae6cuffsrjP3phBM7pzH73cec/b8m/377r0/v/nmnHvmnH0I8hECQiBVBChV1UgxQkAIQEwpXwIhkDICYsqUbYiUIwTElPIdEAIpIyCmTNmGSDlCQEwp3wEhkDICuTJla2T2MBe6Vbg0H4QqmKoAz97mnhD9GuCNTMZzcPk5A+5GoqHnyBx/bt7T6KRsL1NVzvq5+CPumsNgY3iSJ0cINAyDh5lphJj/cAbmv2FgfYF5lInXF4oTo3Ofwcupak5zMQNrykZlaD+DjYPAqLqEKgHzAWyviicBa5lptWu4qw0Xj7/Q7j6+GJhQpZ8lnfYIZm/C0L5kGPsQY18m7AtgWGEP/0PAKDPWE2HUdXFHfaPzpEL9VEkNjCmfLJd2K8I9CEQHAlgM4J0xk/4dgf+LmR5n0Mp6u/OjmPPHmq5VKR3iuu6BBhkLGfxnALZ9xqGnsvUA7mDXvb++cWKVnhTJqGbalM2R0sGGwYvcKRPukwzCrWclYB0D97Dr3lPfOPEfaaotbC09I7J7CECHEDA3rI7qdQS0GXQPwA85cB7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3asIErPPBPRBQDwOo9uVgDAcgD4vROjqxDnyVcomOyJ2LVhgyhLIFopdTEivqYEV95chAXm3qh9AnAQZUlcE9ElAPCqktyJugkFk0Xp7AoWRNmVIrkOROR2ZLidGX3TQsHk8ocqiLJkzonoSgDYt2S3ed2Fgsl5mStgF0RZgLy8pp6KU+UNZ512iBgKJosymh4siDI9V6I9iegaAHixKKgQWCiYLERkTpggypzESZgR0fcBYHcJLEGMzKuGBH0HqFAhvffXgFLqPEQ8rPeRPBpBEGQFBiLMlBUYBF8bpTOmFgSZkTBf3YMofTGbEbfHwjzKWvv5jCGH7p4YCKL0RGweWK3125jZbZTePI99DpsJRDzFGHNFDttg4omBIEpPxOaFHR8ff/b09LQTpo8dJo+Fxcyn12q1U5rN5oN5Yw12fhgIovTDa2FUItoHAI4HgN0Kgz0e4Ied2dHHUfLCoQ4nXBBlxcdda71fkiT7I6I7COjpecJl5vvckX6I+B1jzHfyYASb8hgIoiyP68KetNYHMfNBALAtADwTAJ4xC+i9AHAPAEwi4oXGmKsLOw8ApTEQRFka1V4c1cbGxjZrt9tOoFCr1e5Zvnz57wGg7cVbAC2FgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgf8DJGyXX6wRtw0AAAAASUVORK5CYII=",alt:"",onClick:function(){return function(){var e=n.userInfo.follow.slice();if(b){var t=e.indexOf(d);e.splice(t,1)}else e.push(d);console.log({follow:JSON.stringify(e),uid:n.userInfo.id}),c("/users/follow",{follow:JSON.stringify(e),uid:n.userInfo.id}).then((function(){return c("/users/getUser",{},"userInfo")}))}()}}),"\u6536\u85cf"]})]})};var oe=function(e){var t,n,c,a=e.childTypeId,o=e.typeId,r=Object(i.useContext)(x).dataCenter;return Object(v.jsxs)("div",{className:"content",children:[!!(null===(t=r.toolBox)||void 0===t?void 0:t.length)&&(null===r||void 0===r?void 0:r.toolBox.filter((function(e){var t,n;return"all"===o||("follow"===o?null===r||void 0===r||null===(t=r.userInfo)||void 0===t||null===(n=t.follow)||void 0===n?void 0:n.includes(e.toolbox_id):e.type_id===o)})).filter((function(e){return"all"===a||e.child_type_id===a})).map((function(e){return Object(v.jsx)(ae,{value:e},e.toolbox_id)}))),"follow"===o&&(null===r||void 0===r||null===(n=r.userInfo)||void 0===n||null===(c=n.follow)||void 0===c?void 0:c.length)<=0&&"\u6ca1\u6709\u6570\u636e\u4e86\uff01"]})};var re=function(e){var t,n,c=e.typeData,a=Object(i.useState)(null===(t=c[0])||void 0===t?void 0:t.type_id),o=Object(f.a)(a,2),r=o[0],l=o[1],s=Object(i.useState)("all"),d=Object(f.a)(s,2),u=d[0],p=d[1];return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{id:"type"+(null===(n=c[0])||void 0===n?void 0:n.type_id),className:"tool-nav",children:Object(v.jsx)(k,{typeData:c,setChildTypeId:p,setTypeId:l,typeId:r,childTypeId:u})}),Object(v.jsx)("div",{className:"container",children:Object(v.jsx)(oe,{typeId:r,childTypeId:u})})]})};var le=function(e){var t,n,c=Object(i.useContext)(x),a=c.fetchData,o=c.dispatch,r=e.typeData,l=Object(i.useState)(r[0].type_id),s=Object(f.a)(l,2),d=s[0],u=s[1],p=Object(i.useState)("all"),b=Object(f.a)(p,2),y=b[0],h=b[1],O=Object(i.useRef)({weight:null===(t=r[0])||void 0===t?void 0:t.weight});Object(i.useEffect)((function(){var e;console.log({typeId:d,weight:null===(e=r[0])||void 0===e?void 0:e.weight})}),[]);var g=function(){var e=Object(m.a)(j.a.mark((function e(t,n){var i,c;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="up"===e.t0?3:"down"===e.t0?6:"to"===e.t0?9:12;break;case 3:return e.next=5,a("/typeManage/changeWeight",{typeId:d,weight:(null===(i=r[0])||void 0===i?void 0:i.weight)+1});case 5:return e.abrupt("break",12);case 6:return e.next=8,a("/typeManage/changeWeight",{typeId:d,weight:(null===(c=r[0])||void 0===c?void 0:c.weight)-1});case 8:return e.abrupt("break",12);case 9:return e.next=11,a("/typeManage/changeWeight",{typeId:d,weight:n});case 11:return e.abrupt("break",12);case 12:o({type:"NEED_UPDATE_INDEX"});case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)("div",{className:"tool-nav",children:[Object(v.jsxs)("span",{children:["\u5f53\u524d\u6743\u503c\uff1a",null===(n=r[0])||void 0===n?void 0:n.weight]}),Object(v.jsx)("button",{className:"type-weight",onClick:function(){return g("up")},children:"\u5411\u4e0a\u4e00\u7ea7"}),Object(v.jsx)("button",{className:"type-weight",onClick:function(){return g("down")},children:"\u5411\u4e0b\u4e00\u7ea7"}),Object(v.jsxs)("button",{className:"type-weight",onClick:function(){return g("to",O.current.weight)},children:["\u53d8\u66f4\u6743\u503c\u4e3a\uff1a",Object(v.jsx)("input",{type:"text",defaultValue:r[0].weight,onChange:function(e){return O.current.weight=e.target.value},onClick:function(e){return e.stopPropagation()}})]}),Object(v.jsx)(k,{typeData:r,setChildTypeId:h,setTypeId:u,typeId:d,childTypeId:y})]}),Object(v.jsx)("div",{className:"container",children:Object(v.jsx)(F,{typeId:d,childTypeId:y})})]})};var se=function(){var e,t,n=Object(te.g)(),c=Object(i.useContext)(x),a=c.fetchData,o=c.dataCenter,r=c.dispatch;return Object(i.useEffect)((function(){o.needUpdateIndex&&a("/query/queryToolBox",{},"toolBox").then((function(){return a("/typeManage/queryTypeForManage",{},"type")})).then((function(){return r({type:"NEED_UPDATE_INDEX"})}))}),[o.needUpdateIndex]),Object(i.useEffect)((function(){a("/users/getUser",{},"userInfo").then((function(e){var t;1!==+(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.admin)&&n.push("/")})).catch((function(e){return 70001===+e.code&&ne()})),r({type:"NEED_UPDATE_INDEX"})}),[]),Object(v.jsx)(I.Provider,{value:{hidePop:function(){return setPop("")},showPop:function(e){}},children:Object(v.jsxs)("div",{className:"index",children:[Object(v.jsx)("div",{className:"welcome-top",children:Object(v.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(v.jsx)("span",{className:"welcome-uname",children:null===o||void 0===o||null===(e=o.userInfo)||void 0===e?void 0:e.name}),Object(v.jsx)("a",{className:"login-btn",children:"\u9000\u51fa\u767b\u5f55"})]})}),Object(v.jsxs)("div",{className:"nav",children:[Object(v.jsx)("div",{className:"nav-title",children:Object(v.jsx)("img",{src:C,alt:""})}),Object(v.jsx)("div",{className:"nav-weather",children:Object(v.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(v.jsx)(le,{typeData:[{type_id:"follow",type_name:"\u6211\u7684\u6536\u85cf"}]}),Array.isArray(null===o||void 0===o?void 0:o.type)&&(null===o||void 0===o||null===(t=o.type)||void 0===t?void 0:t.map((function(e){return Object(v.jsx)("div",{children:Object(v.jsx)(le,{typeData:[e]})},e.type_id)}))),Object(v.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(v.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]}),Object(v.jsx)(ee,{})]})})},de=(n(275),n(276),function(e){var t;console.log("\u8df3\u8f6c"),null===(t=document.getElementById("type"+e))||void 0===t||t.scrollIntoView({block:"start",behavior:"smooth"})}),ue=function(e){var t=e.typeName,n=e.typeId,i=e.selected;return Object(v.jsx)("div",{className:"nav-item",style:i?{backgroundColor:"#00D5CA",color:"#fff"}:{},onClick:function(){return de(n)},children:t})};var pe=function(){var e,t,n=Object(i.useContext)(x).dataCenter,c=Object(i.useState)(!1),a=Object(f.a)(c,2),o=a[0],r=a[1],l=Object(i.useState)(!1),s=Object(f.a)(l,2),d=s[0],u=s[1],p=Object(i.useState)(0),j=Object(f.a)(p,2),b=j[0],m=j[1],y=function(){var e,t=null===(e=window.location.hash.split("?")[1])||void 0===e?void 0:e.split("&"),n={typeId:null};return(null===t||void 0===t?void 0:t.length)?(t.forEach((function(e){var t=e.split("=");n[t[0]]=t[1]})),n):null};return Object(i.useEffect)((function(){(null===n||void 0===n?void 0:n.type)&&(window.location.hash="#/index?typeId="+n.type[b].type_id)}),[b]),Object(i.useEffect)((function(){if(!d&&(null===n||void 0===n?void 0:n.type)){var e,t,i;(null===(e=y())||void 0===e?void 0:e.typeId)&&de(null===(t=y())||void 0===t?void 0:t.typeId);var c=null===n||void 0===n||null===(i=n.type)||void 0===i?void 0:i.map((function(e){return e.type_id})),a=c.map((function(e){return document.getElementById("type"+e).offsetTop}));document.body.addEventListener("scroll",(function(e){for(var t={offsetTop:Math.abs(e.target.scrollTop-a[0]),index:0},n=0;n<a.length;n++){var i=Math.abs(e.target.scrollTop-a[n]);i<t.offsetTop&&(t.offsetTop=i,t.index=n)}m(t.index)})),u(!0)}}),[null===n||void 0===n?void 0:n.type]),Object(v.jsxs)("div",{className:"type-nav-bar",style:{transform:"translateX(".concat(o?0:-120,"px)")},children:[Object(v.jsx)("div",{className:"guide-button",onClick:function(){return r(!o)},style:o?{width:"120px",transform:"translate(-50px,-30px)",borderBottomRightRadius:"1px",borderBottom:"1px solid #f5f5f5"}:{borderBottomRightRadius:"10px"},children:o?"\u5bfc\u822a <":"\u5bfc\u822a >"}),(null===n||void 0===n||null===(e=n.type)||void 0===e?void 0:e.length)>0&&(null===n||void 0===n||null===(t=n.type)||void 0===t?void 0:t.map((function(e,t){return Object(v.jsx)(ue,{selected:b===t,typeId:e.type_id,typeName:e.type_name},e.type_id)})))]})};var je=function(){Object(te.g)();var e,t,n=Object(i.useState)(!1),c=Object(f.a)(n,2),a=c[0],o=c[1],r=Object(i.useContext)(x),l=r.fetchData,s=r.dataCenter,d=r.dispatch,u=function(){var e=Object(m.a)(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l("/users/getUser",{},"userInfo").then((function(e){return e.success||70001!==e.code||ne(),e}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(i.useEffect)((function(){s.needUpdateIndex&&l("/query/queryToolBox",{},"toolBox").then((function(){return l("/typeManage/queryTypeForManage",{},"type")})).then((function(){return d({type:"NEED_UPDATE_INDEX"})}))}),[s.needUpdateIndex]),Object(i.useEffect)(Object(m.a)(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=2;break}return e.abrupt("return");case 2:if(!(null===s||void 0===s?void 0:s.userInfo)){e.next=6;break}return e.next=5,ce(null===s||void 0===s?void 0:s.userInfo,"exposure","page_index");case 5:o(!0);case 6:case"end":return e.stop()}}),e)}))),[null===s||void 0===s?void 0:s.userInfo]),Object(i.useEffect)(Object(m.a)(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:d({type:"NEED_UPDATE_INDEX"});case 3:case"end":return e.stop()}}),e)}))),[]),Object(v.jsxs)("div",{className:"index",children:[Object(v.jsx)(pe,{}),Object(v.jsx)("div",{className:"welcome-top",children:Object(v.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(v.jsx)("span",{className:"welcome-uname",children:null===s||void 0===s||null===(e=s.userInfo)||void 0===e?void 0:e.name})]})}),Object(v.jsxs)("div",{className:"nav",children:[Object(v.jsx)("div",{className:"nav-title",children:Object(v.jsx)("img",{src:C,alt:""})}),Object(v.jsx)("div",{className:"nav-weather",children:Object(v.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(v.jsx)(re,{typeData:[{type_id:"follow",type_name:"\u6211\u7684\u6536\u85cf"}]}),Array.isArray(null===s||void 0===s?void 0:s.type)&&(null===s||void 0===s||null===(t=s.type)||void 0===t?void 0:t.map((function(e){return Object(v.jsx)(re,{typeData:[e]},e.type_id)}))),Object(v.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(v.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]})]})};n(277);var be=n(93);var me=function(){return Object(v.jsx)(be.a,{children:Object(v.jsx)(E,{children:Object(v.jsxs)(te.d,{children:[Object(v.jsx)(te.b,{exact:!0,path:"/",render:function(){return Object(v.jsx)(te.a,{to:"/index"})}}),Object(v.jsx)(te.b,{exact:!0,path:"/index",component:je}),Object(v.jsx)(te.b,{exact:!0,path:"/admin",component:se})]})})})},fe=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,291)).then((function(t){var n=t.getCLS,i=t.getFID,c=t.getFCP,a=t.getLCP,o=t.getTTFB;n(e),i(e),c(e),a(e),o(e)}))};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;"),u.a.locale("zh-cn"),o.a.render(Object(v.jsx)(c.a.StrictMode,{children:Object(v.jsx)(r.a,{locale:s.a,children:Object(v.jsx)(me,{})})}),document.getElementById("root")),fe()}},[[282,1,2]]]); (this.webpackJsonpdui123=this.webpackJsonpdui123||[]).push([[0],{176:function(e,t,n){},177:function(e,t,n){},179:function(e,t,n){},180:function(e,t,n){},181:function(e,t,n){},182:function(e,t,n){},252:function(e,t,n){},253:function(e,t,n){},270:function(e,t,n){},271:function(e,t,n){},275:function(e,t,n){},276:function(e,t,n){},277:function(e,t,n){},282:function(e,t,n){"use strict";n.r(t);var i=n(0),c=n.n(i),a=n(28),o=n.n(a),l=n(18),r=n(161),s=n.n(r),d=n(136),u=n.n(d),p=(n(174),n(175),n(176),n(177),n(29)),b=n.n(p),j=n(79),m=n(47),f=n(17),y=n(33),h={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 i=t[n];"object"==typeof i&&null!==i&&e(i)})),Object.freeze(t)}(h);var O=function(e,t){switch(console.log(t),t.type){case"UPDATE_DATA":return Object.assign({},e,Object(y.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}},g={domain:"//"+window.location.hostname},A=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",g.domain+e+n),g.domain+e+n}return g.domain+e},v=n(6),x=Object(i.createContext)({}),I=Object(i.createContext)({});var E=function(e){var t=Object(i.useReducer)(O,h,(function(){return h})),n=Object(f.a)(t,2),c=n[0],a=n[1],o=function(){var e=Object(m.a)(b.a.mark((function e(t,n,i){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch(A(t,n),{credentials:"include"}).then((function(e){return e.json()})).then((function(e){return console.log("res:",e),e.success?(i&&a((t=Object(j.a)({},i,e.data),{type:"UPDATE_DATA",data:Object(y.a)({},t)})),e):e;var t})).catch((function(e){return console.error(e),e})));case 1:case"end":return e.stop()}}),e)})));return function(t,n,i){return e.apply(this,arguments)}}();return Object(v.jsx)(x.Provider,{value:{dataCenter:c,dispatch:a,fetchData:o},children:e.children})},C=n.p+"static/media/logo.a12b1e54.png",w=(n(179),n(180),function(e){var t=Object(i.useContext)(x),n=(t.dataCenter,t.dispatch,e.childTypeId),c=e.child_type_id,a=e.child_type_name,o=e.setChildTypeId,l=["child-type-item"];c===n&&l.push("child-type-item-selected");return Object(v.jsx)("div",{className:l.join(" "),onClick:function(){o(c)},children:a})});var k=function(e){var t,n=e.typeData,c=e.setChildTypeId,a=e.setTypeId,o=e.typeId,l=e.childTypeId,r=Object(i.useContext)(x),s=(r.dataCenter,r.dispatch,function(){return n.filter((function(e){return e.type_id===o}))[0]});return Array.isArray(n)?Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:"tab-tool-type",children:Array.isArray(n)&&n.map((function(e){return Object(v.jsx)("div",{className:o===e.type_id?"item-tool-type item-tool-type-selected":"item-tool-type",onClick:function(){return a(null===e||void 0===e?void 0:e.type_id)},children:null===e||void 0===e?void 0:e.type_name},e.type_id)}))}),Object(v.jsxs)("div",{className:"child-type",children:["all"!==o&&"follow"!==o&&Object(v.jsx)(w,{child_type_id:"all",child_type_name:"\u5168\u90e8",setChildTypeId:c,childTypeId:l},"all"),Array.isArray(null===(t=s())||void 0===t?void 0:t.children)&&s().children.map((function(e){return Object(v.jsx)(w,{child_type_id:e.child_type_id,child_type_name:e.child_type_name,setChildTypeId:c,childTypeId:l},e.child_type_id)}))]})]}):Object(v.jsx)("div",{children:"\u65e0\u6570\u636e,\u6216\u6570\u636e\u683c\u5f0f\u9519\u8bef"})},T=(n(181),n(182),n.p+"static/media/setting.6a716d85.svg"),D=n.p+"static/media/trash.780a90e8.svg",R=n.p+"static/media/dragIcon.268403b1.svg",S=n(97),B=n(285),J=n(165),N=n(288),q=n(287),G=S.a.Option,K=function(e){var t,n,c,a=e.visible,o=e.onCancel,l=e.data,r=B.a.useForm(),s=Object(f.a)(r,1)[0],d=Object(i.useContext)(x),u=d.fetchData,p=d.dataCenter,b=d.dispatch;return Object(i.useEffect)((function(){var e;(null===p||void 0===p?void 0:p.type)&&u("/query/queryChildType",{type_id:null===p||void 0===p||null===(e=p.type[0])||void 0===e?void 0:e.type_id},"childType").then((function(e){console.log(e)}))}),[]),Object(v.jsx)(N.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:encodeURIComponent(e.url)};l?(t=Object(y.a)(Object(y.a)({},t),{},{toolbox_id:l.toolbox_id}),u("/update/updateToolBox",t).then((function(e){e.success?(J.b.success("\u4fee\u6539\u6210\u529f"),b({type:"NEED_UPDATE_INDEX"}),o()):J.b.error("\u65b0\u5efa\u5931\u8d25")}))):(t=Object(y.a)(Object(y.a)({},t),{},{type_id:e.type,child_type_id:e.childType}),console.log(t),u("/add/addToolBox",t).then((function(e){e.success?(J.b.success("\u65b0\u5efa\u6210\u529f"),b({type:"NEED_UPDATE_INDEX"}),o()):J.b.error("\u65b0\u5efa\u5931\u8d25")})))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(v.jsxs)(B.a,Object(y.a)(Object(y.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===p||void 0===p?void 0:p.type)&&(null===p||void 0===p||null===(t=p.type[0])||void 0===t?void 0:t.type_id)},children:[Object(v.jsx)(B.a.Item,{name:"name",label:"\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u540d\u79f0"})}),Object(v.jsx)(B.a.Item,{name:"icon",label:"\u56fe\u6807",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u56fe\u6807url!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u56fe\u6807url"})}),Object(v.jsx)(B.a.Item,{name:"depict",label:"\u63cf\u8ff0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u63cf\u8ff0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u63cf\u8ff0"})}),Object(v.jsx)(B.a.Item,{name:"url",label:"\u94fe\u63a5",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u94fe\u63a5!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u94fe\u63a5"})}),!l&&Object(v.jsx)(B.a.Item,{name:"type",label:"\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7c7b\u578b!"}],children:Object(v.jsx)(S.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(p)},children:(null===p||void 0===p||null===(n=p.type)||void 0===n?void 0:n.length)&&(null===p||void 0===p?void 0:p.type.map((function(e){return Object(v.jsx)(G,{value:e.type_id,children:e.type_name},e.type_id)})))})}),!l&&(null===p||void 0===p?void 0:p.childType)&&Object(v.jsx)(B.a.Item,{name:"childType",label:"\u5b50\u7c7b\u578b",children:Object(v.jsx)(S.a,{placeholder:"\u8bf7\u9009\u62e9\u5b50\u7c7b\u578b",onChange:function(e){s.setFieldsValue({childType:e})},allowClear:!0,children:(null===p||void 0===p||null===(c=p.childType)||void 0===c?void 0:c.length)&&(null===p||void 0===p?void 0:p.childType.map((function(e){return Object(v.jsx)(G,{value:e.child_type_id,children:e.child_type_name},e.child_type_id)})))})})]}))})};var M=function(e){var t=Object(i.useState)(!1),n=Object(f.a)(t,2),c=n[0],a=n[1],o=Object(i.useContext)(x),l=o.fetchData,r=o.dispatch,s=(Object(i.useContext)(I).showPop,e.value),d=s.toolbox_icon,u=s.toolbox_name,p=s.toolbox_desc,b=s.toolbox_url,j=(s.follow,s.toolbox_id),m=Object(i.useState)(d),y=Object(f.a)(m,2),h=y[0],O=y[1],g=function(e){window.location.href=e};return Object(v.jsxs)("div",{className:"content-item",children:[Object(v.jsxs)("div",{className:"content-adminTool",children:[Object(v.jsx)("img",{src:R,alt:""}),Object(v.jsx)("img",{src:T,alt:"",onClick:function(){return a(!0)}}),Object(v.jsx)("img",{src:D,alt:"",onClick:function(){return function(e){l("/delete/deleteToolBoxById",{toolbox_id:e}).then((function(){return r({type:"NEED_UPDATE_INDEX"})}))}(j)}})]}),Object(v.jsxs)("div",{className:"item-icon",onClick:function(){return g(b)},children:[!h&&Object(v.jsx)("div",{className:"defaultIcon",children:u[0]}),h&&Object(v.jsx)("img",{src:h,alt:"",onError:function(e){return O(null)}})]}),Object(v.jsx)("div",{className:"item-name",onClick:function(){return g(b)},children:u}),Object(v.jsx)("div",{className:"item-desc",children:p}),Object(v.jsx)("a",{className:"item-url",href:b,children:b}),c&&Object(v.jsx)(K,{visible:c,onCancel:function(){return a(!1)},data:e.value})]})};var F=function(e){var t,n=e.childTypeId,c=e.typeId,a=Object(i.useContext)(x).dataCenter;return Object(v.jsx)("div",{className:"content",children:(null===(t=a.toolBox)||void 0===t?void 0:t.length)?null===a||void 0===a?void 0:a.toolBox.filter((function(e){var t,n;return"all"===c||("follow"===c?null===a||void 0===a||null===(t=a.userInfo)||void 0===t||null===(n=t.follow)||void 0===n?void 0:n.includes(e.type_id):e.type_id===c)})).filter((function(e){return"all"===n||e.child_type_id===n})).map((function(e){return Object(v.jsx)(M,{value:e},e.toolbox_id)})):"\u6ca1\u6709\u6570\u636e\u4e86\uff01"})},X=(n(252),n(32)),z=(n(253),n(156)),U=(n(254),n(255),n(150),n(256),n(258),n(259),n(54),n(260),n(261),n(262),n(263),n(264),S.a.Option,function(e){var t=e.visible,n=e.onCancel,c=e.data,a=Object(i.useState)(""),o=Object(f.a)(a,2),l=o[0],r=o[1],s=Object(i.useState)(""),d=Object(f.a)(s,2),u=d[0],p=d[1],b=Object(i.useState)(""),j=Object(f.a)(b,2),m=j[0],y=(j[1],Object(i.useContext)(x)),h=y.fetchData,O=y.dataCenter;return Object(i.useEffect)((function(){c&&p(c.page_name)}),[c]),Object(v.jsxs)(N.a,{visible:t,title:"\u53d1\u5e03",okText:"\u53d1\u5e03",cancelText:"\u53d6\u6d88",onCancel:n,onOk:function(e){console.log(l),l&&u?c?fetch("".concat(g.domain,"/page/updatePage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page_id:c.page_id,page_name:u,code:l})}).then((function(e){return e.json()})).then((function(e){e.success?(n(),J.b.success("\u66ff\u6362\u6210\u529f\uff01"),(null===O||void 0===O?void 0:O.type)&&h("/page/queryPage",{},"queryPage").then((function(e){}))):J.b.error("\u66ff\u6362\u5931\u8d25")})):fetch("".concat(g.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(),J.b.success("\u53d1\u5e03\u6210\u529f\uff01"),(null===O||void 0===O?void 0:O.type)&&h("/page/queryPage",{},"queryPage").then((function(e){}))):J.b.error(e.error||"\u53d1\u5e03\u5931\u8d25")})):J.b.error("\u8bf7\u8865\u5168\u4fe1\u606f\uff01")},width:"1000px",children:[Object(v.jsx)(B.a.Item,{name:"page_name",label:"\u9875\u9762\u540d\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0",defaultValue:(null===c||void 0===c?void 0:c.page_name)?c.page_name:u,onChange:function(e){p(e.target.value)}})}),Object(v.jsx)(B.a.Item,{name:"type",label:"\u5e03\u5c40\u4ee3\u7801",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u9875\u9762\u540d\u79f0!"}],children:Object(v.jsx)("div",{className:"codeMain",children:Object(v.jsx)(z.UnControlled,{onChange:function(e,t,n){r(n)},value:m,options:{styleActiveLine:!0,lineNumbers:!0,theme:"monokai",tabSize:2,keyMap:"sublime",mode:"text/javascript",smartIndent:!0,lineWrapping:!0,autofocus:!0}})})})]})}),P=n(286),Q=n(119),Z=S.a.Option,W=(P.a.TabPane,function(e){var t,n=e.visible,a=e.onCancel,o=e.queryData,l=e.data;console.log(l);var r=B.a.useForm(),s=Object(f.a)(r,1)[0];l&&s.setFieldsValue({type_name:l.type_name});var d=Object(i.useContext)(x),u=d.fetchData,p=d.dataCenter,b=d.dispatch,j=c.a.useState(1),m=Object(f.a)(j,2),h=m[0],O=m[1];return Object(v.jsx)(N.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&&(J.b.success("\u4fee\u6539\u6210\u529f"),b({type:"NEED_UPDATE_INDEX"}),o(),a())}))}else console.log(e),u("/add/addType",e).then((function(e){e.success&&(J.b.success("\u65b0\u5efa\u6210\u529f"),b({type:"NEED_UPDATE_INDEX"}),a())}))}(e)})).catch((function(e){console.log("Validate Failed:",e)}))},children:Object(v.jsxs)(B.a,Object(y.a)(Object(y.a)({form:s},{labelCol:{span:4},wrapperCol:{span:18}}),{},{name:"form_in_modal",initialValues:{modifier:"public","radio-group":1},children:[!l&&Object(v.jsx)(B.a.Item,{name:"radio-group",label:"\u7c7b\u578b",children:Object(v.jsxs)(Q.a.Group,{onChange:function(e){console.log("radio checked",e.target.value),O(e.target.value)},value:h,children:[Object(v.jsx)(Q.a,{value:1,children:"\u7236\u7c7b\u578b"}),Object(v.jsx)(Q.a,{value:2,children:"\u5b50\u7c7b\u578b"})]})}),1===h||l?Object(v.jsx)(B.a.Item,{name:"type_name",label:"".concat(l?"":"\u7236","\u7c7b\u578b"),rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})}):Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(B.a.Item,{name:"type_id",label:"\u7236\u7c7b\u578b",hasFeedback:!0,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b!"}],children:Object(v.jsx)(S.a,{placeholder:"\u8bf7\u9009\u62e9\u7236\u7c7b\u578b",onChange:function(e){s.setFieldsValue({type_id:e})},children:(null===p||void 0===p||null===(t=p.type)||void 0===t?void 0:t.length)&&(null===p||void 0===p?void 0:p.type.map((function(e){return Object(v.jsx)(Z,{value:e.type_id,children:e.type_name},e.type_id)})))})}),Object(v.jsx)(B.a.Item,{name:"child_type_name",label:"\u5b50\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0!"}],children:Object(v.jsx)(q.a,{placeholder:"\u8bf7\u8f93\u5165\u7c7b\u578b\u540d\u79f0"})})]})]}))})}),L=n(289),V=n(284);var Y=function(e){var t=e.visible,n=e.onCancel,c=(e.onPublish,Object(i.useState)(!1)),a=Object(f.a)(c,2),o=a[0],l=a[1],r=Object(i.useState)(""),s=Object(f.a)(r,2),d=s[0],u=s[1],p=Object(i.useContext)(x),b=p.fetchData,j=p.dataCenter,m=[{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(v.jsx)(L.b,{size:"middle",children:Object(v.jsx)("a",{href:t.pageUrl,children:t.pageUrl})})}},{title:"\u64cd\u4f5c",key:"action",align:"center",width:100,render:function(e,t){return Object(v.jsx)(L.b,{size:"middle",children:Object(v.jsx)("a",{onClick:function(){return e=t,console.log(e),u(e),void l(!0);var e},children:"\u66ff\u6362"})})}}];return Object(i.useEffect)((function(){console.log(j),(null===j||void 0===j?void 0:j.type)&&b("/page/queryPage",{},"queryPage").then((function(e){}))}),[]),Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(N.a,{visible:t,title:"\u9875\u9762\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:Object(v.jsx)(V.a,{columns:m,dataSource:(null===j||void 0===j?void 0:j.queryPage)&&j.queryPage,pagination:{pageSize:10},size:"middle"})}),o&&Object(v.jsx)(U,{visible:o,onCancel:function(){return l(!1)},data:d})]})},H=n(75),_=n(290);H.a,H.a.Item,H.a.Item;var $=function(e){var t=e.visible,n=e.onCancel,c=Object(i.useState)(!1),a=Object(f.a)(c,2),o=a[0],l=a[1],r=Object(i.useState)(""),s=Object(f.a)(r,2),d=s[0],u=s[1],p=Object(i.useState)(""),b=Object(f.a)(p,2),j=b[0],m=b[1],y=Object(i.useContext)(x),h=y.fetchData,O=y.dataCenter,g=y.dispatch,A=function e(t,n){return t.map((function(t,i){var c=n(t);return t.children&&(c.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}}))),c}))},I=function(){(null===O||void 0===O?void 0:O.type)&&h("/typeManage/queryTypeForManage",{},"childTypeData").then((function(e){var t=A(e.data,(function(e){return{key:e.type_id,type_id:e.type_id,type_name:e.type_name}}));u(t)}))};Object(i.useEffect)((function(){I()}),[]);var E=[{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(v.jsxs)(L.b,{size:"middle",children:[t.isRemove&&Object(v.jsx)(_.a,{title:"\u786e\u5b9a\u5220\u9664\u5417\uff1f",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onConfirm:function(){h("/typeManage/deleteChildType",{child_type_id:t.type_id}).then((function(e){e.success?(J.b.success("\u522a\u9664\u6210\u529f"),g({type:"NEED_UPDATE_INDEX"}),I()):J.b.error("\u522a\u9664\u5931\u8d25")}))},children:Object(v.jsx)("a",{href:"#",children:"\u5220\u9664"})}),Object(v.jsx)("span",{onClick:function(){return m(t),void l(!0)},children:"\u4fee\u6539"})]})}}];return Object(v.jsxs)(N.a,{visible:t,title:"\u7c7b\u578b\u7ba1\u7406",okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",width:"1000px",onCancel:n,onOk:n,children:[Object(v.jsx)(V.a,{columns:E,dataSource:d}),o&&Object(v.jsx)(W,{visible:o,onCancel:function(){return l(!1)},queryData:function(){return I()},data:j})]})};var ee=function(){var e=Object(i.useState)(!1),t=Object(f.a)(e,2),n=t[0],c=t[1],a=Object(i.useState)(!1),o=Object(f.a)(a,2),l=o[0],r=o[1],s=Object(i.useState)(!1),d=Object(f.a)(s,2),u=d[0],p=d[1],b=Object(i.useState)(!1),j=Object(f.a)(b,2),m=j[0],y=j[1],h=Object(i.useState)(!1),O=Object(f.a)(h,2),g=O[0],A=O[1];return Object(v.jsxs)("div",{className:"admin",children:[Object(v.jsx)(X.a,{onClick:function(){return c(!0)},children:"\u65b0\u5efa\u5de5\u5177\u76d2"}),Object(v.jsx)(X.a,{onClick:function(){return p(!0)},children:"\u65b0\u5efa\u7c7b\u578b"}),Object(v.jsx)(X.a,{onClick:function(){return r(!0)},children:"\u53d1\u5e03"}),Object(v.jsx)(X.a,{onClick:function(){return y(!0)},children:"\u9875\u9762\u7ba1\u7406"}),Object(v.jsx)(X.a,{onClick:function(){return A(!0)},children:"\u7c7b\u578b\u7ba1\u7406"}),n&&Object(v.jsx)(K,{visible:n,onCancel:function(){return c(!1)}}),l&&Object(v.jsx)(U,{visible:l,onCancel:function(){return r(!1)}}),u&&Object(v.jsx)(W,{visible:u,onCancel:function(){return p(!1)}}),m&&Object(v.jsx)(Y,{visible:m,onCancel:function(){return y(!1)}}),g&&Object(v.jsx)($,{visible:g,onCancel:function(){return A(!1)}})]})},te=n(26),ne=function(){var e=window.location.href;window.location.href="https://sso.duiba.com.cn/login/?redirect=".concat(encodeURIComponent(e),"&systemId=491"),console.log("\u91cd\u5b9a\u5411\uff1a",window.location.href)};n(270),n(271);function ie(){return(ie=Object(m.a)(b.a.mark((function e(t,n,i){var c,a;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=t.id,a=t.name,e.next=3,fetch(A("/md/addMd",{uid:c,uname:a,type:n,info:i,timestamp:Date.now()}),{credentials:"include"});case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ce=function(e,t,n){return ie.apply(this,arguments)};var ae=function(e){var t=Object(i.useContext)(x),n=t.dataCenter,c=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(i.useState)(!1),p=Object(f.a)(u,2),j=p[0],y=p[1],h=Object(i.useState)(o),O=Object(f.a)(h,2),g=O[0],A=O[1],I=function(){var e=Object(m.a)(b.a.mark((function e(t,i){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ce(null===n||void 0===n?void 0:n.userInfo,"click","toolbox_"+i+"_"+d);case 2:window.open(t);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return Object(i.useEffect)((function(){var e,t;(null===(e=n.userInfo)||void 0===e||null===(t=e.follow)||void 0===t?void 0:t.includes(d))?y(!0):y(!1)}),[n.toolBox,n.userInfo]),Object(v.jsxs)("div",{className:"content-item",children:[Object(v.jsxs)("div",{className:"item-icon",onClick:function(){return I(s,"icon")},children:[!g&&Object(v.jsx)("div",{className:"defaultIcon",children:l[0]}),g&&Object(v.jsx)("img",{src:g,alt:"",onError:function(e){return A(null)}})]}),Object(v.jsx)("div",{className:"item-name",onClick:function(){return I(s,"title")},children:l}),Object(v.jsx)("div",{className:"item-desc",children:r}),Object(v.jsx)("a",{className:"item-url",onClick:function(){return I(s,"url")},children:s}),Object(v.jsxs)("div",{className:"follow",children:[Object(v.jsx)("img",{className:"icon-follow",src:j?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAADICAYAAAAX+yb+AAAAAXNSR0IArs4c6QAAFLJJREFUeF7tnXu0XHV1x7/7zJ0zSaFd6FIK3jtnAiSZmfDSNoWKdJkUUJCwAHkUVGihFVZBeUgBQbvABJSHj6SiFKo8VSywsPIWQkkVNS2mIJDMzA1g7pnw1oW1Ae6cuffsrjP3phBM7pzH73cec/b8m/377r0/v/nmnHvmnH0I8hECQiBVBChV1UgxQkAIQEwpXwIhkDICYsqUbYiUIwTElPIdEAIpIyCmTNmGSDlCQEwp3wEhkDICuTJla2T2MBe6Vbg0H4QqmKoAz97mnhD9GuCNTMZzcPk5A+5GoqHnyBx/bt7T6KRsL1NVzvq5+CPumsNgY3iSJ0cINAyDh5lphJj/cAbmv2FgfYF5lInXF4oTo3Ofwcupak5zMQNrykZlaD+DjYPAqLqEKgHzAWyviicBa5lptWu4qw0Xj7/Q7j6+GJhQpZ8lnfYIZm/C0L5kGPsQY18m7AtgWGEP/0PAKDPWE2HUdXFHfaPzpEL9VEkNjCmfLJd2K8I9CEQHAlgM4J0xk/4dgf+LmR5n0Mp6u/OjmPPHmq5VKR3iuu6BBhkLGfxnALZ9xqGnsvUA7mDXvb++cWKVnhTJqGbalM2R0sGGwYvcKRPukwzCrWclYB0D97Dr3lPfOPEfaaotbC09I7J7CECHEDA3rI7qdQS0GXQPwA85cB7ay8arqnPEqZdJU45apSUu+BQAh8UJK0Ku/wbD+9LcWWt3fxFBJ/alaTXiDCBeJOB6d5JuqD/XGY0dmIKEmTJlBs24tS36jgvjxgX2+EoF+6dNommZR4PxtyAcrC2JRmEGXjeYr2fghqz9R5gJUw6IGbf4ChJwNwM31mzndo3fzcDS66ziCQbjZBAtCrw4vQtuBrnX18YmHk5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HixKKgQWCiYLERkTpggypzESZgR0fcBYHcJLEGMzKuGBH0HqFAhvffXgFLqPEQ8rPeRPBpBEGQFBiLMlBUYBF8bpTOmFgSZkTBf3YMofTGbEbfHwjzKWvv5jCGH7p4YCKL0RGweWK3125jZbZTePI99DpsJRDzFGHNFDttg4omBIEpPxOaFHR8ff/b09LQTpo8dJo+Fxcyn12q1U5rN5oN5Yw12fhgIovTDa2FUItoHAI4HgN0Kgz0e4Ied2dHHUfLCoQ4nXBBlxcdda71fkiT7I6I7COjpecJl5vvckX6I+B1jzHfyYASb8hgIoiyP68KetNYHMfNBALAtADwTAJ4xC+i9AHAPAEwi4oXGmKsLOw8ApTEQRFka1V4c1cbGxjZrt9tOoFCr1e5Zvnz57wGg7cVbAC2FgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgSDKUmgOTgID6RkIokzPVegZGCiFgf8DJGyXX6wRtw0AAAAASUVORK5CYII=",alt:"",onClick:function(){return function(){var e=n.userInfo.follow.slice();if(j){var t=e.indexOf(d);e.splice(t,1)}else e.push(d);console.log({follow:JSON.stringify(e),uid:n.userInfo.id}),c("/users/follow",{follow:JSON.stringify(e),uid:n.userInfo.id}).then((function(){return c("/users/getUser",{},"userInfo")}))}()}}),"\u6536\u85cf"]})]})};var oe=function(e){var t,n,c,a=e.childTypeId,o=e.typeId,l=Object(i.useContext)(x).dataCenter;return Object(v.jsxs)("div",{className:"content",children:[!!(null===(t=l.toolBox)||void 0===t?void 0:t.length)&&(null===l||void 0===l?void 0:l.toolBox.filter((function(e){var t,n;return"all"===o||("follow"===o?null===l||void 0===l||null===(t=l.userInfo)||void 0===t||null===(n=t.follow)||void 0===n?void 0:n.includes(e.toolbox_id):e.type_id===o)})).filter((function(e){return"all"===a||e.child_type_id===a})).map((function(e){return Object(v.jsx)(ae,{value:e},e.toolbox_id)}))),"follow"===o&&(null===l||void 0===l||null===(n=l.userInfo)||void 0===n||null===(c=n.follow)||void 0===c?void 0:c.length)<=0&&"\u6ca1\u6709\u6570\u636e\u4e86\uff01"]})};var le=function(e){var t,n,c=e.typeData,a=Object(i.useState)(null===(t=c[0])||void 0===t?void 0:t.type_id),o=Object(f.a)(a,2),l=o[0],r=o[1],s=Object(i.useState)("all"),d=Object(f.a)(s,2),u=d[0],p=d[1];return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{id:"type"+(null===(n=c[0])||void 0===n?void 0:n.type_id),className:"tool-nav",children:Object(v.jsx)(k,{typeData:c,setChildTypeId:p,setTypeId:r,typeId:l,childTypeId:u})}),Object(v.jsx)("div",{className:"container",children:Object(v.jsx)(oe,{typeId:l,childTypeId:u})})]})};var re=function(e){var t,n,c=Object(i.useContext)(x),a=c.fetchData,o=c.dispatch,l=e.typeData,r=Object(i.useState)(l[0].type_id),s=Object(f.a)(r,2),d=s[0],u=s[1],p=Object(i.useState)("all"),j=Object(f.a)(p,2),y=j[0],h=j[1],O=Object(i.useRef)({weight:null===(t=l[0])||void 0===t?void 0:t.weight});Object(i.useEffect)((function(){var e;console.log({typeId:d,weight:null===(e=l[0])||void 0===e?void 0:e.weight})}),[]);var g=function(){var e=Object(m.a)(b.a.mark((function e(t,n){var i,c;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="up"===e.t0?3:"down"===e.t0?6:"to"===e.t0?9:12;break;case 3:return e.next=5,a("/typeManage/changeWeight",{typeId:d,weight:(null===(i=l[0])||void 0===i?void 0:i.weight)+1});case 5:return e.abrupt("break",12);case 6:return e.next=8,a("/typeManage/changeWeight",{typeId:d,weight:(null===(c=l[0])||void 0===c?void 0:c.weight)-1});case 8:return e.abrupt("break",12);case 9:return e.next=11,a("/typeManage/changeWeight",{typeId:d,weight:n});case 11:return e.abrupt("break",12);case 12:o({type:"NEED_UPDATE_INDEX"});case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)("div",{className:"tool-nav",children:[Object(v.jsxs)("span",{children:["\u5f53\u524d\u6743\u503c\uff1a",null===(n=l[0])||void 0===n?void 0:n.weight]}),Object(v.jsx)("button",{className:"type-weight",onClick:function(){return g("up")},children:"\u5411\u4e0a\u4e00\u7ea7"}),Object(v.jsx)("button",{className:"type-weight",onClick:function(){return g("down")},children:"\u5411\u4e0b\u4e00\u7ea7"}),Object(v.jsxs)("button",{className:"type-weight",onClick:function(){return g("to",O.current.weight)},children:["\u53d8\u66f4\u6743\u503c\u4e3a\uff1a",Object(v.jsx)("input",{type:"text",defaultValue:l[0].weight,onChange:function(e){return O.current.weight=e.target.value},onClick:function(e){return e.stopPropagation()}})]}),Object(v.jsx)(k,{typeData:l,setChildTypeId:h,setTypeId:u,typeId:d,childTypeId:y})]}),Object(v.jsx)("div",{className:"container",children:Object(v.jsx)(F,{typeId:d,childTypeId:y})})]})};var se=function(){var e,t,n=Object(te.g)(),c=Object(i.useContext)(x),a=c.fetchData,o=c.dataCenter,l=c.dispatch;return Object(i.useEffect)((function(){o.needUpdateIndex&&a("/query/queryToolBox",{},"toolBox").then((function(){return a("/typeManage/queryTypeForManage",{},"type")})).then((function(){return l({type:"NEED_UPDATE_INDEX"})}))}),[o.needUpdateIndex]),Object(i.useEffect)((function(){a("/users/getUser",{},"userInfo").then((function(e){var t;1!==+(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.admin)&&n.push("/")})).catch((function(e){return 70001===+e.code&&ne()})),l({type:"NEED_UPDATE_INDEX"})}),[]),Object(v.jsx)(I.Provider,{value:{hidePop:function(){return setPop("")},showPop:function(e){}},children:Object(v.jsxs)("div",{className:"index",children:[Object(v.jsx)("div",{className:"welcome-top",children:Object(v.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(v.jsx)("span",{className:"welcome-uname",children:null===o||void 0===o||null===(e=o.userInfo)||void 0===e?void 0:e.name}),Object(v.jsx)("a",{className:"login-btn",children:"\u9000\u51fa\u767b\u5f55"})]})}),Object(v.jsxs)("div",{className:"nav",children:[Object(v.jsx)("div",{className:"nav-title",children:Object(v.jsx)("img",{src:C,alt:""})}),Object(v.jsx)("div",{className:"nav-weather",children:Object(v.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(v.jsx)(re,{typeData:[{type_id:"follow",type_name:"\u6211\u7684\u6536\u85cf"}]}),Array.isArray(null===o||void 0===o?void 0:o.type)&&(null===o||void 0===o||null===(t=o.type)||void 0===t?void 0:t.map((function(e){return Object(v.jsx)("div",{children:Object(v.jsx)(re,{typeData:[e]})},e.type_id)}))),Object(v.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(v.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]}),Object(v.jsx)(ee,{})]})})},de=(n(275),n(276),function(e){var t;console.log("\u8df3\u8f6c"),null===(t=document.getElementById("type"+e))||void 0===t||t.scrollIntoView({block:"start",behavior:"smooth"})}),ue=function(e){var t=e.typeName,n=e.typeId,i=e.selected;return Object(v.jsx)("div",{className:"nav-item",style:i?{backgroundColor:"#00D5CA",color:"#fff"}:{},onClick:function(){return de(n)},children:t})};var pe=function(){var e,t,n=Object(i.useContext)(x).dataCenter,c=Object(i.useState)(!1),a=Object(f.a)(c,2),o=a[0],l=a[1],r=Object(i.useState)(!1),s=Object(f.a)(r,2),d=s[0],u=s[1],p=Object(i.useState)(0),b=Object(f.a)(p,2),j=b[0],m=b[1],y=function(){var e,t=null===(e=window.location.hash.split("?")[1])||void 0===e?void 0:e.split("&"),n={typeId:null};return(null===t||void 0===t?void 0:t.length)?(t.forEach((function(e){var t=e.split("=");n[t[0]]=t[1]})),n):null};return Object(i.useEffect)((function(){(null===n||void 0===n?void 0:n.type)&&(window.location.hash="#/index?typeId="+n.type[j].type_id)}),[j]),Object(i.useEffect)((function(){if(!d&&(null===n||void 0===n?void 0:n.type)){var e,t,i;(null===(e=y())||void 0===e?void 0:e.typeId)&&de(null===(t=y())||void 0===t?void 0:t.typeId);var c=null===n||void 0===n||null===(i=n.type)||void 0===i?void 0:i.map((function(e){return e.type_id})),a=c.map((function(e){return document.getElementById("type"+e).offsetTop}));document.body.addEventListener("scroll",(function(e){for(var t={offsetTop:Math.abs(e.target.scrollTop-a[0]),index:0},n=0;n<a.length;n++){var i=Math.abs(e.target.scrollTop-a[n]);i<t.offsetTop&&(t.offsetTop=i,t.index=n)}m(t.index)})),u(!0)}}),[null===n||void 0===n?void 0:n.type]),Object(v.jsxs)("div",{className:"type-nav-bar",style:{transform:"translateX(".concat(o?0:-120,"px)")},children:[Object(v.jsx)("div",{className:"guide-button",onClick:function(){return l(!o)},style:o?{width:"120px",transform:"translate(-50px,-30px)",borderBottomRightRadius:"1px",borderBottom:"1px solid #f5f5f5"}:{borderBottomRightRadius:"10px"},children:o?"\u5bfc\u822a <":"\u5bfc\u822a >"}),(null===n||void 0===n||null===(e=n.type)||void 0===e?void 0:e.length)>0&&(null===n||void 0===n||null===(t=n.type)||void 0===t?void 0:t.map((function(e,t){return Object(v.jsx)(ue,{selected:j===t,typeId:e.type_id,typeName:e.type_name},e.type_id)})))]})};var be=function(){Object(te.g)();var e,t,n=Object(i.useState)(!1),c=Object(f.a)(n,2),a=c[0],o=c[1],l=Object(i.useContext)(x),r=l.fetchData,s=l.dataCenter,d=l.dispatch,u=Object(i.useState)(null),p=Object(f.a)(u,2),j=p[0],y=p[1],h=function(){var e=Object(m.a)(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r("/users/getUser",{},"userInfo").then((function(e){return e.success||70001!==e.code||ne(),e}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=null===s||void 0===s?void 0:s.userInfo,t=document.createElement("canvas"),n=t.getContext("2d");return t.height=200,t.width=200,n.globalAlpha=.1,n.fillStyle="black",n.font="18px Arial",n.textAlign="center",n.translate(100,100),n.rotate(Math.PI/180*-25),n.fillText((null===e||void 0===e?void 0:e.name)+" "+(null===e||void 0===e?void 0:e.id),0,0),n.translate(-100,-100),t.toDataURL("image/png")};return Object(i.useEffect)((function(){s.needUpdateIndex&&r("/query/queryToolBox",{},"toolBox").then((function(){return r("/typeManage/queryTypeForManage",{},"type")})).then((function(){return d({type:"NEED_UPDATE_INDEX"})}))}),[s.needUpdateIndex]),Object(i.useEffect)(Object(m.a)(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=2;break}return e.abrupt("return");case 2:if(!(null===s||void 0===s?void 0:s.userInfo)){e.next=7;break}return e.next=5,ce(null===s||void 0===s?void 0:s.userInfo,"exposure","page_index");case 5:o(!0),y(O());case 7:case"end":return e.stop()}}),e)}))),[null===s||void 0===s?void 0:s.userInfo]),Object(i.useEffect)(Object(m.a)(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:d({type:"NEED_UPDATE_INDEX"});case 3:case"end":return e.stop()}}),e)}))),[]),Object(v.jsxs)("div",{className:"index",style:{backgroundImage:"url(".concat(j,")")},children:[Object(v.jsx)(pe,{}),Object(v.jsx)("div",{className:"welcome-top",children:Object(v.jsxs)("span",{children:["\u6b22\u8fce\u60a8\uff01",Object(v.jsx)("span",{className:"welcome-uname",children:null===s||void 0===s||null===(e=s.userInfo)||void 0===e?void 0:e.name})]})}),Object(v.jsxs)("div",{className:"nav",children:[Object(v.jsx)("div",{className:"nav-title",children:Object(v.jsx)("img",{src:C,alt:""})}),Object(v.jsx)("div",{className:"nav-weather",children:Object(v.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(v.jsx)(le,{typeData:[{type_id:"follow",type_name:"\u6211\u7684\u6536\u85cf"}]}),Array.isArray(null===s||void 0===s?void 0:s.type)&&(null===s||void 0===s||null===(t=s.type)||void 0===t?void 0:t.map((function(e){return Object(v.jsx)(le,{typeData:[e]},e.type_id)}))),Object(v.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(v.jsx)("br",{}),"\u6d59ICP\u590714017299\u53f7-1"]})]})};n(277);var je=n(93);var me=function(){return Object(v.jsx)(je.a,{children:Object(v.jsx)(E,{children:Object(v.jsxs)(te.d,{children:[Object(v.jsx)(te.b,{exact:!0,path:"/",render:function(){return Object(v.jsx)(te.a,{to:"/index"})}}),Object(v.jsx)(te.b,{exact:!0,path:"/index",component:be}),Object(v.jsx)(te.b,{exact:!0,path:"/admin",component:se})]})})})},fe=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,291)).then((function(t){var n=t.getCLS,i=t.getFID,c=t.getFCP,a=t.getLCP,o=t.getTTFB;n(e),i(e),c(e),a(e),o(e)}))};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;"),u.a.locale("zh-cn"),o.a.render(Object(v.jsx)(c.a.StrictMode,{children:Object(v.jsx)(l.a,{locale:s.a,children:Object(v.jsx)(me,{})})}),document.getElementById("root")),fe()}},[[282,1,2]]]);
//# sourceMappingURL=main.6e8d308a.chunk.js.map //# sourceMappingURL=main.f2c08f80.chunk.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
import logo from "../../static/logo.png"; import logo from "../../static/logo.png";
import './index.scss' import './index.scss'
import {Root} from "../../dataCenter/Root"; import {Root} from "../../dataCenter/Root";
import {useContext, useEffect, useState} from "react"; import React,{useContext, useEffect, useState} from "react";
import {NEED_UPDATE_INDEX} from "../../dataCenter/action"; import {NEED_UPDATE_INDEX} from "../../dataCenter/action";
import {useHistory} from "react-router-dom"; import {useHistory} from "react-router-dom";
import gotoLogin from "../../utils/gotoLogin"; import gotoLogin from "../../utils/gotoLogin";
...@@ -13,6 +13,7 @@ function Index() { ...@@ -13,6 +13,7 @@ function Index() {
const history = useHistory() const history = useHistory()
const [mdLock, setMdLock] = useState(false) const [mdLock, setMdLock] = useState(false)
const {fetchData, dataCenter, dispatch} = useContext(Root) const {fetchData, dataCenter, dispatch} = useContext(Root)
const [backgroundData, setBackgroundData] = useState(null)
const getUser = async () => { const getUser = async () => {
await fetchData('/users/getUser', {}, 'userInfo') await fetchData('/users/getUser', {}, 'userInfo')
...@@ -25,7 +26,24 @@ function Index() { ...@@ -25,7 +26,24 @@ function Index() {
} }
const createImg = ()=>{
const user = dataCenter?.userInfo
const canvas = document.createElement('canvas')
const context = canvas.getContext('2d')
// context.fillStyle = "cornflowerblue"; //画布填充色
// context.fillRect(0, 0, 200, 200); //清空画布
canvas.height = 200
canvas.width = 200
context.globalAlpha = 0.1
context.fillStyle = "black"; //设置字体颜色
context.font = "18px Arial"; //设置字体
context.textAlign = "center";
context.translate(100, 100)
context.rotate((Math.PI / 180) * -25)
context.fillText(user?.name + ' ' + user?.id,0,0)
context.translate(-100, -100)
return canvas.toDataURL('image/png')
}
useEffect(() => { useEffect(() => {
if (dataCenter.needUpdateIndex) { if (dataCenter.needUpdateIndex) {
...@@ -40,6 +58,7 @@ function Index() { ...@@ -40,6 +58,7 @@ function Index() {
if (!!dataCenter?.userInfo) { if (!!dataCenter?.userInfo) {
await sendMd(dataCenter?.userInfo, Exposure, 'page_index') await sendMd(dataCenter?.userInfo, Exposure, 'page_index')
setMdLock(true) setMdLock(true)
setBackgroundData(createImg())
} }
}, [dataCenter?.userInfo]) }, [dataCenter?.userInfo])
...@@ -50,8 +69,7 @@ function Index() { ...@@ -50,8 +69,7 @@ function Index() {
}, []) }, [])
return ( return (
<div className="index" style={{backgroundImage: `url(${backgroundData})`}}>
<div className="index">
<TypeNavBar/> <TypeNavBar/>
<div className="welcome-top"> <div className="welcome-top">
<span>欢迎您! <span>欢迎您!
......
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