Browse Source

2021-5-6.2

hwq 3 years ago
parent
commit
0dfd5eb6b4

+ 8 - 3
App.vue

@@ -21,11 +21,16 @@ export default {
 	methods: {
 		...mapMutations('user', ['setUserInfo', 'login','hasLogin']),
 		banben(){
+			const obj = this;
 			version({}).then(e =>{
 				console.log(e);
-				this.url = e.apk;
-				this.versionFu = e.version_code
+				obj.url = e.data.apk;
+				obj.versionFu = e.data.version_code
+				console.log(obj.versionFu);
 				let ver = plus.runtime.versionCode;
+				uni.showModal({
+					title:ver
+				})
 				if(+ver > +versionFu){
 					uni.showModal({
 						title: '友情提示',
@@ -33,7 +38,7 @@ export default {
 						success: (res) => {
 							if(res.confirm){
 								console.log('用户点击确定');
-								void plus.runtime.openURL(this.url);
+								void plus.runtime.openURL(obj.url);
 							}else if (res.cancel) {            
 								console.log('用户点击取消');
 							}

+ 5 - 5
manifest.json

@@ -80,15 +80,15 @@
             "splashscreen" : {
                 "androidStyle" : "default",
                 "android" : {
-                    "hdpi" : "static/启动图/qd480x762.png",
-                    "xhdpi" : "static/启动图/qd720x1242.png",
-                    "xxhdpi" : "static/启动图/qd1080x1882.png"
+                    "hdpi" : "static/start/qd480x762.png",
+                    "xhdpi" : "static/start/qd720x1242.png",
+                    "xxhdpi" : "static/start/qd1080x1882.png"
                 },
                 "iosStyle" : "default",
                 "ios" : {
                     "iphone" : {
-                        "portrait-896h@3x" : "static/启动图/qd1242x2688.png",
-                        "portrait-896h@2x" : "static/启动图/qd828x1792.png"
+                        "portrait-896h@3x" : "static/start/qd1242x2688.png",
+                        "portrait-896h@2x" : "static/start/qd828x1792.png"
                     }
                 }
             }

+ 1 - 1
pages/finance/recharge.vue

@@ -27,7 +27,7 @@
 			<tki-qrcode
 				:cid="cid"
 				ref="qrcode"
-				:val="val"
+				:val="address"
 				:size="size"
 				:unit="unit"
 				:background="background"

+ 0 - 0
static/启动图/qd1080x1882.png → static/start/qd1080x1882.png


+ 0 - 0
static/启动图/qd1125x2436.png → static/start/qd1125x2436.png


+ 0 - 0
static/启动图/qd1242x2208.png → static/start/qd1242x2208.png


+ 0 - 0
static/启动图/qd1242x2688.png → static/start/qd1242x2688.png


+ 0 - 0
static/启动图/qd480x762.png → static/start/qd480x762.png


+ 0 - 0
static/启动图/qd640x1136.png → static/start/qd640x1136.png


+ 0 - 0
static/启动图/qd640x960.png → static/start/qd640x960.png


+ 0 - 0
static/启动图/qd720x1242.png → static/start/qd720x1242.png


+ 0 - 0
static/启动图/qd750x1334.png → static/start/qd750x1334.png


+ 0 - 0
static/启动图/qd828x1792.png → static/start/qd828x1792.png