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 {