Commit b5077a43 authored by wjf's avatar wjf

l

parent ec91ad3b
...@@ -448,6 +448,7 @@ export class NetManager extends ABNetManager { ...@@ -448,6 +448,7 @@ export class NetManager extends ABNetManager {
dataType: 'json', dataType: 'json',
param: { param: {
activityId: DataManager.ins.customCfgData.actId, activityId: DataManager.ins.customCfgData.actId,
orderId: orderId,
gameData: gameData, gameData: gameData,
sign: sign, sign: sign,
dynamicData: JSON.stringify([]), dynamicData: JSON.stringify([]),
......
...@@ -12,6 +12,7 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -12,6 +12,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
hammerBtn: egret.Bitmap; hammerBtn: egret.Bitmap;
stepBtn: egret.Bitmap; stepBtn: egret.Bitmap;
msgTxt: egret.TextField; msgTxt: egret.TextField;
stepCircle: egret.Shape;
constructor() { constructor() {
super() super()
this.bg = new egret.Shape(); this.bg = new egret.Shape();
...@@ -33,12 +34,17 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -33,12 +34,17 @@ export class PropGuide extends egret.DisplayObjectContainer {
text.text = "为本次增加额外5次步数"; text.text = "为本次增加额外5次步数";
text.textColor = 0xffffff; text.textColor = 0xffffff;
text.size = 20; text.size = 20;
text.x = (750-500)/2; text.x = (750 - 500) / 2;
text.y = 1008; text.y = 1008;
text.textAlign = egret.HorizontalAlign.CENTER; text.textAlign = egret.HorizontalAlign.CENTER;
text.width = 500; text.width = 500;
this.addChild(text); this.addChild(text);
this.msgTxt = text; this.msgTxt = text;
//步数的圆
this.stepCircle = new egret.Shape();
this.stepCircle.graphics.beginFill(0xff0000, 0.5);
this.stepCircle.graphics.drawCircle(123, 98, 72);
this.stepCircle.graphics.endFill();
this.addEventListener(egret.TouchEvent.TOUCH_TAP, () => { this.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
if (this.parent) this.parent.removeChild(this) if (this.parent) this.parent.removeChild(this)
...@@ -74,7 +80,7 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -74,7 +80,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
this.bg.graphics.lineTo(0, 0); this.bg.graphics.lineTo(0, 0);
this.bg.graphics.drawArc(123, 98, 72, 0, Math.PI * 2, true) this.bg.graphics.drawArc(123, 98, 72, 0, Math.PI * 2, true)
this.bg.graphics.endFill(); this.bg.graphics.endFill();
this.msgTxt.text = "为本次增加额外5次步数"; this.msgTxt.text = "点击左上方步数,为本次增加额外5次步数";
// this.msgTxt.x = 320; // this.msgTxt.x = 320;
} }
} }
......
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