function Copytaobao(){ var ok=window.clipboardData.setData("Text","http://item.taobao.com/item.htm?id=40646625089"); if(ok) { alert("复制成功,请在新窗口按Ctrl + V 粘贴并打开"); }else{ alert("对不起,复制失败! 请允许JS访问剪切板"); } } function RefreshCode(obj){ obj.src = obj.src + "&code=" + Math.random(); } function kuang(val){ document.getElementById('div1').style.display='block'; document.getElementById('div3').style.display='block'; t=document.getElementById("title-b"); // 找到元素 n=document.getElementById("text-b"); // 找到元素 var f=val[1]; if(f==""){ t.innerHTML=" 您将购买以下域名"; // 改变内容 n.innerHTML="
 域 名:" + val[0]+ "(淘宝下订单)
 价 格:" + val[1]+ "元
 用 户:" + val[2]+ "
 购买方式: 淘宝订单账户余额
   
  
使用说明:

1. 在我的淘宝,已买到的宝贝,可以查看。没有订单号,可以点击淘宝链接下单付款

2. 点击立即购买,域名将转到您的账号下,用户中心域名管理里可以查看
"; // 改变内容 } function paytypey(val){ t=document.getElementById("text-b"); // 找到元素 t.innerHTML="
 域 名:" + val[0]+ "(账户充值)
 价 格:" + val[1]+ "元
 用 户:" + val[2]+ "
 购买方式: 淘宝订单账户余额
  
使用说明:

1. 余额付款就是使用您账户的余额进行付款,如果您会员没有款请先充值

2. 点击立即购买,域名将转到您的账号下,用户中心域名管理里可以查看
"; // 改变内容 } function closebe(){ document.getElementById('div1').style.display='none'; document.getElementById('div3').style.display='none'; } function anquan360(domain){ window.open("http://webscan.360.cn/index/checkwebsite?url="+domain); } function anquanqq(domain){ window.open("http://guanjia.qq.com/online_server/result.html?url="+domain); } function weixinsaq(domain){ var wxspan=domain.replace(".","__"); wxspan=wxspan.replace(".","__"); $("#wx_" + wxspan).html(""); $.ajax({ url:"/style/info/wxurl_query.asp?type=&domain=" + domain + "&rand=" + Math.random(), dataType:"json", async:true, type:"get", success:function(data){ if (data.status==1) { $("#wx_" + wxspan).html(""); }else if (data.status==2) { $("#wx_" + wxspan).html(""); }else if (data.status==9) { $("#wx_" + wxspan).html(""); }else if (data.status==8) { $("#wx_" + wxspan).html("未知"); }else if (data.status==0) { $("#wx_" + wxspan).html("失败"); }else{ $("#wx_" + wxspan).html("失败"); } }, error:function(XMLHttpRequest, textStatus, errorThrown) { alert("操作失败"); } }); } function checknum(value) { var Regx = /^[A-Za-z0-9]*$/; if (Regx.test(value)) { return true; } else { return false; } } function RefreshCode(obj){ obj.src = obj.src + "&code=" + Math.random(); } function denglu(){ //弹出登录 $("body").append("
"); $("#mask").addClass("mask").fadeIn("slow"); $("#LoginBox").fadeIn("slow"); } function gbdenglu(){ $("#LoginBox").fadeOut("fast"); $("#mask").css({ display: 'none' }); } $(function ($) { //弹出登录 $("#example").hover(function () { $(this).stop().animate({ opacity: '1' }, 600); }, function () { $(this).stop().animate({ opacity: '0.6' }, 1000); }).on('click', function () { $("body").append("
"); $("#mask").addClass("mask").fadeIn("slow"); $("#LoginBox").fadeIn("slow"); }); // //按钮的透明度 $("#loginbtn").hover(function () { $(this).stop().animate({ opacity: '1' }, 600); }, function () { $(this).stop().animate({ opacity: '0.8' }, 1000); }); //文本框不允许为空---按钮触发 $("#loginbtn").on('click', function () { var txtName = $("#txtName").val(); var txtPwd = $("#txtPwd").val(); if (txtName == "" || txtName == undefined || txtName == null) { if (txtPwd == "" || txtPwd == undefined || txtPwd == null) { $(".warning").css({ display: 'block' }); } else { $("#warn").css({ display: 'block' }); $("#warn2").css({ display: 'none' }); } } else { if (txtPwd == "" || txtPwd == undefined || txtPwd == null) { $("#warn").css({ display: 'none' }); $(".warn2").css({ display: 'block' }); } else { $(".warning").css({ display: 'none' }); } } }); //文本框不允许为空---单个文本触发 $("#txtName").on('blur', function () { var txtName = $("#txtName").val(); if (txtName == "" || txtName == undefined || txtName == null) { $("#warn").css({ display: 'block' }); } else { $("#warn").css({ display: 'none' }); } }); $("#txtName").on('focus', function () { $("#warn").css({ display: 'none' }); }); // $("#txtPwd").on('blur', function () { var txtName = $("#txtPwd").val(); if (txtName == "" || txtName == undefined || txtName == null) { $("#warn2").css({ display: 'block' }); } else { $("#warn2").css({ display: 'none' }); } }); $("#txtPwd").on('focus', function () { $("#warn2").css({ display: 'none' }); }); //关闭 $(".close_btn").hover(function () { $(this).css({ color: 'black' }) }, function () { $(this).css({ color: '#999' }) }).on('click', function () { $("#LoginBox").fadeOut("fast"); $("#mask").css({ display: 'none' }); }); });