From d80e27bbd8ad3daee010645886c1725574ef2d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Wed, 16 Oct 2024 16:43:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E9=AD=94?= =?UTF-8?q?=E6=96=B9=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-img-magic/model-img-magic-content.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/model-img-magic/model-img-magic-content.vue b/src/components/model-img-magic/model-img-magic-content.vue index 37f75c16..4f1938aa 100644 --- a/src/components/model-img-magic/model-img-magic-content.vue +++ b/src/components/model-img-magic/model-img-magic-content.vue @@ -17,6 +17,11 @@ 等比剪切 + + + 等比缩放 + +
@@ -80,7 +85,7 @@ const props = defineProps({ }, }); const style_list = ['heng2', 'shu2', 'shu3', 'shang2xia1', 'shang1xia2', 'zuo1you2', 'zuo2you1', 'tianzige', 'shang2xia3', 'zuo1youshang1youxia2', 'a-1ge', 'a-4x4']; - +const img_fit_10 = 'contain'; // 风格 const style_show_list = [ [{ start: {x: 1, y: 1}, end: {x: 4, y: 2}, img: [], img_link: {} }, { start: {x: 1, y: 3},end: {x: 4, y: 4},img: [], img_link: {}}], // 风格1