摘要:
//转时间格式function getDateTime(date) { var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var hh = date.getHours() 阅读全文
posted @ 2017-09-26 14:22
就酱样Y
阅读(248)
评论(0)
推荐(0)
摘要:
//既能获取中文url也能英文function getUrlParam(key) { // 获取参数 var url = window.location.search; // 正则筛选地址栏 var reg = new RegExp("(^|&)" + key + "=([^&]*)(&|$)"); 阅读全文
posted @ 2017-09-26 14:18
就酱样Y
阅读(795)
评论(0)
推荐(0)
摘要:
*{ -webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids */ } 阅读全文
posted @ 2017-09-26 14:15
就酱样Y
阅读(2002)
评论(0)
推荐(0)
摘要:
1/新浪定位 <script src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js"></script> var city = remote_ip_info['city']; alert(city); 2/百度ip定位 v 阅读全文
posted @ 2017-09-26 13:48
就酱样Y
阅读(269)
评论(0)
推荐(0)
浙公网安备 33010602011771号