From 00e3e678191d7090a38b436e4a9065b31424c254 Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Fri, 16 May 2025 16:54:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 更新 YlTable 组件,添加圆角和斑马纹样式 2. 修改搜索框边框颜色为绿色(#70b937) 3. 调整分析页面表格列宽和样式 4. 启用首页的我的任务组件 5. 优化分析信息组件的标签样式 --- components.d.ts | 1 + src/components/Search/Index.vue | 2 +- src/components/YlTable/Index.vue | 64 ++++++++-- src/views/Home/Index.vue | 2 +- src/views/Survey/components/SurveyItem.vue | 1 + src/views/Survey/views/Analysis/Index.vue | 7 +- .../components/AnalysisInfo/Index.vue | 6 +- .../Analysis/components/LogicInfo/Index.vue | 109 +++++++++++------- .../Analysis/components/types/logicInfo.d.ts | 2 +- 9 files changed, 131 insertions(+), 63 deletions(-) diff --git a/components.d.ts b/components.d.ts index 443673c..1a93209 100644 --- a/components.d.ts +++ b/components.d.ts @@ -24,6 +24,7 @@ declare module 'vue' { ElSpace: typeof import('element-plus/es')['ElSpace'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] + ElTableV2: typeof import('element-plus/es')['ElTableV2'] ElTag: typeof import('element-plus/es')['ElTag'] ElText: typeof import('element-plus/es')['ElText'] Index: typeof import('./src/components/Analysis/Index.vue')['default'] diff --git a/src/components/Search/Index.vue b/src/components/Search/Index.vue index 0c1cc02..090fb8c 100644 --- a/src/components/Search/Index.vue +++ b/src/components/Search/Index.vue @@ -52,7 +52,7 @@ function handleSearchActino() { } border-radius: 18px; - border: solid 2px var(--primary-color); + border: solid 2px #70b937; background-color: #f5f5f5; //width: 100vw; diff --git a/src/components/YlTable/Index.vue b/src/components/YlTable/Index.vue index 44486a8..db4ee53 100644 --- a/src/components/YlTable/Index.vue +++ b/src/components/YlTable/Index.vue @@ -1,18 +1,60 @@ \ No newline at end of file + + + + diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index b0eb00b..99dd74f 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -62,7 +62,7 @@ function handleSearchClick() { - + diff --git a/src/views/Survey/components/SurveyItem.vue b/src/views/Survey/components/SurveyItem.vue index 18921e0..25618ca 100644 --- a/src/views/Survey/components/SurveyItem.vue +++ b/src/views/Survey/components/SurveyItem.vue @@ -280,6 +280,7 @@ function copyItem(item: SurveyItem) { } .wrap { + margin-left: 5px; padding: 1px 3px; border: 2px solid #f5f5f5; border-radius: 6px; diff --git a/src/views/Survey/views/Analysis/Index.vue b/src/views/Survey/views/Analysis/Index.vue index 255602a..184e29f 100644 --- a/src/views/Survey/views/Analysis/Index.vue +++ b/src/views/Survey/views/Analysis/Index.vue @@ -2,7 +2,6 @@ import { currentSurvey, fetchSingleSurvey } from '@/views/Survey/hooks/useSurveyData'; import SurveyItem from '@/views/Survey/components/SurveyItem.vue'; import LogicInfo from '@/views/Survey/views/Analysis/components/LogicInfo/Index.vue'; -import AiInsightResults from '@/views/Survey/views/Analysis/components/AiInsightResults/Index.vue'; import { useRoute } from 'vue-router'; import { useFetchAnalysis, @@ -47,11 +46,7 @@ useFetchAnalysis(route.query.sn as string); - - - +