Commit 229bb38b authored by houdong's avatar houdong

交易页面加周排名

parent 8c241d7a
......@@ -1073,7 +1073,7 @@ class PkTopAction extends IdentityAction{
$userId = I('userId', '',intval);
$userName = I('userName', '');
$gid=I('gid',$this->GID,intval);
if(!$userId||!$userName){
if(!$userId){
$this->ajaxReturn(['status' =>0,'info'=>'非法参数']);
}
$gInfo=M('Group')->field('group_id,web_id,category,name,startTime,endTime')->where(['group_id'=>$gid])->find();
......
......@@ -40,14 +40,7 @@
AppBridge.init();
//页面默认刷新
var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。
// if(!userId){
// AppBridge.refreshPage({},function (userId,key) {
// if('{$refresh}'=='1'){
// // location.href='/Allex?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}';
// location.replace('/PkTop?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}');
// }
// });
// }
</script>
</head>
<body style="min-height: 100%;background-color: #C60000;">
......@@ -87,15 +80,15 @@
<div class="award-tab-panel" >
<div class="panel-btns">
<span class="panel-btn <eq name='order' value='zongup'>active</eq> " order__="zongup" >
<span class="panel-btn <eq name='order' value='zongup'>active</eq> " >
<a href="/PkTop/phbOther?order=zongup">总盈利率</a>
</span>
<span class="panel-btn center <eq name='order' value='lastmonthup'>active</eq> " order__="lastmonthup" >
<span class="panel-btn center <eq name='order' value='lastmonthup'>active</eq> " >
<a href="/PkTop/phbOther?order=lastmonthup">月盈利率</a>
</span>
<span class="panel-btn <eq name='order' value='lastdayup'>active</eq> " order__="lastdayup" >
<span class="panel-btn <eq name='order' value='lastdayup'>active</eq> " >
<a href="/PkTop/phbOther?order=lastdayup">日盈利率</a>
</span>
......@@ -137,9 +130,6 @@
$(function(){
window.onscroll = function () {
// alert(11);
var check;
......
......@@ -40,14 +40,6 @@
AppBridge.init();
//页面默认刷新
var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。
// if(!userId){
// AppBridge.refreshPage({},function (userId,key) {
// if('{$refresh}'=='1'){
// // location.href='/Allex?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}';
// location.replace('/PkTop?user_id='+userId+'&key2='+key+'&viewPage='+'{$viewPage}');
// }
// });
// }
</script>
</head>
<body style="min-height: 100%;background-color: #C60000;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment