85 行
2.1 KiB
HTML
可执行文件
85 行
2.1 KiB
HTML
可执行文件
<!--[1.9.5]-->
|
|
<style type="text/css">
|
|
.systemInfo-img{
|
|
height: 84px;
|
|
line-height: 1.3em;
|
|
margin: 20px auto;
|
|
width: 84px;
|
|
display: block;
|
|
}
|
|
|
|
</style>
|
|
<div>
|
|
<p>
|
|
<a href=""><img class="systemInfo-img" src="__PUBLIC__/Install/images/logo.png" alt=""></a>
|
|
</p>
|
|
<table class="layui-table" lay-skin="line">
|
|
<colgroup>
|
|
<col width="100">
|
|
<col width="300">
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th>基本信息</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>服务类型</td>
|
|
<td>{$data['juris']}</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>站点秘钥</td>
|
|
<td class="sign">
|
|
<notempty name="data['sign']">
|
|
{$data['sign']}
|
|
<else />
|
|
暂无 <a id="makeSign" href="javascript:;" style="color: blue">点击生成</a>
|
|
</notempty>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>网站名称</td>
|
|
<td>{$data['name']}</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>网站URL</td>
|
|
<td>{$arr['url']}</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>网站IP</td>
|
|
<td>{$arr['ip']}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<script>
|
|
layui.use(['element','layer'],function () {
|
|
$("#makeSign").click(function () {
|
|
var loader = layer.load(1, {
|
|
shade: [0.5,'#fff'] //0.1透明度的白色背景
|
|
});
|
|
$.ajax({
|
|
url:"{:U('makeSign')}",
|
|
success:function (re) {
|
|
if(re.status){
|
|
//生成之后填入
|
|
$(".sign").html(re.sign);
|
|
layer.close(loader);
|
|
}else{
|
|
layer.msg(re.msg,function () {
|
|
layer.close(loader);
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
})
|
|
|
|
</script> |