{"id":181,"date":"2025-04-06T08:15:27","date_gmt":"2025-04-06T08:15:27","guid":{"rendered":"https:\/\/jrtlife.com\/Fortune\/?page_id=181"},"modified":"2026-05-12T00:29:12","modified_gmt":"2026-05-12T00:29:12","slug":"%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c","status":"publish","type":"page","link":"https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/","title":{"rendered":"\u6613\u7d93\u5854\u7f85\u5360\u535c"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"181\" class=\"elementor elementor-181\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c3b76ba e-flex e-con-boxed e-con e-parent\" data-id=\"c3b76ba\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-35c43ac elementor-headline--style-highlight elementor-widget elementor-widget-animated-headline\" data-id=\"35c43ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;marker&quot;:&quot;underline_zigzag&quot;,&quot;highlighted_text&quot;:&quot;\\u5854\\u7f85\\u5360\\u535c&quot;,&quot;headline_style&quot;:&quot;highlight&quot;,&quot;loop&quot;:&quot;yes&quot;,&quot;highlight_animation_duration&quot;:1200,&quot;highlight_iteration_delay&quot;:8000}\" data-widget_type=\"animated-headline.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h3 class=\"elementor-headline\">\n\t\t\t\t\t<span class=\"elementor-headline-plain-text elementor-headline-text-wrapper\">\u6613\u7d93<\/span>\n\t\t\t\t<span class=\"elementor-headline-dynamic-wrapper elementor-headline-text-wrapper\">\n\t\t\t\t\t<span class=\"elementor-headline-dynamic-text elementor-headline-text-active\">\u5854\u7f85\u5360\u535c<\/span>\n\t\t\t\t<\/span>\n\t\t\t\t<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b530f6 elementor-widget elementor-widget-button\" data-id=\"5b530f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/jrtlife.com\/Fortune\/%e5%8d%a0%e5%8d%9c%e5%89%8d%e6%ba%96%e5%82%99\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">\u5360\u535c\u524d\u6e96\u5099<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c7b11d elementor-widget elementor-widget-shortcode\" data-id=\"5c7b11d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div id=\"fortune-app\" class=\"fortune-teller\">\r\n        <form id=\"fortune-form\">\r\n            <label for=\"fortune-question\">\u8acb\u8f38\u5165\u4f60\u7684\u554f\u984c\uff1a<\/label>\r\n            <input type=\"text\" id=\"fortune-question\" name=\"question\" required placeholder=\"\u4f8b\u5982\uff1a\u6211\u4eca\u5e74\u611f\u60c5\u5982\u4f55\uff1f\">\r\n            <button type=\"submit\">\ud83c\udfb4 \u62bd\u5366<\/button>\r\n        <\/form>\r\n\r\n        <div id=\"fortune-output\" style=\"margin-top: 2em;\"><\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n    (function() {\r\n        console.log('\u8173\u672c\u958b\u59cb\u57f7\u884c');\r\n        if (document.readyState === 'loading') {\r\n            document.addEventListener('DOMContentLoaded', initialize);\r\n        } else {\r\n            initialize();\r\n        }\r\n\r\n        function initialize() {\r\n            console.log('DOM \u52a0\u8f09\u5b8c\u6210');\r\n            const form = document.getElementById('fortune-form');\r\n            const output = document.getElementById('fortune-output');\r\n\r\n            if (!form || !output) {\r\n                console.error('\u7f3a\u5c11\u5fc5\u8981\u7684\u5143\u7d20\uff0c\u7121\u6cd5\u7e7c\u7e8c');\r\n                return;\r\n            }\r\n\r\n            \/\/ \u8868\u55ae\u63d0\u4ea4\u4e8b\u4ef6 (\u76f4\u63a5\u62bd\u5366\uff0c\u4e0d\u518d\u7b49\u5f85\u5ee3\u544a)\r\n            form.addEventListener('submit', function(e) {\r\n                e.preventDefault();\r\n                console.log('\u8868\u55ae\u63d0\u4ea4\uff0c\u6e96\u5099\u62bd\u5366');\r\n                \r\n                \/\/ \u986f\u793a\u52a0\u8f09\u4e2d\u63d0\u793a\r\n                output.innerHTML = '<div class=\"ai-content\"><h3>\ud83c\udfb4 \u6b63\u5728\u70ba\u4f60\u62bd\u5366\uff0c\u8acb\u7a0d\u5019...<\/h3><\/div>';\r\n                drawFortune();\r\n            });\r\n\r\n            \/\/ AJAX \u62bd\u5366\r\n            function drawFortune() {\r\n                const question = document.getElementById('fortune-question').value;\r\n                const data = new FormData();\r\n                data.append('action', 'fortune_draw');\r\n                data.append('question', question);\r\n\r\n                fetch('https:\/\/jrtlife.com\/Fortune\/wp-admin\/admin-ajax.php', {\r\n                    method: 'POST',\r\n                    body: data\r\n                })\r\n                .then(response => {\r\n                    if (!response.ok) {\r\n                        throw new Error('\u62bd\u5366\u8acb\u6c42\u5931\u6557\uff0c\u72c0\u614b\u78bc: ' + response.status);\r\n                    }\r\n                    return response.text();\r\n                })\r\n                .then(data => {\r\n                    output.innerHTML = data;\r\n                    bindButtons(); \/\/ \u7d81\u5b9a\u6309\u9215\u4e8b\u4ef6\r\n                })\r\n                .catch(error => {\r\n                    console.error('\u62bd\u5366\u5931\u6557:', error);\r\n                    output.innerHTML = '<p>\u274c \u62bd\u5366\u5931\u6557\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff1a' + error.message + '<\/p>';\r\n                });\r\n            }\r\n\r\n            \/\/ \u7d81\u5b9a\u300cAI \u5206\u6790\u300d\u548c\u300c\u518d\u62bd\u4e00\u6b21\u300d\u6309\u9215\u4e8b\u4ef6\r\n            function bindButtons() {\r\n                const analyzeButton = document.getElementById('analyze-ai');\r\n                const resetButton = document.getElementById('reset-fortune');\r\n\r\n                if (analyzeButton) {\r\n                    analyzeButton.removeEventListener('click', handleAnalyzeClick);\r\n                    analyzeButton.addEventListener('click', handleAnalyzeClick);\r\n                }\r\n\r\n                if (resetButton) {\r\n                    resetButton.removeEventListener('click', handleResetClick);\r\n                    resetButton.addEventListener('click', handleResetClick);\r\n                }\r\n\r\n                function handleAnalyzeClick() {\r\n                    console.log('\u9ede\u64ca\u4e86 AI \u5206\u6790\u6309\u9215');\r\n                    output.innerHTML = '<div class=\"ai-result ai-content\"><h3>\ud83d\udd0d AI \u6b63\u5728\u6df1\u5165\u904b\u7b97\u5206\u6790\u4e2d\uff0c\u8acb\u7a0d\u5019...<\/h3><\/div>';\r\n\r\n                    const data = new FormData();\r\n                    data.append('action', 'fortune_ai_analyze');\r\n\r\n                    fetch('https:\/\/jrtlife.com\/Fortune\/wp-admin\/admin-ajax.php', {\r\n                        method: 'POST',\r\n                        body: data\r\n                    })\r\n                    .then(response => {\r\n                        if (!response.ok) {\r\n                            throw new Error('AI \u5206\u6790\u8acb\u6c42\u5931\u6557\uff0c\u72c0\u614b\u78bc: ' + response.status);\r\n                        }\r\n                        return response.text();\r\n                    })\r\n                    .then(data => {\r\n                        output.innerHTML = data;\r\n                        bindButtons(); \/\/ \u91cd\u65b0\u7d81\u5b9a\u6309\u9215\r\n                    })\r\n                    .catch(error => {\r\n                        console.error('AI \u5206\u6790\u5931\u6557:', error);\r\n                        output.innerHTML = '<p>\u274c AI \u5206\u6790\u5931\u6557\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff1a' + error.message + '<\/p>';\r\n                    });\r\n                }\r\n\r\n                function handleResetClick() {\r\n                    console.log('\u9ede\u64ca\u4e86\u518d\u62bd\u4e00\u6b21\u6309\u9215');\r\n                    const data = new FormData();\r\n                    data.append('action', 'fortune_reset');\r\n\r\n                    fetch('https:\/\/jrtlife.com\/Fortune\/wp-admin\/admin-ajax.php', {\r\n                        method: 'POST',\r\n                        body: data\r\n                    })\r\n                    .then(response => {\r\n                        if (!response.ok) {\r\n                            throw new Error('\u91cd\u7f6e\u8acb\u6c42\u5931\u6557\uff0c\u72c0\u614b\u78bc: ' + response.status);\r\n                        }\r\n                        return response.text();\r\n                    })\r\n                    .then(() => {\r\n                        output.innerHTML = '';\r\n                        document.getElementById('fortune-question').value = '';\r\n                    })\r\n                    .catch(error => {\r\n                        console.error('\u91cd\u7f6e\u5931\u6557:', error);\r\n                        output.innerHTML = '<p>\u274c \u91cd\u7f6e\u5931\u6557\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff1a' + error.message + '<\/p>';\r\n                    });\r\n                }\r\n            }\r\n        }\r\n    })();\r\n    <\/script>\r\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u6613\u7d93 \u5854\u7f85\u5360\u535c \u5360\u535c\u524d\u6e96\u5099<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-181","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jrtlife.com\/Fortune\/\u6613\u7d93\u5854\u7f85\u5360\u535c\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife\" \/>\n<meta property=\"og:description\" content=\"\u6613\u7d93 \u5854\u7f85\u5360\u535c \u5360\u535c\u524d\u6e96\u5099\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jrtlife.com\/Fortune\/\u6613\u7d93\u5854\u7f85\u5360\u535c\/\" \/>\n<meta property=\"og:site_name\" content=\"JRTlife\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-12T00:29:12+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\\\/\",\"url\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\\\/\",\"name\":\"\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#website\"},\"datePublished\":\"2025-04-06T08:15:27+00:00\",\"dateModified\":\"2026-05-12T00:29:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\\\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6613\u7d93\u5854\u7f85\u5360\u535c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#website\",\"url\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/\",\"name\":\"JRTlife\",\"description\":\"\u6613\u7d93\u5854\u7f85\u5360\u535c\",\"publisher\":{\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#organization\",\"name\":\"JRTlife\",\"url\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/jrtlife_logo.png\",\"contentUrl\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/jrtlife_logo.png\",\"width\":614,\"height\":200,\"caption\":\"JRTlife\"},\"image\":{\"@id\":\"https:\\\/\\\/jrtlife.com\\\/Fortune\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife","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":"https:\/\/jrtlife.com\/Fortune\/\u6613\u7d93\u5854\u7f85\u5360\u535c\/","og_locale":"zh_TW","og_type":"article","og_title":"\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife","og_description":"\u6613\u7d93 \u5854\u7f85\u5360\u535c \u5360\u535c\u524d\u6e96\u5099","og_url":"https:\/\/jrtlife.com\/Fortune\/\u6613\u7d93\u5854\u7f85\u5360\u535c\/","og_site_name":"JRTlife","article_modified_time":"2026-05-12T00:29:12+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/","url":"https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/","name":"\u6613\u7d93\u5854\u7f85\u5360\u535c - JRTlife","isPartOf":{"@id":"https:\/\/jrtlife.com\/Fortune\/#website"},"datePublished":"2025-04-06T08:15:27+00:00","dateModified":"2026-05-12T00:29:12+00:00","breadcrumb":{"@id":"https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jrtlife.com\/Fortune\/%e6%98%93%e7%b6%93%e5%a1%94%e7%be%85%e5%8d%a0%e5%8d%9c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/jrtlife.com\/Fortune\/"},{"@type":"ListItem","position":2,"name":"\u6613\u7d93\u5854\u7f85\u5360\u535c"}]},{"@type":"WebSite","@id":"https:\/\/jrtlife.com\/Fortune\/#website","url":"https:\/\/jrtlife.com\/Fortune\/","name":"JRTlife","description":"\u6613\u7d93\u5854\u7f85\u5360\u535c","publisher":{"@id":"https:\/\/jrtlife.com\/Fortune\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jrtlife.com\/Fortune\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/jrtlife.com\/Fortune\/#organization","name":"JRTlife","url":"https:\/\/jrtlife.com\/Fortune\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/jrtlife.com\/Fortune\/#\/schema\/logo\/image\/","url":"https:\/\/jrtlife.com\/Fortune\/wp-content\/uploads\/2025\/04\/jrtlife_logo.png","contentUrl":"https:\/\/jrtlife.com\/Fortune\/wp-content\/uploads\/2025\/04\/jrtlife_logo.png","width":614,"height":200,"caption":"JRTlife"},"image":{"@id":"https:\/\/jrtlife.com\/Fortune\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/pages\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":64,"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/pages\/181\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/pages\/181\/revisions\/352"}],"wp:attachment":[{"href":"https:\/\/jrtlife.com\/Fortune\/wp-json\/wp\/v2\/media?parent=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}