| 
					
				 | 
			
			
				@@ -29,9 +29,51 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				    console.log('options', opt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//console.log(opt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					var url=opt.path.replace('$', '?') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				    this.url=url+"&codeapp="+that.wxOpendata.code+'&shareID='+opt.shareID+'&type='+opt.type+'&isDmsOpen='+that.wxOpendata.isDmsOpen+'&isMarketingOpen='+that.wxOpendata.isMarketingOpen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if(that.wxOpendata.code){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						if(opt.shareID){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 var webviewurl=url+"&codeapp="+that.wxOpendata.code+'&shareID='+opt.shareID+'&type='+opt.type+'&isDmsOpen='+that.wxOpendata.isDmsOpen+'&isMarketingOpen='+that.wxOpendata.isMarketingOpen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 var webviewurl=url+"&codeapp="+that.wxOpendata.code+'&type='+opt.type+'&isDmsOpen='+that.wxOpendata.isDmsOpen+'&isMarketingOpen='+that.wxOpendata.isMarketingOpen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						this.url = webviewurl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						/* uni.setStorage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							key: 'webviewurl', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							data: webviewurl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							success: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								uni.navigateTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									url:'../login/empower' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}); */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						if(opt.shareID){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 var webviewurl=url+'&shareID='+opt.shareID+'&type='+opt.type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 var webviewurl=url+'&type='+opt.type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						uni.setStorage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							key: 'webviewurl', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							data: webviewurl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							success: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								uni.navigateTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									url:'../login/empower' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			        console.log(url) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				var newwebviewurl = uni.getStorageSync('webviewurl'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(newwebviewurl){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					newwebviewurl=newwebviewurl+"&codeapp="+that.wxOpendata.code+'&isDmsOpen='+that.wxOpendata.isDmsOpen+'&isMarketingOpen='+that.wxOpendata.isMarketingOpen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.url=newwebviewurl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					uni.removeStorageSync('webviewurl'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				uni.getLocation({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				    type: 'gcj02', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				    success: function (res) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,6 +113,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 |