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
b81f41ea
Commit
b81f41ea
authored
Apr 12, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3d700a69
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
58 additions
and
44 deletions
+58
-44
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+28
-12
phb.html
app/Tpl/Vip/Index/phb.html
+24
-24
choujiang.html
app/Tpl/Vip/PkTop/choujiang.html
+1
-1
index.html
app/Tpl/Vip/PkTop/index.html
+0
-2
myItem.html
app/Tpl/Vip/PkTop/myItem.html
+1
-1
phbOther.html
app/Tpl/Vip/PkTop/phbOther.html
+2
-2
phbWeek.html
app/Tpl/Vip/PkTop/phbWeek.html
+2
-2
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
b81f41ea
...
...
@@ -20,6 +20,23 @@ class PkTopAction extends IdentityAction{
if
(
in_array
(
$this
->
GID
,
$ids
))
{
$this
->
assign
(
'joinStatus'
,
1
);
}
//设置进入交易的参数
if
(
in_array
(
ACTION_NAME
,[
'index'
,
'choujiang'
,
'phbWeek'
,
'phbOther'
])){
$groupId
=
$this
->
GID
;
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
$share
=
[
'groupId'
=>
$groupId
,
'groupStatus'
=>
$groupStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$groupStatus
,
'close_tips'
=>
''
,
'userID'
=>
$userId
,
'zhuangtai'
=>
$this
->
STATUS_TXT
[
$groupStatus
]];
$groupInfo
=
array_merge
(
$groupInfo
,
$share
);
$this
->
assign
(
'groupInfo'
,
json_encode
(
$groupInfo
));
//设置分享参数
$this
->
setShare
(
$userId
,
I
(
'cfrom'
));
}
}
//首页
public
function
indexOld
()
{
...
...
@@ -958,8 +975,12 @@ class PkTopAction extends IdentityAction{
}
public
function
setShare
(
$userId
,
$cfrom
=
0
)
{
//app内的分享,参数名不能改
$shareTitle
=
'您的好友邀请您参加「全民炼股」争霸赛'
;
$shareDesc
=
'红包周周有,万元大奖月月送'
;
// $shareTitle='您的好友邀请您参加「全民炼股」争霸赛';
// $shareDesc='红包周周有,万元大奖月月送';
$shareTitle
=
'您的好友邀请您参加全民炼股争霸赛-全民分赛场'
;
$shareDesc
=
'每周评奖,正盈利即可瓜分奖金!!!'
;
$shareUrl
=
M_URL
.
"/PkTop?inviterId="
.
$userId
.
'&cfrom='
.
$cfrom
;
$appShareInfo
[
'shareTitle'
]
=
$shareTitle
;
$appShareInfo
[
'shareContent'
]
=
$shareDesc
;
...
...
@@ -1313,24 +1334,19 @@ class PkTopAction extends IdentityAction{
// 'popType' => $popData['popType'], 'popPkUserName' => $popData['popPkUserName'],
'thinks'
=>
$thinks
,
'gonggao'
=>
$gonggao
];
// $return = ['msg' => $msg, 'top10' => $top10,'lastMonthInt' => $lastMonthInt, 'myAllPkCount' => $myAllPkCount];
$this
->
assign
(
$firstPageData
);
// $this->assign($mingrentang);
// $this->assign($rankNow);
// $this->assign($return);
//总决赛列表
$_GET
[
'order'
]
=
'zongup'
;
$share
=
array
(
'groupId'
=>
$groupId
,
'groupStatus'
=>
$groupStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$groupStatus
,
'close_tips'
=>
''
,
'userID'
=>
$userId
,
'zhuangtai'
=>
$this
->
STATUS_TXT
[
$groupStatus
]);
$groupInfo
=
array_merge
(
$groupInfo
,
$share
);
//
$share = array('groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus,
//
'close_tips' => '', 'userID' => $userId, 'zhuangtai' => $this->STATUS_TXT[$groupStatus]);
// $groupInfo = array_merge($groupInfo, $share);
// $this->assign('groupInfo', json_encode($groupInfo)
);
$this
->
assign
(
'groupInfo'
,
json_encode
(
$groupInfo
));
$this
->
setShare
(
$userId
,
I
(
'cfrom'
));
//朋友圈,微信群,好友分享,分享后自己的id,作为邀请人的id,pc扫码后没有from参数
$inviterId
=
I
(
'inviterId'
,
''
);
...
...
app/Tpl/Vip/Index/phb.html
View file @
b81f41ea
...
...
@@ -58,58 +58,58 @@
<td>
排名
</td><td></td><td
style=
"text-align: left"
>
昵称
</td>
<td
<
eq
name=
"order"
value=
"1"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=1#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
总盈利
<
if
condition=
'$order eq 1'
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/if
>
<
!--<if condition='$order eq 1'>--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</if>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"2"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=2#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
总资产
<
eq
name=
"order"
value=
"2"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="2">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"3"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=3#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
周奖榜单
<
eq
name=
"order"
value=
"3"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="3">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
<td
<
if
condition=
'empty($order) or $order eq 4'
>
style='background-color: #ffe5bb;'
</if>
>
<a
href=
"/index/phb?order=4#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
月盈利
<
if
condition=
'empty($order) or $order eq 4'
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/if
>
<
!--<if condition='empty($order) or $order eq 4'>--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</if>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"5"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=5#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
成功率
<
eq
name=
"order"
value=
"5"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="5">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"6"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=6#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
月周转
<
eq
name=
"order"
value=
"6"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="6">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"7"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=7#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
仓位
<
eq
name=
"order"
value=
"7"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="7">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
<td
<
eq
name=
"order"
value=
"8"
>
style='background-color: #ffe5bb;'
</eq>
>
<a
href=
"/index/phb?order=8#anchor1"
style=
"text-decoration: none;color:#fdf5d0"
>
最大回撤
<
eq
name=
"order"
value=
"8"
>
<
img
src=
"__PUBLIC__/images/h5/g2020/t-down.png"
alt=
""
>
<
/eq
>
<
!--<eq name="order" value="8">--
>
<
!--<img src="__PUBLIC__/images/h5/g2020/t-down.png" alt="">--
>
<
!--</eq>--
>
</a>
</td>
</tr>
...
...
app/Tpl/Vip/PkTop/choujiang.html
View file @
b81f41ea
...
...
@@ -57,7 +57,7 @@
<div
class=
"header-h"
>
<a
href=
"javascript:;"
class=
"header-h-a"
><span
class=
"back-btn back-btn-a"
></span></a>
<span
class=
"header-share"
></span>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
排行榜
</li></ul>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
瓜分十万
</li></ul>
</div>
</div>
<div
class=
"head-fit"
></div>
...
...
app/Tpl/Vip/PkTop/index.html
View file @
b81f41ea
...
...
@@ -185,8 +185,6 @@
</body>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/jweixin-1.0.0.js"
></script>
<script>
//调用app分享
AppBridge
.
app_share
(
'{$appParam}'
);
AppBridge
.
foot_fit
();
//进入页面的时候取userId
...
...
app/Tpl/Vip/PkTop/myItem.html
View file @
b81f41ea
...
...
@@ -91,7 +91,7 @@
<span
class=
"tip-msg"
>
距离获得奖金只差 交易一笔
</span>
</gt>
<else/>
<span
class=
"tip-msg"
style=
"width: 193px"
>
加油,周盈利为正即可瓜分奖金
</span>
<span
class=
"tip-msg"
style=
"width: 193px
;left: 3%;top: 58px;
"
>
加油,周盈利为正即可瓜分奖金
</span>
</gt>
<a
href=
"{:M_URL}/Box#3"
class=
"reset-btn"
><img
src=
"__PUBLIC__/images/2023/reset-img.png"
alt=
""
>
重置模拟金
</a>
...
...
app/Tpl/Vip/PkTop/phbOther.html
View file @
b81f41ea
...
...
@@ -8,7 +8,7 @@
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"format-detection"
content=
"email=no"
>
<title>
全民炼股争霸赛-全民分赛场-
排行
榜
</title>
<title>
全民炼股争霸赛-全民分赛场-
获奖
榜
</title>
<meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
...
...
@@ -50,7 +50,7 @@
<div
class=
"header-h"
>
<a
href=
"javascript:;"
class=
"header-h-a"
><span
class=
"back-btn back-btn-a"
></span></a>
<span
class=
"header-share"
></span>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
排行
榜
</li></ul>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
获奖
榜
</li></ul>
</div>
</div>
<div
class=
"head-fit"
></div>
...
...
app/Tpl/Vip/PkTop/phbWeek.html
View file @
b81f41ea
...
...
@@ -8,7 +8,7 @@
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"format-detection"
content=
"email=no"
>
<title>
全民炼股争霸赛-全民分赛场-
排行
榜
</title>
<title>
全民炼股争霸赛-全民分赛场-
获奖
榜
</title>
<meta
name=
"description"
content=
"叩富简投全民炼股2023模拟炒股大赛,赢10万现金大奖。自2007年开赛以来,已累积举办200多期模拟炒股大奖赛。每周、每月都有现金大奖。软件、手机APP、网页同步参赛"
>
<meta
name=
"keywords"
content=
"2023模拟炒股大赛,模拟炒股大赛,模拟炒股,模拟股票大赛,炒股大赛,模拟炒股有奖大赛,模拟股市大赛,股票模拟大赛,股票大赛,腾讯A股大赛,凤凰炒股大赛"
>
...
...
@@ -49,7 +49,7 @@
<div
class=
"header-h"
>
<a
href=
"javascript:;"
class=
"header-h-a"
><span
class=
"back-btn back-btn-a"
></span></a>
<span
class=
"header-share"
></span>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
排行
榜
</li></ul>
<ul
class=
"header-title"
>
<li
class=
"one-li"
>
全民炼股争霸赛-全民分赛场-
获奖
榜
</li></ul>
</div>
</div>
<div
class=
"head-fit"
></div>
...
...
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