From 13c3c8026bb282cce92c87fa2c9de90f5923059e Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Fri, 14 Nov 2025 19:43:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E8=B7=B3=E8=BD=AC=E9=93=BE=E6=8E=A5=E5=92=8C?= =?UTF-8?q?=E6=8A=95=E5=B8=81=E7=BB=84=E4=BB=B6z-index=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor: 重构用户主页跳转逻辑使用uniqid替代uin/uid style: 为列表加载框添加底部边距 fix: 调整投币组件z-index为10004避免被遮挡 refactor: 更新最新列表API接口地址 fix: 为搜索输入框添加maxlength限制 --- component/bi/bi.js | 2 +- component/bi/bi.txt | 2 +- component/head-top/head-top.js | 2 +- component/head-top/head-top.txt | 2 +- component/item-head/item-head.js | 9 ++++---- component/item-head/item-head.txt | 2 +- component/latest-list/latest-list.js | 33 ++++------------------------ css/public.css | 1 + css/public.less | 1 + 9 files changed, 16 insertions(+), 38 deletions(-) diff --git a/component/bi/bi.js b/component/bi/bi.js index 04788f5..bfa2b2e 100644 --- a/component/bi/bi.js +++ b/component/bi/bi.js @@ -1,6 +1,6 @@ // 1. 创建组件模板和样式(内置到 JS 中,无需外部 HTML/Template) const template = document.createElement("template"); -template.innerHTML = `
`; +template.innerHTML = ``; // 2. 定义组件类 class BiCard extends HTMLElement { diff --git a/component/bi/bi.txt b/component/bi/bi.txt index 5bc46a0..5e591cf 100644 --- a/component/bi/bi.txt +++ b/component/bi/bi.txt @@ -50,7 +50,7 @@ width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); - z-index: 99; + z-index: 10004; display: none; } diff --git a/component/head-top/head-top.js b/component/head-top/head-top.js index 69acd0f..fdb4545 100644 --- a/component/head-top/head-top.js +++ b/component/head-top/head-top.js @@ -174,5 +174,5 @@ export const headTop = defineComponent({ return { hotSearchWords, historySearchList, searchEvent, searchInputState, searchHistoryShowState, searchInputFocus, searchInputBlur, page, pitchState, state, signIn, input, currentIndex, pauseCarousel, resumeCarousel }; }, - template: ``, + template: ``, }); diff --git a/component/head-top/head-top.txt b/component/head-top/head-top.txt index 8d4b8ed..7a167ab 100644 --- a/component/head-top/head-top.txt +++ b/component/head-top/head-top.txt @@ -8,7 +8,7 @@