diff --git a/src/assets/image/375/menu-close.png b/src/assets/image/375/menu-close.png new file mode 100644 index 0000000..67073c7 Binary files /dev/null and b/src/assets/image/375/menu-close.png differ diff --git a/src/assets/image/375/menu-open.png b/src/assets/image/375/menu-open.png new file mode 100644 index 0000000..cf1f149 Binary files /dev/null and b/src/assets/image/375/menu-open.png differ diff --git a/src/components/customHeader/size1440/index.vue b/src/components/customHeader/size1440/index.vue index 5e3dc7b..c732919 100644 --- a/src/components/customHeader/size1440/index.vue +++ b/src/components/customHeader/size1440/index.vue @@ -160,13 +160,13 @@ const handleToHome = () => { position: relative; margin: 0 10px; transition: all 0.3s ease; - font-size: 12px; - min-width: 120px; - text-align: center; font-family: "PingFang SC"; font-style: normal; font-weight: 500; line-height: normal; + font-size: 16px; + min-width: 120px; + text-align: center; &::after { content: ""; position: absolute; diff --git a/src/components/customHeader/size1920/index.vue b/src/components/customHeader/size1920/index.vue index d074f65..eebb1f8 100644 --- a/src/components/customHeader/size1920/index.vue +++ b/src/components/customHeader/size1920/index.vue @@ -153,12 +153,13 @@ const handleToHome = () => { position: relative; margin: 0 20px; transition: all 0.3s ease; - font-weight: 700; - // font-size: 16px; - font-size: 1.05rem; min-width: 120px; text-align: center; - + font-family: "PingFang SC"; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: normal; &::after { content: ""; position: absolute; diff --git a/src/components/customHeader/size375/index.vue b/src/components/customHeader/size375/index.vue index 08da226..f2d95f9 100644 --- a/src/components/customHeader/size375/index.vue +++ b/src/components/customHeader/size375/index.vue @@ -17,12 +17,18 @@ :class="{ 'menu-open': showMenu }" @click="toggleMenu" > - - - - - - + menu + menu @@ -53,11 +59,11 @@ import { useRouter } from "vue-router"; import { useHeaderMenuConfig } from "@/config/headerMenuConfig"; const themeOverrides = { Menu: { - itemTextColorHover: "#ff7bac", - itemTextColorActive: "#ff7bac", - itemTextColorActiveHover: "#ff7bac", - itemColorHover: "#fff8fb", - itemColorActive: "#fff8fb", + itemTextColorHover: "#000", + itemTextColorActive: "#FF7BAC", + itemTextColorActiveHover: "#fff8fb", + itemColorHover: "#FDDFE9", + itemColorActive: "#fff", itemColorActiveHover: "#fff8fb", }, }; @@ -125,7 +131,7 @@ const handleToHome = () => { .custom-header { transition: all 0.3s ease; background: transparent; - height: 320px; + height: 60 * 5.12px; &.header-scrolled { background: rgba(255, 255, 255, 0.95); @@ -152,8 +158,7 @@ const handleToHome = () => { } .logo :deep(.n-image) { - max-width: 100px; - height: auto; + width: 94 * 5.12px; } .menu-btn { @@ -168,6 +173,7 @@ const handleToHome = () => { user-select: none; transition: background 0.2s; position: relative; + width: 56 * 5.12px; .menu-icon { position: absolute; @@ -198,14 +204,14 @@ const handleToHome = () => { .mobile-menu-wrapper { position: fixed; - top: 320px; + top: 60 * 5.12px; left: 0; width: 100vw; - background: #fddfea; + background: #fff; z-index: 1100; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); padding: 40px 0 80px 0; - max-height: 1500px; + max-height: 1500 * 5.12px; overflow-y: auto; // 设置CSS变量,只影响当前组件的菜单 diff --git a/src/components/customHeader/size768/index.vue b/src/components/customHeader/size768/index.vue index 14eaa11..af59c7a 100644 --- a/src/components/customHeader/size768/index.vue +++ b/src/components/customHeader/size768/index.vue @@ -170,6 +170,7 @@ const handleToHome = () => { user-select: none; transition: background 0.2s; position: relative; + width: 56 * 2.5px; .menu-icon { position: absolute; diff --git a/src/views/product-introduction/index.vue b/src/views/product-introduction/index.vue index 973ca46..cfc4094 100644 --- a/src/views/product-introduction/index.vue +++ b/src/views/product-introduction/index.vue @@ -2,7 +2,7 @@ import { computed } from "vue"; import { useWindowSize } from "@vueuse/core"; -// import size375 from "./size375/index.vue"; +import size375 from "./size375/index.vue"; import size768 from "./size768/index.vue"; import size1440 from "./size1440/index.vue"; import size1920 from "./size1920/index.vue"; diff --git a/src/views/product-introduction/size375/index.vue b/src/views/product-introduction/size375/index.vue index e69de29..c002c33 100644 --- a/src/views/product-introduction/size375/index.vue +++ b/src/views/product-introduction/size375/index.vue @@ -0,0 +1,589 @@ + + + + +