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'])); -};