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};`);