Skip to content

Commit

Permalink
🔖 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdong916 committed Jun 8, 2021
1 parent 7d6f648 commit b5a9820
Show file tree
Hide file tree
Showing 2 changed files with 260 additions and 0 deletions.
209 changes: 209 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
<!DOCTYPE html>
<html lang="en" xmlns:v-touch="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="https://www.ip.cn/img/favicon.ico" type="image/x-icon"></link>
<meta charset="UTF-8">
<title>IP.cn - IP 地址查询 | 地理位置 | 手机归属地 | DNS查询 </title>
<meta http-equiv="Content-Type" content="text/html;harset=gb2312"/>
<meta name="robots" content="all" />
<meta name="bytedance-verification-code" content="hKpp9OM7LMNwV6Un+qXi" />
<meta name="sogou_site_verification" content="h1MrEkG4Iw"/>
<meta name="shenma-site-verification" content="36dfc853110d4de32539ac1395fd776e_1614650955"/>
<meta name="baidu-site-verification" content="code-c9Lkt7cHNQ" />
<meta name="360-site-verification" content="c7f8cbaa8ef8041576f849896a2f1e27" />
<meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<meta data-n-head="true" data-hid="keywords" name="keywords" content="ip,ip查询,手机ip,本机ip,我的ip,查看ip,ip查看,查ip,外网ip,ip地址查询,手机号,归属地"/>
<meta data-n-head="true" data-hid="description" name="description" content="专业提供ip查询、我的ip、手机ip、本机ip、ip地位查询、查看ip、地理位置查询、IP数据库、手机号归属地查询、在线转换、在线计算、天气预报、垃圾分类、汇率查询等工具。"/>
<script>
function calculateSize () {
var clientWidth = window.innerWidth || document.documentElement.clientWidth;
if (clientWidth>650) {
clientWidth = 650;
}
var htmlSize = clientWidth/7.5;
document.documentElement.style.fontSize = htmlSize + 'px';
}
calculateSize();
window.addEventListener('resize', calculateSize);
</script>
<link href="https://www.layuicdn.com/layui/css/layui.css" rel="stylesheet"></link>
<link href="https://www.ip.cn/css/front/common.css?v=20200829" rel="stylesheet"></link>
</head>
<body style="background-color: #F2F2F2;">
<ul class="layui-nav" style="width:7.5rem;padding: 0px;margin: auto;">
<li class="layui-nav-item"> <a href="/" style="color: #fff;">IP.cn 查询网 | IP查询</a></li>
<li class="layui-nav-item" >
<a href="javascript:;">功能大全</a>
<dl class="layui-nav-child">
<dd class="layui-this"><a href="/">IP查询</a></dd>
<dd><a href="/db" >手机电话归属查询</a></dd>
<dd><a href="/qiang.html">域名被墙查询</a></dd>
<dd><a href="/beian.html">域名备案查询</a></dd>
<dd><a href="/whois.html" >whois查询工具</a></dd>
<dd><a href="/shenfenzheng.html">身份证号查询</a></dd>
<dd><a href="/kd.html" >快递信息查询</a></dd>
<dd><a href="/huilv.html" >汇率信息查询</a></dd>
<dd><a href="/daishou.html" >火车票代售点查询</a></dd>
<dd><a href="/qishoudian.html">列车时刻查询</a></dd>
<dd><a href="/caipiao/index.html">彩票开奖查询</a></dd>
<dd><a href="/tiyu/index.html">体育比赛查询</a></dd>
</dl>
</li>
</ul>

<div class="page_nav">
<div class="page_nav_wrap">
<div class="pn_item nav_gray ">
<a href="/" class="active">IP信息查询</a>
</div>
<div class="pn_item nav_gray" >
<a href="/db" >手机电话归属查询</a>
</div>
<div class="pn_item nav_gray" >
<a href="/dns.html" >DNS查询</a>
</div>
<div class="pn_item nav_gray" >
<a href="/chnroutes.html" >IP列表查询</a>
</div>
</div>
</div>

<div class="ip_box" >
<input type="text" id="ip" name="ip" placeholder="请输入要查询的IP或者域名"
autocomplete="off" style="width:50%;" value=""
onkeyup = "validateValue(this)">
<button class="select_btn" onclick="search()">查询</button>
</div>

