commit ecb82bd005d17d4badea48ea7af5bf848ce904ad
Author: root <root@hub.scroll.pub> Date: 2025-01-02 02:14:56 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..646788a --- /dev/null +++ b/body.html @@ -0,0 +1,42 @@ +<header> + <h1>新年快乐!</h1> + <p>佘凡、王纪星,愿你们在新的一年里幸福安康,万事如意!</p> +</header> + +<main> + <section class="blessings"> + <div class="blessing-card"> + <h2>健康</h2> + <p>愿你们身体健康,活力满满,远离疾病,享受每一天的美好时光。</p> + </div> + <div class="blessing-card"> + <h2>事业</h2> + <p>愿你们事业蒸蒸日上,步步高升,成就非凡,梦想成真。</p> + </div> + <div class="blessing-card"> + <h2>家庭</h2> + <p>愿你们家庭和睦,幸福美满,爱意满满,温馨常伴。</p> + </div> + <div class="blessing-card"> + <h2>财富</h2> + <p>愿你们财源广进,富贵盈门,财富自由,生活无忧。</p> + </div> + <div class="blessing-card"> + <h2>快乐</h2> + <p>愿你们笑口常开,心情愉悦,快乐无边,幸福永远。</p> + </div> + <div class="blessing-card"> + <h2>友谊</h2> + <p>愿你们友谊长存,情谊深厚,朋友满天下,知己常相伴。</p> + </div> + </section> + + <section class="countdown"> + <h2>新年倒计时</h2> + <div id="countdown-timer"></div> + </section> +</main> + +<footer> + <p>祝你们新年快乐,心想事成!</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..6501b2b --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://happynewyear.scroll.pub +metaTags +editButton /edit.html +title 新年快乐 - 佘凡、王纪星 +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..39fb977 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "de829fdb-646a-4685-96a9-038447886a24", + "object": "chat.completion", + "created": 1735784073, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nhappynewyear.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://happynewyear.scroll.pub\nmetaTags\neditButton /edit.html\ntitle 新年快乐 - 佘凡、王纪星\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>新年快乐!</h1>\n <p>佘凡、王纪星,愿你们在新的一年里幸福安康,万事如意!</p>\n</header>\n\n<main>\n <section class=\"blessings\">\n <div class=\"blessing-card\">\n <h2>健康</h2>\n <p>愿你们身体健康,活力满满,远离疾病,享受每一天的美好时光。</p>\n </div>\n <div class=\"blessing-card\">\n <h2>事业</h2>\n <p>愿你们事业蒸蒸��上,步步高升,成就非凡,梦想成真。</p>\n </div>\n <div class=\"blessing-card\">\n <h2>家庭</h2>\n <p>愿你们家庭和睦,幸福美满,爱意满满,温馨常伴。</p>\n </div>\n <div class=\"blessing-card\">\n <h2>财富</h2>\n <p>愿你们财源广进,富贵盈门,财富自由,生活无忧。</p>\n </div>\n <div class=\"blessing-card\">\n <h2>快乐</h2>\n <p>愿你们笑口常开,心情愉悦,快乐无边,幸福永远。</p>\n </div>\n <div class=\"blessing-card\">\n <h2>友谊</h2>\n <p>愿你们友谊长存,情谊深厚,朋友满天下,知己常相伴。</p>\n </div>\n </section>\n\n <section class=\"countdown\">\n <h2>新年倒计时</h2>\n <div id=\"countdown-timer\"></div>\n </section>\n</main>\n\n<footer>\n <p>祝你们新年快乐,心想事成!</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background: linear-gradient(135deg, #ff9a9e, #fad0c4);\n color: #333;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.8);\n border-radius: 10px;\n margin: 1rem;\n}\n\nheader h1 {\n font-size: 3rem;\n color: #ff6f61;\n}\n\nheader p {\n font-size: 1.5rem;\n color: #555;\n}\n\nmain {\n width: 100%;\n max-width: 1200px;\n padding: 1rem;\n}\n\n.blessings {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 1rem;\n padding: 1rem;\n}\n\n.blessing-card {\n background: rgba(255, 255, 255, 0.9);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.blessing-card:hover {\n transform: translateY(-10px);\n}\n\n.blessing-card h2 {\n font-size: 2rem;\n color: #ff6f61;\n margin-bottom: 1rem;\n}\n\n.blessing-card p {\n font-size: 1.2rem;\n color: #555;\n}\n\n.countdown {\n text-align: center;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.8);\n border-radius: 10px;\n margin: 1rem;\n}\n\n.countdown h2 {\n font-size: 2rem;\n color: #ff6f61;\n}\n\n#countdown-timer {\n font-size: 2.5rem;\n color: #333;\n margin-top: 1rem;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: rgba(255, 255, 255, 0.8);\n border-radius: 10px;\n margin: 1rem;\n}\n\nfooter p {\n font-size: 1.2rem;\n color: #555;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1.2rem;\n }\n\n .blessing-card h2 {\n font-size: 1.5rem;\n }\n\n .blessing-card p {\n font-size: 1rem;\n }\n\n .countdown h2 {\n font-size: 1.5rem;\n }\n\n #countdown-timer {\n font-size: 2rem;\n }\n\n footer p {\n font-size: 1rem;\n }\n}\n---script.js---\nfunction updateCountdown() {\n const now = new Date();\n const newYear = new Date(now.getFullYear() + 1, 0, 1);\n const diff = newYear - now;\n\n const days = Math.floor(diff / (1000 * 60 * 60 * 24));\n const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));\n const seconds = Math.floor((diff % (1000 * 60)) / 1000);\n\n document.getElementById('countdown-timer').innerHTML = `\n ${days}天 ${hours}小时 ${minutes}分钟 ${seconds}秒\n `;\n}\n\nsetInterval(updateCountdown, 1000);\nupdateCountdown();\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 253, + "completion_tokens": 1379, + "total_tokens": 1632, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 253 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..c126b09 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# happynewyear.scroll.pub +Website generated by DeepSeek from prompt: 做一个网页告诉佘凡、王纪星新年快乐,网页里要有大量的祝福信息 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..27b19c8 --- /dev/null +++ b/script.js @@ -0,0 +1,17 @@ +function updateCountdown() { + const now = new Date(); + const newYear = new Date(now.getFullYear() + 1, 0, 1); + const diff = newYear - now; + + const days = Math.floor(diff / (1000 * 60 * 60 * 24)); + const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); + const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60)); + const seconds = Math.floor((diff % (1000 * 60)) / 1000); + + document.getElementById('countdown-timer').innerHTML = ` + ${days}天 ${hours}小时 ${minutes}分钟 ${seconds}秒 + `; +} + +setInterval(updateCountdown, 1000); +updateCountdown(); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f00ca28 --- /dev/null +++ b/style.css @@ -0,0 +1,128 @@ +body { + font-family: 'Arial', sans-serif; + background: linear-gradient(135deg, #ff9a9e, #fad0c4); + color: #333; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 100vh; +} + +header { + text-align: center; + padding: 2rem; + background: rgba(255, 255, 255, 0.8); + border-radius: 10px; + margin: 1rem; +} + +header h1 { + font-size: 3rem; + color: #ff6f61; +} + +header p { + font-size: 1.5rem; + color: #555; +} + +main { + width: 100%; + max-width: 1200px; + padding: 1rem; +} + +.blessings { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 1rem; + padding: 1rem; +} + +.blessing-card { + background: rgba(255, 255, 255, 0.9); + padding: 1.5rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.blessing-card:hover { + transform: translateY(-10px); +} + +.blessing-card h2 { + font-size: 2rem; + color: #ff6f61; + margin-bottom: 1rem; +} + +.blessing-card p { + font-size: 1.2rem; + color: #555; +} + +.countdown { + text-align: center; + padding: 2rem; + background: rgba(255, 255, 255, 0.8); + border-radius: 10px; + margin: 1rem; +} + +.countdown h2 { + font-size: 2rem; + color: #ff6f61; +} + +#countdown-timer { + font-size: 2.5rem; + color: #333; + margin-top: 1rem; +} + +footer { + text-align: center; + padding: 1rem; + background: rgba(255, 255, 255, 0.8); + border-radius: 10px; + margin: 1rem; +} + +footer p { + font-size: 1.2rem; + color: #555; +} + +@media (max-width: 768px) { + header h1 { + font-size: 2rem; + } + + header p { + font-size: 1.2rem; + } + + .blessing-card h2 { + font-size: 1.5rem; + } + + .blessing-card p { + font-size: 1rem; + } + + .countdown h2 { + font-size: 1.5rem; + } + + #countdown-timer { + font-size: 2rem; + } + + footer p { + font-size: 1rem; + } +} \ No newline at end of file