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
640f2aa2
Commit
640f2aa2
authored
Apr 04, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理vip下面的文件
parent
7ad72825
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
241 additions
and
1045 deletions
+241
-1045
popad_mini_pk.js
Public/js/popad_mini_pk.js
+4
-1
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+193
-160
index.html
app/Tpl/Vip/PkTop/index.html
+1
-1
item2.html
app/Tpl/Vip/PkTop/item2.html
+43
-43
itemPass.html
app/Tpl/Vip/PkTop/itemPass.html
+0
-63
jiangxiang.html
app/Tpl/Vip/PkTop/jiangxiang.html
+0
-777
No files found.
Public/js/popad_mini_pk.js
View file @
640f2aa2
...
...
@@ -49,8 +49,11 @@ _popadstr += ' </div>';
_popadstr
+=
' </div>'
;
_popadstr
+=
' </li>'
;
// _popadstr += ' <li class="right-three right-li" >' +
// '<a href="/index/moreDs" class="li-a"><img src="/Public/images/2022/right_moreDs.png" alt=""></a>';
_popadstr
+=
' <li class="right-three right-li" >'
+
'<a href="/
index/moreDs
" class="li-a"><img src="/Public/images/2022/right_moreDs.png" alt=""></a>'
;
'<a href="/
Index/jiang
" class="li-a"><img src="/Public/images/2022/right_moreDs.png" alt=""></a>'
;
_popadstr
+=
' <li class="right-three right-li left-card1" >'
+
'<a href="javascript:;" class="li-a"><img src="/Public/images/h5/g2020/right_icon3.png" alt=""></a>'
;
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
640f2aa2
This diff is collapsed.
Click to expand it.
app/Tpl/Vip/PkTop/index.html
View file @
640f2aa2
...
...
@@ -270,7 +270,7 @@
<!--<div class="month-top-block history-m" id="container2">-->
<!--</div>-->
<div
class=
"month-top-block current-m"
id=
"containerHis"
>
<
!--<include file="item2"/>--
>
<
include
____
file=
"item2"
/
>
</div>
</div>
<div
class=
"hof-tab-block"
style=
"display: none"
>
...
...
app/Tpl/Vip/PkTop/item2.html
View file @
640f2aa2
...
...
@@ -71,49 +71,49 @@
</notempty>
</in>
<in
name=
"type"
value=
"pkList"
>
<notempty
name=
"pkList"
>
<!--item2--3.html
-->
<
foreach
name=
"pkList"
key=
'key'
item=
"vo"
>
<
div
class=
"outer-cont"
>
<
div
class=
'my-pk-cont <eq name="vo.pk_status" value="1">resWin</eq><eq name="vo.pk_status" value="2">resLose</eq> '
>
<
div
class=
"pk-cont-info"
>
<
div
class=
"pk-info left"
>
<
span
class=
"pk-user"
><img
src=
"{:getPortraitPath($vo['active_id'], 'small', true)}"
alt=
""
></span
>
<
p
class=
"pk-user-name"
>
{$vo.active_name}
</p
>
<
p
class=
"pk-user-rate"
>
周收益率
<
if
condition=
"empty($vo['active_lastweekup']) or $vo['active_lastweekup'] egt 0"
>
<
span
class=
"red"
>
{$vo.active_lastweekup|default=0}%
</span
>
<
else/
>
<
span
class=
"green"
>
{$vo.active_lastweekup|default=0}%
</span
>
<
/if
>
<
/p
>
<
/div
>
<
div
class=
"pk-info right"
>
<
span
class=
"pk-user"
><img
src=
"{:getPortraitPath($vo['passive_id'], 'small', true)}"
alt=
""
></span
>
<
p
class=
"pk-user-name"
>
{$vo.passive_name}
</p
>
<
p
class=
"pk-user-rate"
>
周收益率
<
if
condition=
"empty($vo['passive_lastweekup']) or $vo['passive_lastweekup'] egt 0"
>
<
span
class=
"red"
>
{$vo.passive_lastweekup|default=0}%
</span
>
<
else/
>
<
span
class=
"green"
>
{$vo.passive_lastweekup|default=0}%
</span
>
<
/if
>
<
/p
>
<
/div
>
<
/div
>
<
div
class=
"pk-img"
></div
>
<
eq
name=
"vo.pk_status"
value=
"1"
><span
class=
"win-flag"
></span></eq
>
<
eq
name=
"vo.pk_status"
value=
"2"
><span
class=
"lose-flag"
></span></eq
>
<
/div
>
<
/div
>
<
/foreach
>
<
else/
>
<
div
class=
"no-data"
>
<
img
class=
"no-data-img"
src=
"__PUBLIC__/Home/images/group/cc-nodata.png"
alt=
""
>
<
p
class=
"no-data-msg"
>
当前没有挑战榜排行
</p
>
<
/div
>
<
/notempty
>
<
/in
>
<!--<in name="type" value="pkList">--
>
<!--<notempty name="pkList">
-->
<
!--<foreach name="pkList" key='key' item="vo">--
>
<
!--<div class="outer-cont">--
>
<
!--<div class='my-pk-cont <eq name="vo.pk_status" value="1">resWin</eq><eq name="vo.pk_status" value="2">resLose</eq> '>--
>
<
!--<div class="pk-cont-info">--
>
<
!--<div class="pk-info left">--
>
<
!--<span class="pk-user"><img src="{:getPortraitPath($vo['active_id'], 'small', true)}" alt=""></span>--
>
<
!--<p class="pk-user-name">{$vo.active_name}</p>--
>
<
!--<p class="pk-user-rate">周收益率-->
<
!--<if condition="empty($vo['active_lastweekup']) or $vo['active_lastweekup'] egt 0">--
>
<
!--<span class="red">{$vo.active_lastweekup|default=0}%</span>--
>
<
!--<else/>--
>
<
!--<span class="green">{$vo.active_lastweekup|default=0}%</span>--
>
<
!--</if>--
>
<
!--</p>--
>
<
!--</div>--
>
<
!--<div class="pk-info right">--
>
<
!--<span class="pk-user" ><img src="{:getPortraitPath($vo['passive_id'], 'small', true)}" alt=""></span>--
>
<
!--<p class="pk-user-name">{$vo.passive_name}</p>--
>
<
!--<p class="pk-user-rate">周收益率-->
<
!--<if condition="empty($vo['passive_lastweekup']) or $vo['passive_lastweekup'] egt 0">--
>
<
!--<span class="red">{$vo.passive_lastweekup|default=0}%</span>--
>
<
!--<else/>--
>
<
!--<span class="green">{$vo.passive_lastweekup|default=0}%</span>--
>
<
!--</if>--
>
<
!--</p>--
>
<
!--</div>--
>
<
!--</div>--
>
<
!--<div class="pk-img"></div>--
>
<
!--<eq name="vo.pk_status" value="1"><span class="win-flag"></span></eq>--
>
<
!--<eq name="vo.pk_status" value="2"><span class="lose-flag"></span></eq>--
>
<
!--</div>--
>
<
!--</div>--
>
<
!--</foreach>--
>
<
!--<else/>--
>
<
!--<div class="no-data">--
>
<
!--<img class="no-data-img" src="__PUBLIC__/Home/images/group/cc-nodata.png" alt="">--
>
<
!--<p class="no-data-msg" >当前没有挑战榜排行</p>--
>
<
!--</div>--
>
<
!--</notempty>--
>
<
!--</in>--
>
<script>
...
...
app/Tpl/Vip/PkTop/itemPass.html
deleted
100644 → 0
View file @
7ad72825
<notempty
name=
"finalUsers"
>
<!--item1.html-->
<foreach
name=
"finalUsers"
key=
'key'
item=
"vo"
>
<div
class=
"top-item <eq name='key' value='0'>top1</eq> <eq name='key' value='1'>top2</eq> <eq name='key' value='2'>top3</eq> "
>
<div
class=
"top-item-info"
>
<div
class=
"user-pk"
>
<div
class=
"head-r-num"
>
<span
class=
"head-ranking"
>
<eq
name=
'key'
value=
'0'
><img
src=
"__PUBLIC__/Home/images/g2020/crown1.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'1'
><img
src=
"__PUBLIC__/Home/images/g2020/crown2.png"
alt=
""
></eq>
<eq
name=
'key'
value=
'2'
><img
src=
"__PUBLIC__/Home/images/g2020/crown3.png"
alt=
""
></eq>
</span>
<span
class=
"user-head goTradePass"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
<img
src=
"{:getPortraitPath($vo['user_id'], 'small', true)}"
alt=
""
>
</span>
</div>
<span
class=
"head-r-t goTradePass"
pId=
"{$vo.user_id}"
pName=
"{$vo.user_name}"
>
{$vo.user_name}
</span>
<eq
name=
"vo.isTop10"
value=
"1"
>
<eq
name=
"vo.pkStatus"
value=
"1"
>
<span
class=
"head-pk-btn pking"
>
挑战中
</span>
<else/>
<!--<span class="head-pk-btn pkTa" phbId="{$vo.id}" >挑战Ta</span>-->
</eq>
</eq>
</div>
<div
style=
"clear: both;"
></div>
<p
class=
"info-rank-w"
>
<span
class=
"l"
style=
"width: 105px;"
>
月度排行
<span
class=
"y"
>
第{$key+1}名
</span></span>
<span
class=
"w"
style=
"width: 110px;"
>
月收益率
<span
class=
"y"
<
gt
name=
'vo.monthup'
value=
'0'
>
style='color:#d80000'
</gt>
<lt
name=
'vo.monthup'
value=
'0'
>
style='color:#008E00'
</lt>
>{$vo.monthup|default=0}%
</span></span>
<span
class=
"l"
style=
"width: 120px;"
>
选股成功率
<span
class=
"y"
>
{$vo.successup|default=0}%
</span></span>
</p>
</div>
<span
class=
"item-pk-i"
><img
src=
"__PUBLIC__/Home/images/g2020/pk-r.png"
alt=
""
></span>
<div
class=
"top-item-festo"
><notempty
name=
"vo.note"
>
宣言:{$vo.note}
</notempty></div>
</div>
</foreach>
<else/>
<div
class=
"no-data"
>
<img
class=
"no-data-img"
src=
"__PUBLIC__/Home/images/group/cc-nodata.png"
alt=
""
>
<p
class=
"no-data-msg"
>
当前PK赛已结束
</p>
</div>
</notempty>
<script>
//点用户名和头像跳转到该大赛的旧的交易页
var
flag
=
0
;
$
(
'.goTradePass'
).
click
(
function
(){
if
(
flag
==
1
)
return
;
flag
=
1
;
$
.
post
(
"/PkTop/getGoTradeInfo"
,
{
'userId'
:
$
(
this
).
attr
(
'pId'
),
'userName'
:
$
(
this
).
attr
(
'pName'
)},
function
(
res
)
{
if
(
res
.
status
==
1
)
{
flag
=
0
;
// alert(res.data);
if
(
mfrom
[
1
]
>
0
){
AppBridge
.
goTrade
(
res
.
data
);
}
}
});
});
</script>
\ No newline at end of file
app/Tpl/Vip/PkTop/jiangxiang.html
deleted
100644 → 0
View file @
7ad72825
This diff is collapsed.
Click to expand it.
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