修改新组件的数据显示
parent
2c3ec49f4b
commit
a0254b5a8c
|
|
@ -21,7 +21,7 @@
|
|||
<el-form-item label="内间距">
|
||||
<padding :value="form"></padding>
|
||||
</el-form-item>
|
||||
<el-form-item label="内容圆角">
|
||||
<el-form-item label="圆角">
|
||||
<radius :value="form"></radius>
|
||||
</el-form-item>
|
||||
</card-container>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<div :style="match_layout_style">
|
||||
<div class="flex-col" :style="match_layout_img_style">
|
||||
<div :class="['oh w h', host_graph_theme == '0' ? 'flex-row' : 'flex-col' ]" :style="host_graph_theme == '0' ? `margin-bottom: ${ new_style.data_content_bottom_spacing }px;` : ''">
|
||||
<!-- 主图大图模式和主图单列时的显示,并且图片是有值的 -->
|
||||
<template v-if="!isEmpty(match_item) && ((host_graph_theme == '1' && form.is_host_graph_show == '1') || host_graph_theme == '0')">
|
||||
<div class="oh re" :class="`flex-match-img${host_graph_theme}`">
|
||||
<template v-if="!isEmpty(match_item.new_cover)">
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
<!-- 阴影配置 -->
|
||||
<shadow-config v-model="form.data_border_box"></shadow-config>
|
||||
</card-container>
|
||||
<div class="divider-line"></div>
|
||||
<template v-if="new_tabs.length > 0">
|
||||
<div class="divider-line"></div>
|
||||
<card-container>
|
||||
|
|
@ -145,7 +144,7 @@ const tabs_name = ref('data');
|
|||
const tabs = [
|
||||
{ label: "详情按钮", name: "details" },
|
||||
{ label: "数据优惠", name: "data_discounts" },
|
||||
{ label: "商品优惠", name: "data_discounts" },
|
||||
{ label: "商品优惠", name: "goods_discounts" },
|
||||
];
|
||||
// 图标数组处理一下,确保打开的都能看到
|
||||
type tabs_type = { name: string; label: string;};
|
||||
|
|
@ -176,7 +175,6 @@ const common_style_update = (value: any) => {
|
|||
background: #fff;
|
||||
margin: 0;
|
||||
padding-top: 0rem;
|
||||
padding-bottom: 0rem;
|
||||
}
|
||||
.el-tabs__item.is-top {
|
||||
padding: 0;
|
||||
|
|
|
|||
|
|
@ -227,10 +227,6 @@ const style_config = (typeface: string, size: number, color: string | object, ty
|
|||
let style = `font-weight:${typeface}; font-size: ${size}px;color: ${color};`;
|
||||
return style;
|
||||
};
|
||||
// 按钮渐变色处理
|
||||
const button_gradient = () => {
|
||||
return gradient_handle(new_style.value.shop_button_color, '180deg');
|
||||
};
|
||||
// 不同风格下的样式
|
||||
const layout_type = computed(() => {
|
||||
let class_type = '';
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ const defaultRealstore: defaultRealstore = {
|
|||
details_type: 'text',
|
||||
details_img: [],
|
||||
details_icon: '',
|
||||
details_text: '搭配购买',
|
||||
details_text: '详情',
|
||||
is_data_discounts_show: '1',
|
||||
data_discounts_type: 'text',
|
||||
data_discounts_img: [],
|
||||
|
|
|
|||
Loading…
Reference in New Issue