<div class="layui-card ip_card" >
<div class="layui-card-header ">您的IP信息</div>
<div class="layui-card-body">
<table class="layui-table" >
<tbody>
<tr >
<td style="width:120px;"><span id="tab0_title">您现在的IP:</span></td>
<th style="font-weight: bolder;" >
<div id="tab0_ip">加载中...</div>
</th >
</tr>
<tr>
<td style="width:120px;">所在地理位置:</td>
<th style="font-weight: bolder;" >
<div id="tab0_address">加载中...</div>
</th >
</tr>
</tbody>
</table>
</div>
</div>

<div class="layui-card ip_card" >
<div class="com-service">
<div class="footer-nav">
<ul>
<li><a href="/changdu.html" >在线转换</a></li>
<li><a href="/selfcalc.html" >在线计算</a></li>
<li><a href="/tianqi.html" >天气预报查询</a></li>
<li><a href="/laji.html" >垃圾分类查询</a></li>
<li><a href="/fanyi.html" >万能翻译</a></li>
<li><a href="/huilv.html" >汇率信息查询</a></li>
<li><a href="/md5.html" >加密解密</a></li>
<li><a href="/createPwd.html" >随机密码</a></li>
<li><a href="/xingzuo.html" >生活工具</a></li>
<li><a href="/chehao_index.html" >车牌号查询</a></li>
<li><a href="/caipiao/index.html">彩票开奖查询</a></li>
<li><a href="/tiyu/index.html" >体育比赛查询</a></li>
<li><a href="/djt.html">毒鸡汤</a></li>
<li><a href="/xyx.html" >笑一笑</a></li>
</ul>
</div>
</div>
</div>
<div class="footer">
<p>©2006-2020 厦门时空科技有限公司 版权所有</p>
<p>闽ICP备20013833号-1</p>
</div>

<span style="display:none">
<script type="text/javascript" src="https://s9.cnzz.com/z_stat.php?id=1278852728&web_id=1278852728"></script>
<script type="text/javascript" src="//js.users.51.la/20765349.js"></script>
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>
LA.init({
id: "1vGn5KEyNxI88WjH",
ck: "1vGn5KEyNxI88WjH"
})

</script>
</span>

<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://www.layuicdn.com/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script>
layui.use('element', function(){
var element = layui.element;
});

(function(){
var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();

(function(){
var el = document.createElement("script");
el.src = "https://sf1-scmcdn-tos.pstatp.com/goofy/ttzz/push.js?6e866a84be1914bfef983805ae36d3bc891642a32730d39ed0a1018b4e43b41802d5321cc01a4a08b8cda038ed0447fcebd233576998ef6224ea5787cad5f593";
el.id = "ttzz";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(el, s);
})()
</script>
<script>

var ip=$("#ip").val();
if(ip==null || ip==''){
getIp('',0);
}else{
search();
}
function search(){
var ip=$("#ip").val();
window.location.href='/ip/'+ip+'.html'
}
function validateValue(textbox) {
var IllegalString = "[`~!#$^&*()=|{}':;',\\[\\]<>/?~!#¥……&*()——|{}【】‘;:”“'。,、?]‘’";
var textboxvalue = textbox.value;
var index = textboxvalue.length - 1;

var s = textbox.value.charAt(index);

if (IllegalString.indexOf(s) >= 0) {
s = textboxvalue.substring(0, index);
textbox.value = s;
}

}
function getIp(ip,type){
$.ajax({
type : "GET",
dataType: "json",
async:true,
url : "/api/index?ip="+ip+"&type="+type,
success : function(vdata) {
if (vdata.code == 0) {
$("#tab0_ip").html(vdata.ip);
$("#tab0_address").html(vdata.address);
var domain=vdata.domain;
if(domain==0){
$("#tab0_title").html("您查询的IP");
}else{
$("#tab0_title").html("域名解析地址");
}


}
}
});
}
</script>
</body>
</html>
51 changes: 51 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
characters:
dependency: transitive
description:
name: characters
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.15.0"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.4.0"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0"
sdks:
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.17.0"

0 comments on commit b5a9820

Please sign in to comment.