allen 3 年之前
父節點
當前提交
6e9e3af36e
共有 5 個文件被更改,包括 43 次插入6 次删除
  1. 30 2
      app/index/view/video/index.html
  2. 二進制
      public/img/rankBtn.png
  3. 二進制
      public/img/ruleImg.png
  4. 13 4
      public/js/default.thm.js
  5. 0 0
      public/js/main.min.js

+ 30 - 2
app/index/view/video/index.html

@@ -92,6 +92,7 @@
     <img id="sendWeiboBtn" src="img/shareBtn.gif" style="position: absolute; top:50%; left: 25%; width: 50%; display: none" >
     <!-- 新增 ==============-->
     <img id="jiangImg" src="resource/assets/homePrizeBtn.png" style="position: fixed; right: 1em;top: 3em; width: 15%;" >
+    <img id="rankImg" src="img/rankBtn.png" style="position: fixed; right: 1em;top: 7em; width: 15%;" >
 </div>
 
 <div id="canvasDIV" style=" vertical-align: middle;  text-align: center;  position: absolute;  width: 100%; height: 100%; top:0px;left:0px; display: none; ">
@@ -148,7 +149,7 @@
     };
 
     var data = `{  "initial": [ "js/all.min.js" ],
-        "game": [  "js/default.thm.js?v=9" , "js/main.min.js?v=9"  ]
+        "game": [  "js/default.thm.js?v=10" , "js/main.min.js?v=10"  ]
     }`;
     var manifest = JSON.parse(data);
     var list = manifest.initial.concat(manifest.game);
@@ -293,6 +294,8 @@
     // 添加------------
     var isBeginActivity = 1;
 
+    var canJump = 1;
+
     // 登录接口
     theTokenData = '<?php echo $token; ?>';
     playCount = '<?php echo $count; ?>';
@@ -340,6 +343,13 @@
             $('#sendWeiboBtn').hide();
             $('#tipDIV').show();
             $('#tipImg').attr('src' , 'img/tip02.jpg');
+
+            setTimeout(function(){
+                if(canJump == 1){
+                    window.location.href = "http://s.weibo.com/weibo?q=%23%E5%BE%AE%E5%8D%9A%E7%94%B5%E5%BD%B1%E4%B9%8B%E5%A4%9C%23"
+                }
+            } , 5000)
+
         }else{
             console.log("playCount = " + playCount )
         }
@@ -679,6 +689,16 @@
 
     })
 
+
+    // 新增 0725---------
+    $('#rankImg').click(function(){
+        $('#tipDIV').hide();
+        hideBtnDIV();
+        MainGame.self.showRankPage();
+        RankPage.self.showTipImg();
+    })
+
+
     $('#linkBtn').click(function(){
         hideBtnDIV();
         MainGame.self.showRankPage();
@@ -781,7 +801,15 @@
 
 
 
-
+<script>
+var _hmt = _hmt || [];
+(function() {
+  var hm = document.createElement("script");
+  hm.src = "https://hm.baidu.com/hm.js?6ce0a606815de6165a7d60a0d5e364d9";
+  var s = document.getElementsByTagName("script")[0]; 
+  s.parentNode.insertBefore(hm, s);
+})();
+</script>
 
 
 </body>

二進制
public/img/rankBtn.png


二進制
public/img/ruleImg.png


+ 13 - 4
public/js/default.thm.js

@@ -2434,14 +2434,23 @@ window.skins=window.skins||{};
 	__extends(RankPageSkin, _super);
 	function RankPageSkin() {
 		_super.call(this);
-		this.skinParts = ["bar","closeBtn","btn0","btn1","rankMe","gTop","scTop","gNew","scNew"];
+		this.skinParts = ["tipImg","bar","closeBtn","btn0","btn1","rankMe","gTop","scTop","gNew","scNew"];
 		
 		this.height = 1600;
 		this.width = 750;
-		this.elementsContent = [this._Image1_i(),this.bar_i(),this.closeBtn_i(),this.btn0_i(),this.btn1_i(),this.rankMe_i(),this.scTop_i(),this.scNew_i()];
+		this.elementsContent = [this.tipImg_i(),this._Image1_i(),this.bar_i(),this.closeBtn_i(),this.btn0_i(),this.btn1_i(),this.rankMe_i(),this.scTop_i(),this.scNew_i()];
 	}
 	var _proto = RankPageSkin.prototype;
 
+	_proto.tipImg_i = function () {
+		var t = new eui.Image();
+		this.tipImg = t;
+		t.source = "img/tip01.jpg";
+		t.visible = false;
+		t.x = 0;
+		t.y = 0;
+		return t;
+	};
 	_proto._Image1_i = function () {
 		var t = new eui.Image();
 		t.source = "img/rankBg.png";
@@ -3026,7 +3035,7 @@ window.skins=window.skins||{};
 		var t = new eui.Image();
 		t.source = "img/ruleImg.png";
 		t.x = 144;
-		t.y = 545;
+		t.y = 384.41;
 		return t;
 	};
 	_proto.closeRuleBtn_i = function () {
@@ -3037,7 +3046,7 @@ window.skins=window.skins||{};
 		t.height = 84.42;
 		t.width = 97.58;
 		t.x = 525;
-		t.y = 536;
+		t.y = 375.41;
 		return t;
 	};
 	_proto.gShare_i = function () {

File diff suppressed because it is too large
+ 0 - 0
public/js/main.min.js


Some files were not shown because too many files changed in this diff