From 9b3e7ead50ca018e3689284ae7ddd31b5ba3196b Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Sun, 5 Mar 2023 11:05:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?:lipstick:=20style(custom):=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E9=A1=B5=E4=B9=9F=E5=B0=86=E9=AB=98=E4=BA=AE=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ISSUES CLOSED: #29 --- src/routers/layout/logo/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/routers/layout/logo/index.tsx b/src/routers/layout/logo/index.tsx index 710cbc7..9d68c5b 100644 --- a/src/routers/layout/logo/index.tsx +++ b/src/routers/layout/logo/index.tsx @@ -112,7 +112,11 @@ const useRouterMatchWithDefaultRouter = (urls: string[]) => { return lists.some((item) => item !== null); }; const RouterListAndQA = () => { - const isVideoPage = useRouterMatchWithDefaultRouter(["/", "/video"]), + const isVideoPage = useRouterMatchWithDefaultRouter([ + "/", + "/video", + "/search", + ]), isPhotoPage = useRouterMatchWithDefaultRouter(["/photo"]), isActive = (label: string) => { if ( From 61cb9176e8377ff1d614c6120f2812dd46f3a9a6 Mon Sep 17 00:00:00 2001 From: master1lan Date: Sun, 5 Mar 2023 03:10:30 +0000 Subject: [PATCH 2/2] chore(release): 1.0.4 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73c4a77..777c06b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 1.0.4 (2023-03-05) + + +### 💄 Styles + +* **custom**: 搜索页也将高亮视频栏 ([9b3e7ea](https://vlink.dev/EOEFANS/eoefans-web/commits/9b3e7ea)), closes [#29](https://vlink.dev/EOEFANS/eoefans-web/issues/29) + + + ## 1.0.3 (2023-03-05) diff --git a/package.json b/package.json index ddcdc2f..f69bcc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eoefans-web", - "version": "1.0.3", + "version": "1.0.4", "type": "module", "scripts": { "dev": "vite --config ./config/vite.dev.config.ts",