var selfUrl = 'https://rc.xiaomai5.com/xmGroup/index.html#/home'
var link = 'https://open.weixin.qq.com/connect/oauth2/authorize?appId=wx5c5a1fb71ecab7bc'+'&redirect_uri=' + encodeURIComponent(selfUrl)+ '%26'+ 'appid%3D' + 'wx5c5a1fb71ecab7bc'+ '&response_type=code&scope=snsapi_userinfo&state=state#wechat_redirect'