diff --git a/src/components/model-article-list/index.vue b/src/components/model-article-list/index.vue index b3d39677..aed3ce8f 100644 --- a/src/components/model-article-list/index.vue +++ b/src/components/model-article-list/index.vue @@ -135,7 +135,6 @@ const carousel_key = ref('0'); const interval_time = ref(2000); // 轮播图是否滚动 const is_roll = ref(1); - // 内容 const new_content = computed(() => props.value?.content || {}); // 样式 diff --git a/src/components/model-custom/index.vue b/src/components/model-custom/index.vue index 40c698a4..a0bc2a86 100644 --- a/src/components/model-custom/index.vue +++ b/src/components/model-custom/index.vue @@ -46,6 +46,7 @@ const custom_height = computed(() => form.value.height + 'px'); const container = ref(null); const div_width = ref(0); const scale = ref(1); +// 获取当前宽度 和 缩放比例 onMounted(() => { if (container.value) { div_width.value = container.value.offsetWidth; diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue index 425ca0ed..ca48ddb5 100644 --- a/src/components/model-custom/model-custom-content.vue +++ b/src/components/model-custom/model-custom-content.vue @@ -21,7 +21,9 @@
+ +