Commit dfc2be57 by dawei

feat: 测试

parent c57c6047
Showing with 16 additions and 5 deletions
......@@ -304,6 +304,7 @@
<script src="lib/liMarquee.js"></script>
<script src="lib/default.js?v='2024062102'"></script>
<script>
var betType
$(function(){
if(sessionStorage.lang!=2 && sessionStorage.lang!=0){
$("body").addClass("bg-en")
......@@ -351,7 +352,7 @@ $(function(){
}
}
var betType=1
betType=1
$(".more-btn").on("click",function(){
var _self=$(this)
if(_self.attr("data-type")==1){
......@@ -879,7 +880,8 @@ $(function(){
}
})
}
function bet(gid,type){
window.bet = function(gid,type){
$.ajax({
url:$ip+'/rocketlaunch/playGame',
type:'post',
......@@ -950,9 +952,9 @@ $(function(){
})
}
function goBetCallBack() {
bet(sessionStorage.gameId,betType)
}
// function goBetCallBack() {
// bet(sessionStorage.gameId,betType)
// }
function getUrlParams() {
const search = window.location.search.substring(1); // 去掉问号
......@@ -987,6 +989,10 @@ $(function(){
}
}
function test() {
console.log("测试")
}
/* 客戶端回調 */
function appCallback(msg) {
let binaryString = atob(msg);
......@@ -1003,6 +1009,10 @@ $(function(){
}
}
})
function goBetCallBack() {
bet(sessionStorage.gameId,betType)
}
</script>
</html>
\ No newline at end of file
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 sign in to comment