1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6438],{45073:function(k,$,n){var d=n(75891),T=n(21532),p=n(32983),O=n(85893),f=function(l){var P=l.description;return(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(T.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,O.jsx)(p.Z,{description:P})})})};$.Z=(0,d.connect)(function(g){var l=g.dictModel;return{dictModel:l}})(f)},80552:function(k,$,n){var d=n(75891),T=n(21532),p=n(86250),O=n(83622),f=n(85893),g=function(P){var D=P.title,E=P.link,X=P.hasMore;return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(T.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,f.jsxs)(p.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:[(0,f.jsxs)(p.Z,{align:"center",children:[(0,f.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}}),(0,f.jsx)("div",{style:{height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:8,padding:"0 20px"},children:(0,f.jsx)("div",{style:{color:"#ffffff",fontSize:16,fontWeight:"bold",transform:"skewX(20deg)"},children:D})}),(0,f.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}})]}),X&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(p.Z,{justify:"flex-end",style:{},children:(0,f.jsx)(O.ZP,{size:"small",shape:"round",children:(0,f.jsx)(d.Link,{to:{pathname:E},style:{fontWeight:"bold",color:"#000000"},children:"\u66F4\u591A"})})})})]})})})};$.Z=(0,d.connect)(function(l){var P=l.dictModel;return{dictModel:P}})(g)},98205:function(k,$,n){n.r($),n.d($,{default:function(){return le}});var d=n(15009),T=n.n(d),p=n(99289),O=n.n(p),f=n(5574),g=n.n(f),l=n(67294),P=n(74453),D=n(21532),E=n(86250),X=n(66309),R=n(76094),G=n(80552),J=n(86492),oe=n.n(J),F=n(45073),t=n(85893),Q=function(s){var r=s.id,a=(0,l.useState)(null),o=g()(a,2),u=o[0],i=o[1];return(0,l.useEffect)(function(){r?(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(C){C.data.articles&&C.data.articles.length>0?(0,R.US)({id:C.data.articles[0].id}).then(function(v){i(v.data)}):i(null)}):i(null)},[r]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(D.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[u&&(0,t.jsx)("div",{style:{minHeight:300,background:"#f2f2f2",borderRadius:8,padding:20,margin:"20px 0",lineHeight:2},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:oe().decode(u.content)}})}),!u&&(0,t.jsx)(E.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,t.jsx)(F.Z,{description:"\u6682\u65E0\u6570\u636E"})})]})})},re=Q,A=n(42075),Y=n(29104),q=n(84611),_=n(90814),ee=n(75891),te=n(55375),W=function(s){var r=s.id,a=(0,l.useState)([]),o=g()(a,2),u=o[0],i=o[1],C=(0,l.useState)(0),v=g()(C,2),Z=v[0],m=v[1],B=(0,l.useState)(1),y=g()(B,2),L=y[0],z=y[1],S=(0,l.useState)(7),I=g()(S,2),M=I[0],H=I[1];return(0,l.useEffect)(function(){r?(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(c){i(c.data.articles&&c.data.articles.length>0?c.data.articles:[]),m(c.data.total)}):(i([]),m(0))},[r]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(D.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,t.jsxs)("div",{style:{minHeight:300},children:[(0,t.jsxs)(A.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[u&&u.length>0&&u.map(function(c,j){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ee.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,t.jsxs)(E.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)(Y.Z,{src:"".concat(te.VO).concat(c.cover_img),width:100,height:100}),(0,t.jsx)("h3",{children:c.title})]}),(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)("div",{children:c.updated_at}),(0,t.jsx)(_.Z,{})]})]})})})}),!u||u.length==0&&(0,t.jsx)(E.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,t.jsx)(F.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,t.jsx)(E.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,t.jsx)(q.Z,{hideOnSinglePage:!0,total:Z,showTotal:function(j){return"\u603B\u5171".concat(j,"\u6761")},current:L,pageSize:M,pageSizeOptions:["12","24","36"],onChange:function(j,N){z(j),H(N),(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(h){i(h.data.articles&&h.data.articles.length>0?h.data.articles:[]),m(h.data.total)})}})})]})})})},se=W,ie=function(s){var r=s.id,a=(0,l.useState)([]),o=g()(a,2),u=o[0],i=o[1],C=(0,l.useState)(0),v=g()(C,2),Z=v[0],m=v[1],B=(0,l.useState)(1),y=g()(B,2),L=y[0],z=y[1],S=(0,l.useState)(7),I=g()(S,2),M=I[0],H=I[1];return(0,l.useEffect)(function(){r?(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(c){i(c.data.articles&&c.data.articles.length>0?c.data.articles:[]),m(c.data.total)}):(i([]),m(0))},[r]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(D.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,t.jsxs)("div",{style:{minHeight:300},children:[(0,t.jsxs)(A.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[u&&u.length>0&&u.map(function(c,j){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ee.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,t.jsxs)(E.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)(Y.Z,{src:"".concat(te.VO).concat(c.cover_img),width:100,height:100}),(0,t.jsx)("h3",{children:c.title})]}),(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)("div",{children:c.updated_at}),(0,t.jsx)(_.Z,{})]})]})})})}),!u||u.length==0&&(0,t.jsx)(E.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,t.jsx)(F.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,t.jsx)(E.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,t.jsx)(q.Z,{hideOnSinglePage:!0,total:Z,showTotal:function(j){return"\u603B\u5171".concat(j,"\u6761")},current:L,pageSize:M,pageSizeOptions:["12","24","36"],onChange:function(j,N){z(j),H(N),(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(h){i(h.data.articles&&h.data.articles.length>0?h.data.articles:[]),m(h.data.total)})}})})]})})})},ue=ie,ne=function(){var s=(0,l.useState)([]),r=g()(s,2),a=r[0],o=r[1],u=(0,l.useState)(),i=g()(u,2),C=i[0],v=i[1],Z=(0,l.useState)(),m=g()(Z,2),B=m[0],y=m[1],L=(0,l.useState)(),z=g()(L,2),S=z[0],I=z[1],M=(0,l.useState)([""]),H=g()(M,2),c=H[0],j=H[1];(0,l.useEffect)(function(){(0,R.d3)({code:"KCYHZHB"}).then(function(h){o(h.data.childs?h.data.childs:[]),h.data.childs&&h.data.childs.length>0&&(j(h.data.childs[0].name),v(h.data.childs[0].childs[0].id),y(h.data.childs[0].childs[1].id),I(h.data.childs[0].childs[2].id))})},[]);var N=function(){var h=O()(T()().mark(function b(x,w){var ae;return T()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:ae=w?[x.name]:c.filter(function(ce){return ce!==x.name}),j(ae),x.childs&&x.childs.length>0&&(console.log(x.childs[0].id),v(x.childs[0]&&x.childs[0].id?x.childs[0].id:0),y(x.childs[1]&&x.childs[1].id?x.childs[1].id:0),I(x.childs[2]&&x.childs[2].id?x.childs[2].id:0));case 3:case"end":return K.stop()}},b)}));return function(x,w){return h.apply(this,arguments)}}();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(D.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,t.jsx)(E.Z,{style:{background:"#ffffff",padding:"20px",width:"100%"},children:a&&a.length>0&&a.map(function(h,b){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(X.Z.CheckableTag,{checked:c.includes(h.name),onChange:function(w){return N(h,w)},children:h.name},h.name)})})}),(0,t.jsxs)(P._z,{header:{title:""},style:{minHeight:1e3},children:[(0,t.jsx)(G.Z,{title:"\u5408\u4F5C\u4F19\u4F34\u7B80\u4ECB",link:"",hasMore:!1}),(0,t.jsx)(re,{id:C}),(0,t.jsx)(G.Z,{title:"\u65B0\u95FB\u680F\u76EE",link:"",hasMore:!1}),(0,t.jsx)(se,{id:B}),(0,t.jsx)(G.Z,{title:"\u6210\u679C\u8F6C\u5316",link:"",hasMore:!1}),(0,t.jsx)(ue,{id:S})]})]})})},le=ne},76094:function(k,$,n){n.d($,{US:function(){return P},UO:function(){return l},d3:function(){return g},cp:function(){return O}});var d=n(75334),T=n(55375),p={SectionList:T.xw+"/section/list",SectionDetail:T.xw+"/section/detail",SectionDetailByCode:T.xw+"/section/detailByCode",ArticleList:T.xw+"/article/list",ArticleDetail:T.xw+"/article/detail"},O=(0,d.y)(p.SectionList),f=(0,d.y)(p.SectionDetail),g=(0,d.y)(p.SectionDetailByCode),l=(0,d.y)(p.ArticleList),P=(0,d.y)(p.ArticleDetail)},66309:function(k,$,n){n.d($,{Z:function(){return le}});var d=n(67294),T=n(93967),p=n.n(T),O=n(98423),f=n(98787),g=n(69760),l=n(96159),P=n(45353),D=n(53124),E=n(11568),X=n(15063),R=n(14747),G=n(83262),J=n(83559);const oe=e=>{const{paddingXXS:s,lineWidth:r,tagPaddingHorizontal:a,componentCls:o,calc:u}=e,i=u(a).sub(r).equal(),C=u(s).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,R.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,E.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:C,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},F=e=>{const{lineWidth:s,fontSizeIcon:r,calc:a}=e,o=e.fontSizeSM;return(0,G.IX)(e,{tagFontSize:o,tagLineHeight:(0,E.bf)(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(r).sub(a(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},t=e=>({defaultBg:new X.t(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Q=(0,J.I$)("Tag",e=>{const s=F(e);return oe(s)},t),re=function(e,s){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&s.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)s.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},Y=d.forwardRef((e,s)=>{const{prefixCls:r,style:a,className:o,checked:u,onChange:i,onClick:C}=e,v=re(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Z,tag:m}=d.useContext(D.E_),B=M=>{i==null||i(!u),C==null||C(M)},y=Z("tag",r),[L,z,S]=Q(y),I=p()(y,`${y}-checkable`,{[`${y}-checkable-checked`]:u},m==null?void 0:m.className,o,z,S);return L(d.createElement("span",Object.assign({},v,{ref:s,style:Object.assign(Object.assign({},a),m==null?void 0:m.style),className:I,onClick:B})))}),q=n(98719);const _=e=>(0,q.Z)(e,(s,r)=>{let{textColor:a,lightBorderColor:o,lightColor:u,darkColor:i}=r;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:a,background:u,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ee=(0,J.bk)(["Tag","preset"],e=>{const s=F(e);return _(s)},t);function te(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const W=(e,s,r)=>{const a=te(r);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${r}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var se=(0,J.bk)(["Tag","status"],e=>{const s=F(e);return[W(s,"success","Success"),W(s,"processing","Info"),W(s,"error","Error"),W(s,"warning","Warning")]},t),ie=function(e,s){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&s.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)s.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r};const ne=d.forwardRef((e,s)=>{const{prefixCls:r,className:a,rootClassName:o,style:u,children:i,icon:C,color:v,onClose:Z,bordered:m=!0,visible:B}=e,y=ie(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:L,direction:z,tag:S}=d.useContext(D.E_),[I,M]=d.useState(!0),H=(0,O.Z)(y,["closeIcon","closable"]);d.useEffect(()=>{B!==void 0&&M(B)},[B]);const c=(0,f.o2)(v),j=(0,f.yT)(v),N=c||j,h=Object.assign(Object.assign({backgroundColor:v&&!N?v:void 0},S==null?void 0:S.style),u),b=L("tag",r),[x,w,ae]=Q(b),he=p()(b,S==null?void 0:S.className,{[`${b}-${v}`]:N,[`${b}-has-color`]:v&&!N,[`${b}-hidden`]:!I,[`${b}-rtl`]:z==="rtl",[`${b}-borderless`]:!m},a,o,w,ae),K=V=>{V.stopPropagation(),Z==null||Z(V),!V.defaultPrevented&&M(!1)},[,ce]=(0,g.Z)((0,g.w)(e),(0,g.w)(S),{closable:!1,closeIconRender:V=>{const pe=d.createElement("span",{className:`${b}-close-icon`,onClick:K},V);return(0,l.wm)(V,pe,U=>({onClick:ve=>{var de;(de=U==null?void 0:U.onClick)===null||de===void 0||de.call(U,ve),K(ve)},className:p()(U==null?void 0:U.className,`${b}-close-icon`)}))}}),me=typeof y.onClick=="function"||i&&i.type==="a",ge=C||null,xe=ge?d.createElement(d.Fragment,null,ge,i&&d.createElement("span",null,i)):i,fe=d.createElement("span",Object.assign({},H,{ref:s,className:he,style:h}),xe,ce,c&&d.createElement(ee,{key:"preset",prefixCls:b}),j&&d.createElement(se,{key:"status",prefixCls:b}));return x(me?d.createElement(P.Z,{component:"Tag"},fe):fe)});ne.CheckableTag=Y;var le=ne}}]);
|