Commit 30f717ea authored by zjz1994's avatar zjz1994

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole into 优化地图map

# Conflicts:
#	egret/src/something/chapters/Chapter29.ts
parents 51bb863b b4dfd297
...@@ -479,7 +479,7 @@ export class NetManager extends ABNetManager { ...@@ -479,7 +479,7 @@ export class NetManager extends ABNetManager {
deviceSessionId: window['_device_session_id'], deviceSessionId: window['_device_session_id'],
score: score score: score
}; };
console.log("通关提交",data); // console.log("通关提交",data);
if (relatedTaskType) { if (relatedTaskType) {
data['relatedTaskType'] = relatedTaskType; data['relatedTaskType'] = relatedTaskType;
} }
......
...@@ -512,7 +512,7 @@ export default class MainScene extends Scene { ...@@ -512,7 +512,7 @@ export default class MainScene extends Scene {
this.addChildAt(this.festivalContainer,1); this.addChildAt(this.festivalContainer,1);
//道具使用时蒙层 无需加入场景,带入propBtnCo的位置数据 //道具使用时蒙层 无需加入场景,带入propBtnCo的位置数据
console.log('偏移',this.propBtnCon.y,this.propBtnCon.boomBtn.y); // console.log('偏移',this.propBtnCon.y,this.propBtnCon.boomBtn.y);
this.propGuide = new PropGuide(this.propBtnCon.y,this.islongScreen); this.propGuide = new PropGuide(this.propBtnCon.y,this.islongScreen);
this.propGuide.touchEnabled = true; this.propGuide.touchEnabled = true;
...@@ -1687,7 +1687,7 @@ export default class MainScene extends Scene { ...@@ -1687,7 +1687,7 @@ export default class MainScene extends Scene {
this.lattices[festivalIndex] && //格子必须有 this.lattices[festivalIndex] && //格子必须有
(Tool.judgeSetFesEle(this.lattices[festivalIndex]) || !this.lattices[festivalIndex].element) //没有元素也行 (Tool.judgeSetFesEle(this.lattices[festivalIndex]) || !this.lattices[festivalIndex].element) //没有元素也行
) { ) {
console.log("节日元素loading"); // console.log("节日元素loading");
this['redrainbg'].visible = true; this['redrainbg'].visible = true;
await this.startPlayLoadingAni(); await this.startPlayLoadingAni();
this['redrainbg'].visible = false; this['redrainbg'].visible = false;
...@@ -4369,7 +4369,7 @@ export default class MainScene extends Scene { ...@@ -4369,7 +4369,7 @@ export default class MainScene extends Scene {
ele.playCandyDieAni(); ele.playCandyDieAni();
//这里面会去算个数 //这里面会去算个数
this.recoverEle(index); this.recoverEle(index);
this.playAni(RecoverName.STEP_ANI, [50, 100]); this.playAni(RecoverName.STEP_ANI, [120, 125]);
setTimeout(() => { setTimeout(() => {
this.steps += 5; this.steps += 5;
}, 333) }, 333)
...@@ -5403,7 +5403,7 @@ export default class MainScene extends Scene { ...@@ -5403,7 +5403,7 @@ export default class MainScene extends Scene {
* @param tlidx 拍框猩猩的左上 * @param tlidx 拍框猩猩的左上
*/ */
pongoPaiKuang(tlidx:number){ pongoPaiKuang(tlidx:number){
console.log("猩猩拍框"); // console.log("猩猩拍框");
//随机发框 //随机发框
var kuangarr:Array<number> = new Array(); var kuangarr:Array<number> = new Array();
var canusearr:Array<number> = new Array();//可以作为左上角的 var canusearr:Array<number> = new Array();//可以作为左上角的
...@@ -6225,7 +6225,7 @@ export default class MainScene extends Scene { ...@@ -6225,7 +6225,7 @@ export default class MainScene extends Scene {
//新增糖果转特效元素处理 //新增糖果转特效元素处理
setCandyToEffect(ele){ setCandyToEffect(ele){
if(ele&&ele.candy&&ele.candy.step){ if(ele&&ele.candy&&ele.candy.step){
this.playAni(RecoverName.STEP_ANI, [50, 100]); this.playAni(RecoverName.STEP_ANI, [120, 125]);
setTimeout(() => { setTimeout(() => {
this.steps += 5; this.steps += 5;
}, 333) }, 333)
......
...@@ -152,7 +152,7 @@ export default class MapScene extends Scene { ...@@ -152,7 +152,7 @@ export default class MapScene extends Scene {
}else{ }else{
this.islongScreen = true; this.islongScreen = true;
} }
console.log("手机长短屏幕适配",whl,this.islongScreen); // console.log("手机长短屏幕适配",whl,this.islongScreen);
if(this.islongScreen){ if(this.islongScreen){
this['adapttop'].y = 50; this['adapttop'].y = 50;
this['settingsx'].bottom = 50; this['settingsx'].bottom = 50;
...@@ -1061,7 +1061,7 @@ export default class MapScene extends Scene { ...@@ -1061,7 +1061,7 @@ export default class MapScene extends Scene {
} }
destroy() { destroy() {
console.log("map------------destroy"); // console.log("map------------destroy");
super.destroy(); super.destroy();
// this.removeIcon(); // this.removeIcon();
...@@ -1573,7 +1573,7 @@ export default class MapScene extends Scene { ...@@ -1573,7 +1573,7 @@ export default class MapScene extends Scene {
} }
protected removeEvents(){ protected removeEvents(){
console.log("map-----------removeEvents"); // console.log("map-----------removeEvents");
this['goldBtn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_goldBtn, this); this['goldBtn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_goldBtn, this);
this['guide'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_guide, this); this['guide'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_guide, this);
// this['act2Btn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_act2btn, this); // this['act2Btn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_act2btn, this);
......
This diff is collapsed.
...@@ -6,7 +6,7 @@ export class snpmAdStatic{ ...@@ -6,7 +6,7 @@ export class snpmAdStatic{
*/ */
static snpmAdReport(type:string,from:string,adata:object){ static snpmAdReport(type:string,from:string,adata:object){
var params = {}; var params = {};
console.log("准备上报",type,from,JSON.stringify(adata)); // console.log("准备上报",type,from,JSON.stringify(adata));
switch(from){ switch(from){
case 'icon': case 'icon':
params['eleid']='bingoIndexAd'; params['eleid']='bingoIndexAd';
...@@ -59,7 +59,7 @@ export class snpmAdStatic{ ...@@ -59,7 +59,7 @@ export class snpmAdStatic{
*/ */
static showAdReport(params){ static showAdReport(params){
try{ try{
console.log("曝光上报",JSON.stringify(params)); // console.log("曝光上报",JSON.stringify(params));
let elem = document.createElement('div') let elem = document.createElement('div')
params.saData.eleid = params.eleid; params.saData.eleid = params.eleid;
    elem.setAttribute('sa-data', JSON.stringify(params.saData))     elem.setAttribute('sa-data', JSON.stringify(params.saData))
...@@ -73,15 +73,6 @@ export class snpmAdStatic{ ...@@ -73,15 +73,6 @@ export class snpmAdStatic{
//expoManual //expoManual
//exposure //exposure
     window['SAUP'].sendLogData("expoManual", elem);      window['SAUP'].sendLogData("expoManual", elem);
// window['SAUP'].sendLogData("expoManual", {
// tag:elem,
// sapmodid:params.sapmodid,
// event_name:'exposure',
// targeturl:params.targeturl,
// pageid:params.saData.pageid,
// modid:params.saData.modid,
// eleid:params.saData.eleid,
// });
    }     }
}catch(e){ }catch(e){
...@@ -93,7 +84,7 @@ export class snpmAdStatic{ ...@@ -93,7 +84,7 @@ export class snpmAdStatic{
*/ */
static clickAdReport(params){ static clickAdReport(params){
try{ try{
console.log('点击上报',JSON.stringify(params)); // console.log('点击上报',JSON.stringify(params));
if(params.targeturl&&params.targeturl.length){ if(params.targeturl&&params.targeturl.length){
window['$'].ajax({ window['$'].ajax({
type:'get', type:'get',
...@@ -116,7 +107,7 @@ export class snpmAdStatic{ ...@@ -116,7 +107,7 @@ export class snpmAdStatic{
img.src = params.targeturl; img.src = params.targeturl;
} }
if (window['SAUP'] && window['SAUP'].sendLogData) { if (window['SAUP'] && window['SAUP'].sendLogData) {
console.log("广告点击上报",params.saData.pageid); // console.log("广告点击上报",params.saData.pageid);
//click //click
//comclick //comclick
window['SAUP'].sendLogData('click',{ window['SAUP'].sendLogData('click',{
......
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