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.
 
 
 
 
 
 

135 lines
5.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>分支排行榜 </title>
<style>
*{ margin:0px; padding:0px; }
body,html{ width:100%; height:110%; background: url("image/fzbj.jpg") no-repeat;background-size: 100% 105% }
div#rect{ width:100%; height:100%;overflow: hidden }
</style>
</head>
<body>
<div class="head" ><img src="image/bt.png" style="width:6.4rem;height: 2.07rem" > </div>
<div clas="mainphb" style= 'background: url("image/fz.png") no-repeat;background-size: 100% 100%;width: 6.4rem;height:2.27rem;margin-top: -0.38rem; ' >
<div class="phbtitle" style="font-size: 0.24rem;color: #ddab56;font-weight: bold; position: absolute;top:2.72rem;left:0.65rem">
<dt style="float: left">排名</dt><dt style="float: left;padding-left: 0.44rem">手机号</dt>
<dt style="float: left;padding-left: 0.3rem">金额(万元)</dt><dt style="float: left;padding-left: 0.25rem">上榜时间</dt><dt style="float: left;padding-left: 0.27rem">奖项</dt>
</div>
<div class="phbmain" style="font-size: 0.26rem;color: #ddab56; position: absolute;top:3.1rem;left:0.65rem;width: 5.75rem;overflow: hidden" id="tpcontainer">
</div>
</div>
<div class="fzlead" style="position: absolute;top:4.3rem">
<img src="image/jxsz.png" style="width:6.4rem;height: 5.58rem" >
</div>
<div class="fzlead" style="position: absolute;top:9.8rem;width: 6.4rem;text-align: center">
<a href="mphb.html"><img src="image/fhzym.png" style="width:2.09rem;height: 0.75rem" ></a>
</div>
<script type="text/javascript" src="js/jquery-2.1.1.min.js?t=2"></script>
<script type="text/javascript" src="js/rem.js"> </script>
<script type="text/javascript"><!--
$(function() {
var urll = location.href;
var wurl = urll.split('phb')[0];
var area= urll.split('=')[1];
var URL = wurl + 'phb/fzphb.php?a='+area;
//alert(URL);
$.ajax({
type: "GET",
url: URL,
success: function (msg) {
var htmltp = '';
var htmlds = '';
var prize1 = '';
var prize1 = '';
var prize2 = '';
var result = eval(msg);
var phbmobie = result[0]['phbmobie'];
var phbcardno = result[0]['phbcardno'];
var sumamount = result[0]['sumamount'];
var phbcreatetime = result[0]['phbcreatetime'];
// alert(sumamount);
if (sumamount >= 0) {
prize = "一等奖";
result.splice(0, 1);
} else {
phbmobie = "---";
prize = "---";
phbcardno = "---";
sumamount = "---";
phbcreatetime = "---";
}
if(result.length == 0){
phbmobie1 = "---";
prize1 ="---";
phbcardno1 = "---";
sumamount1 = "---";
phbcreatetime1 ="---";
}else{
var phbmobie1 = result[0]['phbmobie'];
var phbcardno1 = result[0]['phbcardno'];
var sumamount1 = result[0]['sumamount'];
var phbcreatetime1 = result[0]['phbcreatetime'];
}
//if (sumamount1) {
// result.splice(0, 1);
// } else {
// phbmobie1 = "---";
// prize1 ="---";
// phbcardno1 = "---";
// sumamount1 = "---";
// phbcreatetime1 ="---";
// }
htmlds +=
'<div class="prize1" style=" height:0.45rem;line-height: 0.45rem;width: 5.75rem;overflow: hidden;;text-align: center"">'
+ '<div style="float: left; width: 0.58rem;">1</div>'
+ '<div style="float: left; width: 1.28rem;">' + phbmobie + '</div>'
+ '<div style="float: left; width: 1.28rem;text-align: center">' + sumamount + '</div>'
+ '<div style="float: left; width: 1.08rem;text-align: center">' + phbcreatetime + '</div>'
+ '<div style="float: left; width: 1.28rem;font-size: 0.2rem;text-align: center">一等奖</div>'
+ '</div>'
+'<div class="prize1" style="height:0.45rem;line-height: 0.45rem; width: 5.75rem;overflow: hidden;text-align: center"">'
+ '<div style="float:left;width: 0.58rem;">2</div>'
+ '<div style="float: left; width: 1.28rem;">' + phbmobie1 + '</div>'
+ '<div style="float: left; width: 1.28rem;text-align: center">' +sumamount1 + '</div>'
+ '<div style="float: left; width: 1.08rem;text-align: center">' + phbcreatetime1 + '</div>'
+ '<div style="float: left; width: 1.28rem;font-size: 0.2rem;text-align: center">二等奖</div>'
+ '</div>'
;
$('#tpcontainer').append(htmlds);
}
})
})
--></script>
</body>
</html>