From 2a1f1f66bc4b2b2945a00c40bbecfb277c2345cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 2 Dec 2024 10:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=9A=E4=BD=8D=E6=82=AC?= =?UTF-8?q?=E6=B5=AE=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-goods-list/index.vue | 1 + src/components/page-settings/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/model-goods-list/index.vue b/src/components/model-goods-list/index.vue index c7e9d2db..6ac2fb7d 100644 --- a/src/components/model-goods-list/index.vue +++ b/src/components/model-goods-list/index.vue @@ -166,6 +166,7 @@ import { common_img_computer, common_styles_computer, get_math, gradient_handle, padding_computer, radius_computer, background_computer } from '@/utils'; import { isEmpty, cloneDeep, throttle } from 'lodash'; import ShopAPI from '@/api/shop'; +import { Swiper, SwiperSlide } from 'swiper/vue'; import { Autoplay } from 'swiper/modules'; const modules = [Autoplay]; diff --git a/src/components/page-settings/index.vue b/src/components/page-settings/index.vue index e8abaf26..72d68916 100644 --- a/src/components/page-settings/index.vue +++ b/src/components/page-settings/index.vue @@ -203,7 +203,7 @@ const style_location_img_container = computed(() => { border += `border-${location_border_direction}: ${location_border_size}px solid ${location_border_color};`; } } - return background_computer(style) + padding_computer(location_padding) + border; + return background_computer(style) + padding_computer(location_padding) + radius_computer(new_style.value.location_radius) + border; }); // 文字样式 const text_style = computed(() => `font-weight:${new_style.value.header_background_title_typeface}; font-size: ${new_style.value.header_background_title_size}px; color: ${new_style.value.header_background_title_color};`);