{"id":2210,"date":"2025-05-14T00:00:02","date_gmt":"2025-05-13T16:00:02","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/"},"modified":"2025-05-14T00:00:02","modified_gmt":"2025-05-13T16:00:02","slug":"%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/","title":{"rendered":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"htmledit_views atom-one-dark\" id=\"content_views\">\n<h2>\n   \u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b<br \/>\n  <\/h2>\n<p>\n   <a class=\"has-card\" href=\"https:\/\/gitcode.com\/gh_mirrors\/dy\/dynamic-antd-theme\/?utm_source=artical_gitcode&amp;index=top&amp;type=card&amp;webUrl\" title=\"dynamic-antd-theme\"><br \/>\n    <span class=\"link-card-box\" contenteditable=\"false\"><br \/>\n     <span class=\"link-title\"><br \/>\n      dynamic-antd-theme<br \/>\n     <\/span><br \/>\n     <span class=\"link-desc\"><br \/>\n      \ud83c\udf08 A simple plugin to dynamic change ant-design theme whether less or css.<br \/>\n     <\/span><br \/>\n     <span class=\"link-link\"><br \/>\n     <\/span><br \/>\n    <\/span><br \/>\n   <\/a>\n  <\/p>\n<h3>\n   1. \u9879\u76ee\u4ecb\u7ecd<br \/>\n  <\/h3>\n<p>\n   <code><br \/>\n    dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \u662f\u4e00\u4e2a\u7b80\u5355\u7684\u63d2\u4ef6\uff0c\u7528\u4e8e\u52a8\u6001\u66f4\u6539 Ant Design \u7684\u4e3b\u9898\uff0c\u65e0\u8bba\u662f\u4f7f\u7528 Less \u8fd8\u662f CSS\u3002\u8be5\u9879\u76ee\u6700\u521d\u9488\u5bf9\u7684\u662f React \u9879\u76ee\uff0c\u4f46\u5176\u6838\u5fc3\u6837\u5f0f\u4e5f\u9002\u7528\u4e8e<br \/>\n   <code><br \/>\n    ant-design-vue<br \/>\n   <\/code><br \/>\n   \u548c<br \/>\n   <code><br \/>\n    ant-design-angular<br \/>\n   <\/code><br \/>\n   \u3002\u4e3a\u4e86\u65b9\u4fbf\u4e00\u952e\u81ea\u52a8\u4f7f\u7528\uff0c\u9879\u76ee\u4e2d\u8fd8\u6253\u5305\u4e86\u989c\u8272\u9009\u62e9\u5668\uff0c\u4f46\u8fd9\u4e5f\u5bfc\u81f4\u4e86\u9879\u76ee\u4f53\u79ef\u8f83\u5927\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5f00\u53d1\u8005\u63a8\u51fa\u4e86\u4e00\u4e2a\u65b0\u7684\u7248\u672c<br \/>\n   <code><br \/>\n    mini-dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \uff0c\u53bb\u9664\u4e86\u989c\u8272\u9009\u62e9\u5668\uff0c\u66f4\u9002\u5408\u4e0d\u9700\u8981\u989c\u8272\u9009\u62e9\u5668\u7684\u573a\u666f\u3002\n  <\/p>\n<h3>\n   2. \u9879\u76ee\u5feb\u901f\u542f\u52a8<br \/>\n  <\/h3>\n<h4>\n   \u5b89\u88c5<br \/>\n  <\/h4>\n<p>\n   \u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5<br \/>\n   <code><br \/>\n    dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \u63d2\u4ef6\uff1a\n  <\/p>\n<pre><code class=\"language-bash\">npm install dynamic-antd-theme\n# \u6216\u8005\u4f7f\u7528 yarn\nyarn add dynamic-antd-theme\n<\/code><\/pre>\n<h4>\n   \u4f7f\u7528<br \/>\n  <\/h4>\n<p>\n   \u5728\u4f60\u7684\u5e94\u7528\u4e2d\uff0c\u901a\u5e38\u5728\u516c\u5171\u7ec4\u4ef6\uff08\u5982 Layout \u6216 Header\uff09\u4e2d\u4f7f\u7528<br \/>\n   <code><br \/>\n    dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">import DynamicAntdTheme from 'dynamic-antd-theme';\n\nfunction App() {\n  return (\n    &lt;div className=\"theme-container\"&gt;\n      &lt;span&gt;Change antd theme: &lt;\/span&gt;\n      &lt;DynamicAntdTheme \/&gt;\n    &lt;\/div&gt;\n  );\n}\n\nexport default App;\n<\/code><\/pre>\n<h4>\n   \u81ea\u5b9a\u4e49\u4e3b\u9898\u989c\u8272<br \/>\n  <\/h4>\n<p>\n   \u4f60\u53ef\u4ee5\u901a\u8fc7<br \/>\n   <code><br \/>\n    primaryColor<br \/>\n   <\/code><br \/>\n   \u5c5e\u6027\u6765\u8bbe\u7f6e\u521d\u59cb\u4e3b\u9898\u989c\u8272\uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">&lt;DynamicAntdTheme primaryColor=\"#77dd66\" \/&gt;\n<\/code><\/pre>\n<h4>\n   \u81ea\u5b9a\u4e49 CSS<br \/>\n  <\/h4>\n<p>\n   \u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7<br \/>\n   <code><br \/>\n    customCss<br \/>\n   <\/code><br \/>\n   \u5c5e\u6027\u6765\u5b9a\u4e49\u81ea\u5b9a\u4e49 CSS\uff0c\u5f71\u54cd\u4efb\u4f55\u5143\u7d20\uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">const customCss = `\n  ant-btn { font-family: fantasy; }\n  custom-title { color: $primary-color; }\n  custom-title:hover { color: $primary-hover-color; cursor: pointer; }\n  #custom-id { color: $primary-shadow-color; }\n`;\n\n&lt;DynamicAntdTheme customCss={customCss} \/&gt;\n<\/code><\/pre>\n<h3>\n   3. \u5e94\u7528\u6848\u4f8b\u548c\u6700\u4f73\u5b9e\u8df5<br \/>\n  <\/h3>\n<h4>\n   \u57fa\u672c\u4f7f\u7528<br \/>\n  <\/h4>\n<p>\n   \u5728\u5e94\u7528\u7684\u5934\u90e8\u6216\u4fa7\u8fb9\u680f\u4e2d\u6dfb\u52a0\u4e3b\u9898\u5207\u6362\u5668\uff0c\u7528\u6237\u53ef\u4ee5\u52a8\u6001\u66f4\u6539\u5e94\u7528\u7684\u4e3b\u9898\u989c\u8272\uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">&lt;DynamicAntdTheme primaryColor=\"#77dd66\" \/&gt;\n<\/code><\/pre>\n<h4>\n   \u81ea\u5b9a\u4e49\u5b58\u50a8\u540d\u79f0<br \/>\n  <\/h4>\n<p>\n   \u4f60\u53ef\u4ee5\u901a\u8fc7<br \/>\n   <code><br \/>\n    storageName<br \/>\n   <\/code><br \/>\n   \u5c5e\u6027\u6765\u8bbe\u7f6e\u5b58\u50a8\u5728 localStorage \u4e2d\u7684\u540d\u79f0\uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">&lt;DynamicAntdTheme storageName=\"my-custom-define-color\" \/&gt;\n<\/code><\/pre>\n<h4>\n   \u4e3b\u9898\u53d8\u5316\u56de\u8c03<br \/>\n  <\/h4>\n<p>\n   \u4f60\u53ef\u4ee5\u901a\u8fc7<br \/>\n   <code><br \/>\n    themeChangeCallback<br \/>\n   <\/code><br \/>\n   \u5c5e\u6027\u6765\u5b9a\u4e49\u4e3b\u9898\u989c\u8272\u53d8\u5316\u65f6\u7684\u56de\u8c03\u51fd\u6570\uff1a\n  <\/p>\n<pre><code class=\"language-javascript\">function themeChangeCallback(color) {\n  document.getElementById('my-header-bar').style.backgroundColor = color;\n}\n\n&lt;DynamicAntdTheme themeChangeCallback={themeChangeCallback} \/&gt;\n<\/code><\/pre>\n<h3>\n   4. \u5178\u578b\u751f\u6001\u9879\u76ee<br \/>\n  <\/h3>\n<h4>\n   Ant Design<br \/>\n  <\/h4>\n<p>\n   <code><br \/>\n    dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \u662f\u57fa\u4e8e Ant Design \u7684\u63d2\u4ef6\uff0cAnt Design \u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u4f01\u4e1a\u7ea7 UI \u8bbe\u8ba1\u8bed\u8a00\u548c React \u7ec4\u4ef6\u5e93\u3002\n  <\/p>\n<h4>\n   React<br \/>\n  <\/h4>\n<p>\n   \u8be5\u9879\u76ee\u4e3b\u8981\u7528\u4e8e React \u9879\u76ee\uff0cReact \u662f\u4e00\u4e2a\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684 JavaScript \u5e93\u3002\n  <\/p>\n<h4>\n   Ant Design Vue<br \/>\n  <\/h4>\n<p>\n   \u867d\u7136\u8be5\u9879\u76ee\u6700\u521d\u662f\u4e3a React \u8bbe\u8ba1\u7684\uff0c\u4f46\u5176\u6838\u5fc3\u6837\u5f0f\u4e5f\u9002\u7528\u4e8e<br \/>\n   <code><br \/>\n    ant-design-vue<br \/>\n   <\/code><br \/>\n   \uff0c\u8fd9\u662f\u4e00\u4e2a\u57fa\u4e8e Vue \u7684 Ant Design \u5b9e\u73b0\u3002\n  <\/p>\n<h4>\n   Ant Design Angular<br \/>\n  <\/h4>\n<p>\n   \u540c\u6837\uff0c\u8be5\u9879\u76ee\u4e5f\u9002\u7528\u4e8e<br \/>\n   <code><br \/>\n    ant-design-angular<br \/>\n   <\/code><br \/>\n   \uff0c\u8fd9\u662f\u4e00\u4e2a\u57fa\u4e8e Angular \u7684 Ant Design \u5b9e\u73b0\u3002\n  <\/p>\n<p>\n   \u901a\u8fc7\u8fd9\u4e9b\u751f\u6001\u9879\u76ee\uff0c<br \/>\n   <code><br \/>\n    dynamic-antd-theme<br \/>\n   <\/code><br \/>\n   \u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u524d\u7aef\u6846\u67b6\u4e2d\u5b9e\u73b0\u52a8\u6001\u4e3b\u9898\u5207\u6362\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u81f4\u7684\u4f53\u9a8c\u3002\n  <\/p>\n<p>\n   <a class=\"has-card\" href=\"https:\/\/gitcode.com\/gh_mirrors\/dy\/dynamic-antd-theme\/?utm_source=artical_gitcode&amp;index=bottom&amp;type=card&amp;webUrl\" title=\"dynamic-antd-theme\"><br \/>\n    <span class=\"link-card-box\" contenteditable=\"false\"><br \/>\n     <span class=\"link-title\"><br \/>\n      dynamic-antd-theme<br \/>\n     <\/span><br \/>\n     <span class=\"link-desc\"><br \/>\n      \ud83c\udf08 A simple plugin to dynamic change ant-design theme whether less or css.<br \/>\n     <\/span><br \/>\n     <span class=\"link-link\"><br \/>\n     <\/span><br \/>\n    <\/span><br \/>\n   <\/a>\n  <\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b dynamic-antd-theme \ud83c\udf08 A simple pl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-15"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/\u52a8\u6001-ant-design-\u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b dynamic-antd-theme \ud83c\udf08 A simple pl [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/\u52a8\u6001-ant-design-\u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-13T16:00:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@wunen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\",\"datePublished\":\"2025-05-13T16:00:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/\"},\"wordCount\":65,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u4e3b\u9898\u63d2\u4ef6\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/\",\"name\":\"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-05-13T16:00:02+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.wunen.com\/#website\",\"url\":\"http:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"http:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/\u52a8\u6001-ant-design-\u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\/","og_locale":"zh_CN","og_type":"article","og_title":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b dynamic-antd-theme \ud83c\udf08 A simple pl [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/\u52a8\u6001-ant-design-\u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-05-13T16:00:02+00:00","og_image":[{"width":260,"height":180,"url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/"},"author":{"name":"admin@wunen","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b","datePublished":"2025-05-13T16:00:02+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/"},"wordCount":65,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u4e3b\u9898\u63d2\u4ef6"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/","name":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"http:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-05-13T16:00:02+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/14\/%e5%8a%a8%e6%80%81-ant-design-%e4%b8%bb%e9%a2%98%e6%8f%92%e4%bb%b6%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"\u52a8\u6001 Ant Design \u4e3b\u9898\u63d2\u4ef6\u4f7f\u7528\u6559\u7a0b"}]},{"@type":"WebSite","@id":"http:\/\/www.wunen.com\/#website","url":"http:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"http:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"http:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=2210"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2210\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=2210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=2210"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=2210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}