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
976e927c
Commit
976e927c
authored
Jul 07, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
战法二期版本
parent
9a2f3c49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
16 deletions
+23
-16
itemTrade.html
app/Tpl/Vip/PkTop/itemTrade.html
+22
-15
phbTrade.html
app/Tpl/Vip/PkTop/phbTrade.html
+1
-1
No files found.
app/Tpl/Vip/PkTop/itemTrade.html
View file @
976e927c
...
...
@@ -43,20 +43,27 @@
<script>
//点用户名和头像跳转到该大赛的旧的交易页
flag
=
0
;
// $('.user-head,.head-r-t').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);
// }
// }
// });
// });
$
(
".username"
).
unbind
();
$
(
".username"
).
click
(
function
()
{
if
(
typeof
(
$
(
this
).
attr
(
"goTradeInfo"
))
!=
"undefined"
){
if
(
mfrom
[
1
]
>
0
){
var
appParam
=
$
(
this
).
attr
(
'goTradeInfo'
);
AppBridge
.
goTrade
(
appParam
);
}
else
{
console
.
log
(
'app外访问'
);
}
}
});
$
(
".stock_name"
).
unbind
();
$
(
".stock_name"
).
click
(
function
()
{
if
(
typeof
(
$
(
this
).
attr
(
"goStockDetails"
))
!=
"undefined"
){
if
(
mfrom
[
0
]
>
0
){
var
appParam
=
$
(
this
).
attr
(
'goStockDetails'
);
AppBridge
.
goStockDetails
(
eval
(
'appParam'
));
}
else
{
console
.
log
(
'app外访问'
);
}
}
})
</script>
app/Tpl/Vip/PkTop/phbTrade.html
View file @
976e927c
...
...
@@ -41,7 +41,7 @@
AppBridge
.
init
();
//页面默认刷新
var
userId
=
"{$user.userID}"
;
//这个userid 一定是从session或者cookie里验证后获取到的。
var
mfrom
=
isAPP
();
</script>
</head>
<body
style=
"min-height: 100%;background-color: #C60000;"
>
...
...
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