From 59f3fb92764c07ad3d6f4a9c102f2f0129551770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:20:51 +0000 Subject: [PATCH 01/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/10.26=E7=AC=AC=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9Ajs.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92?= =?UTF-8?q?=E6=B1=B6/20231026=E7=AC=AC=E4=B8=80=E6=AC=A1=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?js.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/10.26\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" => "49 \346\235\216\350\210\222\346\261\266/20231026\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/10.26\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" "b/49 \346\235\216\350\210\222\346\261\266/20231026\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/10.26\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231026\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js.md" -- Gitee From 483fdf82fd366f0a2b0f777f5b96c46136f87073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:21:33 +0000 Subject: [PATCH 02/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/10.27=E5=9F=BA=E7=A1=80=E7=BB=83?= =?UTF-8?q?=E4=B9=A0.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/202?= =?UTF-8?q?31027=E5=8F=98=E9=87=8F=E5=92=8C=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...45\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/10.27\345\237\272\347\241\200\347\273\203\344\271\240.md" => "49 \346\235\216\350\210\222\346\261\266/20231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/10.27\345\237\272\347\241\200\347\273\203\344\271\240.md" "b/49 \346\235\216\350\210\222\346\261\266/20231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/10.27\345\237\272\347\241\200\347\273\203\344\271\240.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" -- Gitee From 66a506a59f718de0fe09126548afb828a0310c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:22:29 +0000 Subject: [PATCH 03/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/10.31=E5=88=86=E6=94=AF=E5=92=8C?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E4=BD=9C=E4=B8=9A.md=20=E4=B8=BA=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/20231031=20JS=E5=9F=BA=E7=A1=80.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231031 JS\345\237\272\347\241\200.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/10.31\345\210\206\346\224\257\345\222\214\345\276\252\347\216\257\344\275\234\344\270\232.md" => "49 \346\235\216\350\210\222\346\261\266/20231031 JS\345\237\272\347\241\200.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/10.31\345\210\206\346\224\257\345\222\214\345\276\252\347\216\257\344\275\234\344\270\232.md" "b/49 \346\235\216\350\210\222\346\261\266/20231031 JS\345\237\272\347\241\200.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/10.31\345\210\206\346\224\257\345\222\214\345\276\252\347\216\257\344\275\234\344\270\232.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231031 JS\345\237\272\347\241\200.md" -- Gitee From 7418aa4e64cbe07548a20dc0788c649722dd04c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:23:25 +0000 Subject: [PATCH 04/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.01=E6=95=B0=E7=BB=84.md=20?= =?UTF-8?q?=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/20231101=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E4=BD=9C=E4=B8=9A.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231101\346\225\260\347\273\204\344\275\234\344\270\232.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.01\346\225\260\347\273\204.md" => "49 \346\235\216\350\210\222\346\261\266/20231101\346\225\260\347\273\204\344\275\234\344\270\232.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.01\346\225\260\347\273\204.md" "b/49 \346\235\216\350\210\222\346\261\266/20231101\346\225\260\347\273\204\344\275\234\344\270\232.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.01\346\225\260\347\273\204.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231101\346\225\260\347\273\204\344\275\234\344\270\232.md" -- Gitee From ac5316232fbc1a04d41ede95fa6db9d766e6b34e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:23:40 +0000 Subject: [PATCH 05/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.02=E5=87=BD=E6=95=B0=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/202?= =?UTF-8?q?31102=E5=87=BD=E6=95=B0=E4=BD=9C=E4=B8=9A.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231102\345\207\275\346\225\260\344\275\234\344\270\232.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.02\345\207\275\346\225\260\344\275\234\344\270\232.md" => "49 \346\235\216\350\210\222\346\261\266/20231102\345\207\275\346\225\260\344\275\234\344\270\232.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.02\345\207\275\346\225\260\344\275\234\344\270\232.md" "b/49 \346\235\216\350\210\222\346\261\266/20231102\345\207\275\346\225\260\344\275\234\344\270\232.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.02\345\207\275\346\225\260\344\275\234\344\270\232.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231102\345\207\275\346\225\260\344\275\234\344\270\232.md" -- Gitee From 168f6459cc11bd4fe8af56ada0c1f77d76dbb414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:23:55 +0000 Subject: [PATCH 06/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.03=E5=AF=B9=E8=B1=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/202?= =?UTF-8?q?31103=E5=AF=B9=E8=B1=A1=E4=BD=9C=E4=B8=9A.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231103\345\257\271\350\261\241\344\275\234\344\270\232.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.03\345\257\271\350\261\241\344\275\234\344\270\232.md" => "49 \346\235\216\350\210\222\346\261\266/20231103\345\257\271\350\261\241\344\275\234\344\270\232.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.03\345\257\271\350\261\241\344\275\234\344\270\232.md" "b/49 \346\235\216\350\210\222\346\261\266/20231103\345\257\271\350\261\241\344\275\234\344\270\232.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.03\345\257\271\350\261\241\344\275\234\344\270\232.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231103\345\257\271\350\261\241\344\275\234\344\270\232.md" -- Gitee From 169b5c5a6b432be1bd33fc146518d8860b29c88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:24:16 +0000 Subject: [PATCH 07/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.07Dom=E5=AF=B9=E8=B1=A1.md=20?= =?UTF-8?q?=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/20231107Dom?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231107Dom\345\257\271\350\261\241.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.07Dom\345\257\271\350\261\241.md" => "49 \346\235\216\350\210\222\346\261\266/20231107Dom\345\257\271\350\261\241.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.07Dom\345\257\271\350\261\241.md" "b/49 \346\235\216\350\210\222\346\261\266/20231107Dom\345\257\271\350\261\241.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.07Dom\345\257\271\350\261\241.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231107Dom\345\257\271\350\261\241.md" -- Gitee From c2dc6d34bb20d0d106b176e8c249f88f9f4b5c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:30:12 +0000 Subject: [PATCH 08/17] 11.08 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李舒汶 <3228916049@qq.com> --- ...14\345\256\232\346\227\266\345\231\250.md" | 392 ++++++++++++++++++ 1 file changed, 392 insertions(+) create mode 100644 "49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" "b/49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" new file mode 100644 index 0000000..3130b39 --- /dev/null +++ "b/49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" @@ -0,0 +1,392 @@ +## 表单与定时器 + +#### 操作表单元素属性 + +表单很多情况,也需要修改属性,比如点击眼睛,可以看到密码,本质是把表单类型转换为文本框 + +正常的有属性有取值的跟其他的标签属性没有任何区别 + +获取:DOM对象.属性名 + +设置:DOM对象.属性名= 新值 + +```html + + + + + + + + Document + + + + + + + + + + + +``` +### 自定义属性 + +标准属性: 标签天生自带的属性 比如class id title等, 可以直接使用点语法操作比如: disabled、checked、selected + +自定义属性: + +在html5中推出来了专门的data-自定义属性 + +在标签上一律以data-开头 + +在DOM对象上一律以dataset对象方式获取 + +~~~html + + + + + + + + Document + + + + +
自定义属性
+ + + + +~~~ + +### 间歇函数 + +> 知道间歇函数的作用,利用间歇函数创建定时任务。 + +`setInterval` 是 JavaScript 中内置的函数,它的作用是间隔固定的时间自动重复执行另一个函数,也叫定时器函数。 + +```html + +``` + +### 修改表单属性 + +```html + + + + + + 专业: + + +``` + +### 自定义属性 + +```html + +
1
+
2
+
3
+
4
+
5
+ + + +``` + +### 定时器 + +```html + + + +``` + +### 用户注册倒计时 + +```html + + +
+ + + +``` + +## 作业 + +### 轮播图定时版 + +```html + + +
+
+ +
+ +
+ + +``` \ No newline at end of file -- Gitee From 7beb50d8e9ed69656d0d50b8af7199aaa24ae286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:30:26 +0000 Subject: [PATCH 09/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.08=E8=A1=A8=E5=8D=95=E5=92=8C?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E5=99=A8.md=20=E4=B8=BA=2049=20=E6=9D=8E?= =?UTF-8?q?=E8=88=92=E6=B1=B6/20231108=E8=A1=A8=E5=8D=95=E5=92=8C=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E5=99=A8.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...45\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" => "49 \346\235\216\350\210\222\346\261\266/20231108\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" "b/49 \346\235\216\350\210\222\346\261\266/20231108\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.08\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231108\350\241\250\345\215\225\345\222\214\345\256\232\346\227\266\345\231\250.md" -- Gitee From 435c8699ec87eeea6121fcf4614a384e7f689030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:34:24 +0000 Subject: [PATCH 10/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.21=E6=BB=9A=E5=8A=A8=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/202?= =?UTF-8?q?31121=E9=A1=B5=E9=9D=A2=E6=BB=9A=E5=8A=A8=E4=BA=8B=E4=BB=B6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...51\235\242\346\273\232\345\212\250\344\272\213\344\273\266.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.21\346\273\232\345\212\250\344\272\213\344\273\266.md" => "49 \346\235\216\350\210\222\346\261\266/20231121\351\241\265\351\235\242\346\273\232\345\212\250\344\272\213\344\273\266.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.21\346\273\232\345\212\250\344\272\213\344\273\266.md" "b/49 \346\235\216\350\210\222\346\261\266/20231121\351\241\265\351\235\242\346\273\232\345\212\250\344\272\213\344\273\266.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.21\346\273\232\345\212\250\344\272\213\344\273\266.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231121\351\241\265\351\235\242\346\273\232\345\212\250\344\272\213\344\273\266.md" -- Gitee From 98b211ddec1f81b75b665d57af440b5bac2f40ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:34:39 +0000 Subject: [PATCH 11/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.10=E4=BA=8B=E4=BB=B6.md=20?= =?UTF-8?q?=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/20231110=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231110\344\272\213\344\273\266.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.10\344\272\213\344\273\266.md" => "49 \346\235\216\350\210\222\346\261\266/20231110\344\272\213\344\273\266.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.10\344\272\213\344\273\266.md" "b/49 \346\235\216\350\210\222\346\261\266/20231110\344\272\213\344\273\266.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.10\344\272\213\344\273\266.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231110\344\272\213\344\273\266.md" -- Gitee From 250733d78c66c303858dda1501ff0d3119ed2248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:35:05 +0000 Subject: [PATCH 12/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.14=E4=BA=8B=E4=BB=B6.md=20?= =?UTF-8?q?=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/20231114=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=B5=81.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231114\344\272\213\344\273\266\346\265\201.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.14\344\272\213\344\273\266.md" => "49 \346\235\216\350\210\222\346\261\266/20231114\344\272\213\344\273\266\346\265\201.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.14\344\272\213\344\273\266.md" "b/49 \346\235\216\350\210\222\346\261\266/20231114\344\272\213\344\273\266\346\265\201.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.14\344\272\213\344\273\266.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231114\344\272\213\344\273\266\346\265\201.md" -- Gitee From 7cf685fe16918fbe370feb5bce081b09882ab4f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:35:58 +0000 Subject: [PATCH 13/17] 1109 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李舒汶 <3228916049@qq.com> --- ...09\347\233\221\345\220\254\345\231\250.md" | 420 ++++++++++++++++++ 1 file changed, 420 insertions(+) create mode 100644 "49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" "b/49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" new file mode 100644 index 0000000..d0a0d6a --- /dev/null +++ "b/49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" @@ -0,0 +1,420 @@ +## 监听器 + +```html + +

事件监听

+

为 DOM 元素添加事件监听,等待事件发生,便立即执行一个函数。

+ + + +``` + +```html + + + + +``` + +### 点击关闭 + +```html + +
+ 我是广告 +
X
+
+ + + +``` + +### 随机点名案例 + +```html + + +

随机点名

+
+ 名字是: +
这里显示姓名
+
+
+ + +
+ + +``` + +oncilck 和 addEventListener 的区别 + +```html + + + + +``` + +```html + +
111
+ + +``` + +### 轮播图 + +```html + + + + + + + + 轮播图点击切换 + + + + +
+
+ +
+ +
+ + + +``` \ No newline at end of file -- Gitee From 46c41340cd5805f5a99e9ca4de7e46e452470cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:36:13 +0000 Subject: [PATCH 14/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.09=E7=9B=91=E5=90=AC=E5=99=A8.md?= =?UTF-8?q?=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/20231109?= =?UTF-8?q?=E7=9B=91=E5=90=AC=E5=99=A8.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231109\347\233\221\345\220\254\345\231\250.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" => "49 \346\235\216\350\210\222\346\261\266/20231109\347\233\221\345\220\254\345\231\250.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" "b/49 \346\235\216\350\210\222\346\261\266/20231109\347\233\221\345\220\254\345\231\250.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.09\347\233\221\345\220\254\345\231\250.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231109\347\233\221\345\220\254\345\231\250.md" -- Gitee From 1f12ecc3923a12f41bddb48cd236503479c08fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Thu, 23 Nov 2023 08:40:11 +0000 Subject: [PATCH 15/17] 1123 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李舒汶 <3228916049@qq.com> --- ...64\345\222\214\350\212\202\347\202\271.md" | 855 ++++++++++++++++++ 1 file changed, 855 insertions(+) create mode 100644 "49 \346\235\216\350\210\222\346\261\266/20231122\346\227\245\346\234\237\346\227\266\351\227\264\345\222\214\350\212\202\347\202\271.md" diff --git "a/49 \346\235\216\350\210\222\346\261\266/20231122\346\227\245\346\234\237\346\227\266\351\227\264\345\222\214\350\212\202\347\202\271.md" "b/49 \346\235\216\350\210\222\346\261\266/20231122\346\227\245\346\234\237\346\227\266\351\227\264\345\222\214\350\212\202\347\202\271.md" new file mode 100644 index 0000000..ee813b8 --- /dev/null +++ "b/49 \346\235\216\350\210\222\346\261\266/20231122\346\227\245\346\234\237\346\227\266\351\227\264\345\222\214\350\212\202\347\202\271.md" @@ -0,0 +1,855 @@ +### 实例化日期对象 + +```html + +``` + +### 常见的日期对象方法 + +```html + +``` + +### 时间的另一个写法 + +```html + + +
+ + +``` + +### 得到时间戳 + +```html + +``` + +### 父节点 + +```html + +
+
+
x
+
+
+ + +``` + +### 子节点 + +```html + + + + +``` + +### 增加节点 + +```html + + + + +``` + +### 克隆节点 + +```html + + + + +``` + +### 删除节点 + +```html + +
123
+ + + +``` + +### 显示格式化时间 + +```html + + +
+ + + +``` + +### 倒计时 + +```html + + +
+

今天是2023年11月21日

+

下班倒计时

+

+ 00 + : + 25 + : + 20 +

+

17:40:00下课

+
+ + +``` + +### 点击关闭 + +```html + + +
+ 我是广告 +
X
+
+ + +``` + + + +### 学生信息案例 + +```html + + + + + + + + 学生信息管理 + + + + +

新增学员

+
+ 姓名: + 年龄: + 性别: + + 薪资: + 就业城市: + +
+ +

就业榜

+ + + + + + + + + + + + + + + +
学号姓名年龄性别薪资就业城市操作
+ + + +``` + +css 样式 + +```css +* { + margin: 0; + padding: 0; +} + +a { + text-decoration: none; + color:#721c24; +} +h1 { + text-align: center; + color:#333; + margin: 20px 0; + +} +table { + margin:0 auto; + width: 800px; + border-collapse: collapse; + color:#004085; +} +th { + padding: 10px; + background: #cfe5ff; + + font-size: 20px; + font-weight: 400; +} +td,th { + border:1px solid #b8daff; +} +td { + padding:10px; + color:#666; + text-align: center; + font-size: 16px; +} +tbody tr { + background: #fff; +} +tbody tr:hover { + background: #e1ecf8; +} +.info { + width: 900px; + margin: 50px auto; + text-align: center; +} +.info input, .info select { + width: 80px; + height: 27px; + outline: none; + border-radius: 5px; + border:1px solid #b8daff; + padding-left: 5px; + box-sizing: border-box; + margin-right: 15px; +} +.info button { + width: 60px; + height: 27px; + background-color: #004085; + outline: none; + border: 0; + color: #fff; + cursor: pointer; + border-radius: 5px; +} +.info .age { + width: 50px; +} +``` + +### 重构 + +```html + + + + + + + + 学车在线首页 + + + + + + +
+
+

精品推荐

+ 查看全部 +
+
+ +
+
+ + + + +``` + +css 样式 + +```css +* { + margin: 0; + padding: 0; +} +.w { + width: 1200px; + margin: auto; +} +body { + background-color: #f3f5f7; +} +li { + list-style: none; +} +a { + text-decoration: none; +} +.clearfix:before,.clearfix:after { + content:""; + display:table; + } + .clearfix:after { + clear:both; + } + .clearfix { + *zoom:1; + } + + +.box { + margin-top: 30px; +} +.box-hd { + height: 45px; +} +.box-hd h3 { + float: left; + font-size: 20px; + color: #494949; +} +.box-hd a { + float: right; + font-size: 12px; + color: #a5a5a5; + margin-top: 10px; + margin-right: 30px; +} +/* 把li 的父亲ul 修改的足够宽一行能装开5个盒子就不会换行了 */ +.box-bd ul { + width: 1225px; +} +.box-bd ul li { + position: relative; + top: 0; + float: left; + width: 228px; + height: 270px; + background-color: #fff; + margin-right: 15px; + margin-bottom: 15px; + transition: all .3s; + +} +.box-bd ul li a { + display: block; +} +.box-bd ul li:hover { + top: -8px; + box-shadow: 0 15px 30px rgb(0 0 0 / 10%); +} +.box-bd ul li img { + width: 100%; +} +.box-bd ul li h4 { + margin: 20px 20px 20px 25px; + font-size: 14px; + color: #050505; + font-weight: 400; +} +.box-bd .info { + margin: 0 20px 0 25px; + font-size: 12px; + color: #999; +} +.box-bd .info span { + color: #ff7c2d; +} +``` \ No newline at end of file -- Gitee From 0cc84840ec44d21996bbc6f29569f7c6184fe782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Mon, 27 Nov 2023 23:20:07 +0000 Subject: [PATCH 16/17] 11.14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李舒汶 <3228916049@qq.com> --- ...66\350\277\237\345\207\275\346\225\260.md" | 529 ++++++++++++++++++ 1 file changed, 529 insertions(+) create mode 100644 "49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" "b/49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" new file mode 100644 index 0000000..481e93f --- /dev/null +++ "b/49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" @@ -0,0 +1,529 @@ +### 延迟函数 + +```html + +``` + +### 延迟函数的执行顺序 + +```html + +``` + +### location 对象 + +```html + +``` + +### history 对象 + +```html + + + + + +``` + +### localStorage 存储 + +```html + + + +``` + +### 本地存储复杂数据类型 + +```html + + + +``` + +### 数组map方法 + +```html + +``` + +### 数组的join方法 + +```html + +``` + +### 5秒自动关闭的广告 + +```html + + + + + +``` + +### 5秒钟之后自动跳转页面 + +```html + + + 支付成功5秒钟之后跳转到首页 + + +``` + +### 自动跳转到移动端 + +```html + +``` + +### 学生信息表案例 + +```html + +

新增学员

+
+ 姓名: + 年龄: + 性别: + + 薪资: + 就业城市: + +
+ +

就业榜

+ + + + + + + + + + + + + + + +
学号姓名年龄性别薪资就业城市操作
+ + +``` + +css 样式 + +```css +* { + margin: 0; + padding: 0; +} + +a { + text-decoration: none; + color:#721c24; +} +h1 { + text-align: center; + color:#333; + margin: 20px 0; + +} +table { + margin:0 auto; + width: 800px; + border-collapse: collapse; + color:#004085; +} +th { + padding: 10px; + background: #cfe5ff; + + font-size: 20px; + font-weight: 400; +} +td,th { + border:1px solid #b8daff; +} +td { + padding:10px; + color:#666; + text-align: center; + font-size: 16px; +} +tbody tr { + background: #fff; +} +tbody tr:hover { + background: #e1ecf8; +} +.info { + width: 900px; + margin: 50px auto; + text-align: center; +} +.info input, .info select { + width: 80px; + height: 27px; + outline: none; + border-radius: 5px; + border:1px solid #b8daff; + padding-left: 5px; + box-sizing: border-box; + margin-right: 15px; +} +.info button { + width: 60px; + height: 27px; + background-color: #004085; + outline: none; + border: 0; + color: #fff; + cursor: pointer; + border-radius: 5px; +} +.info .age { + width: 50px; +} +``` -- Gitee From cd09dd062a3388f02ce8e11a51339d45a50b6f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6?= <3228916049@qq.com> Date: Mon, 27 Nov 2023 23:27:42 +0000 Subject: [PATCH 17/17] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2049=20?= =?UTF-8?q?=E6=9D=8E=E8=88=92=E6=B1=B6/11.24=E5=BB=B6=E8=BF=9F=E5=87=BD?= =?UTF-8?q?=E6=95=B0.md=20=E4=B8=BA=2049=20=E6=9D=8E=E8=88=92=E6=B1=B6/202?= =?UTF-8?q?31124=E5=BB=B6=E8=BF=9F=E5=87=BD=E6=95=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231124\345\273\266\350\277\237\345\207\275\346\225\260.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" => "49 \346\235\216\350\210\222\346\261\266/20231124\345\273\266\350\277\237\345\207\275\346\225\260.md" (100%) diff --git "a/49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" "b/49 \346\235\216\350\210\222\346\261\266/20231124\345\273\266\350\277\237\345\207\275\346\225\260.md" similarity index 100% rename from "49 \346\235\216\350\210\222\346\261\266/11.24\345\273\266\350\277\237\345\207\275\346\225\260.md" rename to "49 \346\235\216\350\210\222\346\261\266/20231124\345\273\266\350\277\237\345\207\275\346\225\260.md" -- Gitee