{"id":11213,"date":"2024-06-11T00:00:18","date_gmt":"2024-06-10T16:00:18","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11213"},"modified":"2024-06-11T00:00:40","modified_gmt":"2024-06-10T16:00:40","slug":"web-top-layer","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2024\/06\/web-top-layer\/","title":{"rendered":"\u804a\u804aTop Layer\u9876\u5c42\u7279\u6027\u7684\u9690\u60a3\u4e0e\u5b9e\u8df5"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11213\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11213<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u72ec\u7acb\u57df\u540d\u4e2a\u4eba\u7f51\u7ad9\u65e0\u9700\u6388\u6743\uff0c\u4f46\u9700\u8981\u4fdd\u7559\u539f\u4f5c\u8005\u3001\u51fa\u5904\u4ee5\u53ca\u6587\u4e2d\u94fe\u63a5\uff0c\u4efb\u4f55\u7f51\u7ad9\u5747\u53ef\u6458\u8981\u805a\u5408\uff0c\u5546\u7528\u8bf7\u8054\u7cfb\u6388\u6743\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202406\/top-layer-cover.png\" width=\"480\" height=\"306\" alt=\"\u5c01\u9762\u56fe\uff0c\u6d77\u8fb9\uff0c\u6c99\u6ee9\uff0c\u6551\u751f\u5708\" class=\"alignright clip thumb size-medium\" \/><\/p>\n<p><script>window.wxShareImgUrl = 'https:\/\/www.zhangxinxu.com\/study\/image\/share\/202406-top-layer.png';<\/script><\/p>\n<h3>\u4e00\u3001\u597d\u4e0d\u597d\u7528\u8fc7\u624d\u77e5\u9053<\/h3>\n<p>HTML5 <code>&lt;dialog&gt;<\/code>\u5143\u7d20\u4f7f\u7528showModal()\u663e\u793a\u7684\u65f6\u5019\uff0c\u81ea\u52a8\u5c42\u7ea7\u6700\u9ad8\uff0c\u81ea\u52a8\u5c45\u4e2d\uff0c\u81ea\u52a8\u6709\u9ed1\u8272\u8499\u5c42\uff0c\u660e\u663e\u5c31\u6bd4\u4f7f\u7528show()\u65b9\u6cd5\u6216\u8005\u8bbe\u7f6eopen\u5c5e\u6027\u663e\u793a\u5f39\u6846\u8981\u597d\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u5c31\u5728\u524d\u6bb5\u65f6\u95f4\uff0c\u5bf9\u4e8eLuLu UI Edge\u4e3b\u9898\u7684\u5f39\u6846\u7ec4\u4ef6\uff0c\u6211\u5c31\u8fdb\u884c\u4e86\u5927\u5200\u9614\u65a7\u7684\u4fee\u6539\uff0c\u8ba9\u5f39\u6846\u7684\u663e\u793a\u5747\u91c7\u7528showModal()\u65b9\u6cd5\uff08\u901a\u8fc7\u52ab\u6301open\u5c5e\u6027\u5b9e\u73b0\uff09\u3002<\/p>\n<p>\u4fee\u6539\u5b8c\u4e86\u81ea\u6211\u611f\u89c9\u826f\u597d\uff0c\u4f46\u662f\u771f\u7684\u5b9e\u8df5\u4e4b\u540e\uff0c\u75db\u82e6\u7684\u4e8b\u60c5\u6765\u4e86\uff0c\u7531\u4e8edialog\u5143\u7d20\u9876\u5c42\u4e86\uff0c\u56e0\u6b64\uff0c\u81ea\u5b9a\u4e49\u7684\u9a8c\u8bc1\u63d0\u793a\uff0c\u6d6e\u52a8\u5b9a\u4f4d\uff0ctoast\u63d0\u793a\u7b49\uff0c\u5168\u90fd\u65e0\u6cd5\u663e\u793a\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u7ec4\u4ef6\u7684\u5143\u7d20\u521b\u5efa\u90fd\u662f\u5728body\u5143\u7d20\u4e0b\u7684\uff0c\u7531\u4e8e\u5f39\u6846\u5c42\u7ea7\u9876\u7ea7\uff0c\u56e0\u6b64\uff0c\u8fd9\u4e9b\u7ec4\u4ef6\u6837\u5f0f\u88ab\u8986\u76d6\u5730\u6b7b\u6b7b\u7684\uff0c\u7528\u6237\u6839\u672c\u5c31\u770b\u4e0d\u5230\u3002<\/p>\n<p>\u552f\u4e00\u7684\u65b9\u6cd5\u5c31\u662f\u8ba9toast\u5143\u7d20\uff0c\u6d6e\u5c42\u5143\u7d20\u5168\u90fdappend\u5230<code>&lt;dialog&gt;<\/code>\u5143\u7d20\u4e2d\uff0c\u8fd9\u5b9e\u5728\u662f\u592a\u9ebb\u70e6\u4e86\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u6ca1\u529e\u6cd5\uff0c\u59a5\u534f\uff0c\u4ec5alert\u548cconfirm\u7c7b\u578b\u7684\u5f39\u6846\u4f7f\u7528showModal()\u663e\u793a\uff0c\u5176\u4ed6\u7c7b\u578b\u7684\u5f39\u6846\u8fd8\u662f\u4f20\u7edf\u7684show()\u65b9\u6cd5\u663e\u793a\uff0c\u4f7f\u7528JavaScript\u8fdb\u884c\u5c42\u7ea7\u63a7\u5236\u3002<\/p>\n<p>\u53ef\u89c1\uff0c\u770b\u8d77\u6765\u5f88\u68d2\u7684\u7279\u6027\u771f\u6b63\u4f7f\u7528\uff0c\u53ef\u80fd\u5e76\u6ca1\u6709\u60f3\u7684\u90a3\u4e48\u597d\u3002<\/p>\n<p>\u5c31\u50cf\u627e\u5bf9\u8c61\u4e00\u6837\uff0c\u770b\u8d77\u6765\u957f\u5f97\u6f02\u4eae\u8eab\u6750\u53c8\u597d\uff0c\u771f\u6b63\u76f8\u5904\u5e76\u4e0d\u4e00\u5b9a\u81ea\u5728\u3002<\/p>\n<h3>\u4e8c\u3001\u9876\u5c42\u7279\u6027\u8bf4\u7684\u662f\u4ec0\u4e48\uff1f<\/h3>\n<p>\u64a4\u4e86\u8fd9\u4e48\u4e45\u7684\u201c\u9876\u5c42\u7279\u6027\u201d\u7a76\u7adf\u662f\u4ec0\u4e48\u5462\uff1f<\/p>\n<p>MDN\u4e0a\u5bf9\u8fd9\u4e2a\u672f\u8bed\u6709\u4e13\u95e8\u7684\u6587\u6863\uff0c\u53c2\u89c1\uff1a<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Glossary\/Top_layer\" rel=\"noopener\" target=\"_blank\">https:\/\/developer.mozilla.org\/en-US\/docs\/Glossary\/Top_layer<\/a><\/p>\n<p>\u7b80\u800c\u8a00\u4e4b\uff0c\u5c31\u662f\u6d4f\u89c8\u5668\u4f1a\u5728\u6587\u6863\u5916\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u7684\u5c42\uff0c\u8fd9\u4e2a\u5c42\u6b63\u597d\u8986\u76d6\u6574\u4e2a\u6d4f\u89c8\u5668\u89c6\u53e3\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6\uff0c\u4f4d\u4e8e\u9875\u9762\u6240\u6709\u5185\u5bb9\u4e4b\u4e0a\u3002<\/p>\n<p>\u6253\u5f00\u63a7\u5236\u53f0\uff0c\u67e5\u770b\u5143\u7d20\uff0c\u4f1a\u770b\u5230#top-layer\u7684\u6807\u8bc6\uff0c\u4f8b\u5982\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202406\/2024-06-07_224524.png\" width=\"402\" height=\"202\" alt=\"#top-layer\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u4e00\u65e6\u770b\u5230\u8fd9\u4e2a\u6807\u8bc6\uff0c\u5c31\u8bf4\u660e\u9875\u9762\u6709\u9876\u5c42\u5143\u7d20\u4e86\u3002<\/p>\n<h4>\u5982\u4f55\u521b\u5efa\u9876\u5c42\u5143\u7d20\uff1f<\/h4>\n<p>\u76ee\u524d\u6765\u8bf4\uff0c\u521b\u5efa\u9876\u5c42\u5143\u7d20\u6709\u4e0b\u9762\u8fd9\u51e0\u79cd\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u5143\u7d20\u5168\u5c4f\u663e\u793a\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528Element.requestFullscreen()\u65b9\u6cd5\u5b9e\u73b0\uff1b<\/li>\n<li>\u4e0a\u9762\u63d0\u5230\u7684\u4f7f\u7528showModal()\u65b9\u6cd5\u663e\u793a\u7684<code>&lt;dialog&gt;<\/code>\u5143\u7d20<\/li>\n<li>\u4f7f\u7528HTMLElement.showPopover()\u65b9\u6cd5\u663e\u793a\u7684\u5f39\u51fa\u5c42\u5143\u7d20\u3002<\/li>\n<\/ul>\n<p>\u5176\u4e2d\uff0c<code>requestFullscreen()<\/code>\u53ef\u4ee5\u8ba9\u4efb\u610f\u5143\u7d20<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2012\/10\/html5-full-screen-api-firefox-chrome-difference\/\">\u8fdb\u5165\u5168\u5c4f\u663e\u793a\u72b6\u6001<\/a>\uff0cshowPopover()\u5219\u53ef\u4ee5\u8ba9\u4efb\u610f\u7684HTML\u5143\u7d20\u4ee5\u5f39\u51fa\u5c42\u7684\u5f62\u5f0f\u663e\u793a\uff0c\u6211\u4e4b\u524d\u5199\u8fc7\u4e00\u7bc7\u6587\u7ae0\u4e13\u95e8\u4ecb\u7ecd\uff0c\u8be6\u89c1\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2024\/01\/js-html-popover-dropdown\/\">\u65f6\u4ee3\u53d8\u4e86\uff0c\u8be5\u4f7f\u7528\u539f\u751fpopover\u5c5e\u6027\u6a21\u62df\u4e0b\u62c9\u4e86<\/a>\u201d\u3002<\/p>\n<p>\u81f3\u4e8eCSS\u951a\u70b9\u5b9a\u4f4d\uff08CSS Anchor Positioning API\uff09\u867d\u7136\u4e5f\u662f\u6d4f\u89c8\u5668\u539f\u751f\u7684\u5b9a\u4f4d\u6548\u679c\uff0c\u4f46\u662f\uff0c\u5e76\u4e0d\u4f1a\u8ba9\u5143\u7d20\u9876\u5c42\u663e\u793a\uff0c\u56e0\u6b64\uff0c\u76ee\u524d\uff0c\u8ba9\u5143\u7d20\u9876\u5c42\u7684\u65b9\u6cd5\u5c31\u4e0a\u97623\u79cd\u3002<\/p>\n<h3>\u4e09\u3001\u9690\u60a3\u89c4\u907f\u7684\u601d\u8003<\/h3>\n<p>\u8981\u60f3\u8ba9\u81ea\u5b9a\u4e49\u7684\u63d0\u793a\u6548\u679c\u80fd\u5728\u5177\u6709\u9876\u5c42\u7279\u6027\u7684Dialog\u5bf9\u8bdd\u6846\u4e0a\u663e\u793a\uff0c\u552f\u4e00\u7684\u529e\u6cd5\u5c31\u662f\u4ee5\u6bd2\u653b\u6bd2\uff0c\u4e5f\u5c31\u662f\u81ea\u5b9a\u4e49\u63d0\u793a\u5143\u7d20\u6211\u4e5f\u5f04\u6210\u9876\u5c42\u5143\u7d20\uff0c\u9876\u5c42\u5143\u7d20\u9075\u5faa\u540e\u663e\u793a\u5c42\u7ea7\u66f4\u9ad8\u7684\u5143\u7d20\uff0c\u56e0\u6b64\uff0c\u8fd9\u79cd\u65b9\u6cd5\u4e00\u5b9a\u53ef\u4ee5\u8ba9\u63d0\u793a\u5143\u7d20\u5728\u5bf9\u8bdd\u6846\u4e4b\u4e0a\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u5f52\u6839\u7ed3\u5e95\uff0c\u6700\u597d\u7684\u89e3\u51b3\u65b9\u6cd5\uff0c\u90a3\u5c31\u662f\u628aTips\u63d0\u793a\u6216Toast\u63d0\u793a\u6548\u679c\u4f7f\u7528showPopover()\u65b9\u6cd5\u663e\u793a\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u4f20\u7edf\u7ec4\u4ef6\u4e2d\u7684HTMLElement.style.display=&#8221;block&#8221;\u8fd9\u79cd\u663e\u793a\u65b9\u6cd5\u5c31\u4e0d\u80fd\u4f7f\u7528\u4e86\uff0c\u6539\u4e3a\u7ed9\u5bf9\u5e94\u7684\u63d0\u793a\u5143\u7d20\u8bbe\u7f6epopover\u5c5e\u6027\uff0c\u7136\u540e\u518d\u8c03\u7528showPopover()\u65b9\u6cd5\u3002<\/p>\n<p>\u8fd9\u91cc\u6709\u4e2a\u6f14\u793a\u6848\u4f8b\uff0c\u4ea4\u4e92\u8fc7\u7a0b\u662f\u8fd9\u6837\u7684\uff0c\u70b9\u51fb\u6309\u94ae\uff0c\u663e\u793a\u4e00\u4e2a\u6a21\u6001\u5bf9\u8bdd\u6846\uff0c\u6a21\u6001\u5bf9\u8bdd\u6846\u4e2d\u8fd8\u6709\u4e2a\u663e\u793atoast\u63d0\u793a\u7684\u6309\u94ae\uff0c\u70b9\u51fb\u4e4b\u540e\uff0c\u518d\u663e\u793a\u63d0\u793a\u6846\uff0c\u6ce8\u610f\uff0c\u8fd9\u91cc\u7684\u63d0\u793a\u6846\u662f\u4f7f\u7528showPopover()\u65b9\u6cd5\u5b9e\u73b0\u7684\u3002<\/p>\n<p>\u76f4\u63a5HTML\u5c31\u53ef\u4ee5\u5b8c\u6574\u8fd0\u884c\uff1a<\/p>\n<pre>&lt;button onclick=\"dialog.showModal();\"&gt;\u70b9\u51fb\u6211\u663e\u793a\u6a21\u6001\u5bf9\u8bdd\u6846&lt;\/button&gt;\r\n\r\n&lt;dialog id=\"dialog\"&gt;\r\n    &lt;blockquote&gt;\r\n        &lt;button onclick=\"toast.showPopover();\"&gt;\u663e\u793atoast\u63d0\u793a&lt;\/button&gt;\r\n        &lt;button onclick=\"dialog.close();\"&gt;\u5173\u95ed&lt;\/button&gt;\r\n    &lt;\/blockquote&gt;\r\n&lt;\/dialog&gt;\r\n\r\n&lt;div id=\"toast\" class=\"toast\" popover&gt;\u6211\u662f\u63d0\u793a\u5185\u5bb9&lt;\/div&gt;<\/pre>\n<p>\u6309\u7167\u9884\u5b9a\u7684\u8def\u5f84\u8fde\u7eed\u70b9\u51fb\u540e\uff0c\u5c31\u53ef\u4ee5\u770b\u5230toast\u51fa\u73b0\u5728\u5bf9\u8bdd\u6846\u4e0a\u9762\u5566\uff01<\/p>\n<p>\u773c\u89c1\u4e3a\u5b9e\uff0c\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/study\/202406\/tosat-use-popover-cover-dialog-demo.php\" rel=\"noopener\" target=\"_blank\">popover\u5b9e\u73b0toast\u63d0\u793a\u8986\u76d6\u9876\u5c42\u5bf9\u8bdd\u6846demo<\/a><\/p>\n<p>\u6b64\u65f6\uff0c\u9875\u9762\u4e2d\u5176\u5b9e\u5b58\u5728\u4e24\u4e2a\u9876\u5c42\u5143\u7d20\uff0c\u622a\u56fe\u793a\u610f\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202406\/2024-06-10_232807.png\" width=\"690\" height=\"207\" alt=\"\u4e24\u5c42\u9876\u5c42\u5143\u7d20\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u6539\u9020\u6210\u672c\u6781\u4f4e\uff0c\u6280\u672f\u4e0a\u5b8c\u5168\u53ef\u884c\u3002<\/p>\n<p>\u4e0d\u8fc7\uff0c\u8003\u8651\u5230\u517c\u5bb9\u6027\uff0cSafari 23\u5e749\u670826\u65e5\u624d\u4ece\u7248\u672c17\u5f00\u59cb\u652f\u6301\uff0c\u4ecd\u6709\u5927\u91cf\u7528\u6237\u5c1a\u672a\u5347\u7ea7\u5230\u6b64\u7248\u672c\u4e4b\u4e0a\uff0c\u56e0\u6b64\uff0c\u7ec4\u4ef6\u7684\u6539\u9020\u5de5\u4f5c\u8fd8\u9700\u8981\u518d\u7b491\u5e74\u5de6\u53f3\uff0c\u5230\u65f6\u5019LuLu UI\u6240\u6709\u8fd9\u79cd\u9700\u8981\u9876\u5c42\u663e\u793a\u7684\u5143\u7d20\u5168\u90e8\u90fd\u91c7\u7528popover\u65b9\u5f0f\u5b9e\u73b0\u3002<\/p>\n<p>\u5c31\u76ee\u524d\u800c\u8a00\uff0c\u5982\u679c\u9047\u5230\u9876\u5c42\u5143\u7d20\u8986\u76d6\u7684\u60c5\u51b5\uff0c\u53ea\u80fd\u8ba9\u63d0\u793a\u5143\u7d20\u5f53\u4f5c\u9876\u5c42\u5143\u7d20\u7684\u5b50\u5143\u7d20\u5904\u7406\u4e86\u3002<\/p>\n<h3>\u56db\u3001\u7aef\u5348\u8282\u5feb\u4e50<\/h3>\n<p>\u8fd9\u4e2a\u7aef\u5348\u8282\uff0c\u8fde\u7eed\u9493\u4e86\u4e09\u6761\u9c7c\uff0c\u54c8\u54c8\u54c8\uff0c\u6536\u83b7\u90fd\u8fd8\u51d1\u5408\uff0c\u80fd\u660e\u663e\u770b\u51fa\u6bd4\u53bb\u5e74\u8fd9\u4e2a\u65f6\u5019\u7684\u81ea\u5df1\u8fdb\u6b65\u4e86\u4e0d\u5c11\u3002<\/p>\n<p>\u7b2c\u4e00\u5929\u5b58\u53e4\u5782\u9493\u56ed\uff0c140\u51436\u5c0f\u65f6\uff0c\u9493\u4e8631\u65a4\u3002\u7b2c\u4e8c\u5929\u5b9d\u6caa\u4f11\u95f2\u5782\u9493\uff0c150\u51436\u5c0f\u65f6\uff0c\u9493\u4e8634\u65a4\uff0c\u5927\u70ed\u5929\u9493\u8fd9\u4e48\u591a\u4e0d\u5bb9\u6613\uff0c\u7b2c\u4e09\u5929\uff0c\u5144\u5f1f\u5782\u9493\uff0c100\u51434\u5c0f\u65f6\uff0c\u9493\u4e8618\u65a4\u3002<\/p>\n<p>\u5177\u4f53\u8fc7\u7a0b\u53ef\u4ee5\u53c2\u89c1\u6211\u7684\u6296\u97f3\u201c\u6700\u4f1a\u9493\u9c7c\u7684\u7a0b\u5e8f\u5458\u201d\uff0c\u6b22\u8fce\u5173\u6ce8\u54c8\u3002<\/p>\n<p>\u5c31\u662fCSS\u4e16\u754c\u7cbe\u8bb2\u89c6\u9891\u8981delay\u4e00\u5929\uff0c\u56e0\u4e3a\u4eca\u65e9\u5e26\u5c0f\u670b\u53cb\u51fa\u53bb\u73a9\uff0c\u65e9\u4e0a\u8d76\u7740\u51fa\u95e8\uff0c\u6ca1\u4ec0\u4e48\u65f6\u95f4\u3002<\/p>\n<p>\u4e0d\u77e5\u9053\u5927\u5bb6\u7aef\u5348\u8fc7\u5f97\u600e\u4e48\u6837\u5462\uff1f<\/p>\n<p>\u563f\u563f\uff0c\u5c31\u8fd9\u6837\u5427\uff0c\u4e00\u70b9\u601d\u8003\u4e0e\u5b9e\u8df5\u8bb0\u5f55\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202406\/2024-6-10_234647.jpeg\" width=\"100\" height=\"132\" alt=\"\u563f\u563f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11213\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11213<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202406\/top-layer-cover.png\" width=\"160\" height=\"102\" alt=\"\u5c01\u9762\u56fe\uff0c\u6d77\u8fb9\uff0c\u6c99\u6ee9\uff0c\u6551\u751f\u5708\" class=\"alignright size-medium\" loading=\"lazy\" \/><\/p>\n<p>\u6700\u8fd1\u5c1d\u8bd5\u5728Dialog\u5bf9\u8bdd\u6846\u7ec4\u4ef6\u4e2d\u5927\u8086\u4f7f\u7528\u9876\u5c42\u7279\u6027\uff0c\u4ee5\u4fbf\u51cf\u5c11z-index\u8fd9\u7c7b\u5c42\u7ea7\u7684\u5224\u65ad\uff0c\u7ed3\u679c\u53d1\u73b0\u4e8b\u60c5\u5e76\u6ca1\u6709\u9884\u60f3\u7684\u90a3\u6837\u987a\u5229\uff0c\u9876\u5c42\u7279\u6027\u4e5f\u662f\u6709\u9690\u60a3\u7684\uff0c\u597d\u5728\u6709\u4f4e\u6210\u672c\u7684\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1393,1394,1976,1974,1975,1973,272,523,273,526,414,1977],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11213"}],"collection":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=11213"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11213\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=11213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=11213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=11213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}