From 75a0cc368608bfe8cd2102a3d24f7c4995030953 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期三, 28 八月 2024 20:23:56 +0800
Subject: [PATCH] feat(支付): 1

---
 App.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/App.vue b/App.vue
index eee314a..7d6db53 100644
--- a/App.vue
+++ b/App.vue
@@ -2,11 +2,16 @@
 import {
   config,
 } from 'common/config.js';
+import Vconsole from 'vconsole';
 import {
   getPlat
 } from 'common/util.js';
 	export default {
 		onLaunch: function(opt) {
+      uni.setStorageSync('DEBUG', opt.query?.debug == 'true');
+      if (uni.getStorageSync('DEBUG')) {
+        new Vconsole();
+      }
       /*console.log(opt)
       let platform = 2
       const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${opt.query.cid}`)
@@ -71,6 +76,10 @@
 		color: #DE2D35;
 	}
 
+	.color-green {
+		color: #3fde2d;
+	}
+
 	.font-bold {
 		font-weight: bolder;
 	}

--
Gitblit v1.9.1