Files
Sillyv2/core/admin/p__Welcome.31f51469.async.js
T
cdle 0432c2505b x
2023-06-01 15:24:23 +08:00

11 lines
13 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[185],{80023:function(U,F,o){o.r(F);var P=o(12472),y=o(86195),A=o(89974),n=o(31491),D=o(50959),l=o(11527),$=function(g){var x=g.title,f=g.href,v=g.index,c=g.desc,I=A.Z.useToken,w=I(),b=w.token;return(0,l.jsxs)("div",{style:{backgroundColor:b.colorBgContainer,boxShadow:b.boxShadow,borderRadius:"8px",fontSize:"14px",color:b.colorTextSecondary,lineHeight:"22px",padding:"16px 19px",minWidth:"220px",flex:1},children:[(0,l.jsxs)("div",{style:{display:"flex",gap:"4px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{width:48,height:48,lineHeight:"22px",backgroundSize:"100%",textAlign:"center",padding:"8px 16px 16px 12px",color:"#FFF",fontWeight:"bold",backgroundImage:"url('https://gw.alipayobjects.com/zos/bmw-prod/daaf8d50-8e6d-4251-905d-676a24ddfa12.svg')"},children:v}),(0,l.jsx)("div",{style:{fontSize:"16px",color:b.colorText,paddingBottom:8},children:x})]}),(0,l.jsx)("div",{style:{fontSize:"14px",color:b.colorTextSecondary,textAlign:"justify",lineHeight:"22px",marginBottom:8},children:c}),(0,l.jsxs)("a",{href:f,target:"_blank",rel:"noreferrer",children:["\u4E86\u89E3\u66F4\u591A ",">"]})]})},M=function(){var g,x=A.Z.useToken(),f=x.token,v=(0,y.useModel)("@@initialState"),c=v.initialState;return(0,l.jsx)(P._z,{children:(0,l.jsx)(n.Z,{style:{borderRadius:8},bodyStyle:{backgroundImage:(c==null||(g=c.settings)===null||g===void 0?void 0:g.navTheme)==="realDark"?"background-image: linear-gradient(75deg, #1A1B1F 0%, #191C1F 100%)":"background-image: linear-gradient(75deg, #FBFDFF 0%, #F5F7FF 100%)"},children:(0,l.jsxs)("div",{style:{backgroundPosition:"100% -30%",backgroundRepeat:"no-repeat",backgroundSize:"274px auto",backgroundImage:"url('https://gw.alipayobjects.com/mdn/rms_a9745b/afts/img/A*BuFmQqsB2iAAAAAAAAAAAAAAARQnAQ')"},children:[(0,l.jsx)("div",{style:{fontSize:"20px",color:f.colorTextHeading},children:"\u6B22\u8FCE\u4F7F\u7528 \u50BB\u599E\u673A\u5668\u4EBA"}),(0,l.jsx)("p",{style:{fontSize:"14px",color:f.colorTextSecondary,lineHeight:"22px",marginTop:16,marginBottom:32,width:"65%"},children:"\u50BB\u599E\u673A\u5668\u4EBA \u662F\u4E00\u4E2A\u7EDF\u4E00\u7684\u6D88\u606F\u5904\u7406\u5E73\u53F0\uFF0C\u65E8\u5728\u7B80\u5316\u7528\u6237\u5F00\u53D1\u6D41\u7A0B\uFF0C\u964D\u4F4E\u4F7F\u7528\u6210\u672C\u3002"}),(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:16},children:[(0,l.jsx)($,{index:1,href:"https://blog.imdraw.com",title:"\u4E86\u89E3 \u6D88\u606F\u642C\u8FD0",desc:"\u5FEB\u901F\u5C06\u4E0D\u540C\u5E73\u53F0\u6D88\u606F\u8FDB\u884C\u642C\u8FD0\u548C\u540C\u6B65\uFF0C\u652F\u6301\u767D\u540D\u5355\u91C7\u96C6\u3001\u5173\u952E\u8BCD\u6392\u9664\u3001\u811A\u672C\u5904\u7406\u548C\u6307\u5B9A\u673A\u5668\u4EBA\u7B49\u529F\u80FD\u3002"}),(0,l.jsx)($,{index:2,title:"\u4E86\u89E3 \u63D2\u4EF6\u7CFB\u7EDF",href:"https://github.com/cdle/sillyGirl#readme",desc:"\u6A21\u5757\u5316\u7684\u63D2\u4EF6\u7CFB\u7EDF\u8BBE\u8BA1\uFF0C\u5728\u7EBF\u7F16\u8F91\u53D1\u5E03\u811A\u672C\uFF0C\u652F\u6301\u70ED\u66F4\u65B0\u3002"}),(0,l.jsx)($,{index:3,title:"\u4E86\u89E3 \u50BB\u599E\u793E\u533A",href:"https://blog.imdraw.com",desc:"\u50BB\u599E\u793E\u533A\u81F4\u529B\u4E8E\u4E3A\u7528\u6237\u63D0\u4F9B\u4E00\u4E2A\u5B89\u5168\u3001\u8212\u9002\u7684\u4EA4\u6D41\u7A7A\u95F4\u3002\u5728\u50BB\u599E\u793E\u533A\uFF0C\u7528\u6237\u53EF\u4EE5\u53C2\u4E0E\u5404\u79CD\u8BDD\u9898\u8BA8\u8BBA\u3001\u5206\u4EAB\u81EA\u5DF1\u7684\u7ECF\u9A8C\u548C\u89C1\u89E3\uFF0C\u7ED3\u8BC6\u5FD7\u540C\u9053\u5408\u7684\u670B\u53CB\u3002"})]})]})})})};F.default=M},31491:function(U,F,o){o.d(F,{Z:function(){return re}});var P=o(84875),y=o.n(P),A=o(65395),n=o(50959),D=o(70458),l=o(85460),$=o(37454),M=o(53315),H=function(e,t){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(i[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(i[a[r]]=e[a[r]]);return i},x=e=>{var{prefixCls:t,className:i,hoverable:a=!0}=e,r=H(e,["prefixCls","className","hoverable"]);const{getPrefixCls:s}=n.useContext(D.E_),m=s("card",t),S=y()(`${m}-grid`,i,{[`${m}-grid-hoverable`]:a});return n.createElement("div",Object.assign({},r,{className:S}))},f=o(97624),v=o(74074),c=o(49272);const I=e=>{const{antCls:t,componentCls:i,cardHeadHeight:a,cardPaddingBase:r,cardHeadTabsMarginBottom:s}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,c.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},c.vS),{[`
> ${i}-typography,
> ${i}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:s,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},w=e=>{const{cardPaddingBase:t,colorBorderSecondary:i,cardShadow:a,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
${r}px 0 0 0 ${i},
0 ${r}px 0 0 ${i},
${r}px ${r}px 0 0 ${i},
${r}px 0 0 0 ${i} inset,
0 ${r}px 0 0 ${i} inset;
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}},b=e=>{const{componentCls:t,iconCls:i,cardActionsLiMargin:a,cardActionsIconSize:r,colorBorderSecondary:s}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${s}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,c.dF)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${i}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${i}`]:{fontSize:r,lineHeight:`${r*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${s}`}}})},X=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,c.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},c.vS),"&-description":{color:e.colorTextDescription}}),Q=e=>{const{componentCls:t,cardPaddingBase:i,colorFillAlter:a}=e;return{[`${t}-head`]:{padding:`0 ${i}px`,background:a,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${i}px`}}},J=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},V=e=>{const{componentCls:t,cardShadow:i,cardHeadPadding:a,colorBorderSecondary:r,boxShadowTertiary:s,cardPaddingBase:m}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:s},[`${t}-head`]:I(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:m,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,c.dF)()),[`${t}-grid`]:w(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:b(e),[`${t}-meta`]:X(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:i}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:a}}},[`${t}-type-inner`]:Q(e),[`${t}-loading`]:J(e),[`${t}-rtl`]:{direction:"rtl"}}},Y=e=>{const{componentCls:t,cardPaddingSM:i,cardHeadHeightSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${i}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:i}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:a,paddingTop:0,display:"flex",alignItems:"center"}}}}};var _=(0,f.Z)("Card",e=>{const t=(0,v.TS)(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[V(t),Y(t)]}),q=function(e,t){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(i[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(i[a[r]]=e[a[r]]);return i};function k(e){return e.map((i,a)=>n.createElement("li",{style:{width:`${100/e.length}%`},key:`action-${a}`},n.createElement("span",null,i)))}var ee=n.forwardRef((e,t)=>{const{prefixCls:i,className:a,rootClassName:r,extra:s,headStyle:m={},bodyStyle:S={},title:p,loading:O,bordered:L=!0,size:j,type:E,cover:T,actions:R,tabList:C,children:z,activeTabKey:N,defaultActiveTabKey:ie,tabBarExtraContent:ne,hoverable:oe,tabProps:de={}}=e,le=q(e,["prefixCls","className","rootClassName","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:se,direction:ce}=n.useContext(D.E_),ue=h=>{var u;(u=e.onTabChange)===null||u===void 0||u.call(e,h)},ge=n.useMemo(()=>{let h=!1;return n.Children.forEach(z,u=>{u&&u.type&&u.type===x&&(h=!0)}),h},[z]),d=se("card",i),[pe,me]=_(d),he=n.createElement($.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},z),G=N!==void 0,be=Object.assign(Object.assign({},de),{[G?"activeKey":"defaultActiveKey"]:G?N:ie,tabBarExtraContent:ne});let K;const B=(0,l.Z)(j),xe=!B||B==="default"?"large":B,Z=C&&C.length?n.createElement(M.Z,Object.assign({size:xe},be,{className:`${d}-head-tabs`,onChange:ue,items:C.map(h=>{var u;return{label:h.tab,key:h.key,disabled:(u=h.disabled)!==null&&u!==void 0?u:!1}})})):null;(p||s||Z)&&(K=n.createElement("div",{className:`${d}-head`,style:m},n.createElement("div",{className:`${d}-head-wrapper`},p&&n.createElement("div",{className:`${d}-head-title`},p),s&&n.createElement("div",{className:`${d}-extra`},s)),Z));const fe=T?n.createElement("div",{className:`${d}-cover`},T):null,ye=n.createElement("div",{className:`${d}-body`,style:S},O?he:z),$e=R&&R.length?n.createElement("ul",{className:`${d}-actions`},k(R)):null,ve=(0,A.Z)(le,["onTabChange"]),Se=y()(d,{[`${d}-loading`]:O,[`${d}-bordered`]:L,[`${d}-hoverable`]:oe,[`${d}-contain-grid`]:ge,[`${d}-contain-tabs`]:C&&C.length,[`${d}-${B}`]:B,[`${d}-type-${E}`]:!!E,[`${d}-rtl`]:ce==="rtl"},a,r,me);return pe(n.createElement("div",Object.assign({ref:t},ve,{className:Se}),K,fe,ye,$e))}),te=function(e,t){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(i[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(i[a[r]]=e[a[r]]);return i},ae=e=>{const{prefixCls:t,className:i,avatar:a,title:r,description:s}=e,m=te(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:S}=n.useContext(D.E_),p=S("card",t),O=y()(`${p}-meta`,i),L=a?n.createElement("div",{className:`${p}-meta-avatar`},a):null,j=r?n.createElement("div",{className:`${p}-meta-title`},r):null,E=s?n.createElement("div",{className:`${p}-meta-description`},s):null,T=j||E?n.createElement("div",{className:`${p}-meta-detail`},j,E):null;return n.createElement("div",Object.assign({},m,{className:O}),L,T)};const W=ee;W.Grid=x,W.Meta=ae;var re=W}}]);