瀏覽代碼

✨ feat:

zbb 1 周之前
父節點
當前提交
7f326fbdf4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      utils/poster.js

+ 2 - 2
utils/poster.js

@@ -5,7 +5,7 @@
  */
 
 const W = 750
-const H = 780
+const H = 820
 const PADDING = 40
 
 const roundRect = (ctx, x, y, w, h, r) => {
@@ -201,7 +201,7 @@ export const generateCardPoster = async (cardInfo = {}, qrInfo = {}) => {
 
 				// ===== 3. 白色卡片 =====
 				const cardX = PADDING, cardY = 60
-				const cardW = W - PADDING * 2, cardH = 760
+				const cardW = W - PADDING * 2, cardH = 700
 				ctx.save()
 				ctx.shadowColor = 'rgba(0,0,0,0.08)'
 				ctx.shadowBlur = 24