fix(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-25 19:20:24 +08:00
parent a02257408d
commit dcbd0eaae5
2 changed files with 3 additions and 3 deletions

View File

@@ -30,8 +30,8 @@ page {
position: absolute; position: absolute;
width: 280px; width: 280px;
height: 280px; height: 280px;
top: 45%; top: 47%;
left: 68%; left: 69%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
} }

View File

@@ -49,7 +49,7 @@ Taro.useLoad((e) => {
const getCode = () => { const getCode = () => {
var qr = new UQRCode(); var qr = new UQRCode();
qr.data = Taro.getStorageSync("pay_code"); qr.data = Taro.getStorageSync("pay_code");
qr.size = 160; qr.size = 150;
qr.make(); qr.make();
var canvasContext = Taro.createCanvasContext("qrcode"); var canvasContext = Taro.createCanvasContext("qrcode");
qr.canvasContext = canvasContext; qr.canvasContext = canvasContext;