Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

p__Partner__Home__index.32ea0777.async.js 14KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6438],{45073:function(k,$,n){var c=n(75891),T=n(21532),x=n(32983),O=n(85893),f=function(i){var P=i.description;return(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(T.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,O.jsx)(x.Z,{description:P})})})};$.Z=(0,c.connect)(function(g){var i=g.dictModel;return{dictModel:i}})(f)},80552:function(k,$,n){var c=n(75891),T=n(21532),x=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)(x.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:[(0,f.jsxs)(x.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)(x.Z,{justify:"flex-end",style:{},children:(0,f.jsx)(O.ZP,{size:"small",shape:"round",children:(0,f.jsx)(c.Link,{to:{pathname:E},style:{fontWeight:"bold",color:"#000000"},children:"\u66F4\u591A"})})})})]})})})};$.Z=(0,c.connect)(function(i){var P=i.dictModel;return{dictModel:P}})(g)},98205:function(k,$,n){n.r($),n.d($,{default:function(){return le}});var c=n(15009),T=n.n(c),x=n(99289),O=n.n(x),f=n(5574),g=n.n(f),i=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,i.useState)(null),o=g()(a,2),d=o[0],h=o[1];return(0,i.useEffect)(function(){console.log(r),r&&(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(p){p.data.articles&&p.data.articles.length>0&&(0,R.US)({id:p.data.articles[0].id}).then(function(v){h(v.data)})})},[r]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(D.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[d&&(0,t.jsx)("div",{style:{minHeight:300,background:"#f2f2f2",borderRadius:8,padding:20,lineHeight:2},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:oe().decode(d.content)}})}),!d&&(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,i.useState)([]),o=g()(a,2),d=o[0],h=o[1],p=(0,i.useState)(0),v=g()(p,2),Z=v[0],C=v[1],B=(0,i.useState)(1),y=g()(B,2),L=y[0],z=y[1],S=(0,i.useState)(7),I=g()(S,2),M=I[0],H=I[1];return(0,i.useEffect)(function(){r&&(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(l){h(l.data.articles&&l.data.articles.length>0?l.data.articles:[]),C(l.data.total)})},[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:[d&&d.length>0&&d.map(function(l,j){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ee.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(l.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(l.cover_img),width:100,height:100}),(0,t.jsx)("h3",{children:l.title})]}),(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)("div",{children:l.updated_at}),(0,t.jsx)(_.Z,{})]})]})})})}),!d||d.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(u){h(u.data.articles&&u.data.articles.length>0?u.data.articles:[]),C(u.data.total)})}})})]})})})},se=W,ie=function(s){var r=s.id,a=(0,i.useState)([]),o=g()(a,2),d=o[0],h=o[1],p=(0,i.useState)(0),v=g()(p,2),Z=v[0],C=v[1],B=(0,i.useState)(1),y=g()(B,2),L=y[0],z=y[1],S=(0,i.useState)(7),I=g()(S,2),M=I[0],H=I[1];return(0,i.useEffect)(function(){r&&(0,R.UO)({page:1,pagesize:10,section_id:r}).then(function(l){h(l.data.articles&&l.data.articles.length>0?l.data.articles:[]),C(l.data.total)})},[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:[d&&d.length>0&&d.map(function(l,j){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ee.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(l.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(l.cover_img),width:100,height:100}),(0,t.jsx)("h3",{children:l.title})]}),(0,t.jsxs)(A.Z,{size:20,children:[(0,t.jsx)("div",{children:l.updated_at}),(0,t.jsx)(_.Z,{})]})]})})})}),!d||d.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(u){h(u.data.articles&&u.data.articles.length>0?u.data.articles:[]),C(u.data.total)})}})})]})})})},ue=ie,ne=function(){var s=(0,i.useState)([]),r=g()(s,2),a=r[0],o=r[1],d=(0,i.useState)(),h=g()(d,2),p=h[0],v=h[1],Z=(0,i.useState)(),C=g()(Z,2),B=C[0],y=C[1],L=(0,i.useState)(),z=g()(L,2),S=z[0],I=z[1],M=(0,i.useState)([""]),H=g()(M,2),l=H[0],j=H[1];(0,i.useEffect)(function(){(0,R.d3)({code:"KCYHZHB"}).then(function(u){o(u.data.childs?u.data.childs:[]),u.data.childs&&u.data.childs.length>0&&(j(u.data.childs[0].name),v(u.data.childs[0].childs[0].id),y(u.data.childs[0].childs[1].id),I(u.data.childs[0].childs[2].id))})},[]);var N=function(){var u=O()(T()().mark(function b(m,w){var ae;return T()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:ae=w?[m.name]:l.filter(function(ce){return ce!==m.name}),j(ae),m.childs&&m.childs.length>0&&(console.log(m.childs[0].id),v(m.childs[0]&&m.childs[0].id?m.childs[0].id:0),y(m.childs[1]&&m.childs[1].id?m.childs[1].id:0),I(m.childs[2]&&m.childs[2].id?m.childs[2].id:0));case 3:case"end":return K.stop()}},b)}));return function(m,w){return u.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(u,b){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(X.Z.CheckableTag,{checked:l.includes(u.name),onChange:function(w){return N(u,w)},children:u.name},u.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:p}),(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 i},d3:function(){return g},cp:function(){return O}});var c=n(75334),T=n(55375),x={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,c.y)(x.SectionList),f=(0,c.y)(x.SectionDetail),g=(0,c.y)(x.SectionDetailByCode),i=(0,c.y)(x.ArticleList),P=(0,c.y)(x.ArticleDetail)},66309:function(k,$,n){n.d($,{Z:function(){return le}});var c=n(67294),T=n(93967),x=n.n(T),O=n(98423),f=n(98787),g=n(69760),i=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:d}=e,h=d(a).sub(r).equal(),p=d(s).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,R.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:h,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:p,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:h}}),[`${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=c.forwardRef((e,s)=>{const{prefixCls:r,style:a,className:o,checked:d,onChange:h,onClick:p}=e,v=re(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Z,tag:C}=c.useContext(D.E_),B=M=>{h==null||h(!d),p==null||p(M)},y=Z("tag",r),[L,z,S]=Q(y),I=x()(y,`${y}-checkable`,{[`${y}-checkable-checked`]:d},C==null?void 0:C.className,o,z,S);return L(c.createElement("span",Object.assign({},v,{ref:s,style:Object.assign(Object.assign({},a),C==null?void 0:C.style),className:I,onClick:B})))}),q=n(98719);const _=e=>(0,q.Z)(e,(s,r)=>{let{textColor:a,lightBorderColor:o,lightColor:d,darkColor:h}=r;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:a,background:d,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:h,borderColor:h},[`&${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=c.forwardRef((e,s)=>{const{prefixCls:r,className:a,rootClassName:o,style:d,children:h,icon:p,color:v,onClose:Z,bordered:C=!0,visible:B}=e,y=ie(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:L,direction:z,tag:S}=c.useContext(D.E_),[I,M]=c.useState(!0),H=(0,O.Z)(y,["closeIcon","closable"]);c.useEffect(()=>{B!==void 0&&M(B)},[B]);const l=(0,f.o2)(v),j=(0,f.yT)(v),N=l||j,u=Object.assign(Object.assign({backgroundColor:v&&!N?v:void 0},S==null?void 0:S.style),d),b=L("tag",r),[m,w,ae]=Q(b),he=x()(b,S==null?void 0:S.className,{[`${b}-${v}`]:N,[`${b}-has-color`]:v&&!N,[`${b}-hidden`]:!I,[`${b}-rtl`]:z==="rtl",[`${b}-borderless`]:!C},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=c.createElement("span",{className:`${b}-close-icon`,onClick:K},V);return(0,i.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:x()(U==null?void 0:U.className,`${b}-close-icon`)}))}}),me=typeof y.onClick=="function"||h&&h.type==="a",ge=p||null,xe=ge?c.createElement(c.Fragment,null,ge,h&&c.createElement("span",null,h)):h,fe=c.createElement("span",Object.assign({},H,{ref:s,className:he,style:u}),xe,ce,l&&c.createElement(ee,{key:"preset",prefixCls:b}),j&&c.createElement(se,{key:"status",prefixCls:b}));return m(me?c.createElement(P.Z,{component:"Tag"},fe):fe)});ne.CheckableTag=Y;var le=ne}}]);