问题修复

v1.2.0
于肖磊 2024-12-31 18:07:50 +08:00
parent 226492dc02
commit 16a5ec684a
4 changed files with 8 additions and 7 deletions

View File

@ -404,7 +404,6 @@ const article_theme_class = computed(() => {
<style lang="scss" scoped>
.style1 {
.item {
width: 100%;
.img {
height: v-bind(article_img_height);
width: v-bind(article_img_width);
@ -428,7 +427,6 @@ const article_theme_class = computed(() => {
}
.style4 {
.item {
width: 100%;
&:not(:last-child) {
border-bottom: 0.1rem solid #eee;
}

View File

@ -121,7 +121,9 @@
<color-text-size-group v-model:color="form.page_view_color" v-model:typeface="form.page_view_weight" v-model:size="form.page_view_size"></color-text-size-group>
</el-form-item>
<template v-if="theme != '3'">
<margin :value="form.margin"></margin>
<el-form-item label="外间距">
<margin :value="form.margin"></margin>
</el-form-item>
</template>
<el-form-item label="内间距">
<padding :value="form.padding"></padding>

View File

@ -369,8 +369,9 @@ const layout_type = computed(() => {
//
const layout_style = computed(() => {
const radius = theme.value == '6' ? '' : content_radius.value;
const width = theme.value == '0' ? `width: calc(100% - ${ shop_left_right_width_margin.value }px);` : '';
const gradient = theme.value != '6' ? gradient_handle(new_style.value.shop_color_list, new_style.value.shop_direction) + margin_computer(new_style.value.shop_margin) + border_computer(new_style.value) + box_shadow_computer(new_style.value) : '';
return `${radius} ${ gradient }`;
return `${radius} ${ gradient } ${ width }`;
});
//

View File

@ -275,9 +275,9 @@ const defaultSeckill: DefaultSeckill = {
shop_content_padding: {
padding: 0,
padding_top: 0,
padding_bottom: 10,
padding_left: 10,
padding_right: 10,
padding_bottom: 0,
padding_left: 0,
padding_right: 0,
},
shop_content_spacing: 0,
shop_content: {