From 7559581dfafc6419dd2190f433be86b4c1ce62a4 Mon Sep 17 00:00:00 2001 From: xxss0903 <353768356@qq.com> Date: Sat, 28 Dec 2024 13:56:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=AC=E5=8F=B8=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=80=E5=A7=8B=E8=A7=92=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DrawStampUtilsDemo.vue | 22 +++++++++++++++++++++- src/i18n/index.ts | 8 ++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/DrawStampUtilsDemo.vue b/src/DrawStampUtilsDemo.vue index 5c585d3..9e42a34 100644 --- a/src/DrawStampUtilsDemo.vue +++ b/src/DrawStampUtilsDemo.vue @@ -176,6 +176,26 @@ {{ t('stamp.company.margin') }}: + + @@ -722,7 +742,7 @@ const textDistributionFactor = ref(3) const adjustEllipseText = ref(false) // 调整椭圆文字因子 const adjustEllipseTextFactor = ref(0.5) -// 文字边距,控制公司名称文字距离椭圆边缘的距离(单位:毫米) +// 文字边距,控制公���名称文字距离椭圆边缘的距离(单位:毫米) const textMarginMM = ref(1) // 默认值为1mm // 编码边距,控制印章编码距离椭圆边缘的距离(单位毫米) const codeMarginMM = ref(1) // 默认值为1mm diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 13e08b9..e3a4013 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -36,7 +36,9 @@ const messages = { fontWeight: '字体粗细', compression: '压缩比例', distribution: '分布因子', - margin: '边距 (mm)' + margin: '边距 (mm)', + startAngle: '起始角度 (°)', + rotateDirection: '旋转方向' }, stampType: { title: '印章类型列表设置', @@ -192,7 +194,9 @@ const messages = { fontWeight: 'Font Weight', compression: 'Compression Ratio', distribution: 'Distribution Factor', - margin: 'Margin (mm)' + margin: 'Margin (mm)', + startAngle: 'Start Angle (°)', + rotateDirection: 'Rotate Direction' }, stampType: { title: 'Stamp Type List Settings',