From 5faf796195b9e0d211c71c7e42f7362e9007a5b0 Mon Sep 17 00:00:00 2001 From: Lengcha <139693760+Lengchaos@users.noreply.github.com> Date: Tue, 1 Apr 2025 18:32:16 +0800 Subject: [PATCH 1/7] Update students.html (#44) --- students.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students.html b/students.html index e0674a0..108ab5c 100644 --- a/students.html +++ b/students.html @@ -53,7 +53,7 @@ "王阳明", "吴承徽", "吴佳霖", -"吴乐超", +"23336250", "吴睿", "吴深荣", "吴玟欣", From 9980322972c57ecd243bc9db88be6e4a0757f82a Mon Sep 17 00:00:00 2001 From: xwinp <139521361+xwinp@users.noreply.github.com> Date: Tue, 1 Apr 2025 18:43:50 +0800 Subject: [PATCH 2/7] Update students.html (#94) change id --- students.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students.html b/students.html index 108ab5c..95284cc 100644 --- a/students.html +++ b/students.html @@ -132,7 +132,7 @@ "吴永聪", "肖淇", "徐泓昊", -"薛炜鹏", +"23336018", "张周骁", "周子健", "常淇博", From 0a78b4087af9eafb03974e4b12cf128d7177234c Mon Sep 17 00:00:00 2001 From: Zijian He Date: Tue, 1 Apr 2025 18:45:28 +0800 Subject: [PATCH 3/7] Revert "Update students.html (#94)" This reverts commit 9980322972c57ecd243bc9db88be6e4a0757f82a. --- students.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students.html b/students.html index 95284cc..108ab5c 100644 --- a/students.html +++ b/students.html @@ -132,7 +132,7 @@ "吴永聪", "肖淇", "徐泓昊", -"23336018", +"薛炜鹏", "张周骁", "周子健", "常淇博", From 75f3d91371b0400cfde3c0b21b7a7a96ec08d03e Mon Sep 17 00:00:00 2001 From: Zijian He Date: Tue, 1 Apr 2025 18:49:05 +0800 Subject: [PATCH 4/7] Revert "Update students.html (#44)" (#126) This reverts commit 5faf796195b9e0d211c71c7e42f7362e9007a5b0. --- students.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students.html b/students.html index 95284cc..f0c5d48 100644 --- a/students.html +++ b/students.html @@ -53,7 +53,7 @@ "王阳明", "吴承徽", "吴佳霖", -"23336250", +"吴乐超", "吴睿", "吴深荣", "吴玟欣", From 20711c2d473e747c3cc00e6c7d996a653e05267e Mon Sep 17 00:00:00 2001 From: Hong-ho <42018148+Hong-ho@users.noreply.github.com> Date: Tue, 1 Apr 2025 23:52:10 +0800 Subject: [PATCH 5/7] Update students.html --- students.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students.html b/students.html index e0674a0..464605e 100644 --- a/students.html +++ b/students.html @@ -131,7 +131,7 @@ "邹书承", "吴永聪", "肖淇", -"徐泓昊", +"23336017", "薛炜鹏", "张周骁", "周子健", From 50519187185029b91bda145652ef03ff157cde51 Mon Sep 17 00:00:00 2001 From: Hong-ho <42018148+Hong-ho@users.noreply.github.com> Date: Thu, 10 Apr 2025 19:54:47 +0800 Subject: [PATCH 6/7] Update students.html --- students.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/students.html b/students.html index 464605e..6749a73 100644 --- a/students.html +++ b/students.html @@ -20,10 +20,17 @@ font-size: 2rem; margin-top: 1rem; } + input { + font_size: 2rem; + width: 100px; + text-align: center; + margin_bottn: 1rem; + } -

@@ -154,6 +161,23 @@ "卢晓玲", "吕振宁", "郭靖宇"]; + const Input=document.getElementById('count'); + function selectStudents() + { + let num=parseInt(Input.value); + num=Math.max(1,Math.min(num,students.length)); + if(num<=0)reutrn []; + const temp=[...students]; + const selected=[]; + for (let i=0;i From 9029eefa525b78ecbb3493d84032b50ee553c154 Mon Sep 17 00:00:00 2001 From: Hong-ho <42018148+Hong-ho@users.noreply.github.com> Date: Thu, 10 Apr 2025 20:22:09 +0800 Subject: [PATCH 7/7] Update students.html --- students.html | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/students.html b/students.html index 6749a73..a237695 100644 --- a/students.html +++ b/students.html @@ -15,22 +15,23 @@ button { font-size: 2rem; padding: 1rem 2rem; + margin-bottom: 1rem; } #result { font-size: 2rem; margin-top: 1rem; } input { - font_size: 2rem; + font-size: 2rem; width: 100px; text-align: center; - margin_bottn: 1rem; + margin-bottom: 1rem; } - -

@@ -161,23 +162,30 @@ "卢晓玲", "吕振宁", "郭靖宇"]; - const Input=document.getElementById('count'); - function selectStudents() - { - let num=parseInt(Input.value); - num=Math.max(1,Math.min(num,students.length)); - if(num<=0)reutrn []; - const temp=[...students]; - const selected=[]; - for (let i=0;istudents.length) + { + alert("人数超出上限"); + return; + } + num=Math.max(1,Math.min(num,students.length)); + const temp=[...students]; + const selected=[]; + for (let i=0;i