diff --git a/site/components/Banner/Banner.module.less b/site/components/Banner/Banner.module.less index 0f79033a..7b128396 100644 --- a/site/components/Banner/Banner.module.less +++ b/site/components/Banner/Banner.module.less @@ -1,7 +1,7 @@ -// @font-face { -// font-family: AlibabaPuHuiTiRHeavy; -// src: url(../../public/Alibaba-PuHuiTi-Heavy.otf); -// } +@font-face { + font-family: AlibabaPuHuiTiRHeavy; + src: url(../../font/Alibaba-PuHuiTi-Heavy.otf); +} .commonFlexConfig { display: flex; @@ -19,22 +19,22 @@ width: 765px; height: 100%; position: absolute; - top: 80px; background-repeat: no-repeat; background-size: contain; } .leftBackground { left: 0; + top: 40px; background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gNDhS5nDO4sAAAAAAAAAAAAADmJ7AQ/original); } .rightBackground { + top: 80px; right: 0; background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OXF7QbWURnMAAAAAAAAAAAAADmJ7AQ/original); } - .header { height: 670px; position: relative; @@ -56,7 +56,7 @@ color: #000; text-align: center; margin-top: 138px; - // font-family: AlibabaPuHuiTiRHeavy; + font-family: AlibabaPuHuiTiRHeavy; >span { color: #691EFF; @@ -94,7 +94,7 @@ font-size: 18px; font-weight: bold; cursor: pointer; - box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.10); + box-shadow: 0 8px 28px 0 #f2f2f2; margin: 0 11.5px; >img { diff --git a/site/components/ComplexCharts/index.module.less b/site/components/ComplexCharts/index.module.less index fc1cde85..4692a91a 100644 --- a/site/components/ComplexCharts/index.module.less +++ b/site/components/ComplexCharts/index.module.less @@ -56,7 +56,7 @@ width: calc(100vw - 360px); max-width: 1680px; min-width: 1040px; - height: 370px; + height: 530px; border-radius: 16px; box-sizing: border-box; background-image: linear-gradient(111deg, #332F4F 0%, #28243F 100%); @@ -66,7 +66,7 @@ >video { width: 100%; height: 100%; - background-size: cover ; + background-size: cover; } } } \ No newline at end of file diff --git a/site/components/FamousPersons/index.module.less b/site/components/FamousPersons/index.module.less index bac65824..eb9facdb 100644 --- a/site/components/FamousPersons/index.module.less +++ b/site/components/FamousPersons/index.module.less @@ -63,7 +63,7 @@ .name { margin: 4px 0; - font-size: 24px; + font-size: 20px; color: #1D2129; font-weight: 500; font-family: PingFangSC; diff --git a/site/font/Alibaba-PuHuiTi-Heavy.otf b/site/font/Alibaba-PuHuiTi-Heavy.otf new file mode 100644 index 00000000..28c3b45b Binary files /dev/null and b/site/font/Alibaba-PuHuiTi-Heavy.otf differ