feat: ntrp逻辑变更 & 替换海报二维码

This commit is contained in:
2025-10-06 14:52:31 +08:00
parent f2e9d20094
commit 05b941613c
11 changed files with 430 additions and 207 deletions

View File

@@ -72,7 +72,7 @@ const Poster = (props, ref) => {
.exec(async (res) => {
const canvas = res[0].node;
const ctx = canvas.getContext("2d");
const dpr = Taro.getSystemInfoSync().pixelRatio;
const dpr = Taro.getWindowInfo().pixelRatio;
const width = 600; // px
const height = 1000;