Commit 976e927c authored by houdong's avatar houdong

战法二期版本

parent 9a2f3c49
...@@ -43,20 +43,27 @@ ...@@ -43,20 +43,27 @@
<script> <script>
//点用户名和头像跳转到该大赛的旧的交易页 $(".username").unbind();
flag=0; $(".username").click(function () {
// $('.user-head,.head-r-t').click(function(){ if(typeof($(this).attr("goTradeInfo"))!="undefined"){
// if(flag==1)return; if(mfrom[1]>0){
// flag=1; var appParam=$(this).attr('goTradeInfo');
// $.post("/PkTop/getGoTradeInfo", {'userId':$(this).attr('pId'),'userName':$(this).attr('pName')}, function (res) { AppBridge.goTrade(appParam);
// if (res.status == 1) { }else{
// flag=0; console.log('app外访问');
// // alert(res.data); }
// if(mfrom[1] > 0){ }
// AppBridge.goTrade(res.data); });
// } $(".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> </script>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
AppBridge.init(); AppBridge.init();
//页面默认刷新 //页面默认刷新
var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。 var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。
var mfrom=isAPP();
</script> </script>
</head> </head>
<body style="min-height: 100%;background-color: #C60000;"> <body style="min-height: 100%;background-color: #C60000;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment