Browse Source

图片文件名

Lina 3 years ago
parent
commit
f051bde1b1

+ 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('用户点击取消');
 							}

+ 1 - 0
manifest.json

@@ -80,6 +80,7 @@
                     "hdpi" : "static/startpic/qd480x762.png",
                     "xhdpi" : "static/startpic/qd720x1242.png",
                     "xxhdpi" : "static/startpic/qd1080x1882.png"
+
                 },
                 "iosStyle" : "default",
                 "ios" : {

+ 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"

BIN
static/start/qd1080x1882.png


BIN
static/start/qd1125x2436.png


BIN
static/start/qd1242x2208.png


BIN
static/start/qd1242x2688.png


BIN
static/start/qd480x762.png


BIN
static/start/qd640x1136.png


BIN
static/start/qd640x960.png


BIN
static/start/qd720x1242.png


BIN
static/start/qd750x1334.png


BIN
static/start/qd828x1792.png