{"id":2641,"date":"2026-04-29T05:24:15","date_gmt":"2026-04-29T05:24:15","guid":{"rendered":"https:\/\/c113134246.gowp.space\/team5\/?p=2641"},"modified":"2026-04-29T05:27:48","modified_gmt":"2026-04-29T05:27:48","slug":"%e7%b7%9a%e4%b8%8a%e7%a5%88%e7%a6%8f%e6%b4%bb%e5%8b%95-2","status":"publish","type":"post","link":"https:\/\/c113134246.gowp.space\/team5\/%e7%b7%9a%e4%b8%8a%e7%a5%88%e7%a6%8f%e6%b4%bb%e5%8b%95-2\/","title":{"rendered":"\u7dda\u4e0a\u7948\u798f\u6d3b\u52d5"},"content":{"rendered":"\n<p class=\"has-medium-font-size\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)\">\u672c\u6d3b\u52d5\u7d50\u5408\u6578\u4f4d\u79d1\u6280\u8207\u50b3\u7d71\u4fe1\u4ef0\uff0c\u6253\u9020\u7dda\u4e0a\u7948\u798f\u4e92\u52d5\u5e73\u53f0\u3002\u4f7f\u7528\u8005\u53ef\u5728\u7db2\u7ad9\u8f38\u5165\u9858\u671b\u5167\u5bb9\uff0c\u5982\u5065\u5eb7\u3001\u5b78\u696d\u6216\u5de5\u4f5c\u9806\u5229\uff0c\u7cfb\u7d71\u5c07\u81ea\u52d5\u751f\u6210\u5c08\u5c6c\u7684\u300c\u96fb\u5b50\u738b\u8239\u300d\uff0c\u8c61\u5fb5\u5c07\u7169\u60f1\u8207\u4e0d\u5b89\u9001\u96e2\u3002<\/p>\n\n\n\n<p class=\"has-medium-font-size\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)\">\u5728\u8996\u89ba\u8a2d\u8a08\u4e0a\uff0c\u96fb\u5b50\u738b\u8239\u5c07\u5448\u73fe\u591c\u665a\u6d77\u9762\u5834\u666f\uff0c\u642d\u914d\u71c8\u5149\u8207\u7948\u798f\u6c1b\u570d\uff0c\u63d0\u5347\u60c5\u611f\u9ad4\u9a57\u3002\u4f7f\u7528\u8005\u53ef\u5c07\u751f\u6210\u7d50\u679c\u5206\u4eab\u5230\u793e\u7fa4\u5e73\u53f0\uff0c\u8207\u4ed6\u4eba\u4ea4\u6d41\u795d\u798f\uff0c\u5f62\u6210\u7dda\u4e0a\u6587\u5316\u53c3\u8207\u3002<\/p>\n\n\n\n<p class=\"has-medium-font-size\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)\">\u6b64\u5916\uff0c\u5e73\u53f0\u53ef\u8a2d\u8a08\u5168\u7403\u7948\u798f\u5730\u5716\uff0c\u986f\u793a\u4f86\u81ea\u4e0d\u540c\u5730\u5340\u7684\u9858\u671b\uff0c\u8b93\u738b\u8239\u6587\u5316\u4e0d\u53d7\u5730\u7406\u9650\u5236\uff0c\u64f4\u5c55\u81f3\u570b\u969b\u3002\u900f\u904e\u9019\u6a23\u7684\u65b9\u5f0f\uff0c\u4e0d\u50c5\u4fdd\u5b58\u50b3\u7d71\uff0c\u4e5f\u8b93\u6587\u5316\u4ee5\u73fe\u4ee3\u5f62\u5f0f\u6301\u7e8c\u50b3\u64ad\u3002<\/p>\n\n\n\n<div id=\"wang-chuan-public-app\">\n    <div class=\"ritual-container\">\n        <h2 class=\"ritual-title\">\u738b\u8239\u796d\uff1a\u842c\u6c11\u7948\u798f\u7246<\/h2>\n        <p class=\"ritual-desc\">\u60a8\u7684\u5fc3\u9858\u5c07\u96a8\u738b\u8239\u532f\u805a\uff0c\u8b93\u6240\u6709\u4eba\u4e00\u540c\u898b\u8b49\u9019\u4efd\u8aa0\u5fc3\u3002<\/p>\n\n        <div class=\"input-section\">\n            <input type=\"text\" id=\"user-name\" placeholder=\"\u60a8\u7684\u59d3\u540d\" maxlength=\"10\">\n            <textarea id=\"user-content\" placeholder=\"\u8f38\u5165\u7948\u798f\u5167\u5bb9...\" maxlength=\"100\"><\/textarea>\n            <button id=\"btn-submit\">\u737b\u4e0a\u7948\u798f\u4e26\u767c\u4f48<\/button>\n        <\/div>\n\n        <div class=\"divider\">\u2726 \u5168\u7403\u4fe1\u773e\u7948\u798f\u7d00\u9304 \u2726<\/div>\n        <div id=\"loading-text\">\u6b63\u5728\u5f9e\u738b\u8239\u8f09\u5165\u7948\u798f\u7d00\u9304&#8230;<\/div>\n        <div id=\"public-wall\" class=\"public-wall\"><\/div>\n    <\/div>\n\n    <style>\n        #wang-chuan-public-app {\n            --gold: #d4af37; --red: #8b0000;\n            background: #1a1a1a; color: #fff; padding: 25px; border-radius: 15px;\n            font-family: sans-serif; max-width: 600px; margin: auto;\n        }\n        .ritual-title { text-align: center; color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 10px; }\n        .ritual-desc { text-align: center; color: #aaa; font-size: 0.9rem; }\n        .input-section { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }\n        .input-section input, .input-section textarea { background: #222; border: 1px solid #444; color: #fff; padding: 10px; border-radius: 5px; }\n        #btn-submit { background: var(--red); color: white; border: 1px solid var(--gold); padding: 12px; cursor: pointer; font-weight: bold; border-radius: 5px; }\n        #btn-submit:disabled { background: #555; cursor: not-allowed; }\n        .divider { text-align: center; margin: 30px 0 15px; color: var(--gold); font-size: 1.1rem; }\n        .public-wall { display: flex; flex-direction: column; gap: 12px; max-height: 500px; overflow-y: auto; }\n        .blessing-item { background: #fffde7; color: #333; padding: 15px; border-left: 5px solid var(--red); border-radius: 5px; animation: fadeIn 0.5s; }\n        .item-header { display: flex; justify-content: space-between; font-size: 0.8rem; color: #888; margin-bottom: 5px; border-bottom: 1px solid #eee; }\n        .item-name { font-weight: bold; color: var(--red); }\n        #loading-text { text-align: center; color: var(--gold); font-style: italic; }\n        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }\n    <\/style>\n\n    <script>\n        (function() {\n            \/\/ !!! \u8acb\u5728\u6b64\u8655\u586b\u5165\u4f60\u7684 Google Apps Script \u7db2\u5740 !!!\n            const API_URL = \"https:\/\/script.google.com\/macros\/s\/AKfycbwW96VryF-3DQtBYVDfP-ODpb2adXRy-HAnQS_hX3Ch4Z4H0cvgSwWS1DztPuFtge0mRw\/exec\";\n\n            const btn = document.getElementById('btn-submit');\n            const wall = document.getElementById('public-wall');\n            const loader = document.getElementById('loading-text');\n\n            \/\/ \u7372\u53d6\u6240\u6709\u7d00\u9304\n            async function fetchBlessings() {\n                try {\n                    const response = await fetch(API_URL);\n                    const data = await response.json();\n                    renderWall(data);\n                } catch (e) {\n                    loader.innerText = \"\u66ab\u6642\u7121\u6cd5\u8f09\u5165\u7d00\u9304\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\u3002\";\n                }\n            }\n\n            function renderWall(data) {\n                loader.style.display = 'none';\n                wall.innerHTML = '';\n                \/\/ \u5012\u5e8f\u986f\u793a\uff0c\u6700\u65b0\u7684\u5728\u4e0a\u9762\n                data.reverse().forEach(item => {\n                    const div = document.createElement('div');\n                    div.className = 'blessing-item';\n                    div.innerHTML = `\n                        <div class=\"item-header\">\n                            <span class=\"item-name\">\ud83d\ude4f ${item[0]}<\/span>\n                            <span>${item[2]}<\/span>\n                        <\/div>\n                        <div>${item[1]}<\/div>\n                    `;\n                    wall.appendChild(div);\n                });\n            }\n\n            \/\/ \u767c\u9001\u7d00\u9304\n            btn.addEventListener('click', async () => {\n                const name = document.getElementById('user-name').value.trim() || \"\u533f\u540d\u4fe1\u773e\";\n                const content = document.getElementById('user-content').value.trim();\n                if (!content) return alert(\"\u8acb\u8f38\u5165\u5167\u5bb9\");\n\n                btn.disabled = true;\n                btn.innerText = \"\u50b3\u9001\u4e2d...\";\n\n                const date = new Date().toLocaleDateString();\n                \n                try {\n                    await fetch(API_URL, {\n                        method: \"POST\",\n                        body: JSON.stringify({ name, content, date })\n                    });\n                    \/\/ \u6e05\u7a7a\u8f38\u5165\u4e26\u91cd\u65b0\u8f09\u5165\n                    document.getElementById('user-content').value = \"\";\n                    fetchBlessings();\n                } catch (e) {\n                    alert(\"\u767c\u4f48\u5931\u6557\uff0c\u8acb\u6aa2\u67e5\u7db2\u5740\u662f\u5426\u8a2d\u5b9a\u6b63\u78ba\");\n                } finally {\n                    btn.disabled = false;\n                    btn.innerText = \"\u737b\u4e0a\u7948\u798f\u4e26\u767c\u4f48\";\n                }\n            });\n\n            fetchBlessings();\n        })();\n    <\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u900f\u904e\u7db2\u7ad9\u9032\u884c\u7dda\u4e0a\u7948\u798f\u4e92\u52d5\uff0c\u4f7f\u7528\u8005\u53ef\u5beb\u4e0b\u9858\u671b\u4e26\u751f\u6210\u5c08\u5c6c\u96fb\u5b50\u738b\u8239\uff0c\u8c61\u5fb5\u9001\u8d70\u7169\u60f1\u3001\u8fce\u4f86\u5e73\u5b89\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-2641","post","type-post","status-publish","format-standard","hentry","category-51"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"\u4f55 \u5fc3\u6148","author_link":"https:\/\/c113134246.gowp.space\/team5\/author\/c113134109\/"},"uagb_comment_info":0,"uagb_excerpt":"\u900f\u904e\u7db2\u7ad9\u9032\u884c\u7dda\u4e0a\u7948\u798f\u4e92\u52d5\uff0c\u4f7f\u7528\u8005\u53ef\u5beb\u4e0b\u9858\u671b\u4e26\u751f\u6210\u5c08\u5c6c\u96fb\u5b50\u738b\u8239\uff0c\u8c61\u5fb5\u9001\u8d70\u7169\u60f1\u3001\u8fce\u4f86\u5e73\u5b89\u3002","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/posts\/2641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/comments?post=2641"}],"version-history":[{"count":3,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/posts\/2641\/revisions"}],"predecessor-version":[{"id":2644,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/posts\/2641\/revisions\/2644"}],"wp:attachment":[{"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/media?parent=2641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/categories?post=2641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c113134246.gowp.space\/team5\/wp-json\/wp\/v2\/tags?post=2641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}