From 1fd2669b7f3a8c44d1cad88f50970c5f0fc9a62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 3 Jan 2025 17:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/carousel-indicator/index.vue | 12 +---- src/components/common/common-styles/index.vue | 17 ------ .../model-icon/model-icon-style.vue | 7 +-- .../model-image/model-image-style.vue | 11 +--- .../model-panel/model-panel-style.vue | 5 +- .../model-text/model-text-style.vue | 8 +-- .../model-carousel/model-carousel-styles.vue | 12 +---- .../magic-cube-settings/tabs-styles.vue | 52 +------------------ .../model-data-magic-styles.vue | 10 ---- .../model-nav-group-styles.vue | 6 +-- .../model-search/model-search-styles.vue | 14 +---- 11 files changed, 13 insertions(+), 141 deletions(-) diff --git a/src/components/common/carousel-indicator/index.vue b/src/components/common/carousel-indicator/index.vue index 67c83485..5c489d5b 100644 --- a/src/components/common/carousel-indicator/index.vue +++ b/src/components/common/carousel-indicator/index.vue @@ -45,7 +45,7 @@ - + @@ -87,14 +87,4 @@ const color_picker_change = (color: string, type: string) => { form.value.color = color; } }; -// 指示器圆角 -const indicator_radius_change = (radius: radiusStyle) => { - form.value.indicator_radius = Object.assign(form.value.indicator_radius, pick(radius, [ - 'radius', - 'radius_top_left', - 'radius_top_right', - 'radius_bottom_left', - 'radius_bottom_right', - ])); -} \ No newline at end of file diff --git a/src/components/common/common-styles/index.vue b/src/components/common/common-styles/index.vue index 0a82d7bb..2abe1a74 100644 --- a/src/components/common/common-styles/index.vue +++ b/src/components/common/common-styles/index.vue @@ -116,23 +116,6 @@ const mult_color_picker_event = (arry: color_list[], type: number) => { form.value.color_list = arry; form.value.direction = type.toString(); }; -const background_img_style_change = (style: any) => { - form.value.background_img_style = style; -}; -const background_img_change = (arry: uploadList[]) => { - form.value.background_img = arry; -}; -const radius_change = (radius: any) => { - form.value = Object.assign(form.value, pick(radius, ['radius', 'radius_top_left', 'radius_top_right', 'radius_bottom_left', 'radius_bottom_right'])); -}; - -const margin_change = (margin: any) => { - form.value = Object.assign(form.value, pick(margin, ['margin', 'margin_top', 'margin_bottom', 'margin_left', 'margin_right'])); -}; - -const padding_change = (padding: any) => { - form.value = Object.assign(form.value, pick(padding, ['padding', 'padding_top', 'padding_bottom', 'padding_left', 'padding_right'])); -};