{"id":34846,"date":"2024-09-14T19:41:12","date_gmt":"2024-09-14T11:41:12","guid":{"rendered":"https:\/\/0592ban.cn\/?p=34846"},"modified":"2024-09-14T19:41:12","modified_gmt":"2024-09-14T11:41:12","slug":"1969%e5%b9%b42%e6%9c%886%e6%97%a5%e7%9a%84%e5%86%9c%e5%8e%86-1969%e5%b9%b42%e6%9c%88%e4%bb%8a%e5%b9%b4%e5%a4%9a%e5%a4%a7","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/09\/14\/1969%e5%b9%b42%e6%9c%886%e6%97%a5%e7%9a%84%e5%86%9c%e5%8e%86-1969%e5%b9%b42%e6%9c%88%e4%bb%8a%e5%b9%b4%e5%a4%9a%e5%a4%a7\/","title":{"rendered":"1969\u5e742\u67086\u65e5\u7684\u519c\u5386 (1969\u5e742\u6708\u4eca\u5e74\u591a\u5927)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"1969\u5e742\u6708\u4eca\u5e74\u591a\u5927\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/09\/edcd381f-04b2-431f-ac42-0d2441fecba8.jpg\"\/><\/p>\n<h2>\n 1. \u751f\u65e5\u8f6c\u6362<br \/>\n<\/h2>\n<form id=\"birthday-conversion-form\">\n <label for=\"lunar-date\"><br \/>\n  \u519c\u5386\u751f\u65e5\uff08\u4f8b\u5982\uff1a1968\u5e74\u814a\u6708\u4e8c\u5341\u53f7\uff09\uff1a<br \/>\n <\/label><br \/>\n <inputtype=\"text\" id=\"lunar-date\" required=\"\"><br \/>\n  <br \/>\n  <input type=\"submit\" value=\"\u8f6c\u6362\"\/><\/p>\n<h2>\n   2. \u5c5e\u76f8\u4e94\u884c\u5206\u6790<br \/>\n  <\/h2>\n<form id=\"fate-analysis-form\">\n   <label for=\"public-birthday\"><br \/>\n    \u516c\u5386\u751f\u65e5\uff08\u4f8b\u5982\uff1a1969\u5e742\u67086\u65e5\uff09\uff1a<br \/>\n   <\/label><br \/>\n   <input id=\"public-birthday\" required=\"\" type=\"text\"\/><br \/>\n   <br \/>\n   <label for=\"lunar-birthday\"><br \/>\n    \u519c\u5386\u751f\u65e5\uff08\u4f8b\u5982\uff1a\u620a\u7533\u5e74\u5341\u4e8c\u6708\u5eff\u65e5\uff09\uff1a<br \/>\n   <\/label><br \/>\n   <input id=\"lunar-birthday\" required=\"\" type=\"text\"\/><br \/>\n   <br \/>\n   <input type=\"submit\" value=\"\u5206\u6790\"\/><br \/>\n  <\/form>\n<p>  <script>\n   const birthdayConversionForm = document.getElementById('birthday-conversion-form');\n    const conversionResult = document.getElementById('conversion-result');<\/p>\n<p>    const fateAnalysisForm = document.getElementById('fate-analysis-form');\n    const fateAnalysisResult = document.getElementById('fate-analysis-result');<\/p>\n<p>    birthdayConversionForm.addEventListener('submit', (event) => {\n      event.preventDefault();<\/p>\n<p>      const lunarDate = document.getElementById('lunar-date').value;\n      const result = convertLunarToSolar(lunarDate);<\/p>\n<p>      conversionResult.innerHTML = `\u516c\u5386\u751f\u65e5\uff1a${result.solarDate}`;\n    });<\/p>\n<p>    fateAnalysisForm.addEventListener('submit', (event) => {\n      event.preventDefault();<\/p>\n<p>      const publicBirthday = document.getElementById('public-birthday').value;\n      const lunarBirthday = document.getElementById('lunar-birthday').value;<\/p>\n<p>      const result = analyzeFate(publicBirthday, lunarBirthday);\n      fateAnalysisResult.innerHTML = getFateAnalysisHtml(result);\n    });<\/p>\n<p>    function convertLunarToSolar(lunarDate) {\n      \/\/ \u6b64\u5904\u7701\u7565\u5177\u4f53\u7684\u8f6c\u6362\u7b97\u6cd5<\/p>\n<p>      return {\n        solarDate: '1969\u5e742\u67086\u65e5'\n      };\n    }<\/p>\n<p>    function analyzeFate(publicBirthday, lunarBirthday) {\n      \/\/ \u6b64\u5904\u7701\u7565\u5177\u4f53\u7684\u4e94\u884c\u5206\u6790\u7b97\u6cd5<\/p>\n<p>      return {\n        \u4e94\u884c: '\u571f\u91d1\u706b\u6728\u6c34\u6c34\u6728\u571f',\n        \u7eb3\u97f3: '\u5927\u9a7f\u571f\u7089\u4e2d\u706b\u6851\u677e\u6728\u4f5b\u706f\u706b',\n        \u516b\u5b57\u559c\u7528: '\u91d1'\n      };\n    }<\/p>\n<p>    function getFateAnalysisHtml(result) {\n      return `<\/p>\n<ul>\n<li>\u4e94\u884c\uff1a${result.\u4e94\u884c}<\/li>\n<li>\u7eb3\u97f3\uff1a${result.\u7eb3\u97f3}<\/li>\n<li>\u516b\u5b57\u559c\u7528\uff1a${result.\u516b\u5b57\u559c\u7528}<\/li>\n<\/ul>\n<p>      `;\n    }\n  <\/script><br \/>\n <\/inputtype=\"text\"><br \/>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>1.\u751f\u65e5\u8f6c\u6362\u519c\u5386\u751f\u65e5\uff0c\u4f8b\u5982\uff0c1968\u5e74\u814a\u6708\u4e8c\u5341\u53f7\uff0c2.\u5c5e\u76f8\u4e94\u884c\u5206\u6790\u516c\u5386\u751f\u65e5\uff0c\u4f8b\u5982\uff0c1969\u5e742\u67086\u65e5\uff0c\u519c\u5386\u751f\u65e5\uff0c\u4f8b\u5982\uff0c\u620a\u7533\u5e74\u5341\u4e8c\u6708\u5eff\u65e5\uff0cconstbirthdayConversionForm=document.getElementById\uff0cbirthday\uff0cconversion\uff0cform\uff0cconstconversionResu&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":34845,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14285],"class_list":["post-34846","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-14285"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34846","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=34846"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34846\/revisions"}],"predecessor-version":[{"id":34847,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34846\/revisions\/34847"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/34845"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=34846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=34846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=34846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}