You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

121 lines
3.8 KiB

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<!--#include file="/widget/head.html"-->
<style>
.col-md-4, .col-md-1 {
display: inline !important;
float: left;
}
.inline {
display: inline !important;
}
</style>
</head>
<body class="layui-layout-body" layadmin-themealias="default">
<div id="wrapper">
<!--#include file="/widget/nav.html"-->
<div id="page-wrapper" class="layui-body layadmin-tabsbody-item layui-show layui-fluid layui-row layui-col-space15">
<div class="layui-card" id="card-page-wrapper">
<div class="row">
<div class="container" style="margin-left: 10px">
<div class="col-md-1" style="width:40px;">
<p style="font-size: 18px;line-height: 35px;float: right">Uid:</p>
</div>
<div class="col-md-4" style="width:200px;">
<input type="text" class="form-control" id="uid" placeholder="Enter Uid">
</div>
<div class="col-md-1">
<button type="button" class="layui-btn pull-right" id="sele">立刻查询</button>
</div>
</div>
</div>
<div class="row table-responsive" id="form" style="width:30%">
<table class="table table-striped table-bordered table-hover" id="table">
<tr>
<th style="width:150px;">总付费金额(美金)</th>
<th id="CreateTime"></th>
</tr>
<tr>
<td style="width:150px;">主线关卡进度</td>
<td id="CreateDeviceId"></td>
</tr>
<tr>
<th style="width:150px;">试炼之塔进度</th>
<th id="CreateIpAddr"></th>
</tr>
<tr>
<td style="width:150px;">boss战关卡进度</td>
<td id="Nick"></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<!--#include file="/widget/tail.html"-->
<script type="text/javascript">
$("#sele").click(function () {
var uid = $("#uid").val();
$.get(Page.SvrIp+"/api/select_cus",
{
uid: uid,
token: cookie.get("token"),
AccountType: 0
},
function (d) {
debugger
if (d.code == 0) {
$("#CreateTime").html(d.totalPayMoneyUSD)
$("#CreateDeviceId").html(d.Mainline)
$("#CreateIpAddr").html(d.tower)
$("#Nick").html(d.matePveBoss)
} else {
layer.alert('找不到该账号!/或者不在线', { icon: 2 });
}
});
});
function getLocalTime(nS) {
return new Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/, ' ');
}
$(function () {
initPage('关卡信息');
});
$(window).load(function () {
var c = document.getElementById("cus");
c.parentNode.setAttribute("class", "gray");
c.parentNode.parentNode.parentNode.setAttribute("class", "active")
c.parentNode.parentNode.setAttribute("class", "nav nav-second-level collapse in")
var b = c.parentNode.parentNode.parentNode.children[0].children[1];
})
</script>
<script src="../js/coupon.js"></script>
</body>
</html>