修改博客选项卡显示

v1.3.0
于肖磊 2025-03-03 09:59:30 +08:00
parent 9859ac78c5
commit c9ca5ba46e
3 changed files with 6 additions and 6 deletions

View File

@ -227,8 +227,8 @@ const blog_theme_change = (val: any) => {
const list = base_list.blog_theme_list.filter(item => item.value == val); const list = base_list.blog_theme_list.filter(item => item.value == val);
if (list.length > 0) { if (list.length > 0) {
// emits('theme_change', list[0].width, list[0].height); // emits('theme_change', list[0].width, list[0].height);
styles.value.content_img_width = list[0].width; styles.content_img_width = list[0].width;
styles.value.content_img_height = list[0].height; styles.content_img_height = list[0].height;
} }
}; };

View File

@ -73,8 +73,8 @@ interface DefaultBlogList {
blog_spacing: number; blog_spacing: number;
content_spacing: number; content_spacing: number;
blog_height: number; blog_height: number;
content_img_width: number | undefined; content_img_width: number;
content_img_height: number | undefined; content_img_height: number;
interval_time: number; //滚动时间 interval_time: number; //滚动时间
is_roll: number; is_roll: number;
rolling_fashion: string; rolling_fashion: string;

View File

@ -127,8 +127,8 @@ interface DefaultBlogTabs {
blog_spacing: number; blog_spacing: number;
content_spacing: number; content_spacing: number;
blog_height: number; blog_height: number;
content_img_width: number | undefined; content_img_width: number;
content_img_height: number | undefined; content_img_height: number;
interval_time: number; //滚动时间 interval_time: number; //滚动时间
is_roll: number; is_roll: number;
rolling_fashion: string; rolling_fashion: string;