From 43ec63cc13e7f235362106b4de9208d0b1abebc0 Mon Sep 17 00:00:00 2001 From: liuyaojun <175765754@qq.com> Date: Tue, 4 Jun 2024 14:27:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9F=A9=E5=BD=A2=E5=9C=86?= =?UTF-8?q?=E8=A7=92=E5=8A=9F=E8=83=BD=EF=BC=8C=E4=BB=85=E5=AF=B9=E7=9F=A9?= =?UTF-8?q?=E5=BD=A2=E4=BD=9C=E7=94=A8=20(#412)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/attributePostion.vue | 24 +---- src/components/attributeRounded.vue | 133 ++++++++++++++++++++++++++++ src/language/en.json | 3 +- src/language/pt.json | 1 + src/language/zh.json | 3 +- src/views/home/index.vue | 3 + 6 files changed, 142 insertions(+), 25 deletions(-) create mode 100644 src/components/attributeRounded.vue diff --git a/src/components/attributePostion.vue b/src/components/attributePostion.vue index 438317bd..253f8c95 100644 --- a/src/components/attributePostion.vue +++ b/src/components/attributePostion.vue @@ -27,30 +27,8 @@ > - - - - - - - - +
- - - + + + + + diff --git a/src/language/en.json b/src/language/en.json index 9457a416..2f269550 100644 --- a/src/language/en.json +++ b/src/language/en.json @@ -180,7 +180,8 @@ "offset_x": "X", "offset_y": "Y", "borderRadiusX": "Horizontal borderRadius", - "borderRadiusY": "Vertical borderRadius" + "borderRadiusY": "Vertical borderRadius", + "rx_ry": "Rounded" }, "setSizeTip": "Resize canvas", "tip": "tip", diff --git a/src/language/pt.json b/src/language/pt.json index d1d72d93..ff7aceb4 100644 --- a/src/language/pt.json +++ b/src/language/pt.json @@ -122,6 +122,7 @@ "blur": "Blur", "offset_x": "X", "offset_y": "Y", + "rx_ry": "Rounded", "picture_filter": "Filtro" } } \ No newline at end of file diff --git a/src/language/zh.json b/src/language/zh.json index c95f2b88..e2631e0e 100644 --- a/src/language/zh.json +++ b/src/language/zh.json @@ -214,7 +214,8 @@ "offset_x": "X轴", "offset_y": "Y轴", "borderRadiusX": "圆角水平半径", - "borderRadiusY": "圆角垂直半径" + "borderRadiusY": "圆角垂直半径", + "rx_ry": "半径" }, "setSizeTip": "调整画布尺寸", "tip": "提示", diff --git a/src/views/home/index.vue b/src/views/home/index.vue index d0004089..6b55a80b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -139,6 +139,8 @@ + + @@ -204,6 +206,7 @@ import attributePostion from '@/components/attributePostion.vue'; import attributeId from '@/components/attributeId.vue'; import attributeShadow from '@/components/attributeShadow.vue'; import attributeBorder from '@/components/attributeBorder.vue'; +import attributeRounded from '@/components/attributeRounded.vue'; import attributeFont from '@/components/attributeFont.vue'; import attributeColor from '@/components/attributeColor.vue';