MrShi
2026-05-22 fbc074229fd4736f1ae2793c9daebf04726188b2
small-program/pages/payment-success/payment-success.vue
@@ -72,14 +72,14 @@
               height: this.height,
               correctLevel: 2
            })
            setTimeout(() => {
            this.$nextTick(() => {
               uni.canvasToTempFilePath({
                  canvasId: 'qrcodeCanvas',
                  success: (res) => {
                     this.qrcodeImage = res.tempFilePath
                  }
               }, this)
            }, 100)
            })
         },
         goHome() {
            uni.switchTab({
@@ -209,11 +209,10 @@
      height: 360rpx;
      border-radius: 8rpx;
      box-sizing: border-box;
      position: relative;
      canvas {
         position: absolute;
         top: 0;
         left: 0;
         position: fixed;
         top: -100%;
         left: -100%;
         opacity: 0;
      }
   }