diff --git a/src/assets/img/analysis/ai-insight.png b/src/assets/img/analysis/ai-insight.png new file mode 100644 index 0000000..b2d9630 Binary files /dev/null and b/src/assets/img/analysis/ai-insight.png differ diff --git a/src/components/Search/Index.vue b/src/components/Search/Index.vue index 573cff2..08f8b51 100644 --- a/src/components/Search/Index.vue +++ b/src/components/Search/Index.vue @@ -5,10 +5,10 @@ v-model="value" :placeholder="placeholder" style="--van-search-padding: 0" - @search="handleSearchActino" + @search="handleSearchAction" > - + @@ -34,7 +34,7 @@ const placeholder = defineModel('placeholder', { const emit = defineEmits(['search']); -function handleSearchActino() { +function handleSearchAction() { emit('search'); searchMethod.value && searchMethod.value(); } @@ -63,7 +63,7 @@ function handleSearchActino() { &::after { content: '|'; position: absolute; - right: 11vh; + right: 9vh; top: 1vh; //transform: translateY(-50%); font-weight: bold; diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 6ed6e49..b1109ba 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -83,7 +83,6 @@ function handleSearchClick() { .search { margin: 0 -10px 0 -10px; padding: 10px; - // background: linear-gradient(to bottom, #f8fef5, #f3f3f3); @extend %seach-gradient; } diff --git a/src/views/Home/components/MineTask/Index.vue b/src/views/Home/components/MineTask/Index.vue index 42efdb6..8312d80 100644 --- a/src/views/Home/components/MineTask/Index.vue +++ b/src/views/Home/components/MineTask/Index.vue @@ -16,6 +16,10 @@ const { surveys } = fetchSurveys(); + + diff --git a/src/views/Survey/components/SurveyItem.vue b/src/views/Survey/components/SurveyItem.vue index f1e90d5..bb01fd9 100644 --- a/src/views/Survey/components/SurveyItem.vue +++ b/src/views/Survey/components/SurveyItem.vue @@ -142,7 +142,7 @@ function copyItem(item: SurveyItem) { {{ survey.answer_num }}份 - + {{ `${survey.start_time} 至 ${survey.end_time ?? '无限期'}` }} diff --git a/src/views/Survey/views/Analysis/Index.vue b/src/views/Survey/views/Analysis/Index.vue index fc951ad..449f8e7 100644 --- a/src/views/Survey/views/Analysis/Index.vue +++ b/src/views/Survey/views/Analysis/Index.vue @@ -66,7 +66,10 @@ useFetchAnalysis(sn.value); @@ -88,6 +91,12 @@ useFetchAnalysis(sn.value); .ai-insight { background-image: url('@/assets/img/home/item-back.png'); + background-position: top; + + .ai-insight-content { + background-color: #f8fbfe; + padding: 14px; + } } .survey-item,