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
ed7c8d43
Commit
ed7c8d43
authored
Nov 24, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更多大赛
parent
ec71d990
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
17 deletions
+49
-17
index.html
app/Tpl/Vip/PkTop/index.html
+16
-16
moreDs.html
app/Tpl/Vip/PkTop/moreDs.html
+33
-1
No files found.
app/Tpl/Vip/PkTop/index.html
View file @
ed7c8d43
...
@@ -393,22 +393,22 @@
...
@@ -393,22 +393,22 @@
}
}
});
});
$
(
".gotoTrade"
).
click
(
function
()
{
// $(".gotoTrade").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){
// layer.open({content: '当前大赛未开始',skin: 'msg',time: 2});
// // layer.open({content: '当前大赛未开始',skin: 'msg',time: 2});
// // }
// // var appParam=$('#groupInfo').val();
// // appParam=appParam.replace(/XXXXXX/g, userId);
// var appParam=$(this).attr('gotoTrade');
// AppBridge.refreshMyGroup();
// AppBridge.goTrade(appParam);
//
// }else{
// location.href='http://app.jiantou8.com/jiantou.html';
// }
// }
// var appParam=$('#groupInfo').val();
// });
// appParam=appParam.replace(/XXXXXX/g, userId);
var
appParam
=
$
(
this
).
attr
(
'gotoTrade'
);
AppBridge
.
refreshMyGroup
();
AppBridge
.
goTrade
(
appParam
);
}
else
{
location
.
href
=
'http://app.jiantou8.com/jiantou.html'
;
}
});
//点击底部的更多大赛
//点击底部的更多大赛
$
(
'.showMoreDs'
).
click
(
function
(){
$
(
'.showMoreDs'
).
click
(
function
(){
$
(
'.en-li'
).
eq
(
3
).
click
();
$
(
'.en-li'
).
eq
(
3
).
click
();
...
...
app/Tpl/Vip/PkTop/moreDs.html
View file @
ed7c8d43
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<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/>
<a
href=
"{:M_URL}{:U('/Match/detail',['id'=>$vo['group_id']])}"
class=
"join-btn
"
gid=
"{$vo.group_id}"
>
<a
href=
'javascript:;'
url=
"{:M_URL}{:U('/Match/detail',['id'=>$vo['group_id']])}"
class=
"join-btn openUrl
"
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>
</eq>
</eq>
...
@@ -35,3 +35,35 @@
...
@@ -35,3 +35,35 @@
</div>
</div>
</div>
</div>
</foreach>
</foreach>
<script>
var
mfrom
=
isAPP
();
//进入交易
$
(
".gotoTrade"
).
click
(
function
()
{
console
.
log
(
'2点击进入交易按钮'
+
mfrom
[
0
]);
if
(
mfrom
[
1
]
>
0
){
var
appParam
=
$
(
this
).
attr
(
'gotoTrade'
);
AppBridge
.
refreshMyGroup
();
AppBridge
.
goTrade
(
appParam
);
}
else
{
location
.
href
=
'http://app.jiantou8.com/jiantou.html'
;
}
});
$
(
".openUrl"
).
click
(
function
()
{
var
url
=
$
(
this
).
attr
(
'url'
);
if
(
mfrom
[
0
]
>
0
)
{
if
(
mfrom
[
1
]
>=
386
)
{
AppBridge
.
openActivity
(
url
);
}
else
{
location
.
href
=
url
;
}
}
else
{
location
.
href
=
url
;
}
});
</script>
\ No newline at end of file
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