{"id":48249,"date":"2024-11-08T19:46:24","date_gmt":"2024-11-08T11:46:24","guid":{"rendered":"https:\/\/0592ban.cn\/?p=48249"},"modified":"2024-11-08T19:46:24","modified_gmt":"2024-11-08T11:46:24","slug":"%e9%81%87%e8%a7%81%e4%bd%a0%e7%9a%84%e7%88%b1%e6%83%85%e5%a4%a9%e5%ae%9a%e7%bc%98%e5%88%86-%e6%9c%88%e8%80%81%e7%81%b5%e7%ad%be%e5%a7%bb%e7%bc%98%e7%ad%be-%e9%81%87%e8%a7%81%e4%bd%a0%e7%9a%84","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/11\/08\/%e9%81%87%e8%a7%81%e4%bd%a0%e7%9a%84%e7%88%b1%e6%83%85%e5%a4%a9%e5%ae%9a%e7%bc%98%e5%88%86-%e6%9c%88%e8%80%81%e7%81%b5%e7%ad%be%e5%a7%bb%e7%bc%98%e7%ad%be-%e9%81%87%e8%a7%81%e4%bd%a0%e7%9a%84\/","title":{"rendered":"\u9047\u89c1\u4f60\u7684\u7231\u60c5\u5929\u5b9a\u7f18\u5206 \u6708\u8001\u7075\u7b7e\u59fb\u7f18\u7b7e (\u9047\u89c1\u4f60\u7684\u7231\u60c5\u5229\u5148\u751f)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u9047\u89c1\u4f60\u7684\u7231\u60c5\u5929\u5b9a\u7f18\u5206\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/11\/027c17d0-962d-4dc0-951f-c347fb076104.jpg\"\/><\/p>\n<p>\n \u5343\u91cc\u59fb\u7f18\u4e00\u7ebf\u7275\uff0c\u6bcf\u4e2a\u4eba\u90fd\u671f\u5f85\u7740\u6708\u8001\u8d50\u4e88\u5e78\u798f\u7684\u7f18\u5206\u3002\u4f46\u7231\u60c5\u4e0d\u4ec5\u7531\u5929\u6ce8\u5b9a\uff0c\u4e5f\u638c\u63e1\u5728\u81ea\u5df1\u7684\u624b\u91cc\u3002\u901a\u8fc7\u4ee5\u4e0b\u6d4b\u8bd5\uff0c\u4f60\u53ef\u4ee5\u4e86\u89e3\u4f60\u6700\u8fd1\u7684\u7231\u60c5\u8fd0\u52bf\uff0c\u4e3a\u4f60\u628a\u63e1\u5e78\u798f\u7684\u673a\u4f1a\u505a\u597d\u51c6\u5907\u3002\n<\/p>\n<h2>\n \u6d4b\u8bd5\uff1a\u6708\u8001\u7075\u7b7e\u59fb\u7f18\u7b7e<br \/>\n<\/h2>\n<p>\n \u5047\u8bbe\u4f60\u9762\u524d\u6709\u4e00\u74f6\u795e\u5947\u7684\u836f\u6c34\uff0c\u80fd\u9884\u6d4b\u672a\u6765\u7684\u6240\u6709\u4e8b\u60c5\u3002\u5982\u679c\u4f60\u559d\u6389\u6574\u74f6\u836f\u6c34\uff0c\u4f60\u4f1a\u77e5\u9053\u81ea\u5df1\u4e00\u751f\u7684\u6240\u6709\u4e8b\u60c5\uff0c\u4f60\u613f\u610f\u600e\u4e48\u505a\uff1f\n<\/p>\n<form>\n<ul>\n<li>\n   <input name=\"choice\" type=\"radio\" value=\"1\"\/><br \/>\n   \u6709\u70b9\u5174\u8da3\uff0c\u4f46\u4e0d\u559d\u8fd9\u74f6\u836f\n  <\/li>\n<li>\n   <input name=\"choice\" type=\"radio\" value=\"2\"\/><br \/>\n   \u60f3\u8981\u77e5\u9053\u81ea\u5df1\u4e00\u751f\u7684\u6240\u6709\u4e8b\u60c5\uff0c\u6240\u4ee5\u4e00\u53e3\u6c14\u559d\u6389\u6574\u74f6\u836f\u6c34\n  <\/li>\n<li>\n   <input name=\"choice\" type=\"radio\" value=\"3\"\/><br \/>\n   \u53ea\u559d\u4e0b\u80fd\u77e5\u9053\u660e\u5929\u4e8b\u60c5\u7684\u4efd\u91cf\u5c31\u591f\u4e86\n  <\/li>\n<li>\n   <input name=\"choice\" type=\"radio\" value=\"4\"\/><br \/>\n   \u53ea\u559d\u80fd\u77e5\u9053\u672a\u6765\u4e00\u5e74\u4e8b\u60c5\u7684\u4efd\u91cf\n  <\/li>\n<li>\n   <input name=\"choice\" type=\"radio\" value=\"5\"\/><br \/>\n   \u5148\u4fdd\u7ba1\u7740\uff0c\u7b49\u5230\u6709\u9700\u8981\u65f6\u518d\u4f7f\u7528\n  <\/li>\n<\/ul>\n<p>\n <input type=\"submit\" value=\"\u63d0\u4ea4\"\/><br \/>\n<\/form>\n<p>\n<script>\n (function () {\n    \/\/ \u83b7\u53d6\u6d4b\u8bd5\u7ed3\u679c\u5143\u7d20\n    const results = document.getElementById('results');<\/p>\n<p>    \/\/ \u63d0\u4ea4\u6309\u94ae\u4e8b\u4ef6\u76d1\u542c\u5668\n    const form = document.querySelector('form');\n    form.addEventListener('submit', (event) => {\n      event.preventDefault();<\/p>\n<p>      \/\/ \u83b7\u53d6\u9009\u62e9\u7684\u503c\n      const choice = document.querySelector('input[name=\"choice\"]:checked').value;<\/p>\n<p>      \/\/ \u6839\u636e\u9009\u62e9\u663e\u793a\u7ed3\u679c\n      let result;\n      switch (parseInt(choice)) {\n        case 1:\nresult = {\n            \u59fb\u7f18\u6307\u6570: 62,\n            \u5e78\u798f: 69,\n            \u66a7\u6627: 59,\n            \u7ea6\u4f1a\u6210\u529f: 69,\n            \u544a\u767d\u6210\u529f: 61,\n            \u590d\u5408\u6210\u529f: 64,\n          };\n          break;\n        case 2:\n          result = {\n            \u59fb\u7f18\u6307\u6570: 19,\n            \u5e78\u798f: 24,\n            \u66a7\u6627: 30,\n            \u7ea6\u4f1a\u6210\u529f: 29,\n            \u544a\u767d\u6210\u529f: 19,\n            \u590d\u5408\u6210\u529f: 26,\n          };\n          break;\n        case 3:\n          result = {\n            \u59fb\u7f18\u6307\u6570: 79,\n            \u5e78\u798f: 89,\n            \u66a7\u6627: 99,\n            \u7ea6\u4f1a\u6210\u529f: 79,\n            \u544a\u767d\u6210\u529f: 79,\n            \u590d\u5408\u6210\u529f: 79,\n          };\n          break;\n        case 4:\n          result = {\n            \u59fb\u7f18\u6307\u6570: 49,\n            \u5e78\u798f: 50,\n            \u66a7\u6627: 56,\n            \u7ea6\u4f1a\u6210\u529f: 45,\n            \u544a\u767d\u6210\u529f: 39,\n            \u590d\u5408\u6210\u529f: 42,\n          };\n          break;\n        case 5:\n          result = {\n            \u59fb\u7f18\u6307\u6570: 86,\n            \u5e78\u798f: 89,\n            \u66a7\u6627: 99,\n            \u7ea6\u4f1a\u6210\u529f: 91,\n            \u544a\u767d\u6210\u529f: 89,\n            \u590d\u5408\u6210\u529f: 99,\n          };\n          break;\n      }<\/p>\n<p>      \/\/ \u5c06\u7ed3\u679c\u663e\u793a\u5728\u9875\u9762\u4e0a\n      const resultTitle = document.createElement('p');\n      resultTitle.classList.add('result-title');\n      resultTitle.textContent = '\u6d4b\u8bd5\u7ed3\u679c\uff1a';\n      results.appendChild(resultTitle);<\/p>\n<p>      for (let key in result) {\n        const resultValue = document.createElement('p');\n        resultValue.classList.add('result-value');\n        resultValue.textContent = `${key}\uff1a${result[key]}`;\n        results.appendChild(resultValue);\n      }\n    });\n  })();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5343\u91cc\u59fb\u7f18\u4e00\u7ebf\u7275\uff0c\u6bcf\u4e2a\u4eba\u90fd\u671f\u5f85\u7740\u6708\u8001\u8d50\u4e88\u5e78\u798f\u7684\u7f18\u5206\uff0c\u4f46\u7231\u60c5\u4e0d\u4ec5\u7531\u5929\u6ce8\u5b9a\uff0c\u4e5f\u638c\u63e1\u5728\u81ea\u5df1\u7684\u624b\u91cc\uff0c\u901a\u8fc7\u4ee5\u4e0b\u6d4b\u8bd5\uff0c\u4f60\u53ef\u4ee5\u4e86\u89e3\u4f60\u6700\u8fd1\u7684\u7231\u60c5\u8fd0\u52bf\uff0c\u4e3a\u4f60\u628a\u63e1\u5e78\u798f\u7684\u673a\u4f1a\u505a\u597d\u51c6\u5907\uff0c\u6d4b\u8bd5\uff0c\u6708\u8001\u7075\u7b7e\u59fb\u7f18\u7b7e\u5047\u8bbe\u4f60\u9762\u524d\u6709\u4e00\u74f6\u795e\u5947\u7684\u836f\u6c34\uff0c\u80fd\u9884\u6d4b\u672a\u6765\u7684\u6240\u6709\u4e8b\u60c5\uff0c\u5982\u679c\u4f60\u559d\u6389\u6574\u74f6\u836f\u6c34\uff0c\u4f60\u4f1a\u77e5\u9053\u81ea\u5df1\u4e00\u751f\u7684\u6240\u6709\u4e8b\u60c5\uff0c\u4f60\u613f\u610f\u600e\u4e48\u505a\uff0c\u6709\u70b9\u5174\u8da3\uff0c\u4f46\u4e0d\u559d\u8fd9\u74f6\u836f\u60f3\u8981\u77e5\u9053\u81ea\u5df1\u4e00\u751f\u7684\u6240\u6709&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":48248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17719,20240],"class_list":["post-48249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-17719","tag-20240"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/48249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/comments?post=48249"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/48249\/revisions"}],"predecessor-version":[{"id":48250,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/48249\/revisions\/48250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/48248"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=48249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=48249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=48249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}