|  | @@ -7,8 +7,12 @@ import { showDialog } from 'vant';
 | 
	
		
			
				|  |  |  export const gotoMemberCenter = () => {
 | 
	
		
			
				|  |  |    // postMessage({ api: 'back' });
 | 
	
		
			
				|  |  |    const browserInfo = browser();
 | 
	
		
			
				|  |  | +  let pathname = '/'
 | 
	
		
			
				|  |  | +  if (/gym.lexiaoya.cn/.test(location.origin)) {
 | 
	
		
			
				|  |  | +    pathname = '/mdaya/'
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |    if (browserInfo.isApp) {
 | 
	
		
			
				|  |  | -    const url = window.location.origin + `/#/member`;
 | 
	
		
			
				|  |  | +    const url = window.location.origin + pathname + `#/member`;
 | 
	
		
			
				|  |  |      postMessage({
 | 
	
		
			
				|  |  |        api: 'openWebView',
 | 
	
		
			
				|  |  |        content: {
 | 
	
	
		
			
				|  | @@ -18,7 +22,7 @@ export const gotoMemberCenter = () => {
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      return;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  | -  location.href = location.origin + `/#/member`;
 | 
	
		
			
				|  |  | +  location.href = window.location.origin + pathname + `#/member`;
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**验证是否是会员 */
 |