From 215ce036faa0b505a3d34ca85974be29cbd4f6a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Wed, 16 Oct 2024 14:11:03 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/model-search/index.vue | 2 +-
.../model-search/model-search-content.vue | 4 +--
.../model-search/model-search-styles.vue | 28 +++++++++----------
src/components/page-settings/page-setting.vue | 1 +
src/config/const/header-nav.ts | 4 ++-
src/config/const/search.ts | 2 +-
6 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/src/components/model-search/index.vue b/src/components/model-search/index.vue
index 451e8c44..b95097cb 100644
--- a/src/components/model-search/index.vue
+++ b/src/components/model-search/index.vue
@@ -15,7 +15,7 @@
- {{ item.value }}
+ {{ item.value }}
diff --git a/src/components/model-search/model-search-content.vue b/src/components/model-search/model-search-content.vue
index f3eab040..21d6a3b2 100644
--- a/src/components/model-search/model-search-content.vue
+++ b/src/components/model-search/model-search-content.vue
@@ -60,7 +60,7 @@
-
+
+添加
@@ -87,7 +87,7 @@ const add = () => {
form.value.hot_word_list.push({
id: get_math(),
value: '',
- color: '#000000',
+ color: '',
});
};
const remove = (index: number) => {
diff --git a/src/components/model-search/model-search-styles.vue b/src/components/model-search/model-search-styles.vue
index c3287fba..8258f918 100644
--- a/src/components/model-search/model-search-styles.vue
+++ b/src/components/model-search/model-search-styles.vue
@@ -38,9 +38,6 @@
-
-
-
@@ -51,18 +48,19 @@
-
-
-
- 轮播设置
-
-
-
-
-
-
-
-
+
+
+ 热词设置
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/page-settings/page-setting.vue b/src/components/page-settings/page-setting.vue
index 4c95ef54..10665cee 100644
--- a/src/components/page-settings/page-setting.vue
+++ b/src/components/page-settings/page-setting.vue
@@ -61,6 +61,7 @@ const default_data = {
tips_color: '#ccc',
hot_words_color: '#000',
search_border: '#E4E4E4',
+ search_bg_color: '#fff',
search_border_radius: {
radius: 16,
radius_top_left: 16,
diff --git a/src/config/const/header-nav.ts b/src/config/const/header-nav.ts
index 39bea701..c509329a 100644
--- a/src/config/const/header-nav.ts
+++ b/src/config/const/header-nav.ts
@@ -61,6 +61,7 @@ interface DefaultFooterNav {
tips_color: string;
hot_words_color: string;
search_border: string;
+ search_bg_color: string;
search_border_radius: object;
common_style: object;
};
@@ -128,8 +129,9 @@ const defaultFooterNav: DefaultFooterNav = {
img_space: '15',
img_color: '#666',
tips_color: '#ccc',
- hot_words_color: '#000',
+ hot_words_color: '#999',
search_border: '#E4E4E4',
+ search_bg_color: '#fff',
search_border_radius: {
radius: 16,
radius_top_left: 16,
diff --git a/src/config/const/search.ts b/src/config/const/search.ts
index 37777535..2ba73cce 100644
--- a/src/config/const/search.ts
+++ b/src/config/const/search.ts
@@ -72,7 +72,7 @@ const defaultSearch: defaultSearch = {
radius_bottom_right: 16,
},
tips_color: '#ccc',
- hot_words_color: '#000',
+ hot_words_color: '#999',
search_border: '#fff',
search_bg_color: '#fff',
search_border_radius: {