From 69755ac7df2d6ada220be55378a92a9aa4e06275 Mon Sep 17 00:00:00 2001 From: jack <251108449@qq.com> Date: Mon, 13 Jul 2026 16:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/withmind/assets/index.rem.css | 25 ++--- src/views/withmind/index.vue | 124 +++++++++--------------- 2 files changed, 55 insertions(+), 94 deletions(-) diff --git a/src/views/withmind/assets/index.rem.css b/src/views/withmind/assets/index.rem.css index 8a51970..edc3696 100644 --- a/src/views/withmind/assets/index.rem.css +++ b/src/views/withmind/assets/index.rem.css @@ -48,8 +48,6 @@ html { width: 1.814rem; height: 0.694rem; overflow-wrap: break-word; - /* 原 color: rgba(25, 140, 255, 1) 已改:不再固定蓝色, - 改用 .nav-active 类由 scroll-spy 控制高亮(滚动到对应 section 才变蓝) */ color: rgba(22, 22, 22, 1); font-size: 0.48rem; font-family: Source Han Sans CN-Medium; @@ -57,7 +55,7 @@ html { text-align: right; white-space: nowrap; line-height: 0.694rem; - /* 比照 newcss:.text_1(首页)margin-left 12.294rem;用户微调 → 11.3rem(再右移 0.3rem) */ + /* margin-left 11.3rem,比照 newcss .text_1 */ margin: 0.72rem 0 0 11.3rem; } @@ -120,7 +118,7 @@ html { /* footer 新增的"应用实践"项:跟其他 footer nav-link 字体一致 */ .text_nav_practice_footer { - /* 比照 newcss .text_34:width 2.134rem(原 1.92rem,跟其他 4 个镜像标题宽度一致) */ + /* width 2.134rem,比照 newcss .text_34 */ width: 2.134rem; height: 0.694rem; overflow-wrap: break-word; @@ -195,8 +193,6 @@ html { white-space: nowrap; line-height: 1.6rem; vertical-align: middle; - /* 原 margin-right: 0.293rem 已删:导致"关于"和"WithMind"间距过大, - 改用 HTML 里的 控制间距(更精确) */ } .text_7 { @@ -210,7 +206,7 @@ html { 源图宽高比 7.44:1,显示比例保持一致 */ width: 8rem; height: 1.067rem; - margin-left: 0.187rem; + margin: 0.1rem 0 0 0.187rem; vertical-align: middle; display: inline-block; image-rendering: -webkit-optimize-contrast; @@ -296,7 +292,6 @@ html { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.426rem; - letter-spacing: -0.5px; font-family: Source Han Sans CN-Regular; font-weight: 400; text-align: center; @@ -370,7 +365,6 @@ html { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.426rem; - letter-spacing: -0.5px; font-family: Source Han Sans CN-Regular; font-weight: 400; text-align: center; @@ -430,7 +424,6 @@ html { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.426rem; - letter-spacing: -0.5px; font-family: Source Han Sans CN-Regular; font-weight: 400; text-align: center; @@ -490,7 +483,6 @@ html { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.426rem; - letter-spacing: -0.5px; font-family: Source Han Sans CN-Regular; font-weight: 400; text-align: center; @@ -499,7 +491,6 @@ html { } .image-wrapper_5 { - /* 原 background-color: rgba(249, 250, 252, 1) 已删除:会让 Skills 段视觉发蓝 */ height: 24.507rem; margin-top: 3.2rem; width: 51.2rem; @@ -600,7 +591,7 @@ html { .group_10 { width: 38.054rem; height: 13.36rem; - margin: 3.2rem 0 0 5.434rem; /* 左移 0.5+0.3+0.3+0.2+0.2rem(共 1.5rem,原 6.934rem) */ + margin: 3.2rem 0 0 5.434rem; } .image_9 { @@ -1268,15 +1259,12 @@ html { .group_23 { width: 37.12rem; height: 6.267rem; - /* 用户要求整体左移让下方 5 列文字对齐顶部 5 个镜像标题: - 左移 0.3rem 后再回退 0.1rem(6.134 → 6.234rem),比 newcss 原版 6.934rem 仍左移 0.7rem */ margin: 0.56rem 0 0 6.234rem; } .group_24 { width: 15.947rem; height: 6.054rem; - /* 描述区再右移 0.2rem(原 0.6rem → 0.8rem) */ margin: 0.214rem 0 0 0.8rem; } @@ -1482,7 +1470,6 @@ html { font-size: 0.48rem; font-family: Source Han Sans CN-Regular; font-weight: NaN; - /* 原 text-align: right 已改:left 对齐"文档"两字 */ text-align: left; line-height: 0.96rem; margin-top: 0.427rem; @@ -2103,3 +2090,7 @@ html { height: 8.747rem; } + +.text_nav_practice.nav-active { + color: rgba(25, 140, 255, 1) !important; +} diff --git a/src/views/withmind/index.vue b/src/views/withmind/index.vue index 8f08413..8f348c0 100644 --- a/src/views/withmind/index.vue +++ b/src/views/withmind/index.vue @@ -534,7 +534,7 @@ />