diff --git a/src/components/model-search/index.vue b/src/components/model-search/index.vue
index bc4c6627..deccae6a 100644
--- a/src/components/model-search/index.vue
+++ b/src/components/model-search/index.vue
@@ -14,6 +14,9 @@
+
+
+
@@ -57,7 +60,7 @@ const style = computed(() => {
});
const style_container = computed(() => common_styles_computer(new_style.value.common_style));
// 输入框颜色
-const border_color = computed(() => new_style.value.search_border);
+const search_border = computed(() => new_style.value.search_border);
// 提示语颜色
const placeholder_color = computed(() => new_style.value.tips_color || '#CCCCCC');
// 定位位置
@@ -78,7 +81,9 @@ const get_placeholder = () => {
:deep(.el-input) {
& .el-input__wrapper {
border-radius: 16px !important;
- border: 1px solid v-bind(border_color);
+ border: 0;
+ box-shadow: none;
+ background: v-bind(search_border);
}
& .el-input__inner::placeholder,
& .el-input__prefix-inner {
@@ -89,7 +94,10 @@ const get_placeholder = () => {
.set-text-size {
font-size: v-bind(text_size);
}
-
+.search-image {
+ width: 5rem;
+ height: 3rem;
+}
.nowrap {
text-wrap: nowrap;
}
diff --git a/src/components/model-search/model-search-content.vue b/src/components/model-search/model-search-content.vue
index 05ed2859..b38312fb 100644
--- a/src/components/model-search/model-search-content.vue
+++ b/src/components/model-search/model-search-content.vue
@@ -35,7 +35,7 @@
-
+
diff --git a/src/components/model-shop-tabs/model-shop-tabs-content.vue b/src/components/model-shop-tabs/model-shop-tabs-content.vue
index 6c9dadc0..c3f4b836 100644
--- a/src/components/model-shop-tabs/model-shop-tabs-content.vue
+++ b/src/components/model-shop-tabs/model-shop-tabs-content.vue
@@ -28,7 +28,7 @@
-
+
@@ -43,14 +43,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+添加
diff --git a/src/layout/components/main/default/search.ts b/src/layout/components/main/default/search.ts
index 0385ddfc..04c3c998 100644
--- a/src/layout/components/main/default/search.ts
+++ b/src/layout/components/main/default/search.ts
@@ -9,7 +9,7 @@ interface defaultSearch {
content: {
style_radio: string;
style_type: string;
- logo: string;
+ logo: uploadList[];
search_title: string;
search_link: object;
location: string;
@@ -31,7 +31,7 @@ const defaultSearch: defaultSearch = {
content: {
style_radio: 'search',
style_type: 'title',
- logo: '',
+ logo: [],
search_title: '',
search_link: {},
location: 'store',
@@ -54,6 +54,7 @@ const defaultSearch: defaultSearch = {
text_size: 15,
common_style: {
...defaultCommon,
+ color_list: ['#ffffff'],
padding_top: 9,
padding_bottom: 9,
padding_left: 15,
diff --git a/src/utils/index.ts b/src/utils/index.ts
index 3cf8f035..7fda39f1 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -41,7 +41,7 @@ export function gradient_handle(color_list: string[], direction: string) {
reverse_color.forEach((item: any, index: number) => {
container_common_styles += `${item ? item : 'rgb(255 255 255 / 0%)'}`;
if (color_list.length == 1) {
- container_common_styles += `0%, ${item} 100%`;
+ container_common_styles += ` 0%, ${item} 100%`;
} else {
if (index == color_list.length - 1) {
container_common_styles += ` 100%`;