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
d77be4b1
Commit
d77be4b1
authored
Nov 21, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更多大赛
parent
c3c6e1ac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
NiuModel.class.php
app/Lib/Model/NiuModel.class.php
+2
-2
index.html
app/Tpl/Vip/PkTop/index.html
+2
-2
moreDs.html
app/Tpl/Vip/PkTop/moreDs.html
+4
-4
No files found.
app/Lib/Model/NiuModel.class.php
View file @
d77be4b1
...
@@ -36,9 +36,9 @@ class NiuModel extends Model{
...
@@ -36,9 +36,9 @@ class NiuModel extends Model{
//进入交易需要的参数
//进入交易需要的参数
$gStatus
=
is_end
(
$g
[
'endTime'
])
?
3
:
(
$g
[
'startTime'
]
>
time
()
?
1
:
2
);
$gStatus
=
is_end
(
$g
[
'endTime'
])
?
3
:
(
$g
[
'startTime'
]
>
time
()
?
1
:
2
);
$go
Other
Trade
=
[
'groupId'
=>
$gid
,
'web_id'
=>
$g
[
'web_id'
],
'name'
=>
$g
[
'name'
],
'groupStatus'
=>
$gStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$gStatus
,
$go
to
Trade
=
[
'groupId'
=>
$gid
,
'web_id'
=>
$g
[
'web_id'
],
'name'
=>
$g
[
'name'
],
'groupStatus'
=>
$gStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$gStatus
,
'userID'
=>
$userId
,
'zhuangtai'
=>
$STATUS_TXT
[
$gStatus
]];
'userID'
=>
$userId
,
'zhuangtai'
=>
$STATUS_TXT
[
$gStatus
]];
$g
[
"go
OtherTrade"
]
=
json_encode
(
$goOther
Trade
);
$g
[
"go
toTrade"
]
=
json_encode
(
$goto
Trade
);
}
}
...
...
app/Tpl/Vip/PkTop/index.html
View file @
d77be4b1
...
@@ -393,7 +393,7 @@
...
@@ -393,7 +393,7 @@
}
}
});
});
$
(
".go
Other
Trade"
).
click
(
function
()
{
$
(
".go
to
Trade"
).
click
(
function
()
{
console
.
log
(
'2点击进入交易按钮'
+
mfrom
[
0
]);
console
.
log
(
'2点击进入交易按钮'
+
mfrom
[
0
]);
if
(
mfrom
[
1
]
>
0
){
if
(
mfrom
[
1
]
>
0
){
// if($('#groupStatus').val()==1){
// if($('#groupStatus').val()==1){
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
// }
// }
// var appParam=$('#groupInfo').val();
// var appParam=$('#groupInfo').val();
// appParam=appParam.replace(/XXXXXX/g, userId);
// appParam=appParam.replace(/XXXXXX/g, userId);
var
appParam
=
$
(
this
).
attr
(
'go
Other
Trade'
);
var
appParam
=
$
(
this
).
attr
(
'go
to
Trade'
);
AppBridge
.
refreshMyGroup
();
AppBridge
.
refreshMyGroup
();
AppBridge
.
goTrade
(
appParam
);
AppBridge
.
goTrade
(
appParam
);
...
...
app/Tpl/Vip/PkTop/moreDs.html
View file @
d77be4b1
...
@@ -17,14 +17,14 @@
...
@@ -17,14 +17,14 @@
<div
class=
"ds-time-btn"
>
<div
class=
"ds-time-btn"
>
<span
class=
"time-span"
><img
src=
"__PUBLIC__/Home/images/g2020/time-icon.png"
alt=
""
>
比赛时间:{$vo.startTime} ~ {$vo.endTime}
</span>
<span
class=
"time-span"
><img
src=
"__PUBLIC__/Home/images/g2020/time-icon.png"
alt=
""
>
比赛时间:{$vo.startTime} ~ {$vo.endTime}
</span>
<eq
name=
"vo.joinStatus"
value=
"1"
>
<eq
name=
"vo.joinStatus"
value=
"1"
>
<a
href=
"javascript:;"
class=
"join-btn go
OtherTrade"
goOtherTrade=
"{$vo.goOther
Trade}"
>
<a
href=
"javascript:;"
class=
"join-btn go
toTrade"
gotoTrade=
"{$vo.goto
Trade}"
>
<img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
进入交易
</span>
<img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
进入交易
</span>
</a>
</a>
<else/>
<else/>
<if
condition=
"$gid eq $vo['group_id']"
>
<if
condition=
"$gid
__
eq $vo['group_id']"
>
<a
href=
"javascript:;"
class=
"join-btn baoming"
><img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
报名参赛
</span></a>
<a
href=
"javascript:;"
class=
"join-btn baoming"
><img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
报名参赛
</span></a>
<else/>
<else/>
<a
href=
"
javascript:;"
class=
"join-btn bmOtherGroupStep1
"
gid=
"{$vo.group_id}"
>
<a
href=
"
{:M_URL}{:U('/Match/detail',['id'=>$vo['group_id']])}"
class=
"join-btn
"
gid=
"{$vo.group_id}"
>
<img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
报名参赛
</span>
<img
src=
"__PUBLIC__/Home/images/g2020/cs-left.png"
alt=
""
><span>
报名参赛
</span>
</a>
</a>
</if>
</if>
...
...
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