From 971399a79aa155bd6ef26ba65329d59fde20a627 Mon Sep 17 00:00:00 2001 From: zhaowei Date: Fri, 22 Aug 2025 08:36:41 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- react-ui/package.json | 2 +- react-ui/src/pages/Home/components/Footer/index.less | 1 + react-ui/src/pages/Home/components/NavBar/index.less | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/react-ui/package.json b/react-ui/package.json index 21710bca..0b7249fa 100644 --- a/react-ui/package.json +++ b/react-ui/package.json @@ -35,7 +35,7 @@ "serve": "umi-serve", "start": "cross-env UMI_ENV=dev max dev", "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev UMI_DEV_SERVER_COMPRESS=none max dev", - "start:mock": "cross-env REACT_APP_ENV=dev UMI_ENV=dev max dev", + "start:mock": "cross-env REACT_APP_ENV=dev UMI_ENV=dev UMI_DEV_SERVER_COMPRESS=none max dev", "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev", "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev", "storybook": "storybook dev -p 6006", diff --git a/react-ui/src/pages/Home/components/Footer/index.less b/react-ui/src/pages/Home/components/Footer/index.less index 2765a9d4..efb201f8 100644 --- a/react-ui/src/pages/Home/components/Footer/index.less +++ b/react-ui/src/pages/Home/components/Footer/index.less @@ -15,6 +15,7 @@ margin-right: 5rem; color: @home-text-color; font-size: 1.5rem; + font-family: WenYiHei; } &__about-us { diff --git a/react-ui/src/pages/Home/components/NavBar/index.less b/react-ui/src/pages/Home/components/NavBar/index.less index ca642adf..02eeb491 100644 --- a/react-ui/src/pages/Home/components/NavBar/index.less +++ b/react-ui/src/pages/Home/components/NavBar/index.less @@ -15,6 +15,7 @@ &__app-name { margin-right: 6.625rem; font-size: 1.375rem; + font-family: WenYiHei; } &__menu-item {