diff --git a/src/components/common/div-content/index.vue b/src/components/common/div-content/index.vue
index c76b559c..44108320 100644
--- a/src/components/common/div-content/index.vue
+++ b/src/components/common/div-content/index.vue
@@ -130,6 +130,10 @@
+
+
+
+
diff --git a/src/components/model-binding/model-binding-content.vue b/src/components/model-binding/model-binding-content.vue
index 1b013be8..bf4850f2 100644
--- a/src/components/model-binding/model-binding-content.vue
+++ b/src/components/model-binding/model-binding-content.vue
@@ -95,6 +95,7 @@ const state = reactive({
const { form, data } = toRefs(state);
const tabs_name = ref('details');
+
const base_list = reactive({
host_graph_theme_list: [
{ name: '单列展示', value: '0', width: 128, height: 128 },
@@ -123,18 +124,6 @@ const base_list = reactive({
]
});
-const emits = defineEmits(['theme_change']);
-onMounted(() => {
- // 如果历史数据没有操作,则修改默认值
- const { content_img_width = '', content_img_height = '' } = data.value;
- // 宽度和高度为空的时候,并且不是无图模式和左右滑动模式的时候,修改默认值
- if ((typeof content_img_width != 'number' || typeof content_img_height != 'number') && !['3', '4'].includes(form.value.theme)) {
- const list = base_list.theme_list.filter(item => item.value == form.value.theme);
- if (list.length > 0) {
- emits('theme_change', list[0].width, list[0].height);
- }
- }
-});
const host_graph_theme_change = () => {
// 切换风格时,将对应图片的默认值宽度和高度赋值
const list = base_list.host_graph_theme_list.filter(item => item.value == form.value.host_graph_theme);
@@ -145,11 +134,6 @@ const host_graph_theme_change = () => {
}
// 主题改变
const theme_change = (val: any) => {
- if (val == '3' || val == '4') {
- form.value.field_show = ['1', '3'];
- } else {
- form.value.field_show = ['0', '1', '3'];
- }
if (val == '0') {
if (data.value.goods_img_radius.radius == props.defaultConfig.img_radius_0 || (data.value.goods_img_radius.radius_bottom_left == props.defaultConfig.img_radius_1 && data.value.goods_img_radius.radius_bottom_right == props.defaultConfig.img_radius_1 && data.value.goods_img_radius.radius_top_left == props.defaultConfig.img_radius_1 && data.value.goods_img_radius.radius_top_right == props.defaultConfig.img_radius_1)) {
data.value.goods_img_radius.radius = props.defaultConfig.img_radius_0;
@@ -217,16 +201,6 @@ const url_value_dialog_call_back = (item: any[]) => {
};
}
};
-// 标题浮起之后博客标题的颜色和字体更新
-const switch_chage = (val: string | number | boolean) => {
- if (val == '1') {
- data.value.name_color = '#fff';
- data.value.name_weight = '400';
- } else {
- data.value.name_color = '#333';
- data.value.name_weight = 'bold';
- }
-};