From 2c9377c019f0a0cd3770a0b6949cb65962a3ef08 Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 27 Apr 2026 16:31:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=AD=E5=BB=BA=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E6=8F=90=E9=97=AE=E7=BB=84=E4=BB=B6=E4=B8=8E=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiTabSwitch/index.vue | 1 + src/components/ModuleTitle/styles/index.scss | 1 + .../components/FindTabs/styles/index.scss | 5 +- .../components/QuickQuestions/index.vue | 78 +++++++++++++++++++ .../QuickQuestions/styles/index.scss | 12 +++ src/pages/Discovery/index.vue | 2 + src/static/scss/colors.scss | 4 + src/static/scss/rounded.scss | 4 + 8 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 src/pages/Discovery/components/QuickQuestions/index.vue create mode 100644 src/pages/Discovery/components/QuickQuestions/styles/index.scss diff --git a/src/components/AiTabSwitch/index.vue b/src/components/AiTabSwitch/index.vue index f370709..d292b6a 100644 --- a/src/components/AiTabSwitch/index.vue +++ b/src/components/AiTabSwitch/index.vue @@ -99,6 +99,7 @@ const handleSwitch = (i) => { .tab-text { font-size: 18px; + font-weight: 500; color: rgba(255, 255, 255, 0.65); z-index: 20; } diff --git a/src/components/ModuleTitle/styles/index.scss b/src/components/ModuleTitle/styles/index.scss index 304970e..bfea704 100644 --- a/src/components/ModuleTitle/styles/index.scss +++ b/src/components/ModuleTitle/styles/index.scss @@ -6,6 +6,7 @@ .module-title { font-size: 18px; + font-weight: bold; color: #171717; position: relative; z-index: 1; diff --git a/src/pages/Discovery/components/FindTabs/styles/index.scss b/src/pages/Discovery/components/FindTabs/styles/index.scss index 31a33dc..22d4e61 100644 --- a/src/pages/Discovery/components/FindTabs/styles/index.scss +++ b/src/pages/Discovery/components/FindTabs/styles/index.scss @@ -46,7 +46,8 @@ } .tab-text { - font-size: 20px; + font-size: 16px; + font-weight: 500; color: rgba(128, 140, 153, 0.9); z-index: 5; padding: 0 4px; @@ -55,7 +56,7 @@ .tab-item.active .tab-text { color: #0b0b0b; - font-weight: 800; + font-weight: bold; } .tab-indicator { diff --git a/src/pages/Discovery/components/QuickQuestions/index.vue b/src/pages/Discovery/components/QuickQuestions/index.vue new file mode 100644 index 0000000..fc26b44 --- /dev/null +++ b/src/pages/Discovery/components/QuickQuestions/index.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/pages/Discovery/components/QuickQuestions/styles/index.scss b/src/pages/Discovery/components/QuickQuestions/styles/index.scss new file mode 100644 index 0000000..c221665 --- /dev/null +++ b/src/pages/Discovery/components/QuickQuestions/styles/index.scss @@ -0,0 +1,12 @@ +.container-scroll { + margin: 4px 0 6px; +} + +.card-item { + width: 130px; +} + +.card-img { + height: 40px; + width: 40px; +} diff --git a/src/pages/Discovery/index.vue b/src/pages/Discovery/index.vue index 1ae6864..3a82b7a 100644 --- a/src/pages/Discovery/index.vue +++ b/src/pages/Discovery/index.vue @@ -1,6 +1,7 @@