7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
115 lines
4.3 KiB
HTML
115 lines
4.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="renderer" content="webkit">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title>单场搭配排行报表-e订通</title>
|
|
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico" />
|
|
<link rel="stylesheet" href="layuiadmin/layui/css/layui.css">
|
|
<link rel="stylesheet" href="index.css">
|
|
<style>
|
|
.pcki-page {overflow-x: hidden; overflow-y: scroll; -webkit-overflow-scrolling: touch;}
|
|
#content #info .info-row {display: inline-block; width: 50%; margin-top: 5px;}
|
|
#content #info .info-row span {display: inline-block; width: 50%;}
|
|
#content #info .text{font-weight: bold; text-align: left;}
|
|
#dhs table td {padding: 5px;}
|
|
.ty-show-active {border: solid 1px blue;}
|
|
</style>
|
|
<script src="layuiadmin/layui/layui.js"></script>
|
|
<script src="js/function.js"></script>
|
|
<!-- jquery -->
|
|
<script src="js/jquery.min.js"></script>
|
|
<!-- 引入 -->
|
|
<!-- universal -->
|
|
<script src="js/universal/universal.js"></script>
|
|
<link rel="stylesheet" href="js/universal/universal.css?v=1">
|
|
</head>
|
|
<body style="background-color: #f0f0f0;">
|
|
<div class="pcki-page">
|
|
<!-- 顶部标题栏 -->
|
|
<div class="state_bar">
|
|
<div class="text_title">单场搭配排行报表</div>
|
|
<div class="btn_close" onclick="u_close_this_div();"><img src="images/close.png" width=30 height=30 border=0></div>
|
|
</div>
|
|
<hr class="layui-bg-gray">
|
|
<div id="show_table"></div>
|
|
<hr class="layui-bg-gray">
|
|
|
|
</div>
|
|
<script>
|
|
var is_mobile="n"
|
|
,orginal_dd = ""
|
|
,ty_data
|
|
|
|
layui.config({
|
|
base: './layuiadmin/'
|
|
}).extend({
|
|
index: 'lib/index'
|
|
}).use(['index', 'user','rate'], function(){
|
|
var $ = layui.$
|
|
,setter = layui.setter
|
|
,admin = layui.admin
|
|
,form = layui.form
|
|
,rate = layui.rate
|
|
|
|
var url="./?_m=tys&_a=dpphbb&tyh="+get_url_param("tyh");
|
|
$.ajax(
|
|
{
|
|
url:url,
|
|
contentType: "application/json",
|
|
method: 'POST',
|
|
success: function (res) {
|
|
var json_data=$.parseJSON(res);
|
|
ty_data = json_data
|
|
//alert(json_data.ver);
|
|
if(json_data.code==0){
|
|
//------------------本页返回的错误信息
|
|
layer.msg(json_data.msg);
|
|
}else if(json_data.code==1){
|
|
//------------------系统错误
|
|
var msg=json_data.msg;
|
|
var url1="error.htm?msg="+json_data.msg+"&btn_title="+json_data.btn_title+"&btn_url="+json_data.btn_url;
|
|
var obj1=window.parent.parent?window.parent.parent:window.parent; obj1.location.href=url1;
|
|
}else if(json_data.code==2){
|
|
//------------------重新登录
|
|
url1="login.htm?error_msg="+json_data.msg;
|
|
var obj1=window.parent.parent?window.parent.parent:window.parent; obj1.location.href=url1;
|
|
}else{
|
|
//------------------填充内容
|
|
console.log(["初始", json_data])
|
|
|
|
// safari中iframe内的页面宽度会莫名其妙多一点出来,此处强制将本页宽度修正
|
|
$(".pcki-page").width($(".layui-layer-iframe", top.document).width())
|
|
// 修复iphone端,点击按钮时自动滚到页面顶部以及附带的其他一些问题
|
|
$(".pcki-page").height($(".layui-layer-iframe", top.document).height())
|
|
|
|
//------------陈列
|
|
var html1=json_data.tb;
|
|
$("#show_table").html(html1);
|
|
}
|
|
}
|
|
,beforeSend: function() { u_start_loading() }
|
|
,complete: function() { u_stop_loading() }
|
|
,error: function() { layui.layer.msg("与服务器通信失败!") }
|
|
}
|
|
)
|
|
|
|
if(admin.screen()<2)
|
|
is_mobile="y";
|
|
$(window).on('resize', function(){
|
|
//自动
|
|
if(admin.screen()<2)
|
|
is_mobile="y";
|
|
});
|
|
|
|
$(".layui-layer-iframe", top.document).on("resize", function() {
|
|
// safari中iframe内的页面宽度会莫名其妙多一点出来,此处强制将本页宽度修正
|
|
$(".pcki-page").width($(".layui-layer-iframe", top.document).width())
|
|
// 修复iphone端,点击按钮时自动滚到页面顶部以及附带的其他一些问题
|
|
$(".pcki-page").height($(".layui-layer-iframe", top.document).height())
|
|
})
|
|
})
|
|
</script>
|
|
</body>
|
|
</html> |