tangning 14 時間 前
コミット
e99b5b0597
1 ファイル変更5 行追加5 行削除
  1. 5 5
      src/view/case/photos/canvas-photo-editor.js

+ 5 - 5
src/view/case/photos/canvas-photo-editor.js

@@ -927,12 +927,12 @@ export class CanvasPhotoEditor {
 
       // 页码
       ctx.fillStyle = '#666666'
-      ctx.font = `${16 * this.scale}px sans-serif`
+      ctx.font = `${16}px sans-serif`
       ctx.textAlign = 'right'
       ctx.fillText(
         `第 ${pageIndex + 1 + this.pageCount} 页`,
-        pageX + this.pageWidth - (20 * this.scale),
-        this.pageHeight - (50 * this.scale)
+        pageX + this.pageWidth - (75),
+        this.pageHeight - (50)
       )
 
       // 绘制图片(重构核心:调用独立方法)
@@ -1583,7 +1583,7 @@ export class CanvasPhotoEditor {
           ctx.textAlign = 'right'
           ctx.fillText(
             `第 ${pageIndex + 1 + this.pageCount} 页`,
-            this.pageWidth - (20),
+            this.pageWidth - (75),
             this.pageHeight - (50)
           )
           // ==========================================
@@ -1747,7 +1747,7 @@ export class CanvasPhotoEditor {
           ctx.textAlign = 'right'
           ctx.fillText(
             `第 ${pageIndex + 1 + this.pageCount} 页`,
-            this.pageWidth - (20),
+            this.pageWidth - (75),
             this.pageHeight - (50)
           )
           // ==========================================