完善 #295
@ -31,7 +31,7 @@
 | 
			
		||||
				this.closeModal();
 | 
			
		||||
			},
 | 
			
		||||
			confirm() {
 | 
			
		||||
				// ifdef APP-PLUS
 | 
			
		||||
				// #ifdef APP-PLUS
 | 
			
		||||
				if (plus.os.name == "Android") {
 | 
			
		||||
					const appurl = "market://details?id=com.tencent.mobileqq"; //这个是通用应用市场,如果想指定某个应用商店,需要单独查这个应用商店的包名或scheme及参数
 | 
			
		||||
					plus.runtime.openURL(appurl);
 | 
			
		||||
@ -42,7 +42,7 @@
 | 
			
		||||
				// endif
 | 
			
		||||
				// ifdef H5
 | 
			
		||||
				this.closeModal();
 | 
			
		||||
				// endif
 | 
			
		||||
				// #endif
 | 
			
		||||
			},
 | 
			
		||||
			closeModal() {
 | 
			
		||||
				uni.navigateBack();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user