Files
itooldog/view/index/checkweixin.html
2023-03-21 15:26:43 +08:00

128 lines
7.1 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>{$my.Think.config.web.checkweixin.title}</title>
<meta name="applicable-device" content="pc,mobile"/>
<meta http-equiv="Cache-Control" content="no-transform"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta name="keywords" content="{$my.Think.config.web.checkweixin.keywords}"/>
<meta name="description" content="{$my.Think.config.web.checkweixin.description}"/>
<meta name="renderer" content="webkit"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<link rel="icon" href="/favicon.ico" mce_href="/favicon.ico" type="image/x-icon"/>
<link href="/static/style/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="/static/style/tool.css" rel="stylesheet" type="text/css"/>
<!--[if lt IE 9]>
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
<script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->
{:$my.Think.config.web.header}
</head>
<body>{include file="header" /}
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="accordion" id="accordion2">
<div class="accordion-group">
<ul class="nav nav-tabs hbflag">
<li role="presentation" class="active"><a href="/checkweixin/">微信域名检测工具</a></li>
<li role="presentation"><a href="/htaccess2nginx/">htaccess转nginx</a></li>
<li role="presentation"><a href="/shortcut/">生成桌面快捷方式</a></li>
<li role="presentation"><a href="/px2rem/">rem与px转换工具</a></li>
<li role="presentation"><a href="/favicon/">在线制作ico图标</a></li>
<li role="presentation"><a href="/createmeta/">生成网页Meta标签</a></li>
<li role="presentation"><a href="/refresh/">在线定时刷新网址</a></li>
<li role="presentation" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"
href="javascript:;" role="button"
aria-haspopup="true" aria-expanded="false">更多工具<span
class="caret"> </span></a>
<ul class="dropdown-menu">
<li role="presentation"><a href="/tiaoseban/">在线调色板</a></li>
<li role="presentation"><a href="/gzip/">网站Gzip压缩检测</a></li>
<li role="presentation"><a href="/checkurl/">网站死链检测</a></li>
<li role="presentation"><a href="/whois/"> Whois查询工具</a></li>
<li role="presentation"><a href="/chaicp/">ICP网站备案查询</a></li>
<li role="presentation"><a href="/chameta/">Meta标签优化分析</a></li>
<li role="presentation"><a href="/checkkeyword/">网页关键词密度检测</a></li>
<li role="presentation"><a href="/webstatus/">HTTP状态码查询</a></li>
</ul>
</li>
</ul>
<div class="panel">
<form id="form1help" class="form-horizontal">
<div class="form-group">
<div class="col-sm-9">
<input class="form-control" id="txt_url" name="txt_url" type="text" value=""
placeholder="输入要查询的域名,如:http://{$_SERVER.HTTP_HOST}"/>
</div>
<div class="col-sm-3">
<button type="button" class="btn btn-success" id="chameta" onclick="check_meta()">
立即检测
</button>
</div>
</div>
</form>
<div id="metachecktb">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th class="titcolor">
检测域名
</th>
<th class="titcolor">
微信域名检测结果
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span id="check_url">请在上面地址栏中,输入您要做微信检测的域名</span>
</td>
<td>
<span id="check_result"></span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="alert alert alert-success alert-dismissible"><h4>微信域名检测工具</h4>
<p>使用微信域名检测工具可以实时检测域名是否被微信屏蔽,检测您的域名在微信是否被拦截等 。</p></div>
<div class="accordion-group"></div>
</div>
</div>
</div>
</div>
<script src="/static/script/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/static/script/bootstrap.min.js" type="text/javascript"></script>
<script src="/static/script/tool.js" type="text/javascript"></script>
<script>
function check_meta() {
$('#chameta').text('正在检测,请稍候……');
$('#check_result').text('正在检测,请稍候……');
var txt_url = $("#txt_url").val();
$("#check_url").html('<strong>' + txt_url + '</strong>');
$.post('/api/', {txt_url: txt_url, type: 'checkweixin'}, function (datas) {
if (datas.status == 1) {
if (datas.code == 1) {
$("#check_result").html("<img src='/static/images/error.png'> <font color='red'>" + datas.msg + "</font>")
} else {
$("#check_result").html("<img src='/static/images/ok.png'> <font color='green'>" + datas.msg + "</font>")
}
} else {
pcjson_com_msg($("#txt_url"), datas.msg)
}
$('#chameta').text('立即检测')
})
}</script>
{include file="nav" /}
{include file="footer" /}
</body>
</html>