diff --git a/src/components/model-search/index.vue b/src/components/model-search/index.vue
index 26325e31..9e01d525 100644
--- a/src/components/model-search/index.vue
+++ b/src/components/model-search/index.vue
@@ -4,9 +4,9 @@
-
+
-
+
@@ -19,12 +19,12 @@
{{ form.search_tips }}
-
-
+
+
-
+
@@ -79,8 +79,15 @@ const box_style = computed(() => {
});
const search_button = computed(() => {
let style = search_button_radius.value;
+ const { search_botton_color_list, search_botton_direction, search_botton_background_img_style, search_botton_background_img } = new_style.value;
if (form.value.search_type != 'img') {
- style += gradient_computer(new_style.value) + background_computer(new_style.value) + `color: ${ new_style.value.button_inner_color };`;
+ const data = {
+ color_list: search_botton_color_list,
+ direction: search_botton_direction,
+ background_img: search_botton_background_img,
+ background_img_style: search_botton_background_img_style,
+ }
+ style += gradient_computer(data) + background_computer(data) + `color: ${ new_style.value.button_inner_color };`;
}
return style;
})
diff --git a/src/components/model-search/model-search-content.vue b/src/components/model-search/model-search-content.vue
index 6151a91b..58ff5fea 100644
--- a/src/components/model-search/model-search-content.vue
+++ b/src/components/model-search/model-search-content.vue
@@ -9,7 +9,7 @@
-
+
@@ -37,7 +37,7 @@
文字
-
+
diff --git a/src/components/model-search/model-search-styles.vue b/src/components/model-search/model-search-styles.vue
index f5bd3ba1..d7d58872 100644
--- a/src/components/model-search/model-search-styles.vue
+++ b/src/components/model-search/model-search-styles.vue
@@ -19,10 +19,10 @@
背景色
-
+
背景图
-
+
@@ -34,7 +34,7 @@
-
+
@@ -118,8 +118,8 @@ const border_radius_change = (radius: any) => {
}
const mult_color_picker_event = (arry: color_list[], type: number) => {
- form.value.color_list = arry;
- form.value.direction = type.toString();
+ form.value.search_botton_color_list = arry;
+ form.value.search_botton_direction = type.toString();
};