From 9aa1e47bd8bdb286b275bff4a48912b754ba9ae8 Mon Sep 17 00:00:00 2001 From: zhengpan Date: Mon, 13 Mar 2023 11:32:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20author=20hover=E4=B8=8E=E5=8F=B3?= =?UTF-8?q?=E4=B8=8A=E8=A7=92=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.css" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.css" "b/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.css" index 54c3119..bed6de8 100644 --- "a/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.css" +++ "b/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.css" @@ -193,7 +193,7 @@ body { /* 右上 - 操作按钮 */ .action-button { - z-index: 3; + z-index: 2; position: absolute; right: 40px; top: 40px; From d0748980b289cf6469d75a059847e7ca39d5ccf8 Mon Sep 17 00:00:00 2001 From: zhengpan Date: Mon, 13 Mar 2023 11:32:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.js" | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git "a/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.js" "b/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.js" index 3e1ab76..3c05a3f 100644 --- "a/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.js" +++ "b/038-CSS \347\263\273\345\210\227/05-Photo Album \347\200\221\345\270\203\346\265\201\347\233\270\345\206\214/index.js" @@ -140,9 +140,7 @@ window.onload = () => { // 遍历并将 添加到每一列上 imgInfo.forEach((item, index) => { const surplus = index % limit; - if (surplus < limit) { - htmlString[surplus] += getInnerHTML(item); - } + htmlString[surplus] += getInnerHTML(item); }); // 结尾设置 String for (let i = 0; i < limit; i++) {