allen 3 жил өмнө
parent
commit
213f948203

+ 51 - 14
app/index/view/video/index.html

@@ -93,6 +93,8 @@
     <!-- 新增 ==============-->
     <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%;" >
+  	<!-- 新增 0802 ==============-->
+  	<img id="bangImg" src="img/jiangBtn.png" style="position: fixed; right: 1em;top: 12em; 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; ">
@@ -149,7 +151,7 @@
     };
 
     var data = `{  "initial": [ "js/all.min.js" ],
-        "game": [  "js/default.thm.js?v=11" , "js/main.min.js?v=11"  ]
+        "game": [  "js/default.thm.js?v=12" , "js/main.min.js?v=12"  ]
     }`;
     var manifest = JSON.parse(data);
     var list = manifest.initial.concat(manifest.game);
@@ -172,7 +174,7 @@
     });
 </script>
 
-<script>
+<script>    
     function getQueryString(name) {
         var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
         var r = window.location.search.substr(1).match(reg);
@@ -228,7 +230,7 @@
         }
         console.log('打开链接:', scheme);
 
-        if (isWeibo == 0) {
+        if (isWeibo == 0) {    
             // 非微博
             var u = `https://m.weibo.cn/feature/openapp?scheme=${encodeURIComponent(scheme)}`;
             console.log('u = ' + u )
@@ -272,7 +274,7 @@
         window.location.href = `sinaweibo://login?redirect_scheme=${(encodeURIComponent(location.href))} `;
     }
 
-
+   
 
     // 关于微博 ======== END
 
@@ -303,10 +305,8 @@
     isBeginActivity = '<?php echo $isBeginActivity; ?>';
     user = '<?php echo $user; ?>';
     taskData = '<?php echo $task; ?>';
-    realPlayCount = '<?php echo $realCount; ?>';
     task = ''
 
-    console.log("realPlayCount = " + realPlayCount )
     if(isBeginActivity == 0){
         // 活动结束
         $('#shareBtn').hide();
@@ -533,30 +533,59 @@
     }
 
 
+    // 新增-彩蛋 0802
+    function easterEggDrawList(  backFun ){
+        var u = YUMING + 'index/index/easterEggDrawList'
+        var obj = { token:theTokenData };
+        $.post(u,obj,function(data){  
+            if(data.code == 0){
+                backFun(data.data);              
+
+            }else{
+                console.log('------ easterEggDrawList error ' + data.message)
+            }
+        })
+    }
+
+
+    // 新增-榜单 0802
+    function rankingDrawList(  backFun ){
+        var u = YUMING + 'index/index/rankingDrawList'
+        var obj = { token:theTokenData };
+        $.post(u,obj,function(data){              
+            if(data.code == 0){
+                backFun(data.data);    
+
+            }else{
+                console.log('------ rankingDrawList error ' + data.message)
+            }
+        })
+    }
+
     var gameId;
     // 开始游戏
     function startGame(   ){
         var u = YUMING + 'index/index/startGame'
         var obj = { token:theTokenData };
-        $.post(u,obj,function(data){
-            console.log(data)
-            gameId = data.data.gameId;
+        $.post(u,obj,function(data){      
+            console.log(data)         
+            gameId = data.data.gameId;           
         })
     }
     // 结束游戏
     function endGame(   ){
         var u = YUMING + 'index/index/endGame'
         var obj = { token:theTokenData , gameId:gameId };
-        $.post(u,obj,function(data){
-            console.log(data)
+        $.post(u,obj,function(data){      
+            console.log(data)         
         })
     }
     // 提交彩蛋
     function submitEasterEgg( eggIndex  ){
         var u = YUMING + 'index/index/submitEasterEgg'
         var obj = { token:theTokenData , gameId:gameId,  easterEgg:eggIndex };
-        $.post(u,obj,function(data){
-            console.log(data)
+        $.post(u,obj,function(data){      
+            console.log(data)         
         })
     }
 
@@ -728,6 +757,14 @@
         RankPage.self.showTipImg();
     })
 
+    // 新增 0802---------
+    $('#bangImg').click(function(){
+        canJump = 0;
+        $('#tipDIV').hide();
+        hideBtnDIV();
+        MainGame.self.showRankEndPage();
+        RankEndPage.self.showTipImg();
+    })
 
     $('#linkBtn').click(function(){
         hideBtnDIV();
@@ -836,7 +873,7 @@ var _hmt = _hmt || [];
 (function() {
   var hm = document.createElement("script");
   hm.src = "https://hm.baidu.com/hm.js?6ce0a606815de6165a7d60a0d5e364d9";
-  var s = document.getElementsByTagName("script")[0];
+  var s = document.getElementsByTagName("script")[0]; 
   s.parentNode.insertBefore(hm, s);
 })();
 </script>

BIN
public/img/danBar.jpg


BIN
public/img/jiangBtn.png


BIN
public/img/rankEndBg.png


BIN
public/img/rankNotOver.png


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

@@ -10,7 +10,7 @@ window.skins=window.skins||{};
                 window.generateEUI = window.generateEUI||{};
                 generateEUI.paths = generateEUI.paths||{};
                 generateEUI.styles = undefined;
-                generateEUI.skins = {"eui.Button":"resource/eui_skins/ButtonSkin.exml","eui.CheckBox":"resource/eui_skins/CheckBoxSkin.exml","eui.HScrollBar":"resource/eui_skins/HScrollBarSkin.exml","eui.HSlider":"resource/eui_skins/HSliderSkin.exml","eui.Panel":"resource/eui_skins/PanelSkin.exml","eui.TextInput":"resource/eui_skins/TextInputSkin.exml","eui.ProgressBar":"resource/eui_skins/ProgressBarSkin.exml","eui.RadioButton":"resource/eui_skins/RadioButtonSkin.exml","eui.Scroller":"resource/eui_skins/ScrollerSkin.exml","eui.ToggleSwitch":"resource/eui_skins/ToggleSwitchSkin.exml","eui.VScrollBar":"resource/eui_skins/VScrollBarSkin.exml","eui.VSlider":"resource/eui_skins/VSliderSkin.exml","eui.ItemRenderer":"resource/eui_skins/ItemRendererSkin.exml","MainGame":"resource/eui_skins/MainGame.exml","HomePage":"resource/eui_skins/HomePage.exml","InGame":"resource/eui_skins/InGame.exml","EndPage":"resource/eui_skins/EndPage.exml","ToumingBg":"resource/eui_skins/ToumingBg.exml","ToumingBtn":"resource/eui_skins/ToumingBtn.exml","ChouPage":"resource/eui_skins/ChouPage.exml","PrizePage":"resource/eui_skins/PrizePage.exml","ChouNoTimePage":"resource/eui_skins/ChouNoTimePage.exml","DiaBoy":"resource/eui_skins/DiaBoy.exml","RedPoint":"resource/eui_skins/RedPoint.exml","ResultPage":"resource/eui_skins/ResultPage.exml","TestPage":"resource/eui_skins/TestPage.exml","BigMap":"resource/eui_skins/BigMap.exml","IconMc":"resource/eui_skins/IconMc.exml","Deng":"resource/eui_skins/Deng.exml","QrPage":"resource/eui_skins/QrPage.exml","RankPage":"resource/eui_skins/RankPage.exml","RankBar":"resource/eui_skins/RankBar.exml","RankMe":"resource/eui_skins/RankMe.exml","InfoPage":"resource/eui_skins/InfoPage.exml","RankBarNew":"resource/eui_skins/RankBarNew.exml"};generateEUI.paths['resource/eui_skins/BigMap.exml'] = window.BigMapSkin = (function (_super) {
+                generateEUI.skins = {"eui.Button":"resource/eui_skins/ButtonSkin.exml","eui.CheckBox":"resource/eui_skins/CheckBoxSkin.exml","eui.HScrollBar":"resource/eui_skins/HScrollBarSkin.exml","eui.HSlider":"resource/eui_skins/HSliderSkin.exml","eui.Panel":"resource/eui_skins/PanelSkin.exml","eui.TextInput":"resource/eui_skins/TextInputSkin.exml","eui.ProgressBar":"resource/eui_skins/ProgressBarSkin.exml","eui.RadioButton":"resource/eui_skins/RadioButtonSkin.exml","eui.Scroller":"resource/eui_skins/ScrollerSkin.exml","eui.ToggleSwitch":"resource/eui_skins/ToggleSwitchSkin.exml","eui.VScrollBar":"resource/eui_skins/VScrollBarSkin.exml","eui.VSlider":"resource/eui_skins/VSliderSkin.exml","eui.ItemRenderer":"resource/eui_skins/ItemRendererSkin.exml","MainGame":"resource/eui_skins/MainGame.exml","HomePage":"resource/eui_skins/HomePage.exml","InGame":"resource/eui_skins/InGame.exml","EndPage":"resource/eui_skins/EndPage.exml","ToumingBg":"resource/eui_skins/ToumingBg.exml","ToumingBtn":"resource/eui_skins/ToumingBtn.exml","ChouPage":"resource/eui_skins/ChouPage.exml","PrizePage":"resource/eui_skins/PrizePage.exml","ChouNoTimePage":"resource/eui_skins/ChouNoTimePage.exml","DiaBoy":"resource/eui_skins/DiaBoy.exml","RedPoint":"resource/eui_skins/RedPoint.exml","ResultPage":"resource/eui_skins/ResultPage.exml","TestPage":"resource/eui_skins/TestPage.exml","BigMap":"resource/eui_skins/BigMap.exml","IconMc":"resource/eui_skins/IconMc.exml","Deng":"resource/eui_skins/Deng.exml","QrPage":"resource/eui_skins/QrPage.exml","RankPage":"resource/eui_skins/RankPage.exml","RankBar":"resource/eui_skins/RankBar.exml","RankMe":"resource/eui_skins/RankMe.exml","InfoPage":"resource/eui_skins/InfoPage.exml","RankBarNew":"resource/eui_skins/RankBarNew.exml","RankEndPage":"resource/eui_skins/RankEndPage.exml","DanBar":"resource/eui_skins/DanBar.exml"};generateEUI.paths['resource/eui_skins/BigMap.exml'] = window.BigMapSkin = (function (_super) {
 	__extends(BigMapSkin, _super);
 	function BigMapSkin() {
 		_super.call(this);
@@ -680,6 +680,51 @@ window.skins=window.skins||{};
 		return t;
 	};
 	return ChouPageSkin;
+})(eui.Skin);generateEUI.paths['resource/eui_skins/DanBar.exml'] = window.DanBarSkin = (function (_super) {
+	__extends(DanBarSkin, _super);
+	function DanBarSkin() {
+		_super.call(this);
+		this.skinParts = ["nick","jiang"];
+		
+		this.height = 50;
+		this.width = 600;
+		this.elementsContent = [this.nick_i(),this.jiang_i()];
+	}
+	var _proto = DanBarSkin.prototype;
+
+	_proto.nick_i = function () {
+		var t = new eui.Label();
+		this.nick = t;
+		t.anchorOffsetX = 0;
+		t.anchorOffsetY = 0;
+		t.height = 40;
+		t.size = 25;
+		t.text = "";
+		t.textAlign = "center";
+		t.textColor = 0x666666;
+		t.verticalAlign = "middle";
+		t.width = 224;
+		t.x = 38;
+		t.y = 6;
+		return t;
+	};
+	_proto.jiang_i = function () {
+		var t = new eui.Label();
+		this.jiang = t;
+		t.anchorOffsetX = 0;
+		t.anchorOffsetY = 0;
+		t.height = 40;
+		t.size = 25;
+		t.text = "";
+		t.textAlign = "center";
+		t.textColor = 0x666666;
+		t.verticalAlign = "middle";
+		t.width = 315;
+		t.x = 276;
+		t.y = 6;
+		return t;
+	};
+	return DanBarSkin;
 })(eui.Skin);generateEUI.paths['resource/eui_skins/Deng.exml'] = window.DengSkin = (function (_super) {
 	__extends(DengSkin, _super);
 	function DengSkin() {
@@ -813,13 +858,13 @@ window.skins=window.skins||{};
 	__extends(HomePageSkin, _super);
 	function HomePageSkin() {
 		_super.call(this);
-		this.skinParts = ["anCar1","anCar2","yun0","yun1","qiqiu","car1","car2","tree","ship","startBtn","prizeBtn","tipImg","closeBtn","la0","lingquBtn0","bar0","la1","lingquBtn1","bar1","gPrize"];
+		this.skinParts = ["anCar1","anCar2","yun0","yun1","qiqiu","car1","car2","tree","ship","startBtn","prizeBtn","jiangBtn","tipImg","closeBtn","la0","lingquBtn0","bar0","la1","lingquBtn1","bar1","gPrize"];
 		
 		this.height = 1600;
 		this.width = 750;
 		this.anCar1_i();
 		this.anCar2_i();
-		this.elementsContent = [this._Image1_i(),this.yun0_i(),this.yun1_i(),this.qiqiu_i(),this.car1_i(),this.car2_i(),this.tree_i(),this.ship_i(),this.startBtn_i(),this.prizeBtn_i(),this.gPrize_i()];
+		this.elementsContent = [this._Image1_i(),this.yun0_i(),this.yun1_i(),this.qiqiu_i(),this.car1_i(),this.car2_i(),this.tree_i(),this.ship_i(),this.startBtn_i(),this.prizeBtn_i(),this.jiangBtn_i(),this.gPrize_i()];
 		
 		eui.Binding.$bindProperties(this, ["car1"],[0],this._TweenItem1,"target");
 		eui.Binding.$bindProperties(this, [807.36],[],this._Object1,"y");
@@ -984,6 +1029,14 @@ window.skins=window.skins||{};
 		t.y = 80;
 		return t;
 	};
+	_proto.jiangBtn_i = function () {
+		var t = new eui.Image();
+		this.jiangBtn = t;
+		t.source = "img/jiangBtn.png";
+		t.x = 624;
+		t.y = 190;
+		return t;
+	};
 	_proto.gPrize_i = function () {
 		var t = new eui.Group();
 		this.gPrize = t;
@@ -2365,6 +2418,171 @@ window.skins=window.skins||{};
 		return t;
 	};
 	return RankBarNewSkin;
+})(eui.Skin);generateEUI.paths['resource/eui_skins/RankEndPage.exml'] = window.RankEndPageSkin = (function (_super) {
+	__extends(RankEndPageSkin, _super);
+	function RankEndPageSkin() {
+		_super.call(this);
+		this.skinParts = ["tipImg","bar","closeBtn","btn0","btn1","gTop","gTop2","scDan","gNew","scTop"];
+		
+		this.height = 1600;
+		this.width = 750;
+		this.elementsContent = [this.tipImg_i(),this._Image1_i(),this.bar_i(),this.closeBtn_i(),this.btn0_i(),this.btn1_i(),this.scDan_i(),this.scTop_i()];
+	}
+	var _proto = RankEndPageSkin.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/rankEndBg.png";
+		t.x = 77.3;
+		t.y = 150.62;
+		return t;
+	};
+	_proto.bar_i = function () {
+		var t = new eui.Image();
+		this.bar = t;
+		t.anchorOffsetX = 35.5;
+		t.anchorOffsetY = 3;
+		t.source = "img/rankBar.png";
+		t.x = 240.59;
+		t.y = 397.04;
+		return t;
+	};
+	_proto.closeBtn_i = function () {
+		var t = new ToumingBtn();
+		this.closeBtn = t;
+		t.anchorOffsetX = 0;
+		t.anchorOffsetY = 0;
+		t.height = 105;
+		t.width = 103;
+		t.x = 614;
+		t.y = 129.12;
+		return t;
+	};
+	_proto.btn0_i = function () {
+		var t = new ToumingBtn();
+		this.btn0 = t;
+		t.anchorOffsetX = 102.66;
+		t.anchorOffsetY = 33.86;
+		t.height = 65;
+		t.width = 207;
+		t.x = 240.25;
+		t.y = 375.4;
+		return t;
+	};
+	_proto.btn1_i = function () {
+		var t = new ToumingBtn();
+		this.btn1 = t;
+		t.anchorOffsetX = 102.67;
+		t.anchorOffsetY = 33.32;
+		t.height = 66.34;
+		t.width = 207;
+		t.x = 507.58;
+		t.y = 374.19;
+		return t;
+	};
+	_proto.scDan_i = function () {
+		var t = new eui.Scroller();
+		this.scDan = t;
+		t.anchorOffsetX = 0;
+		t.anchorOffsetY = 0;
+		t.height = 999.88;
+		t.scrollPolicyH = "off";
+		t.scrollPolicyV = "on";
+		t.width = 604.55;
+		t.x = 74;
+		t.y = 414.15;
+		t.viewport = this.gTop2_i();
+		return t;
+	};
+	_proto.gTop2_i = function () {
+		var t = new eui.Group();
+		this.gTop2 = t;
+		t.layout = this._VerticalLayout1_i();
+		t.elementsContent = [this._Image2_i(),this.gTop_i()];
+		return t;
+	};
+	_proto._VerticalLayout1_i = function () {
+		var t = new eui.VerticalLayout();
+		t.gap = 15;
+		t.paddingBottom = 10;
+		t.paddingTop = 10;
+		t.verticalAlign = "top";
+		return t;
+	};
+	_proto._Image2_i = function () {
+		var t = new eui.Image();
+		t.source = "img/danBar.jpg";
+		t.x = 93;
+		t.y = 74;
+		return t;
+	};
+	_proto.gTop_i = function () {
+		var t = new eui.Group();
+		this.gTop = t;
+		t.height = 750;
+		t.scaleX = 1;
+		t.scaleY = 1;
+		t.width = 600;
+		t.x = 0;
+		t.y = -1.1499999999999204;
+		t.layout = this._VerticalLayout2_i();
+		t.elementsContent = [this._DanBar1_i()];
+		return t;
+	};
+	_proto._VerticalLayout2_i = function () {
+		var t = new eui.VerticalLayout();
+		return t;
+	};
+	_proto._DanBar1_i = function () {
+		var t = new DanBar();
+		t.x = 64;
+		t.y = 43;
+		return t;
+	};
+	_proto.scTop_i = function () {
+		var t = new eui.Scroller();
+		this.scTop = t;
+		t.anchorOffsetX = 0;
+		t.anchorOffsetY = 0;
+		t.height = 997.88;
+		t.scrollPolicyH = "off";
+		t.scrollPolicyV = "on";
+		t.width = 604.55;
+		t.x = 74;
+		t.y = 413;
+		t.viewport = this.gNew_i();
+		return t;
+	};
+	_proto.gNew_i = function () {
+		var t = new eui.Group();
+		this.gNew = t;
+		t.layout = this._VerticalLayout3_i();
+		t.elementsContent = [this._Image3_i()];
+		return t;
+	};
+	_proto._VerticalLayout3_i = function () {
+		var t = new eui.VerticalLayout();
+		return t;
+	};
+	_proto._Image3_i = function () {
+		var t = new eui.Image();
+		t.scaleX = 1;
+		t.scaleY = 1;
+		t.source = "img/rankNotOver.png";
+		t.x = 0;
+		t.y = 91.14999999999992;
+		return t;
+	};
+	return RankEndPageSkin;
 })(eui.Skin);generateEUI.paths['resource/eui_skins/RankMe.exml'] = window.RankMeSkin = (function (_super) {
 	__extends(RankMeSkin, _super);
 	function RankMeSkin() {
@@ -2446,7 +2664,6 @@ window.skins=window.skins||{};
 		var t = new eui.Image();
 		this.tipImg = t;
 		t.source = "img/tip01.jpg";
-		t.visible = false;
 		t.x = 0;
 		t.y = 0;
 		return t;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/js/main.min.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно