commit a9f30f0bf845cdabfda7666fb1ef35005f8c76bb
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 23:20:05 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..7a35fd9
--- /dev/null
+++ b/body.html
@@ -0,0 +1,102 @@
+<header>
+ <h1>机关食堂满意度调查</h1>
+ <p>感谢您参与本次调查,您的反馈将帮助我们改进服务质量。</p>
+</header>
+<main>
+ <form id="surveyForm">
+ <div class="question">
+ <label>1. 您对食堂的整体卫生状况满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>2. 您对食堂的菜品口味满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>3. 您对食堂的服务态度满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>4. 您对食堂的菜品多样性满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>5. 您对食堂的排队等候时间满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>6. 您对食堂的餐具清洁度满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>7. 您对食堂的座位安排满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>8. 您对食堂的菜品价格满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>9. 您对食堂的开放时间满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <div class="question">
+ <label>10. 您对食堂的整体环境满意吗?</label>
+ <select>
+ <option value="70">70%</option>
+ <option value="80">80%</option>
+ <option value="90">90%</option>
+ <option value="100">100%</option>
+ </select>
+ </div>
+ <button type="submit">提交</button>
+ </form>
+</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..d391863
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://canteensurvey.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..002fcd4
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "8b47ffbc-db24-4d1f-8e10-ddb8c79079d3",
+ "object": "chat.completion",
+ "created": 1735341585,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncanteensurvey.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://canteensurvey.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<main>\n <form id=\"surveyForm\">\n <div class=\"question\">\n <label>1. 您对食堂的整体卫生状况满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>2. 您对食堂的菜品口味满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>3. 您对食堂的服务态度满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>4. 您对食堂的菜品多样性满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>5. 您对食堂的排队等候时间满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>6. 您对食堂的餐具清洁度满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>7. 您对食堂的座位安排满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>8. 您对食堂的菜品价格满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>9. 您对食堂的开放时间满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <div class=\"question\">\n <label>10. 您对食堂的整体环境满意吗?</label>\n <select>\n <option value=\"70\">70%</option>\n <option value=\"80\">80%</option>\n <option value=\"90\">90%</option>\n <option value=\"100\">100%</option>\n </select>\n </div>\n <button type=\"submit\">提交</button>\n </form>\n</main>\n<footer>\n <p>感谢您的参与!</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background-color: #f4f4f4;\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 margin-bottom: 2rem;\n}\n\nheader h1 {\n font-size: 2.5rem;\n color: #444;\n}\n\nheader p {\n font-size: 1.2rem;\n color: #666;\n}\n\nmain {\n background: #fff;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n width: 100%;\n max-width: 600px;\n}\n\n.question {\n margin-bottom: 1.5rem;\n}\n\n.question label {\n display: block;\n font-size: 1.1rem;\n margin-bottom: 0.5rem;\n}\n\n.question select {\n width: 100%;\n padding: 0.5rem;\n font-size: 1rem;\n border: 1px solid #ccc;\n border-radius: 5px;\n background-color: #f9f9f9;\n}\n\nbutton {\n background-color: #007bff;\n color: #fff;\n border: none;\n padding: 0.75rem 1.5rem;\n font-size: 1rem;\n border-radius: 5px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #0056b3;\n}\n\nfooter {\n text-align: center;\n margin-top: 2rem;\n font-size: 0.9rem;\n color: #666;\n}\n\n@media (max-width: 600px) {\n main {\n padding: 1rem;\n }\n\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n .question label {\n font-size: 1rem;\n }\n\n .question select {\n font-size: 0.9rem;\n }\n\n button {\n padding: 0.5rem 1rem;\n font-size: 0.9rem;\n }\n}\n---script.js---\ndocument.getElementById('surveyForm').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('感谢您的反馈!');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 259,
+ "completion_tokens": 1572,
+ "total_tokens": 1831,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 259
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..5772f72
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# canteensurvey.scroll.pub
+Website generated by DeepSeek from prompt: 制作机关食堂满意度调查,大约10个问题,每题得分为70% 80% 90% 100%
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..be5264b
--- /dev/null
+++ b/script.js
@@ -0,0 +1,4 @@
+document.getElementById('surveyForm').addEventListener('submit', function(event) {
+ event.preventDefault();
+ alert('感谢您的反馈!');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..3d28d97
--- /dev/null
+++ b/style.css
@@ -0,0 +1,104 @@
+body {
+ font-family: 'Arial', sans-serif;
+ background-color: #f4f4f4;
+ color: #333;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+}
+
+header {
+ text-align: center;
+ margin-bottom: 2rem;
+}
+
+header h1 {
+ font-size: 2.5rem;
+ color: #444;
+}
+
+header p {
+ font-size: 1.2rem;
+ color: #666;
+}
+
+main {
+ background: #fff;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ width: 100%;
+ max-width: 600px;
+}
+
+.question {
+ margin-bottom: 1.5rem;
+}
+
+.question label {
+ display: block;
+ font-size: 1.1rem;
+ margin-bottom: 0.5rem;
+}
+
+.question select {
+ width: 100%;
+ padding: 0.5rem;
+ font-size: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 5px;
+ background-color: #f9f9f9;
+}
+
+button {
+ background-color: #007bff;
+ color: #fff;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ font-size: 1rem;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+}
+
+button:hover {
+ background-color: #0056b3;
+}
+
+footer {
+ text-align: center;
+ margin-top: 2rem;
+ font-size: 0.9rem;
+ color: #666;
+}
+
+@media (max-width: 600px) {
+ main {
+ padding: 1rem;
+ }
+
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ .question label {
+ font-size: 1rem;
+ }
+
+ .question select {
+ font-size: 0.9rem;
+ }
+
+ button {
+ padding: 0.5rem 1rem;
+ font-size: 0.9rem;
+ }
+}
\ No newline at end of file