新增定位悬浮效果

v1.1.0
于肖磊 2024-12-02 10:36:43 +08:00
parent 0ddfddf2eb
commit 2a1f1f66bc
2 changed files with 2 additions and 1 deletions

View File

@ -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];

View File

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