From 3be665449c77773c334db399b632a5c4d2a25597 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Thu, 4 Sep 2025 14:56:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E6=B7=BB=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20&=20=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增添服务支持-常见问题 & 服务支持-文档资料 - 调整QuestionList样式 --- app/components/QuestionList.vue | 34 ++++++++++++----- app/pages/support/documents.vue | 66 +++++++++++++++++++++++++-------- app/pages/support/faq.vue | 60 +++++++++++++++++++++++------- 3 files changed, 122 insertions(+), 38 deletions(-) diff --git a/app/components/QuestionList.vue b/app/components/QuestionList.vue index ce03d8c..50d82b3 100644 --- a/app/components/QuestionList.vue +++ b/app/components/QuestionList.vue @@ -2,11 +2,8 @@
+v-for="(question, index) in questions" :key="index" :title="question.title" + :name="String(index)"> @@ -31,14 +28,33 @@ defineProps({ border: none; } +.question-collapse :deep(.el-collapse-item) { + margin-bottom: 1rem; + border-radius: 8px; +} + + .question-collapse :deep(.el-collapse-item__header) { font-size: 1rem; padding: 1rem; + border-radius: 8px; + background-color: #f5f7fa; + + transition: all 0.3s ease; + + &.is-active { + background-color: #e1e6eb; + color: var(--el-color-primary); + } } -.question-collapse :deep(.el-collapse-item) { - margin-bottom: 1rem; - border: 1px solid var(--el-border-color-light); - box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); +.question-collapse :deep(.el-collapse-item__wrap) { + border: none; } + +.question-collapse :deep(.el-collapse-item__content) { + padding: 1rem; + font-size: 0.9rem; +} + \ No newline at end of file diff --git a/app/pages/support/documents.vue b/app/pages/support/documents.vue index 05f209e..f28345b 100644 --- a/app/pages/support/documents.vue +++ b/app/pages/support/documents.vue @@ -1,25 +1,57 @@ \ No newline at end of file diff --git a/app/pages/support/faq.vue b/app/pages/support/faq.vue index 9dada74..d166cf0 100644 --- a/app/pages/support/faq.vue +++ b/app/pages/support/faq.vue @@ -1,26 +1,55 @@ \ No newline at end of file