var device = layui.device('mobile');
if(!device.mobile){
window.location.href="http://xxx.com.cn/";
}