commit 347b9db25d416a36a75dbc573bf89f3ce0327690
Author: root <root@hub.scroll.pub> Date: 2024-12-30 12:23:23 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..ee9d114 --- /dev/null +++ b/body.html @@ -0,0 +1,31 @@ +<header> + <h1>我爱赵子涵</h1> + <p>你是我生命中最美的遇见</p> +</header> + +<main> + <section class="love-message"> + <h2>亲爱的子涵</h2> + <p>每一天,我的心都在为你跳动。你的笑容是我最大的幸福,你的声音是我最爱的旋律。我想告诉你,我深深地爱着你,比昨天更多,比明天更少。</p> + </section> + + <section class="interactive"> + <h2>对我们的爱说点什么</h2> + <textarea id="loveNote" placeholder="在这里写下你对我的爱..."></textarea> + <button id="sendLove">发送爱意</button> + <div id="loveResponse"></div> + </section> + + <section class="gallery"> + <h2>我们的美好瞬间</h2> + <div class="photos"> + <div class="photo"></div> + <div class="photo"></div> + <div class="photo"></div> + </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..c2f653d --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://lovezizihan.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..c0f2f6c --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "3cea0767-8a00-4db8-8454-f57e20f5d8b9", + "object": "chat.completion", + "created": 1735561386, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nlovezizihan.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://lovezizihan.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=\"love-message\">\n <h2>亲爱的子涵</h2>\n <p>每一天,我的心都在为你跳动。你的笑容是我最大的幸福,你的声音是我最爱的旋律。我想告诉你,我深深地爱着你,比昨天更多,比明天更少。</p>\n </section>\n\n <section class=\"interactive\">\n <h2>对我们的爱说点什么</h2>\n <textarea id=\"loveNote\" placeholder=\"在这里写下你对我的爱...\"></textarea>\n <button id=\"sendLove\">发送爱意</button>\n <div id=\"loveResponse\"></div>\n </section>\n\n <section class=\"gallery\">\n <h2>我们的美好瞬间</h2>\n <div class=\"photos\">\n <div class=\"photo\"></div>\n <div class=\"photo\"></div>\n <div class=\"photo\"></div>\n </div>\n </section>\n</main>\n\n<footer>\n <p>永远爱你的我</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #e91e63;\n --secondary-color: #ff80ab;\n --background-color: #f8bbd0;\n --text-color: #333;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\np {\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n}\n\n.love-message {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n margin-bottom: 2rem;\n}\n\n.interactive {\n text-align: center;\n}\n\ntextarea {\n width: 100%;\n height: 100px;\n padding: 1rem;\n border: 2px solid var(--primary-color);\n border-radius: 10px;\n margin-bottom: 1rem;\n font-size: 1rem;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 1rem 2rem;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background-color: var(--secondary-color);\n}\n\n#loveResponse {\n margin-top: 1rem;\n font-size: 1.2rem;\n color: var(--primary-color);\n}\n\n.gallery {\n margin-top: 2rem;\n}\n\n.photos {\n display: flex;\n justify-content: space-around;\n flex-wrap: wrap;\n}\n\n.photo {\n width: 30%;\n height: 200px;\n background-color: #ddd;\n margin-bottom: 1rem;\n border-radius: 10px;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n}\n\n@media (max-width: 768px) {\n .photo {\n width: 100%;\n }\n}\n---script.js---\ndocument.getElementById('sendLove').addEventListener('click', function() {\n const loveNote = document.getElementById('loveNote').value;\n if (loveNote.trim() !== \"\") {\n document.getElementById('loveResponse').textContent = \"子涵收到了你的爱意: \" + loveNote;\n } else {\n document.getElementById('loveResponse').textContent = \"请写下你的爱意再发送哦!\";\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 265, + "completion_tokens": 952, + "total_tokens": 1217, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 265 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..c855a4f --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# lovezizihan.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..18974d0 --- /dev/null +++ b/script.js @@ -0,0 +1,8 @@ +document.getElementById('sendLove').addEventListener('click', function() { + const loveNote = document.getElementById('loveNote').value; + if (loveNote.trim() !== "") { + document.getElementById('loveResponse').textContent = "子涵收到了你的爱意: " + loveNote; + } else { + document.getElementById('loveResponse').textContent = "请写下你的爱意再发送哦!"; + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..1ac09a7 --- /dev/null +++ b/style.css @@ -0,0 +1,108 @@ +:root { + --primary-color: #e91e63; + --secondary-color: #ff80ab; + --background-color: #f8bbd0; + --text-color: #333; +} + +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + background-color: var(--background-color); + color: var(--text-color); + line-height: 1.6; +} + +header { + text-align: center; + padding: 2rem; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; +} + +h1 { + font-size: 2.5rem; + margin-bottom: 0.5rem; +} + +p { + font-size: 1.2rem; +} + +main { + padding: 2rem; +} + +.love-message { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +.interactive { + text-align: center; +} + +textarea { + width: 100%; + height: 100px; + padding: 1rem; + border: 2px solid var(--primary-color); + border-radius: 10px; + margin-bottom: 1rem; + font-size: 1rem; +} + +button { + background-color: var(--primary-color); + color: white; + border: none; + padding: 1rem 2rem; + border-radius: 5px; + cursor: pointer; + font-size: 1rem; +} + +button:hover { + background-color: var(--secondary-color); +} + +#loveResponse { + margin-top: 1rem; + font-size: 1.2rem; + color: var(--primary-color); +} + +.gallery { + margin-top: 2rem; +} + +.photos { + display: flex; + justify-content: space-around; + flex-wrap: wrap; +} + +.photo { + width: 30%; + height: 200px; + background-color: #ddd; + margin-bottom: 1rem; + border-radius: 10px; +} + +footer { + text-align: center; + padding: 1rem; + background-color: var(--primary-color); + color: white; +} + +@media (max-width: 768px) { + .photo { + width: 100%; + } +} \ No newline at end of file