diff --git a/index.html b/index.html index fd286e4..00948a2 100644 --- a/index.html +++ b/index.html @@ -41,8 +41,34 @@

备注信息

发言信息

- 01: - +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
diff --git a/baidu.html b/others/baidu.html similarity index 100% rename from baidu.html rename to others/baidu.html diff --git a/demo.css b/others/demo.css similarity index 100% rename from demo.css rename to others/demo.css diff --git a/demo.html b/others/demo.html similarity index 100% rename from demo.html rename to others/demo.html diff --git a/gpt4.html b/others/gpt4.html similarity index 100% rename from gpt4.html rename to others/gpt4.html diff --git a/script2.js b/others/script2.js similarity index 100% rename from script2.js rename to others/script2.js diff --git "a/\347\213\274\344\272\272\346\235\200\350\256\260\345\275\225\346\250\241\347\211\210\350\247\204\350\214\203.md" "b/others/\347\213\274\344\272\272\346\235\200\350\256\260\345\275\225\346\250\241\347\211\210\350\247\204\350\214\203.md" similarity index 100% rename from "\347\213\274\344\272\272\346\235\200\350\256\260\345\275\225\346\250\241\347\211\210\350\247\204\350\214\203.md" rename to "others/\347\213\274\344\272\272\346\235\200\350\256\260\345\275\225\346\250\241\347\211\210\350\247\204\350\214\203.md" diff --git a/scripts.js b/scripts.js index 55abe93..6686a84 100644 --- a/scripts.js +++ b/scripts.js @@ -32,14 +32,13 @@ function stopTimer() { } function resetNotes() { - // 弹出确认对话框 - if (confirm('确定要重置所有笔记吗?')) { + if (confirm('确定重置吗?')) { document.querySelectorAll('.note-input input, .note-input textarea').forEach(element => { - if (element.type === 'text' || element.nodeName === 'TEXTAREA') { - element.value = ''; // 清空所有输入和文本区域 - } - }); - //todo 复原部分信息 + if (element.type === 'text') + element.value = ''; + if (element.nodeName === 'TEXTAREA') + element.value = '警上:\n警下:'; + }) } } diff --git a/styles.css b/styles.css index 65cab1e..01d80cd 100644 --- a/styles.css +++ b/styles.css @@ -58,6 +58,22 @@ body { text-align: center; } +.role-entry { + display: flex; + /* 使用 Flexbox 布局 */ + align-items: center; + /* 垂直居中对齐标签和输入框 */ + /* margin-bottom: 8px; */ + /* 每个输入框之间的间距 */ +} + +/* 发言信息 */ +.role-entry label { + margin-right: 10px; + font-size: 14px; + /* 标签和输入框之间的间隔 */ +} + h1 { text-align: center; position: relative; @@ -76,8 +92,19 @@ h1 { text-align: left; } -.note div { - margin-bottom: 10px; +#roles { + /* display: flex; */ + /* 使用 Flexbox 布局 */ + /* flex-wrap: wrap; */ + /* 允许内容换行 */ + gap: 10px; + /* 设置元素间的间隙 */ + min-height: 200px; + /* 设置最小高度 */ + width: 100%; + /* 容器宽度 */ + padding: 10px; + /* 内部填充 */ } input { @@ -90,8 +117,6 @@ input { font-size: 14px; } - - .button { padding: 5px 10px; margin-top: 10px;