Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

p__Partner__Home__index.29cff192.async.js 9.7KB

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