From c85b1597b9c1d58efbcdbd87ec9099abe38dc41e Mon Sep 17 00:00:00 2001 From: Swanky <413564165@qq.com> Date: Sun, 21 Dec 2025 11:32:44 +0800 Subject: [PATCH] =?UTF-8?q?style(views/components):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=B0=B4=E5=8D=B0=E4=BD=8D=E7=BD=AE=E5=92=8C=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E6=A1=86=E5=92=8C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整HomeView水印位置和字体大小 - 统一DemandList和AchievementList的搜索框清除按钮样式 - 修改下载按钮颜色,优化详情页面布局 - 交换备注和成果简介的显示顺序 --- src/components/AchievementList.vue | 41 +++++++++++++++++------------- src/components/DemandList.vue | 22 +++++++++++----- src/views/HomeView.vue | 8 +++--- 3 files changed, 44 insertions(+), 27 deletions(-) diff --git a/src/components/AchievementList.vue b/src/components/AchievementList.vue index 5d6c62a..ca88616 100644 --- a/src/components/AchievementList.vue +++ b/src/components/AchievementList.vue @@ -108,23 +108,22 @@ onMounted(() => {
- + +
- + {{ item.name }}
@@ -228,19 +227,19 @@ onMounted(() => {

- 备注 + 成果简介

-
{{ currentAchievement?.remarks || '无备注信息' }}
+
{{ currentAchievement?.achievement_intro }}

- 成果简介 + 备注

-
{{ currentAchievement?.achievement_intro }}
+
{{ currentAchievement?.remarks || '无备注信息' }}
- +
- {{ item.name }} @@ -252,9 +255,9 @@ onMounted(() => {
-
+
@@ -272,6 +275,10 @@ onMounted(() => { padding-left: 0; } +.search-container :deep(.van-search__action) { + line-height: 25px; +} + /* 下载按钮容器 */ .download-container { display: flex; @@ -422,8 +429,9 @@ onMounted(() => { .detail-content { height: 100%; overflow-y: auto; - padding: 15px; font-size: 14px; + display: flex; + flex-direction: column; } /* 详情头部 */ @@ -431,9 +439,8 @@ onMounted(() => { display: flex; justify-content: space-between; align-items: center; - margin-bottom: 15px; - padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; + padding: 15px 15px 10px 15px; } .detail-header h3 { @@ -449,6 +456,9 @@ onMounted(() => { display: flex; flex-direction: column; gap: 15px; + flex: 1; + overflow: auto; + padding: 15px; } /* 详情区块 */ diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 7069cbf..dd8f558 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -126,9 +126,9 @@ onUnmounted(() => {
-
专业评估
+
专业评估
知识产权保护
-
中式熟化
+
中式熟化
@@ -304,7 +304,7 @@ onUnmounted(() => { .watermark-text { position: absolute; color: rgba(255, 255, 255, 0.15); - font-size: 16px; + font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0.8; @@ -329,7 +329,7 @@ onUnmounted(() => { /* 副标题样式 */ .subtitle { font-size: 22px; - font-weight: 500; + font-weight: 700; margin: 8px 0 0 0; line-height: 1.3; word-break: break-word;