From c11364fa428d20408579f397e67f5f18a700ce4a Mon Sep 17 00:00:00 2001 From: yuanshan <42023847+piercezzs@users.noreply.github.com> Date: Sat, 11 Oct 2025 16:25:06 +0800 Subject: [PATCH] fix 375 product-introduction --- src/assets/image/375/menu-close.png | Bin 0 -> 851 bytes src/assets/image/375/menu-open.png | Bin 0 -> 640 bytes .../customHeader/size1440/index.vue | 6 +- .../customHeader/size1920/index.vue | 9 +- src/components/customHeader/size375/index.vue | 40 +- src/components/customHeader/size768/index.vue | 1 + src/views/product-introduction/index.vue | 2 +- .../product-introduction/size375/index.vue | 589 ++++++++++++++++++ 8 files changed, 622 insertions(+), 25 deletions(-) create mode 100644 src/assets/image/375/menu-close.png create mode 100644 src/assets/image/375/menu-open.png diff --git a/src/assets/image/375/menu-close.png b/src/assets/image/375/menu-close.png new file mode 100644 index 0000000000000000000000000000000000000000..67073c7dd70c795203dd687f85d4b32b971c4433 GIT binary patch literal 851 zcmV-Z1FZasP)4mQw9k))sw3fc}zw%X!i9qgd4O~g%+)WMF%t>DrKc2J=w zVh1fWf)+bi4+IC(m@Gz@B!1t^UA!Dgd(`*NUh{*mmpfk5`}KSGzIX3w@JXdoiP2%0 zB1thoVNk>n3{?t?qDWy<6youC)z2?#n>8RYqtR$g>bgFP;Dr2;r^u41wNayJJ$)P3MHKSbxIcs!SK&u;u0gGa&TQ+s?1(M_ED@<~XL9t-pdj}mE3}NQHSny=B zEoeV;%LuQWgGG^Wo=JBX6)gcAQ`?{mfXKDF3wqy zyR8GuW$(?Pv|eeqpQ84A?0aSajTeb zmhkY=ENZpi;yfDNC61+XMU)7|l2sP8pa>p4ScYO%sxF%W;?F8kagT*wKcw=@fQVl2ivxoqo(g@^kpi zo>Q_M7yP3~4tH(Gf{r8)Lh~==%|#iS$rQxfM7dnf(cJAiBw;ST!^)>My7|*Io7pS9 zy-)J=HZj&8uS@)a2AgT@9HyORi~d=%urCZjVO_98<&1bAY?Lc0A!Va_ou>!FI(m~>k49X0--rW%7pA2M} z?0!!nEFovk{mI@CGQwe40ZNxp<#TXcl`}p-6>J5LwB9Qv?>0NlTr z=cbxIA>yi*iPIQEIQ*_oe=*^ph0aYgL`%}%h9N4+*_3j74VPeUkat+8VeW-+ zk4SRyL_)ND2{$p1mO2M(a1~WLSCWONa1};X+64K?gW|M_aeN)3`Rovi)F%F^5J%lS zZ>?}>2QzIPEhQ3x9Kc-yCGq|VSCJ8iI2gC!Dl)%GAJsb8w3-&NO>o~+X5Yl|Gd87Y zZ9;}pTHA0p(UYBg+<{B5Iw5aAF#AD$ATBoG3TCS$n&9ln;y^|gWcvGPs+Q!Ux-bju zCD0mDahi#-VG^o*1v^EWdrw0%Wx?Rr6dlV3zuLJ;aT+ymb>d|I%!S zFJHt>4DO3Hl#;hi4C&pa$3?FW7SZ8!z+xBL1`!jPzqc<>G!y^I%< aW&8od{@BO0AD`C%0000 { 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 @@ + + + + +