quyueting 5 lat temu
rodzic
commit
8741bb5c30

BIN
minigame/WebContent/images/lottery_background_red.png


+ 8 - 8
minigame/WebContent/js/main.js

@@ -828,17 +828,17 @@ function saveText() {
                     $('.user-info p').html(msg.data.nickName);
                     $('#nameInput').val(msg.data.receiver);
                     $('#textInput').val(msg.data.message);
-					if(document.location.href.indexOf('?') > -1){
-						href = document.location.href + "&uid=" + msg.data.id;
-					} else {
-						href = document.location.href + "?uid=" + msg.data.id;
-					}
+//					if(document.location.href.indexOf('?') > -1){
+//						href = document.location.href + "&uid=" + msg.data.id;
+//					} else {
+//						href = document.location.href + "?uid=" + msg.data.id;
+//					}
                     
                 }
 
-                if(href != document.location.href){
-                    history.pushState("", "Title", href);
-                }
+//                if(href != document.location.href){
+//                    history.pushState("", "Title", href);
+//                }
 				
 				$("#cover").show();
                 //if(type == 1) {

+ 2 - 2
minigame/WebContent/lottery.html

@@ -7,7 +7,7 @@
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>抽奖</title>
     <script src="js/jquery.min.js"></script>
-    <link rel="stylesheet" href="css/lottery.css" type="text/css" />
+    <link rel="stylesheet" href="css/lottery2.css" type="text/css" />
     <script type="text/javascript">
     	//从localstorage中取得ID
     	var id = localStorage.userId;
@@ -209,7 +209,7 @@
 </head>
 
 <body style="width: 100%">
-    <img class="background" src="images/lottery_background.png">
+    <img class="background" src="images/lottery_background_red.png">
     <img class="pool" src="images/lottery_pool.png">
     <div class="container">
         <img class="item item0" src="images/reward_oil60.png">

minigame/WebContent/static/css/lottery.css → minigame/WebContent/static/css/lottery2.css