700 }); $('.freeSystem ul li').on("mouseenter", function () { $(this).find('.item1').addClass('on').parent().siblings().find('.item1') .removeClass('on'); $(this).find('.item2').addClass('on').parent().siblings().find('.item2') .removeClass('on'); }); $('.set_4_button1s').on('click', function () { window.open("https://goumai.ioswx.cn/", "_blank"); }); $('.freeSystem ul li').hover(function () { $(this).find('.item2 .bgcolor .name').addClass('bounceInLeft'); $(this).find('.item2 .bgcolor .infor').addClass('bounceInRight'); }, function () { $(this).find('.item2 .bgcolor .name').removeClass('bounceInLeft'); $(this).find('.item2 .bgcolor .infor').removeClass('bounceInRight'); }); jQuery(".slideBox").slide({ mainCell: ".bd ul", autoPlay: true }); $('.category .item').hover(function () { $(this).find('.pictrue').addClass('bounceIn'); }, function () { $(this).find('.pictrue').removeClass('bounceIn'); }); $('.outline').click(function () { window.t = $(this); var _this = $(this), opt = _this.data('opt'); window.location.href = "/?article/"; }); $('.details').click(function () { window.t = $(this); var _this = $(this), id = _this.data('id'); window.location.href = "/?article/"; }); $('.Upgrade').click(function () { window.open("https://goumai.ioswx.cn/", "_blank"); }); $('.mask').click(function () { $('.mask').css('display', 'none'); $('.ewmPay').removeClass('on'); location.reload(); }); $('.ewmPay .iconfont').click(function () { $('.mask').css('display', 'none'); $('.ewmPay').removeClass('on'); location.reload(); }); // $('.caseDetails').click(function () { // window.t = $(this); // var _this = $(this),id =_this.data('id'); // window.location.href="/anlizhongxin; // }); $('.qqcs').on('click', function () { window.open("http://wpa.qq.com/msgrd?v=3&uin=" + qq + "&site=qq&menu=yes"); }); $('#essentialInformation').click(function () { var username = $("input[name='username']").val(); var phone = $("input[name='phone']").val(); var qq = $("input[name='qq']").val(); var rsd = /^1[3|4|5|6|7|8|9]\d{9}$/; var qqzz = /[1-9][0-9]{4,}$/; var re = new RegExp(rsd); if (!username) { layer.msg('填写您的姓名', { icon: 5 }); return false; } if (!phone) { layer.msg('填写您的联系电话', { icon: 5 }); return false; } if (!re.test(phone)) { layer.msg('手机号有误', { icon: 5 }); return false; } if (!qqzz.test(qq)) { layer.msg('QQ号有误', { icon: 5 }); return false; } $.ajax({ url: "https://goumai.ioswx.cn/", type: "post", datatype: "json", data: { username: username, phone: phone, qq: qq }, success: function (res) { if (res.code == 1) { layer.msg('提交成功!'); $('.mask').css('display', 'block '); $('.ewmPay').addClass('on'); } else if (res.code == 3) { layer.msg('手机号已存在!'); } else { layer.msg('提交失败!'); } } }) }) })