Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
ab4af143
Commit
ab4af143
authored
May 14, 2024
by
houyadong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全民赛场-成员交易页面修改
parent
284673cc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
608 additions
and
1191 deletions
+608
-1191
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+463
-1047
UserModel.class.php
app/Lib/Model/UserModel.class.php
+138
-125
phbTrade.html
app/Tpl/Vip/PkTop/phbTrade.html
+7
-19
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
ab4af143
This diff is collapsed.
Click to expand it.
app/Lib/Model/UserModel.class.php
View file @
ab4af143
This diff is collapsed.
Click to expand it.
app/Tpl/Vip/PkTop/phbTrade.html
View file @
ab4af143
...
...
@@ -53,19 +53,18 @@
<include
file=
"myItem"
/>
<div
class=
"award-cont"
>
<div
class=
"award-tab-btn"
>
<div
class=
"btn
"
><a
href=
"/PkTop/phbWeek"
>
周奖榜单
</a></div>
<div
class=
"btn"
><a
href=
"/PkTop/phbWeek"
>
周奖榜单
</a></div>
<div
class=
"btn"
><a
href=
"/PkTop/phbOther"
>
其它排行
</a></div>
<div
class=
"btn active"
><a
href=
"/PkTop/phbTrade"
>
成员交易
</a></div>
</div>
<div
class=
"award-tab-panel"
>
<div
class=
"award-tab-panel"
>
<div
class=
"item-filter"
>
<span
class=
""
>
全部
</span><span
class=
"active"
>
只看前100名
</span>
<span
class=
"<eq name="
order
"
value=
"0"
>
active
</eq>
">
<a
href=
"/PkTop/phbTrade?order=0"
>
全部
</a></span>
<span
class=
"<eq name="
order
"
value=
"1"
>
active
</eq>
">
<a
href=
"/PkTop/phbTrade?order=1"
>
只看前100名
</a></span>
</div>
<div
class=
"panel-item"
id=
"container"
>
<include
file=
"itemTrade"
/>
</div>
<gt
name=
"count"
value=
"2"
>
<div
style=
"padding: 10px 15px 0px;text-align:center;font-size: 14px;"
currPage=
"1"
totalPage=
'{$pages}'
id=
"loadBtn"
>
...
...
@@ -74,16 +73,10 @@
<p
class=
"loading l_3"
style=
"display: none;"
id=
"no_content"
><span
class=
"txt"
>
没有更多用户了
</span></p>
</div>
</gt>
</div>
</div>
</div>
</div>
</div>
<include
file=
"bottom"
/>
...
...
@@ -121,7 +114,6 @@
//点加载更多按钮
$
(
".loading.l_2"
).
click
(
function
(){
// $(".l_2").hide();
var
totalPage
=
$
(
"#loadBtn"
).
attr
(
"totalPage"
);
var
currPage
=
$
(
"#loadBtn"
).
attr
(
"currPage"
);
...
...
@@ -132,18 +124,14 @@
$
(
".l_2"
).
hide
();
$
(
".l_3"
).
show
();
return
;
}
else
{
}
order
=
'{$order}'
;
$
.
post
(
'/PkTop/phbTrade'
,{
p
:
nextPage
,
'order'
:
order
,
'debug'
:
'scroll'
},
function
(
e
){
$
(
".l_1"
).
hide
();
if
(
nextPage
>=
parseInt
(
totalPage
))
{
// $(".l_2").hide();
$
(
".l_3"
).
show
();
lastPage
=
1
;
}
else
{
// $(".l_2").show();
$
(
".l_1"
).
show
();
}
if
(
e
.
status
==
0
)
{
layer
.
alert
(
e
.
info
,
8
);
return
false
;}
...
...
@@ -156,8 +144,8 @@
$
(
'.item-filter span'
).
each
(
function
(
i
,
obj
){
$
(
obj
).
click
(
function
(){
$
(
this
).
siblings
().
removeClass
(
'active'
)
;
$
(
this
).
addClass
(
'active'
)
;
$
(
this
).
siblings
().
removeClass
(
'active'
)
$
(
this
).
addClass
(
'active'
)
})
})
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment