var kefu='/'; var ybty_link = { kyApp:'https://v8fo.ga52ep.app/dl?os=android&download=download', kytyApp:'https://ga9.sk/C5674', kyPc:'https://ga9.sk/C5674', kyH5:'https://ga9.sk/C5674', ayxApp:'https://ga9.sk/C5674', ayxPc:'https://ga9.sk/C5674', ayxH5:'https://ga9.sk/C5674', jyApp:'https://v8fo.ga52ep.app/dl?os=android&download=download', jyPc:'https://ga9.sk/C5674', jyH5:'https://v8fo.ga52ep.app/dl?os=android&download=download', } function isPc(){ if(window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)) { return false; // 移动端 }else{ return true; // PC端 } } function _Reg(key){ if((key.indexOf('kyH5')>=0 || key.indexOf('ayxH5')>=0 || key.indexOf('jyH5')>=0) && isPc() ){ switch (key) { case 'kyH5': window.open(ybty_link['kyPc']); break; case 'ayxH5': window.open(ybty_link['ayxPc']); break; case 'jyH5': window.open(ybty_link['jyPc']); break; } } else{ window.open(ybty_link[key]); } } function _Kefu(){ if(kefu){window.open(kefu);} }