Commit 58ccfb62 authored by Stepheno's avatar Stepheno

(feat) style

parent 959192a0
File added
...@@ -161,13 +161,13 @@ export default class Game extends InteractComponent{ ...@@ -161,13 +161,13 @@ export default class Game extends InteractComponent{
case 5: case 5:
return [3, 3, {ele: 2, iterater: 3}] return [3, 3, {ele: 2, iterater: 3}]
case 6: case 6:
return [3, 3, {ele: 3, iterater: 3}] return [3, 3, 2, {ele: 2, iterater: 3}]
case 7: case 7:
return [3, 3, 3, {ele: 2, iterater: 3}] return [3, 3, 4, {ele: 2, iterater: 3}]
case 8: case 8:
return [3, 4, 3, {ele: 2, iterater: 3}] return [3, 4, 4, {ele: 2, iterater: 3}]
case 9: case 9:
return [4, 4, 4, {ele: 2, iterater: 3}] return [4, 5, 4, {ele: 2, iterater: 3}]
case 10: case 10:
return [5, 4, 5, {ele: 2, iterater: 3}] return [5, 4, 5, {ele: 2, iterater: 3}]
default: default:
...@@ -199,9 +199,9 @@ export default class Game extends InteractComponent{ ...@@ -199,9 +199,9 @@ export default class Game extends InteractComponent{
const itemHeight = height / list.length const itemHeight = height / list.length
let treasureNum = box let treasureNum = box
let stoneNum = Math.floor(box * 0.6) let stoneNum = Math.ceil(box * 0.6)
if (box === 6) stoneNum-- // if (box === 6) stoneNum--
const generateEle = (create, box, img, num, left, top, width, height) => { const generateEle = (create, box, img, num, left, top, width, height) => {
const entity = create(box, this.config.getTexture(img), num) const entity = create(box, this.config.getTexture(img), num)
...@@ -278,6 +278,7 @@ export default class Game extends InteractComponent{ ...@@ -278,6 +278,7 @@ export default class Game extends InteractComponent{
onError(code) { onError(code) {
const c = this.entity.getComponent(start) const c = this.entity.getComponent(start)
this.popup = this.DialogContainer.getComponent(Popup) this.popup = this.DialogContainer.getComponent(Popup)
const s = this.entity.getComponent(start)
switch (code) { switch (code) {
case '0100000': case '0100000':
c.initLoginProcess(true) c.initLoginProcess(true)
...@@ -288,6 +289,16 @@ export default class Game extends InteractComponent{ ...@@ -288,6 +289,16 @@ export default class Game extends InteractComponent{
case '0901011': case '0901011':
this.CurrencyNotEnough.getComponent(Currency).setLabel() this.CurrencyNotEnough.getComponent(Currency).setLabel()
break break
case '0901012':
case '0901013':
this.popup.showDialog('TakeFailed')
break
case '0100014':
s.toast('活动已结束\n无法参与')
break
case '0100016':
s.toast('活动未开始\n暂时无法参与')
break
case '9999999': case '9999999':
this.popup.showDialog('Network') this.popup.showDialog('Network')
break break
......
...@@ -72,6 +72,7 @@ export default class start extends ScillaComponent { ...@@ -72,6 +72,7 @@ export default class start extends ScillaComponent {
private actStatus: ActStatus private actStatus: ActStatus
private loginStatus: boolean = false
init() { init() {
...@@ -128,6 +129,7 @@ export default class start extends ScillaComponent { ...@@ -128,6 +129,7 @@ export default class start extends ScillaComponent {
} }
public initLoginProcess(force: boolean = false) { public initLoginProcess(force: boolean = false) {
this.loginStatus = this.homeInfo && this.homeInfo.login
if (!(this.homeInfo && this.homeInfo.login) || force) { if (!(this.homeInfo && this.homeInfo.login) || force) {
const btn = this.UnLogin.getChildrenByName('Button')[0] const btn = this.UnLogin.getChildrenByName('Button')[0]
if (typeof window['requireLogin'] !== 'function' && !this.homeInfo.loginUrl) { if (typeof window['requireLogin'] !== 'function' && !this.homeInfo.loginUrl) {
...@@ -302,6 +304,10 @@ export default class start extends ScillaComponent { ...@@ -302,6 +304,10 @@ export default class start extends ScillaComponent {
} }
linkToRecordUrl() { linkToRecordUrl() {
if (!this.loginStatus) {
this.popup.showDialog('UnLogin')
return
}
if (this.configError) return if (this.configError) return
if (this.isRunning()) location.href = this.homeInfo.prizeUrl if (this.isRunning()) location.href = this.homeInfo.prizeUrl
} }
...@@ -318,7 +324,7 @@ export default class start extends ScillaComponent { ...@@ -318,7 +324,7 @@ export default class start extends ScillaComponent {
} }
initRewardsList(rewardsList) { initRewardsList(rewardsList) {
this.rewardsContainer.getComponent(RectRenderer).width = 180 * rewardsList.length this.rewardsContainer.getComponent(RectRenderer).width = 150 * rewardsList.length
this.rewardsContainer.removeChildren() this.rewardsContainer.removeChildren()
rewardsList.forEach(async (item, index) => { rewardsList.forEach(async (item, index) => {
const entity = instantiate(this.rewardsItem) const entity = instantiate(this.rewardsItem)
......
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
}); });
return HashObject; return HashObject;
}()); }());
//# sourceMappingURL=HashObject.js.map
function injectProp(target, data, callback, ignoreMethod, ignoreNull) { function injectProp(target, data, callback, ignoreMethod, ignoreNull) {
if (ignoreMethod === void 0) { ignoreMethod = true; } if (ignoreMethod === void 0) { ignoreMethod = true; }
...@@ -197,6 +198,7 @@ ...@@ -197,6 +198,7 @@
}, context); }, context);
return result; return result;
} }
//# sourceMappingURL=utils.js.map
var EngineConfig = { var EngineConfig = {
lineHeightRatio: 1.2, lineHeightRatio: 1.2,
...@@ -211,6 +213,7 @@ ...@@ -211,6 +213,7 @@
function modifyEngineConfig(_options) { function modifyEngineConfig(_options) {
injectProp(EngineConfig, _options); injectProp(EngineConfig, _options);
} }
//# sourceMappingURL=engine-config.js.map
var interactiveMap = [ var interactiveMap = [
'_dealGlobalTouchBegin', '_dealGlobalTouchBegin',
...@@ -394,6 +397,7 @@ ...@@ -394,6 +397,7 @@
}; };
return Component; return Component;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Component.js.map
function traverse(target, hitChild, level, includeSelf, fullCallback) { function traverse(target, hitChild, level, includeSelf, fullCallback) {
var e_1, _a; var e_1, _a;
...@@ -472,6 +476,7 @@ ...@@ -472,6 +476,7 @@
} }
} }
} }
//# sourceMappingURL=utils.js.map
var Entity = (function (_super) { var Entity = (function (_super) {
__extends(Entity, _super); __extends(Entity, _super);
...@@ -891,6 +896,7 @@ ...@@ -891,6 +896,7 @@
}); });
return RootEntity; return RootEntity;
}(Entity)); }(Entity));
//# sourceMappingURL=Entity.js.map
var ScillaEvent = (function () { var ScillaEvent = (function () {
function ScillaEvent() { function ScillaEvent() {
...@@ -1003,6 +1009,7 @@ ...@@ -1003,6 +1009,7 @@
}; };
return ScillaEvent; return ScillaEvent;
}()); }());
//# sourceMappingURL=ScillaEvent.js.map
function fieldChanged(onChange) { function fieldChanged(onChange) {
return function (target, key) { return function (target, key) {
...@@ -1028,6 +1035,7 @@ ...@@ -1028,6 +1035,7 @@
var dirtyFieldTrigger = fieldChanged(function (value, key, oldValue) { var dirtyFieldTrigger = fieldChanged(function (value, key, oldValue) {
this['onModify'] && this['onModify'](value, key, oldValue); this['onModify'] && this['onModify'](value, key, oldValue);
}); });
//# sourceMappingURL=decorators.js.map
var ScaleMode; var ScaleMode;
(function (ScaleMode) { (function (ScaleMode) {
...@@ -1317,6 +1325,7 @@ ...@@ -1317,6 +1325,7 @@
function createCanvas() { function createCanvas() {
return document.createElement('canvas'); return document.createElement('canvas');
} }
//# sourceMappingURL=RenderContext.js.map
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
var isMobile = (ua.indexOf('mobile') !== -1 || ua.indexOf('android') !== -1); var isMobile = (ua.indexOf('mobile') !== -1 || ua.indexOf('android') !== -1);
...@@ -1471,6 +1480,7 @@ ...@@ -1471,6 +1480,7 @@
}; };
return InteractContext; return InteractContext;
}()); }());
//# sourceMappingURL=InteractContext.js.map
var lastTime = 0; var lastTime = 0;
var vendors = ['webkit', 'moz']; var vendors = ['webkit', 'moz'];
...@@ -1495,6 +1505,7 @@ ...@@ -1495,6 +1505,7 @@
clearTimeout(id); clearTimeout(id);
}; };
} }
//# sourceMappingURL=requestAnimationFrame.js.map
var Bounds = (function () { var Bounds = (function () {
function Bounds(x, y, width, height, onChange) { function Bounds(x, y, width, height, onChange) {
...@@ -1634,6 +1645,7 @@ ...@@ -1634,6 +1645,7 @@
], Bounds.prototype, "height", void 0); ], Bounds.prototype, "height", void 0);
return Bounds; return Bounds;
}()); }());
//# sourceMappingURL=Bounds.js.map
var Texture = (function (_super) { var Texture = (function (_super) {
__extends(Texture, _super); __extends(Texture, _super);
...@@ -1717,6 +1729,7 @@ ...@@ -1717,6 +1729,7 @@
texture.setFrame(frame || { x: 0, y: 0, w: img.width, h: img.height }); texture.setFrame(frame || { x: 0, y: 0, w: img.width, h: img.height });
return texture; return texture;
} }
//# sourceMappingURL=Texture.js.map
var Sheet = (function (_super) { var Sheet = (function (_super) {
__extends(Sheet, _super); __extends(Sheet, _super);
...@@ -1774,6 +1787,7 @@ ...@@ -1774,6 +1787,7 @@
}; };
return Sheet; return Sheet;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Sheet.js.map
var animationMap = {}; var animationMap = {};
var animDataMap = {}; var animDataMap = {};
...@@ -1880,6 +1894,7 @@ ...@@ -1880,6 +1894,7 @@
}; };
return FrameAnimationImpl; return FrameAnimationImpl;
}()); }());
//# sourceMappingURL=FrameAnimation.js.map
var AssetsManager = (function () { var AssetsManager = (function () {
function AssetsManager() { function AssetsManager() {
...@@ -2322,6 +2337,7 @@ ...@@ -2322,6 +2337,7 @@
}; };
return AssetsManager; return AssetsManager;
}()); }());
//# sourceMappingURL=AssetsManager.js.map
var has = Object.prototype.hasOwnProperty, prefix = '~'; var has = Object.prototype.hasOwnProperty, prefix = '~';
function Events() { } function Events() { }
...@@ -2499,6 +2515,7 @@ ...@@ -2499,6 +2515,7 @@
}; };
return EventEmitter; return EventEmitter;
}()); }());
//# sourceMappingURL=EventEmitter.js.map
var Ease; var Ease;
(function (Ease) { (function (Ease) {
...@@ -2674,6 +2691,7 @@ ...@@ -2674,6 +2691,7 @@
}; };
} }
var elasticInOut = getElasticInOut(1, 0.3 * 1.5); var elasticInOut = getElasticInOut(1, 0.3 * 1.5);
//# sourceMappingURL=ease.js.map
var ease = /*#__PURE__*/Object.freeze({ var ease = /*#__PURE__*/Object.freeze({
get Ease () { return Ease; }, get Ease () { return Ease; },
...@@ -2758,6 +2776,7 @@ ...@@ -2758,6 +2776,7 @@
if (min === void 0) { min = 0; } if (min === void 0) { min = 0; }
return Math.floor(Math.random() * (max - min)) + min; return Math.floor(Math.random() * (max - min)) + min;
} }
//# sourceMappingURL=math.js.map
var DataCenter = (function (_super) { var DataCenter = (function (_super) {
__extends(DataCenter, _super); __extends(DataCenter, _super);
...@@ -2821,6 +2840,7 @@ ...@@ -2821,6 +2840,7 @@
}; };
return DataCenter; return DataCenter;
}(EventEmitter)); }(EventEmitter));
//# sourceMappingURL=DataCenter.js.map
var defMap = {}; var defMap = {};
var entityMap = {}; var entityMap = {};
...@@ -3103,6 +3123,7 @@ ...@@ -3103,6 +3123,7 @@
console.warn('script is correct :', script); console.warn('script is correct :', script);
} }
} }
//# sourceMappingURL=interpreter.js.map
var ScillaEngine = (function () { var ScillaEngine = (function () {
function ScillaEngine() { function ScillaEngine() {
...@@ -3416,6 +3437,7 @@ ...@@ -3416,6 +3437,7 @@
return ScillaEngine; return ScillaEngine;
}()); }());
var engine = new ScillaEngine(); var engine = new ScillaEngine();
//# sourceMappingURL=ScillaEngine.js.map
var all = {}; var all = {};
function getGroup(name) { function getGroup(name) {
...@@ -3445,6 +3467,7 @@ ...@@ -3445,6 +3467,7 @@
initFunc.apply(void 0, __spread([instance], params)); initFunc.apply(void 0, __spread([instance], params));
return instance; return instance;
} }
//# sourceMappingURL=ObjectPool.js.map
var name$1 = 'Vector2D'; var name$1 = 'Vector2D';
register(name$1, function () { register(name$1, function () {
...@@ -3647,6 +3670,7 @@ ...@@ -3647,6 +3670,7 @@
}; };
return Vector2D; return Vector2D;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Vector2D.js.map
var STATUS; var STATUS;
(function (STATUS) { (function (STATUS) {
...@@ -3995,6 +4019,7 @@ ...@@ -3995,6 +4019,7 @@
}; };
return Tween; return Tween;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Tween.js.map
var PI = Math.PI; var PI = Math.PI;
var TwoPI = PI * 2; var TwoPI = PI * 2;
...@@ -4364,6 +4389,7 @@ ...@@ -4364,6 +4389,7 @@
}; };
return Matrix; return Matrix;
}()); }());
//# sourceMappingURL=Matrix.js.map
var Size = (function (_super) { var Size = (function (_super) {
__extends(Size, _super); __extends(Size, _super);
...@@ -4413,6 +4439,7 @@ ...@@ -4413,6 +4439,7 @@
], Size.prototype, "height", void 0); ], Size.prototype, "height", void 0);
return Size; return Size;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Size.js.map
var LocalStorage = (function () { var LocalStorage = (function () {
function LocalStorage(ID) { function LocalStorage(ID) {
...@@ -4450,6 +4477,7 @@ ...@@ -4450,6 +4477,7 @@
}; };
return LocalStorage; return LocalStorage;
}()); }());
//# sourceMappingURL=LocalStorage.js.map
var FontStyle; var FontStyle;
(function (FontStyle) { (function (FontStyle) {
...@@ -4497,6 +4525,7 @@ ...@@ -4497,6 +4525,7 @@
], TextStyle.prototype, "fontFamily", void 0); ], TextStyle.prototype, "fontFamily", void 0);
return TextStyle; return TextStyle;
}()); }());
//# sourceMappingURL=TextStyle.js.map
var Scene = (function () { var Scene = (function () {
function Scene(engine) { function Scene(engine) {
...@@ -4540,6 +4569,7 @@ ...@@ -4540,6 +4569,7 @@
}; };
return Scene; return Scene;
}()); }());
//# sourceMappingURL=Scene.js.map
var ScillaLauncher = (function () { var ScillaLauncher = (function () {
function ScillaLauncher() { function ScillaLauncher() {
...@@ -4635,6 +4665,7 @@ ...@@ -4635,6 +4665,7 @@
}; };
return ScillaLauncher; return ScillaLauncher;
}()); }());
//# sourceMappingURL=index.js.map
var ScillaComponent = (function (_super) { var ScillaComponent = (function (_super) {
__extends(ScillaComponent, _super); __extends(ScillaComponent, _super);
...@@ -4662,6 +4693,7 @@ ...@@ -4662,6 +4693,7 @@
}; };
return ScillaComponent; return ScillaComponent;
}(Component)); }(Component));
//# sourceMappingURL=index.js.map
var dirtyFieldTrigger$1 = dirtyFieldTrigger; var dirtyFieldTrigger$1 = dirtyFieldTrigger;
var Renderer = (function (_super) { var Renderer = (function (_super) {
...@@ -4832,6 +4864,7 @@ ...@@ -4832,6 +4864,7 @@
], Renderer.prototype, "anchor", void 0); ], Renderer.prototype, "anchor", void 0);
return Renderer; return Renderer;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$1 = dirtyFieldDetector; var dirtyFieldDetector$1 = dirtyFieldDetector;
var GraphicRenderer = (function (_super) { var GraphicRenderer = (function (_super) {
...@@ -4918,6 +4951,7 @@ ...@@ -4918,6 +4951,7 @@
], GraphicRenderer.prototype, "maskVisible", void 0); ], GraphicRenderer.prototype, "maskVisible", void 0);
return GraphicRenderer; return GraphicRenderer;
}(Renderer)); }(Renderer));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$2 = dirtyFieldDetector, dirtyFieldTrigger$2 = dirtyFieldTrigger; var dirtyFieldDetector$2 = dirtyFieldDetector, dirtyFieldTrigger$2 = dirtyFieldTrigger;
var TextAlign; var TextAlign;
...@@ -5381,6 +5415,7 @@ ...@@ -5381,6 +5415,7 @@
], TextRenderer.prototype, "useCacheMode", void 0); ], TextRenderer.prototype, "useCacheMode", void 0);
return TextRenderer; return TextRenderer;
}(GraphicRenderer)); }(GraphicRenderer));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$3 = dirtyFieldDetector, dirtyFieldTrigger$3 = dirtyFieldTrigger; var dirtyFieldDetector$3 = dirtyFieldDetector, dirtyFieldTrigger$3 = dirtyFieldTrigger;
var MATRIX_ORDER; var MATRIX_ORDER;
...@@ -5601,6 +5636,7 @@ ...@@ -5601,6 +5636,7 @@
], Transform.prototype, "rotation", void 0); ], Transform.prototype, "rotation", void 0);
return Transform; return Transform;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var FullStageSize = (function (_super) { var FullStageSize = (function (_super) {
__extends(FullStageSize, _super); __extends(FullStageSize, _super);
...@@ -5649,6 +5685,7 @@ ...@@ -5649,6 +5685,7 @@
}; };
return FullStageSize; return FullStageSize;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var NavigatorAction; var NavigatorAction;
(function (NavigatorAction) { (function (NavigatorAction) {
...@@ -5734,6 +5771,7 @@ ...@@ -5734,6 +5771,7 @@
}; };
return StackNavigator; return StackNavigator;
}()); }());
//# sourceMappingURL=StackNavigator.js.map
var VIEW_WILL_ENTER = 'VIEW_WILL_ENTER'; var VIEW_WILL_ENTER = 'VIEW_WILL_ENTER';
var VIEW_DID_ENTER = 'VIEW_DID_ENTER'; var VIEW_DID_ENTER = 'VIEW_DID_ENTER';
...@@ -5834,6 +5872,7 @@ ...@@ -5834,6 +5872,7 @@
}; };
return VirtualNavigator; return VirtualNavigator;
}(EventEmitter)); }(EventEmitter));
//# sourceMappingURL=VirtualNavigator.js.map
var SingleSceneNavigator = (function (_super) { var SingleSceneNavigator = (function (_super) {
__extends(SingleSceneNavigator, _super); __extends(SingleSceneNavigator, _super);
...@@ -5888,6 +5927,7 @@ ...@@ -5888,6 +5927,7 @@
}; };
return SingleSceneNavigator; return SingleSceneNavigator;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$4 = dirtyFieldDetector; var dirtyFieldDetector$4 = dirtyFieldDetector;
var floatLayerName = 'floatLayer'; var floatLayerName = 'floatLayer';
...@@ -5965,6 +6005,7 @@ ...@@ -5965,6 +6005,7 @@
], HtmlRenderer.prototype, "color", void 0); ], HtmlRenderer.prototype, "color", void 0);
return HtmlRenderer; return HtmlRenderer;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var dirtyFieldTrigger$4 = dirtyFieldTrigger; var dirtyFieldTrigger$4 = dirtyFieldTrigger;
var InteractComponent = (function (_super) { var InteractComponent = (function (_super) {
...@@ -6081,6 +6122,7 @@ ...@@ -6081,6 +6122,7 @@
], InteractComponent.prototype, "interactable", void 0); ], InteractComponent.prototype, "interactable", void 0);
return InteractComponent; return InteractComponent;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var TouchInterrupt = (function (_super) { var TouchInterrupt = (function (_super) {
__extends(TouchInterrupt, _super); __extends(TouchInterrupt, _super);
...@@ -6091,6 +6133,7 @@ ...@@ -6091,6 +6133,7 @@
} }
return TouchInterrupt; return TouchInterrupt;
}(InteractComponent)); }(InteractComponent));
//# sourceMappingURL=index.js.map
var RequestMethod; var RequestMethod;
(function (RequestMethod) { (function (RequestMethod) {
...@@ -6111,7 +6154,6 @@ ...@@ -6111,7 +6154,6 @@
if (credentials) { if (credentials) {
options.credentials = credentials; options.credentials = credentials;
} }
options.credentials = 'include';
var temp = typeof params === 'string' ? params : objectStringify(params); var temp = typeof params === 'string' ? params : objectStringify(params);
switch (method.toUpperCase()) { switch (method.toUpperCase()) {
case 'GET': case 'GET':
...@@ -6227,6 +6269,7 @@ ...@@ -6227,6 +6269,7 @@
}); });
}); });
} }
//# sourceMappingURL=index.js.map
var ApiComponent = (function (_super) { var ApiComponent = (function (_super) {
__extends(ApiComponent, _super); __extends(ApiComponent, _super);
...@@ -6363,6 +6406,7 @@ ...@@ -6363,6 +6406,7 @@
}; };
return ApiComponent; return ApiComponent;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var SampleApi = (function (_super) { var SampleApi = (function (_super) {
__extends(SampleApi, _super); __extends(SampleApi, _super);
...@@ -6390,6 +6434,7 @@ ...@@ -6390,6 +6434,7 @@
}; };
return SampleApi; return SampleApi;
}(ApiComponent)); }(ApiComponent));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$5 = dirtyFieldDetector, dirtyFieldTrigger$5 = dirtyFieldTrigger; var dirtyFieldDetector$5 = dirtyFieldDetector, dirtyFieldTrigger$5 = dirtyFieldTrigger;
var FillMode; var FillMode;
...@@ -6533,6 +6578,7 @@ ...@@ -6533,6 +6578,7 @@
], TextureRenderer.prototype, "filters", void 0); ], TextureRenderer.prototype, "filters", void 0);
return TextureRenderer; return TextureRenderer;
}(Renderer)); }(Renderer));
//# sourceMappingURL=index.js.map
var RelativeLayout = (function (_super) { var RelativeLayout = (function (_super) {
__extends(RelativeLayout, _super); __extends(RelativeLayout, _super);
...@@ -6683,6 +6729,7 @@ ...@@ -6683,6 +6729,7 @@
}; };
return RelativeLayout; return RelativeLayout;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var TouchZoom = (function (_super) { var TouchZoom = (function (_super) {
__extends(TouchZoom, _super); __extends(TouchZoom, _super);
...@@ -6723,6 +6770,7 @@ ...@@ -6723,6 +6770,7 @@
}; };
return TouchZoom; return TouchZoom;
}(InteractComponent)); }(InteractComponent));
//# sourceMappingURL=index.js.map
var dirtyFieldDetector$6 = dirtyFieldDetector; var dirtyFieldDetector$6 = dirtyFieldDetector;
var STATUS$1; var STATUS$1;
...@@ -6859,6 +6907,7 @@ ...@@ -6859,6 +6907,7 @@
], Button.prototype, "disabledLabelColor", void 0); ], Button.prototype, "disabledLabelColor", void 0);
return Button; return Button;
}(InteractComponent)); }(InteractComponent));
//# sourceMappingURL=index.js.map
function bearingsToOutPos(bearings) { function bearingsToOutPos(bearings) {
var _a = engine.renderContext.stageSize, width = _a.width, height = _a.height; var _a = engine.renderContext.stageSize, width = _a.width, height = _a.height;
...@@ -6990,6 +7039,7 @@ ...@@ -6990,6 +7039,7 @@
}); });
} }
}; };
//# sourceMappingURL=PopupEffect.js.map
var dirtyFieldTrigger$6 = dirtyFieldTrigger; var dirtyFieldTrigger$6 = dirtyFieldTrigger;
var DialogContent = (function (_super) { var DialogContent = (function (_super) {
...@@ -7043,6 +7093,7 @@ ...@@ -7043,6 +7093,7 @@
PopupEffect["flew"] = "flew"; PopupEffect["flew"] = "flew";
PopupEffect["zoom"] = "zoom"; PopupEffect["zoom"] = "zoom";
})(PopupEffect || (PopupEffect = {})); })(PopupEffect || (PopupEffect = {}));
//# sourceMappingURL=DialogContent.js.map
var dirtyFieldDetector$7 = dirtyFieldDetector; var dirtyFieldDetector$7 = dirtyFieldDetector;
var RectRenderer = (function (_super) { var RectRenderer = (function (_super) {
...@@ -7089,6 +7140,7 @@ ...@@ -7089,6 +7140,7 @@
], RectRenderer.prototype, "cornerRadius", void 0); ], RectRenderer.prototype, "cornerRadius", void 0);
return RectRenderer; return RectRenderer;
}(GraphicRenderer)); }(GraphicRenderer));
//# sourceMappingURL=index.js.map
var Popup = (function (_super) { var Popup = (function (_super) {
__extends(Popup, _super); __extends(Popup, _super);
...@@ -7241,6 +7293,7 @@ ...@@ -7241,6 +7293,7 @@
}; };
return Popup; return Popup;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var CameraController = (function (_super) { var CameraController = (function (_super) {
__extends(CameraController, _super); __extends(CameraController, _super);
...@@ -7302,6 +7355,7 @@ ...@@ -7302,6 +7355,7 @@
}; };
return CameraController; return CameraController;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var SamplePollingApi = (function (_super) { var SamplePollingApi = (function (_super) {
__extends(SamplePollingApi, _super); __extends(SamplePollingApi, _super);
...@@ -7348,6 +7402,7 @@ ...@@ -7348,6 +7402,7 @@
}; };
return SamplePollingApi; return SamplePollingApi;
}(ApiComponent)); }(ApiComponent));
//# sourceMappingURL=index.js.map
var LockingType; var LockingType;
(function (LockingType) { (function (LockingType) {
...@@ -7443,6 +7498,7 @@ ...@@ -7443,6 +7498,7 @@
}; };
return ScrollView; return ScrollView;
}(InteractComponent)); }(InteractComponent));
//# sourceMappingURL=index.js.map
var Toast = (function (_super) { var Toast = (function (_super) {
__extends(Toast, _super); __extends(Toast, _super);
...@@ -7503,6 +7559,7 @@ ...@@ -7503,6 +7559,7 @@
}; };
return Toast; return Toast;
}(ScillaComponent)); }(ScillaComponent));
//# sourceMappingURL=index.js.map
var BuriedPoint = (function (_super) { var BuriedPoint = (function (_super) {
__extends(BuriedPoint, _super); __extends(BuriedPoint, _super);
...@@ -7582,6 +7639,7 @@ ...@@ -7582,6 +7639,7 @@
} }
return BuriedPointData; return BuriedPointData;
}()); }());
//# sourceMappingURL=BuriedPoint.js.map
function countDown(from, to, onChange, onComplete) { function countDown(from, to, onChange, onComplete) {
var current = from; var current = from;
...@@ -7597,6 +7655,7 @@ ...@@ -7597,6 +7655,7 @@
}, 1000); }, 1000);
return function () { return clearInterval(timer); }; return function () { return clearInterval(timer); };
} }
//# sourceMappingURL=index.js.map
var constant; var constant;
(function (constant) { (function (constant) {
...@@ -7625,6 +7684,7 @@ ...@@ -7625,6 +7684,7 @@
}; };
return ToolAnimateRotate; return ToolAnimateRotate;
}()); }());
//# sourceMappingURL=ToolAnimate.js.map
var Scale; var Scale;
(function (Scale) { (function (Scale) {
...@@ -7676,6 +7736,7 @@ ...@@ -7676,6 +7736,7 @@
entity.enabled = true; entity.enabled = true;
return entity; return entity;
} }
//# sourceMappingURL=Treasure.js.map
var Scale$1; var Scale$1;
(function (Scale) { (function (Scale) {
...@@ -7727,6 +7788,7 @@ ...@@ -7727,6 +7788,7 @@
entity.enabled = true; entity.enabled = true;
return entity; return entity;
} }
//# sourceMappingURL=Stone.js.map
var Tips = (function (_super) { var Tips = (function (_super) {
__extends(Tips, _super); __extends(Tips, _super);
...@@ -7739,6 +7801,7 @@ ...@@ -7739,6 +7801,7 @@
}; };
return Tips; return Tips;
}(DialogContent)); }(DialogContent));
//# sourceMappingURL=Tips.js.map
engine.dataCenter.register('CFG'); engine.dataCenter.register('CFG');
engine.dataCenter.set('CFG', window['CFG']); engine.dataCenter.set('CFG', window['CFG']);
...@@ -7754,6 +7817,7 @@ ...@@ -7754,6 +7817,7 @@
var _this = _super !== null && _super.apply(this, arguments) || this; var _this = _super !== null && _super.apply(this, arguments) || this;
_this.playable = false; _this.playable = false;
_this.configError = false; _this.configError = false;
_this.loginStatus = false;
return _this; return _this;
} }
start.prototype.init = function () { start.prototype.init = function () {
...@@ -7803,6 +7867,7 @@ ...@@ -7803,6 +7867,7 @@
start.prototype.initLoginProcess = function (force) { start.prototype.initLoginProcess = function (force) {
var _this = this; var _this = this;
if (force === void 0) { force = false; } if (force === void 0) { force = false; }
this.loginStatus = this.homeInfo && this.homeInfo.login;
if (!(this.homeInfo && this.homeInfo.login) || force) { if (!(this.homeInfo && this.homeInfo.login) || force) {
var btn = this.UnLogin.getChildrenByName('Button')[0]; var btn = this.UnLogin.getChildrenByName('Button')[0];
if (typeof window['requireLogin'] !== 'function' && !this.homeInfo.loginUrl) { if (typeof window['requireLogin'] !== 'function' && !this.homeInfo.loginUrl) {
...@@ -7955,6 +8020,10 @@ ...@@ -7955,6 +8020,10 @@
return true; return true;
}; };
start.prototype.linkToRecordUrl = function () { start.prototype.linkToRecordUrl = function () {
if (!this.loginStatus) {
this.popup.showDialog('UnLogin');
return;
}
if (this.configError) if (this.configError)
return; return;
if (this.isRunning()) if (this.isRunning())
...@@ -7973,7 +8042,7 @@ ...@@ -7973,7 +8042,7 @@
}; };
start.prototype.initRewardsList = function (rewardsList) { start.prototype.initRewardsList = function (rewardsList) {
var _this = this; var _this = this;
this.rewardsContainer.getComponent(RectRenderer).width = 180 * rewardsList.length; this.rewardsContainer.getComponent(RectRenderer).width = 150 * rewardsList.length;
this.rewardsContainer.removeChildren(); this.rewardsContainer.removeChildren();
rewardsList.forEach(function (item, index) { return __awaiter(_this, void 0, void 0, function () { rewardsList.forEach(function (item, index) { return __awaiter(_this, void 0, void 0, function () {
var entity, _a; var entity, _a;
...@@ -8256,6 +8325,7 @@ ...@@ -8256,6 +8325,7 @@
var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d); var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d);
return tempValue.toLowerCase(); return tempValue.toLowerCase();
} }
//# sourceMappingURL=md5.js.map
var TakeRewards = (function (_super) { var TakeRewards = (function (_super) {
__extends(TakeRewards, _super); __extends(TakeRewards, _super);
...@@ -8286,6 +8356,7 @@ ...@@ -8286,6 +8356,7 @@
}; };
return TakeRewards; return TakeRewards;
}(DialogContent)); }(DialogContent));
//# sourceMappingURL=TakeRewards.js.map
var Currency = (function (_super) { var Currency = (function (_super) {
__extends(Currency, _super); __extends(Currency, _super);
...@@ -8308,6 +8379,7 @@ ...@@ -8308,6 +8379,7 @@
}; };
return Currency; return Currency;
}(DialogContent)); }(DialogContent));
//# sourceMappingURL=Currency.js.map
var TakeFailed = (function (_super) { var TakeFailed = (function (_super) {
__extends(TakeFailed, _super); __extends(TakeFailed, _super);
...@@ -8320,6 +8392,7 @@ ...@@ -8320,6 +8392,7 @@
}; };
return TakeFailed; return TakeFailed;
}(DialogContent)); }(DialogContent));
//# sourceMappingURL=TakeFailed.js.map
var ElementType; var ElementType;
(function (ElementType) { (function (ElementType) {
...@@ -8415,13 +8488,13 @@ ...@@ -8415,13 +8488,13 @@
case 5: case 5:
return [3, 3, { ele: 2, iterater: 3 }]; return [3, 3, { ele: 2, iterater: 3 }];
case 6: case 6:
return [3, 3, { ele: 3, iterater: 3 }]; return [3, 3, 2, { ele: 2, iterater: 3 }];
case 7: case 7:
return [3, 3, 3, { ele: 2, iterater: 3 }]; return [3, 3, 4, { ele: 2, iterater: 3 }];
case 8: case 8:
return [3, 4, 3, { ele: 2, iterater: 3 }]; return [3, 4, 4, { ele: 2, iterater: 3 }];
case 9: case 9:
return [4, 4, 4, { ele: 2, iterater: 3 }]; return [4, 5, 4, { ele: 2, iterater: 3 }];
case 10: case 10:
return [5, 4, 5, { ele: 2, iterater: 3 }]; return [5, 4, 5, { ele: 2, iterater: 3 }];
default: default:
...@@ -8449,9 +8522,7 @@ ...@@ -8449,9 +8522,7 @@
var list = this.initList(box); var list = this.initList(box);
var itemHeight = height / list.length; var itemHeight = height / list.length;
var treasureNum = box; var treasureNum = box;
var stoneNum = Math.floor(box * 0.6); var stoneNum = Math.ceil(box * 0.6);
if (box === 6)
stoneNum--;
var generateEle = function (create, box, img, num, left, top, width, height) { var generateEle = function (create, box, img, num, left, top, width, height) {
var entity = create(box, _this.config.getTexture(img), num); var entity = create(box, _this.config.getTexture(img), num);
var element = _this.initElement(entity, left, top, width, height); var element = _this.initElement(entity, left, top, width, height);
...@@ -8536,6 +8607,7 @@ ...@@ -8536,6 +8607,7 @@
Game.prototype.onError = function (code) { Game.prototype.onError = function (code) {
var c = this.entity.getComponent(start); var c = this.entity.getComponent(start);
this.popup = this.DialogContainer.getComponent(Popup); this.popup = this.DialogContainer.getComponent(Popup);
var s = this.entity.getComponent(start);
switch (code) { switch (code) {
case '0100000': case '0100000':
c.initLoginProcess(true); c.initLoginProcess(true);
...@@ -8546,6 +8618,16 @@ ...@@ -8546,6 +8618,16 @@
case '0901011': case '0901011':
this.CurrencyNotEnough.getComponent(Currency).setLabel(); this.CurrencyNotEnough.getComponent(Currency).setLabel();
break; break;
case '0901012':
case '0901013':
this.popup.showDialog('TakeFailed');
break;
case '0100014':
s.toast('活动已结束\n无法参与');
break;
case '0100016':
s.toast('活动未开始\n暂时无法参与');
break;
case '9999999': case '9999999':
this.popup.showDialog('Network'); this.popup.showDialog('Network');
break; break;
...@@ -8922,6 +9004,7 @@ ...@@ -8922,6 +9004,7 @@
function lineRight(x1, y1, x2, y2, a, b) { function lineRight(x1, y1, x2, y2, a, b) {
return (b - ((x2 * y2 - x1 * y1) / (x2 - x1))) / ((y2 - y1) / (x1 - x2) - a); return (b - ((x2 * y2 - x1 * y1) / (x2 - x1))) / ((y2 - y1) / (x1 - x2) - a);
} }
//# sourceMappingURL=Game.js.map
var Normal = (function (_super) { var Normal = (function (_super) {
__extends(Normal, _super); __extends(Normal, _super);
...@@ -8932,6 +9015,7 @@ ...@@ -8932,6 +9015,7 @@
}; };
return Normal; return Normal;
}(DialogContent)); }(DialogContent));
//# sourceMappingURL=Normal.js.map
registerDef('components/renderer/TextRenderer', TextRenderer); registerDef('components/renderer/TextRenderer', TextRenderer);
registerDef('components/base/Transform', Transform); registerDef('components/base/Transform', Transform);
...@@ -8958,6 +9042,7 @@ ...@@ -8958,6 +9042,7 @@
registerDef('./scripts/dialog/TakeFailed', TakeFailed); registerDef('./scripts/dialog/TakeFailed', TakeFailed);
registerDef('./scripts/dialog/Tips', Tips); registerDef('./scripts/dialog/Tips', Tips);
registerDef('./scripts/dialog/Currency', Currency); registerDef('./scripts/dialog/Currency', Currency);
//# sourceMappingURL=MustCompile.js.map
var launcher; var launcher;
modifyEngineConfig({ modifyEngineConfig({
...@@ -8982,6 +9067,7 @@ ...@@ -8982,6 +9067,7 @@
}); });
}); });
} }
//# sourceMappingURL=main.js.map
exports.startup = startup; exports.startup = startup;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "rewardsItem",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "rewardsItem",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|e9d32c40-aa0e-4929-aa5f-80c4c69631ce"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 40
}
}
],
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 100,
"height": 100,
"position": {
"y": -5,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "db23b51e-34b2-4bc2-b47f-7f1b2fbc021d"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "",
"textStyle": {
"fontSize": 18
},
"fillColor": "rgba(255, 207, 47, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 5
}
}
],
"uuid": "11c25929-3bd8-4ad4-a245-1b02096094d7"
}
]
}
]
}
}
\ No newline at end of file
{
"name": "main",
"root": {
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"name": "MainStage",
"uuid": "20181212032053",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/CameraController",
"properties": {
"viewportAnchor": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"children": [
{
"name": "SceneContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "components/other/SingleSceneNavigator",
"properties": {},
"disabled": true
}
],
"uuid": "a299bc17-0891-4ce2-bfd8-d44dc9c1606c",
"children": [
{
"name": "Start",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "./scripts/scenes/start",
"properties": {
"toastContainer": "entity|b88cc983-709f-4d98-9572-08ee4ebac942",
"circleOne": "entity|cc8424d7-6650-4e8e-9f7e-2b2837510bb0",
"circleTwo": "entity|4aa89456-76f7-407e-9307-367299a3daa7",
"handle": "entity|51b9604c-ec74-4991-8feb-4094030eebee",
"recordUrl": "dynamic|CFG|recordUrl",
"rewardsItem": "res|350123f4-6956-46f4-a31c-60e9b9209108",
"rewardsContainer": "entity|9e2da873-8f59-436f-ac66-a66643b42ab3",
"homeInfo": "dynamic|API|home",
"background": "entity|8a8d31e6-dc6d-4d92-a2ba-a04e6b4f9cdc",
"btnBg": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"frontBg": "entity|c8d6cc8c-52a4-48e2-874f-c45c95817e02",
"banner": "entity|86eb78bc-f032-458b-b9c0-9025142839df",
"rewardsBtnBg": "entity|814b6bef-33f1-4f1f-8682-97e2f5a45f79",
"rulesBg": "entity|364083fe-afb0-4fcc-ab82-e8a98b9eb94d",
"rewardsBg": "entity|bf70e586-f630-4465-8e9c-06370742c229",
"targetBg": "entity|7d1187d4-ddc1-48ab-b9cc-36121119264e",
"CurrencyNotEnough": "entity|7b241c67-1670-414f-acb4-037c2110120a",
"NewTips": "entity|82ad49a2-6cb7-4534-92fe-4bb38eee71cd",
"NoChance": "entity|39f76eff-c556-4664-85de-819617299d8a",
"Rule": "entity|a6e55288-53af-4bfd-9a7d-5387a738d86d",
"ScoreNotEnough": "entity|04bf0821-e752-4719-aaea-aacdbd76f5f5",
"TakeAgain": "entity|fdebd18b-6244-4686-ad80-3958fd8d6090",
"TakeFailed": "entity|b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"TakeRewards": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"UnLogin": "entity|58697005-d21d-4f64-be40-ccc24a7e99a4",
"Network": "entity|6b1c1bca-f52a-4512-95c6-da4d809a293c",
"DialogContainer": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"Apple": "entity|e751ca9c-b343-423a-972d-a4401092df35"
}
},
{
"script": "./scripts/game/Game",
"properties": {
"CountDown": "entity|caed9357-95aa-4d14-b169-0ec8f85f7451",
"Detail": "entity|adaedb7f-81dc-4082-8e18-b127dfb69bf6",
"Tool": "entity|6cd1925d-ca37-429b-bb9f-af4a59791f3a",
"BoxContainer": "entity|424c571b-8c8b-4733-8853-9dc974d60a47",
"copyEntity": "entity|6c3c0f63-b99a-467e-af81-970fd99ee531",
"config": "res|8ddb3a34-be02-4847-95c1-73ba8b6e53e0",
"Target": "entity|e1fc9fe8-50a5-472e-9d6e-b6e5b22126be",
"Title": "entity|cc69a728-bac9-4f9e-bf9a-a80ca3ee5c30",
"homeInfo": "dynamic|API|home",
"Button": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"configInterface": "dynamic|custom|config",
"doCredits": "dynamic|API|doCredits",
"submitData": "dynamic|API|submit",
"DialogContainer": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"result": "dynamic|API|result",
"takeRewards": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"TakeFailed": "entity|b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"CurrencyNotEnough": "entity|7b241c67-1670-414f-acb4-037c2110120a"
},
"disabled": false
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "home",
"paramByScript": "script|return {opId: dataCenter.get('CFG', 'opId')}",
"uri": "/aaw/digGold/getInfo",
"autoCall": true,
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "init"
}
],
"onError": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "showDialog",
"param": "Network"
}
],
"method": "GET"
}
}
],
"uuid": "dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"children": [
{
"name": "Bg",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/FullStageSize",
"properties": {}
}
],
"uuid": "09fea953-40f5-4fd4-98da-abaa1f8780b8",
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 750,
"height": 1624
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": 0,
"right": 0
},
"disabled": false
}
],
"uuid": "8a8d31e6-dc6d-4d92-a2ba-a04e6b4f9cdc"
}
]
},
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 470,
"height": 172
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 52
}
}
],
"uuid": "86eb78bc-f032-458b-b9c0-9025142839df",
"children": []
},
{
"name": "LeftTop",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": 0
}
}
],
"uuid": "a5574c05-6806-4582-b5b7-e7bffd7e875b",
"children": [
{
"name": "Rewards",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"position": {
"y": 19,
"_type_": "scilla/support/Vector2D"
},
"width": 112,
"height": 34
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "linkToRecordUrl"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.4.1",
"dcm": "252.oaid.0.0"
},
"disabled": true
}
],
"children": [],
"uuid": "814b6bef-33f1-4f1f-8682-97e2f5a45f79",
"disabled": false
},
{
"name": "Rule",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 76,
"_type_": "scilla/support/Vector2D"
},
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"width": 112,
"height": 34
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "showRule"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.3.1",
"dcm": "252.oaid.0.0"
},
"disabled": true
}
],
"children": [],
"uuid": "364083fe-afb0-4fcc-ab82-e8a98b9eb94d",
"disabled": false
}
]
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "10s",
"textStyle": {
"fontSize": 44,
"fontWeight": "bold"
},
"fillColor": "rgba(255, 233, 65, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 34,
"top": 38
}
}
],
"uuid": "caed9357-95aa-4d14-b169-0ec8f85f7451"
},
{
"name": "GameCenter",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(245, 18, 18, 0)",
"isMask": true,
"maskVisible": false,
"borderColor": "rgba(49, 178, 227, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 420,
"left": 0,
"right": 0,
"bottom": 0
},
"disabled": false
}
],
"uuid": "1517a42a-a07f-4bec-b8cf-d62ae91bd8be",
"children": [
{
"name": "Container",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0
}
}
],
"uuid": "513e0b42-e870-4ca3-a803-fd2b0b601e99",
"children": [
{
"name": "Tool",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 0,
"y": -10,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|f3bfb0c8-ebcf-429d-9bb2-341c811adf92",
"anchor": {
"y": 0.88,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"uuid": "6cd1925d-ca37-429b-bb9f-af4a59791f3a",
"disabled": false
}
]
},
{
"name": "BoxContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 80,
"bottom": 250
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)"
}
}
],
"uuid": "424c571b-8c8b-4733-8853-9dc974d60a47",
"children": [
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"width": 100,
"height": 100,
"cornerRadius": 20
}
}
],
"uuid": "6f038195-4848-45c7-b463-ffaa7c3521b1",
"disabled": true
}
]
}
]
},
{
"name": "Details",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 224
},
"disabled": false
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "submit",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin'),\nsign: dataCenter.get('custom', 'sign'),\nscore: dataCenter.get('custom', 'score')\n}",
"uri": "/aaw/digGold/doSubmit",
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onSubmitResponse"
},
{
"entity": null,
"component": null,
"method": null
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
],
"onFinish": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "reset"
}
]
}
},
{
"script": "components/net/SamplePollingApi",
"properties": {
"name": "result",
"method": "GET",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin')\n}",
"uri": "/aaw/digGold/getPrizeResult",
"successValues": {
"_type_": "raw",
"data": [
2,
3
]
},
"successField": "data.winPrized",
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError",
"param": ""
}
],
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onGetOrderResponse"
}
]
}
}
],
"uuid": "e1fc9fe8-50a5-472e-9d6e-b6e5b22126be",
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 290,
"height": 52
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "7d1187d4-ddc1-48ab-b9cc-36121119264e"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "目标:5/10 个箱子",
"textStyle": {
"fontSize": 30
},
"fillColor": "rgba(228, 80, 50, 1)",
"anchor": {
"y": 0.6,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"uuid": "adaedb7f-81dc-4082-8e18-b127dfb69bf6"
},
{
"name": "TreasureCopy",
"components": [
{
"script": "components/base/Transform",
"properties": {
"alpha": 0
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|6d824d44-8ef6-4f9c-a3bc-57ebd92ccf25"
}
}
],
"uuid": "6c3c0f63-b99a-467e-af81-970fd99ee531"
}
]
},
{
"name": "Front",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 750,
"height": 180
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 272
}
}
],
"uuid": "c8d6cc8c-52a4-48e2-874f-c45c95817e02",
"disabled": false
},
{
"name": "RewardsList",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"width": 750,
"height": 320
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 0,
"left": 0,
"right": 0
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "bf70e586-f630-4465-8e9c-06370742c229",
"children": [
{
"name": "ScrollView",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)"
}
},
{
"script": "components/ui/ScrollView",
"properties": {
"viewport": "entity|3aa7e142-6c02-4721-a33a-fa391e0fdec3",
"content": "entity|9e2da873-8f59-436f-ac66-a66643b42ab3",
"lockingType": 2
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 45,
"right": 0,
"top": 140,
"bottom": 0
}
}
],
"uuid": "b32276eb-cf2e-4faa-96a9-1c7b325268ca",
"children": [
{
"name": "Viewport",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(226, 22, 245, 1)",
"isMask": true,
"cornerRadius": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"once": false
}
}
],
"uuid": "3aa7e142-6c02-4721-a33a-fa391e0fdec3",
"children": [
{
"name": "Content",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)",
"cornerRadius": 20,
"width": 1000
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": -40,
"bottom": 0
}
}
],
"uuid": "9e2da873-8f59-436f-ac66-a66643b42ab3",
"children": []
}
]
}
]
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 10,
"_type_": "scilla/support/Vector2D"
},
"width": 260,
"height": 110
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onClickStartBtn"
}
]
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 10
}
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "doJoin",
"paramByScript": "script|return {opId: dataCenter.get('CFG', 'opId')}",
"uri": "/aaw/digGold/doJoin",
"onResponse": [
{
"entity": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"component": 6,
"method": "execute",
"param": " "
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
]
}
},
{
"script": "components/net/SamplePollingApi",
"properties": {
"name": "doCredits",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin')\n}",
"uri": "/aaw/digGold/getOrderStatus",
"maxTimes": 10,
"successValues": {
"_type_": "raw",
"data": [
2,
3,
4
]
},
"successField": "data",
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onGetOrderStatusResponse"
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
],
"method": "GET"
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {}
}
],
"children": [
{
"name": "CircleOne",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 10,
"bottom": 20
}
}
],
"uuid": "cc8424d7-6650-4e8e-9f7e-2b2837510bb0",
"disabled": true
},
{
"name": "CircleTwo",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 10,
"bottom": 20
}
}
],
"uuid": "4aa89456-76f7-407e-9307-367299a3daa7",
"disabled": true
},
{
"name": "Handle",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|e06ecd02-0201-42bb-9cb3-db948728c506"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": -60,
"bottom": -30
}
}
],
"uuid": "51b9604c-ec74-4991-8feb-4094030eebee",
"disabled": true
}
],
"uuid": "37d00264-36fc-4f64-ae84-94777e047a0d"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "xxx积分每次",
"textStyle": {
"fontSize": 24
},
"fillColor": "rgba(118, 56, 21, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -25
}
}
],
"uuid": "cc69a728-bac9-4f9e-bf9a-a80ca3ee5c30"
}
],
"disabled": false
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "*兑换项和活动均与设备生产商Apple Inc.无关",
"textStyle": {
"fontSize": 20
},
"fillColor": "rgba(76, 41, 13, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 5
}
}
],
"uuid": "e751ca9c-b343-423a-972d-a4401092df35",
"disabled": true
}
],
"disabled": false
}
]
},
{
"name": "DialogContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/other/Popup",
"properties": {},
"disabled": false
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(0, 0, 0, 0.7)"
}
},
{
"script": "components/base/TouchInterrupt",
"properties": {
"touchInterrupt": true
}
}
],
"uuid": "3e40e379-b006-46e8-89e2-899e07e18dda",
"children": [
{
"name": "NoChance",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "39f76eff-c556-4664-85de-819617299d8a",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "今天抽奖机会已用完 \n欢迎明天再来哟!",
"lineSpacing": 20
}
}
],
"uuid": "d26b17f2-ad68-4fb2-a229-47fcb4bc75d3"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "NoChance"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.8.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "d299cf6f-cc6c-46f3-86d6-cf1b230262eb"
}
],
"uuid": "32613d0b-9d5e-4d08-99a2-d4af7dcbc263"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "236d8187-37a5-4a90-b45f-45dbf59ec95c"
}
],
"disabled": true
},
{
"name": "Rule",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "a6e55288-53af-4bfd-9a7d-5387a738d86d",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "游戏规则",
"lineSpacing": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 70
}
}
],
"uuid": "72c7d099-e7c1-4b60-94a8-8fb3deb4883d"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "de7db281-ac5d-4340-afe4-dd32b8db8d5e"
},
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/HtmlRenderer",
"properties": {
"htmlText": "<p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p>",
"color": "rgba(0, 0, 0, 1)",
"fontSize": 15
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 200,
"left": 75,
"right": 75,
"bottom": 100
}
}
],
"uuid": "c533f2cb-1bdf-4a6d-a014-49fe20dcf2d9"
}
],
"disabled": true
},
{
"name": "TakeRewards",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 715
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
},
"disabled": false
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/TakeRewards",
"properties": {
"name": "entity|538ed881-f453-4849-95dc-b60dbcc999a4",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"effect": "zoom",
"img": "entity|32ea2e2c-7f0f-4920-89e0-51a39e6f035b",
"link": "dynamic|API|result.takePrizeUrl",
"imgUrl": "dynamic|API|result.img",
"nameText": "dynamic|API|result.title"
}
}
],
"uuid": "dd3a209b-4625-45f1-871e-e98cf5bed832",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "恭喜你!完成目标啦!\n送你一个奖品",
"lineSpacing": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 90
}
}
],
"uuid": "9a35df46-ba82-48e2-bf2f-cee7c7e5634e"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"component": 3,
"method": "onclick"
}
]
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 60
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.6.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "立即领取",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "6a312373-dcff-4bfd-aa4d-977ca311e399"
}
],
"uuid": "fddd06bb-9768-4df2-b727-d8fc1eff6486"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "ef5a5e6d-9f39-4888-bbf2-b576bb921659"
},
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 250,
"height": 250
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 20,
"isMask": true,
"maskVisible": false
}
}
],
"uuid": "8efe3927-205a-446f-9656-1fe5e24bf104",
"disabled": false,
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 250,
"height": 250
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "32ea2e2c-7f0f-4920-89e0-51a39e6f035b"
}
]
},
{
"name": "Text",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "奖品名称",
"fillColor": "rgba(76, 76, 76, 1)",
"textStyle": {
"fontSize": 28
}
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 190
}
}
],
"uuid": "538ed881-f453-4849-95dc-b60dbcc999a4",
"disabled": false
}
],
"disabled": true
},
{
"name": "TakeFailed",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/TakeFailed",
"properties": {
"effect": "zoom",
"unit": "dynamic|API|home.unit",
"label": "entity|a2ea6f21-54fe-4fcc-ab0d-6627fd5d1e07",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda"
}
}
],
"uuid": "b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "金币扣除失败\n别慌张,可以再试一次哟~",
"lineSpacing": 20
}
}
],
"uuid": "a2ea6f21-54fe-4fcc-ab0d-6627fd5d1e07"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "TakeFailed"
}
]
},
"disabled": false
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.9.1",
"dcm": "252.oaid.0.0"
},
"disabled": false
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "bf06acb1-4bc4-4f76-87d5-3b515bb5bd22"
}
],
"uuid": "047e62fd-d69b-4272-b0d1-3c18e1805e08"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "28c75db7-4f59-471a-b6d1-9baa04a7b312"
}
],
"disabled": true
},
{
"name": "NewTips",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Tips",
"properties": {
"label": "entity|c9e61f2d-634e-4e4c-8450-961e13da5a90",
"effect": "zoom",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda"
}
}
],
"uuid": "82ad49a2-6cb7-4534-92fe-4bb38eee71cd",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "每局挖出${num}个宝箱\n 即有机会获得奖品",
"lineSpacing": 20
}
}
],
"uuid": "c9e61f2d-634e-4e4c-8450-961e13da5a90"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "NewTips"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.1.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "28ca6b41-9e63-4f8a-b9be-44bb2681b7be"
}
],
"uuid": "7aa00e48-d153-4e7c-a066-bde1a60bd59d"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "78dea9d0-dcbf-4444-8a4b-6345669d0de7"
}
],
"disabled": true
},
{
"name": "CurrencyNotEnough",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Currency",
"properties": {
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"label": "entity|1c0dc459-7283-4e07-86a8-a36c4f3862b8",
"unit": "dynamic|API|home.unit",
"effect": "zoom",
"btn": "entity|bf3fdad3-3dc2-449b-83d5-8c14bc6051b1",
"url": "dynamic|API|home.earnCreditsUrl"
}
}
],
"uuid": "7b241c67-1670-414f-acb4-037c2110120a",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"lineSpacing": 20,
"text": "很抱歉,金币不足啦~"
}
}
],
"uuid": "1c0dc459-7283-4e07-86a8-a36c4f3862b8"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "CurrencyNotEnough"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.10.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "eaf4e989-4cb0-46a5-8490-f56afcbaa6d4"
}
],
"uuid": "bf3fdad3-3dc2-449b-83d5-8c14bc6051b1"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "d816b4b3-d7e4-4b6e-a66b-51970dff2f9c"
}
],
"disabled": true
},
{
"name": "TakeAgain",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "fdebd18b-6244-4686-ad80-3958fd8d6090",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "很遗憾,与奖品擦肩而过\n不要气馁,再试一次看看!",
"lineSpacing": 20
}
}
],
"uuid": "988e1b79-e6af-40ac-a2cf-f8adc6733b95"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "TakeAgain"
}
]
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "再试一次",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "b67acf00-59de-4f49-9d52-09b268351ddb"
}
],
"uuid": "9fb736af-af63-48b6-9a0b-eca4c4d5b2c5"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "f908fa34-cd5c-497e-9d7c-3dcc2cb8465a"
}
],
"disabled": true
},
{
"name": "ScoreNotEnough",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "04bf0821-e752-4719-aaea-aacdbd76f5f5",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "很遗憾,未达到目标\n不要气馁,再试一次看看!",
"lineSpacing": 20
}
}
],
"uuid": "2c67fb29-5c69-4525-aa16-3a45f1deaf6d"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "ScoreNotEnough"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.7.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "再试一次",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "7e107ca3-5f2b-41ca-b814-bda58bf98b7a"
}
],
"uuid": "39a8c5d5-b233-44c6-ba57-fbcec54afe28"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "2a6f9664-a2bc-46b4-8cf2-fe01ce580621"
}
],
"disabled": true
},
{
"name": "Network",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "6b1c1bca-f52a-4512-95c6-da4d809a293c",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -70,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "网络不给力",
"lineSpacing": 20
}
}
],
"uuid": "a0c3a755-1bad-4136-8a1f-411441a305e4"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -20,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 24,
"fontWeight": "bolder"
},
"text": "(世界上最遥远的距离莫过于此)",
"lineSpacing": 20
}
}
],
"uuid": "83e6524d-26b6-4132-8490-cf7e1de72185"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "Network"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.11.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "474d84f4-907b-4fc3-8a73-13357abc436a"
}
],
"uuid": "ba1647b1-4493-4e1f-b4de-476a66d58448"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "29a89065-9901-43de-ada5-336f54565619"
}
],
"disabled": true
},
{
"name": "UnLogin",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "58697005-d21d-4f64-be40-ccc24a7e99a4",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -70,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "啊哦,您还未登录",
"lineSpacing": 20
}
}
],
"uuid": "8e68f781-7d99-4f93-9d61-4c47c4c61c5e"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -20,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 24,
"fontWeight": "bolder"
},
"text": "(登录后即可参与活动)",
"lineSpacing": 20
}
}
],
"uuid": "7f3b20e6-14e6-4bdb-8ad0-4184f220b35b"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "UnLogin"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.12.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "立即登录",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "735c3e62-398c-421c-9f8f-7c0202e23da6"
}
],
"uuid": "2155f218-f3fc-4a4e-8610-ef913bac76a8",
"disabled": false
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "9d2cb539-6452-4884-b96b-40b20c82599f"
}
],
"disabled": true
}
],
"disabled": false
},
{
"name": "ToastContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/Toast",
"properties": {
"Label": "entity|1b334276-d249-4fd4-8cca-81228d37e4fb",
"offsetY": 360,
"padding": 70
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(0, 0, 0, 0.7)",
"cornerRadius": 30
}
}
],
"uuid": "b88cc983-709f-4d98-9572-08ee4ebac942",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"textStyle": {
"fontSize": 60
},
"fillColor": "rgba(255, 255, 255, 1)"
}
}
],
"uuid": "1b334276-d249-4fd4-8cca-81228d37e4fb"
}
],
"disabled": true
}
]
}
]
},
"resource-groups": {
"preload": [
{
"uuid": "350123f4-6956-46f4-a31c-60e9b9209108",
"url": "prefebs/rewardsItem.pfb"
},
{
"uuid": "8ddb3a34-be02-4847-95c1-73ba8b6e53e0",
"url": "singles/config.sht",
"config": {
"textures": [
{
"name": "banner.png",
"uuid": "acd0e622-2a3d-43b8-a344-3facff626c42"
},
{
"name": "front.png",
"uuid": "4b5c6616-42ec-48b9-84ac-132fce6d001b"
},
{
"name": "reward.png",
"uuid": "8d944afd-be38-4a78-bba5-b5fb915606a2"
},
{
"name": "rule.png",
"uuid": "87b31d5f-b3ba-4070-aa08-f39a03e77106"
},
{
"name": "tips-bg.png",
"uuid": "2be77d4b-53d6-4e59-9c5d-8a8f4f8febdf"
},
{
"name": "treasure.png",
"uuid": "6d824d44-8ef6-4f9c-a3bc-57ebd92ccf25"
},
{
"name": "stone.png",
"uuid": "d250fb4e-2433-4376-9e42-9e3a776a7904"
}
]
}
},
{
"uuid": "c8782361-f5cc-451f-94b6-79cec38a052e",
"url": "singles/dialog.sht",
"config": {
"textures": [
{
"name": "btnBg.png",
"uuid": "29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
},
{
"name": "close.png",
"uuid": "d19e9464-273e-43d8-9af7-5297e9db785d"
}
]
}
},
{
"uuid": "3c023d07-0bf0-44af-b277-273aa4b3ab20",
"url": "singles/start.sht",
"config": {
"textures": [
{
"name": "handle.png",
"uuid": "e06ecd02-0201-42bb-9cb3-db948728c506"
},
{
"name": "rewardsBg.png",
"uuid": "3173de21-1d1a-49ea-8a07-b73f5c6828f1"
},
{
"name": "startBtn.png",
"uuid": "0808819e-92f8-430d-86d2-5404e2acf468"
},
{
"name": "tool.png",
"uuid": "f3bfb0c8-ebcf-429d-9bb2-341c811adf92"
},
{
"name": "circle.png",
"uuid": "0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
},
{
"name": "rewards-item.png",
"uuid": "e9d32c40-aa0e-4929-aa5f-80c4c69631ce"
}
]
}
}
]
}
}
\ No newline at end of file
{
"file": "config.png",
"frames": {
"front.png": {
"x": 1,
"y": 1,
"w": 750,
"h": 178,
"offX": 0,
"offY": 0,
"sourceW": 750,
"sourceH": 178
},
"banner.png": {
"x": 1,
"y": 181,
"w": 468,
"h": 172,
"offX": 0,
"offY": 0,
"sourceW": 468,
"sourceH": 172
},
"treasure.png": {
"x": 471,
"y": 181,
"w": 187,
"h": 200,
"offX": 0,
"offY": 0,
"sourceW": 187,
"sourceH": 200
},
"tips-bg.png": {
"x": 1,
"y": 355,
"w": 298,
"h": 59,
"offX": 0,
"offY": 0,
"sourceW": 298,
"sourceH": 59
},
"stone.png": {
"x": 301,
"y": 355,
"w": 128,
"h": 100,
"offX": 0,
"offY": 0,
"sourceW": 128,
"sourceH": 100
},
"reward.png": {
"x": 1,
"y": 416,
"w": 99,
"h": 34,
"offX": 0,
"offY": 0,
"sourceW": 99,
"sourceH": 34
},
"rule.png": {
"x": 102,
"y": 416,
"w": 99,
"h": 34,
"offX": 0,
"offY": 0,
"sourceW": 99,
"sourceH": 34
}
}
}
\ No newline at end of file
{
"file": "dialog.png",
"frames": {
"btnBg.png": {
"x": 1,
"y": 1,
"w": 452,
"h": 94,
"offX": 0,
"offY": 0,
"sourceW": 452,
"sourceH": 94
},
"close.png": {
"x": 1,
"y": 97,
"w": 49,
"h": 49,
"offX": 0,
"offY": 0,
"sourceW": 49,
"sourceH": 49
}
}
}
\ No newline at end of file
{
"file": "start.png",
"frames": {
"rewardsBg.png": {
"x": 1,
"y": 1,
"w": 750,
"h": 315,
"offX": 0,
"offY": 0,
"sourceW": 750,
"sourceH": 315
},
"startBtn.png": {
"x": 1,
"y": 318,
"w": 258,
"h": 111,
"offX": 0,
"offY": 0,
"sourceW": 258,
"sourceH": 111
},
"rewards-item.png": {
"x": 261,
"y": 318,
"w": 141,
"h": 139,
"offX": 0,
"offY": 0,
"sourceW": 141,
"sourceH": 139
},
"handle.png": {
"x": 1,
"y": 431,
"w": 104,
"h": 88,
"offX": 0,
"offY": 0,
"sourceW": 104,
"sourceH": 88
},
"tool.png": {
"x": 107,
"y": 431,
"w": 64,
"h": 1111,
"offX": 14,
"offY": 67,
"sourceW": 90,
"sourceH": 1206
},
"circle.png": {
"x": 173,
"y": 431,
"w": 57,
"h": 57,
"offX": 0,
"offY": 0,
"sourceW": 57,
"sourceH": 57
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>minner-tool</title>
<meta name="viewport"
content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<style>
html, body {
padding: 0;
margin: 0;
border: 0;
height: 100%;
background-color: #282C34;
}
#floatLayer * {
/* margin: 0;
padding: 0; */
color: #000;
}
</style>
</head>
<body>
<div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div>
<script>
var CFG = {
opId: 83189
}
</script>
<script src="//yun.duiba.com.cn/db_games/activity/public_js/fetch-jsonp.min.js"></script>
<script src="bundle.js"></script>
<script>
setTimeout(function(){
var options = window['inputOptions'] || {};
window['minner-tool'].startup(document.getElementById('gameContainer'), options);
}, 100);
</script>
</body>
</html>
{
"name": "minner-tool",
"engineConfig": {
"fps": 60,
"designWidth": 750,
"designHeight": 1334,
"scaleMode": "fixedWidth",
"modifyCanvasSize": false,
"resPath": ""
},
"customConfig": {
"scene": {
"scenes": {
"main": "scenes/main.scene"
},
"entryScene": "main"
},
"webServiceUrl": ""
},
"dataCenterConfig": {
"dataCenterRoot": [
"API",
"CFG",
"custom"
]
},
"projectUuid": "1ea735b4-a8cc-49e8-b2f6-24d9d29468ab"
}
{
"name": "rewardsItem",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "rewardsItem",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|e9d32c40-aa0e-4929-aa5f-80c4c69631ce"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 40
}
}
],
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 100,
"height": 100,
"position": {
"y": -5,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "db23b51e-34b2-4bc2-b47f-7f1b2fbc021d"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "",
"textStyle": {
"fontSize": 18
},
"fillColor": "rgba(255, 207, 47, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 5
}
}
],
"uuid": "11c25929-3bd8-4ad4-a245-1b02096094d7"
}
]
}
]
}
}
\ No newline at end of file
{
"name": "main",
"root": {
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"name": "MainStage",
"uuid": "20181212032053",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/CameraController",
"properties": {
"viewportAnchor": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"children": [
{
"name": "SceneContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "components/other/SingleSceneNavigator",
"properties": {},
"disabled": true
}
],
"uuid": "a299bc17-0891-4ce2-bfd8-d44dc9c1606c",
"children": [
{
"name": "Start",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "./scripts/scenes/start",
"properties": {
"toastContainer": "entity|b88cc983-709f-4d98-9572-08ee4ebac942",
"circleOne": "entity|cc8424d7-6650-4e8e-9f7e-2b2837510bb0",
"circleTwo": "entity|4aa89456-76f7-407e-9307-367299a3daa7",
"handle": "entity|51b9604c-ec74-4991-8feb-4094030eebee",
"recordUrl": "dynamic|CFG|recordUrl",
"rewardsItem": "res|350123f4-6956-46f4-a31c-60e9b9209108",
"rewardsContainer": "entity|9e2da873-8f59-436f-ac66-a66643b42ab3",
"homeInfo": "dynamic|API|home",
"background": "entity|8a8d31e6-dc6d-4d92-a2ba-a04e6b4f9cdc",
"btnBg": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"frontBg": "entity|c8d6cc8c-52a4-48e2-874f-c45c95817e02",
"banner": "entity|86eb78bc-f032-458b-b9c0-9025142839df",
"rewardsBtnBg": "entity|814b6bef-33f1-4f1f-8682-97e2f5a45f79",
"rulesBg": "entity|364083fe-afb0-4fcc-ab82-e8a98b9eb94d",
"rewardsBg": "entity|bf70e586-f630-4465-8e9c-06370742c229",
"targetBg": "entity|7d1187d4-ddc1-48ab-b9cc-36121119264e",
"CurrencyNotEnough": "entity|7b241c67-1670-414f-acb4-037c2110120a",
"NewTips": "entity|82ad49a2-6cb7-4534-92fe-4bb38eee71cd",
"NoChance": "entity|39f76eff-c556-4664-85de-819617299d8a",
"Rule": "entity|a6e55288-53af-4bfd-9a7d-5387a738d86d",
"ScoreNotEnough": "entity|04bf0821-e752-4719-aaea-aacdbd76f5f5",
"TakeAgain": "entity|fdebd18b-6244-4686-ad80-3958fd8d6090",
"TakeFailed": "entity|b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"TakeRewards": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"UnLogin": "entity|58697005-d21d-4f64-be40-ccc24a7e99a4",
"Network": "entity|6b1c1bca-f52a-4512-95c6-da4d809a293c",
"DialogContainer": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"Apple": "entity|e751ca9c-b343-423a-972d-a4401092df35"
}
},
{
"script": "./scripts/game/Game",
"properties": {
"CountDown": "entity|caed9357-95aa-4d14-b169-0ec8f85f7451",
"Detail": "entity|adaedb7f-81dc-4082-8e18-b127dfb69bf6",
"Tool": "entity|6cd1925d-ca37-429b-bb9f-af4a59791f3a",
"BoxContainer": "entity|424c571b-8c8b-4733-8853-9dc974d60a47",
"copyEntity": "entity|6c3c0f63-b99a-467e-af81-970fd99ee531",
"config": "res|8ddb3a34-be02-4847-95c1-73ba8b6e53e0",
"Target": "entity|e1fc9fe8-50a5-472e-9d6e-b6e5b22126be",
"Title": "entity|cc69a728-bac9-4f9e-bf9a-a80ca3ee5c30",
"homeInfo": "dynamic|API|home",
"Button": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"configInterface": "dynamic|custom|config",
"doCredits": "dynamic|API|doCredits",
"submitData": "dynamic|API|submit",
"DialogContainer": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"result": "dynamic|API|result",
"takeRewards": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"TakeFailed": "entity|b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"CurrencyNotEnough": "entity|7b241c67-1670-414f-acb4-037c2110120a"
},
"disabled": false
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "home",
"paramByScript": "script|return {opId: dataCenter.get('CFG', 'opId')}",
"uri": "/aaw/digGold/getInfo",
"autoCall": true,
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "init"
}
],
"onError": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "showDialog",
"param": "Network"
}
],
"method": "GET"
}
}
],
"uuid": "dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"children": [
{
"name": "Bg",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/FullStageSize",
"properties": {}
}
],
"uuid": "09fea953-40f5-4fd4-98da-abaa1f8780b8",
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 750,
"height": 1624
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": 0,
"right": 0
},
"disabled": false
}
],
"uuid": "8a8d31e6-dc6d-4d92-a2ba-a04e6b4f9cdc"
}
]
},
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 470,
"height": 172
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 52
}
}
],
"uuid": "86eb78bc-f032-458b-b9c0-9025142839df",
"children": []
},
{
"name": "LeftTop",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": 0
}
}
],
"uuid": "a5574c05-6806-4582-b5b7-e7bffd7e875b",
"children": [
{
"name": "Rewards",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"position": {
"y": 19,
"_type_": "scilla/support/Vector2D"
},
"width": 112,
"height": 34
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "linkToRecordUrl"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.4.1",
"dcm": "252.oaid.0.0"
},
"disabled": true
}
],
"children": [],
"uuid": "814b6bef-33f1-4f1f-8682-97e2f5a45f79",
"disabled": false
},
{
"name": "Rule",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 76,
"_type_": "scilla/support/Vector2D"
},
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"width": 112,
"height": 34
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 2,
"method": "showRule"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.3.1",
"dcm": "252.oaid.0.0"
},
"disabled": true
}
],
"children": [],
"uuid": "364083fe-afb0-4fcc-ab82-e8a98b9eb94d",
"disabled": false
}
]
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "10s",
"textStyle": {
"fontSize": 44,
"fontWeight": "bold"
},
"fillColor": "rgba(255, 233, 65, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 34,
"top": 38
}
}
],
"uuid": "caed9357-95aa-4d14-b169-0ec8f85f7451"
},
{
"name": "GameCenter",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(245, 18, 18, 0)",
"isMask": true,
"maskVisible": false,
"borderColor": "rgba(49, 178, 227, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 420,
"left": 0,
"right": 0,
"bottom": 0
},
"disabled": false
}
],
"uuid": "1517a42a-a07f-4bec-b8cf-d62ae91bd8be",
"children": [
{
"name": "Container",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0
}
}
],
"uuid": "513e0b42-e870-4ca3-a803-fd2b0b601e99",
"children": [
{
"name": "Tool",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 0,
"y": -10,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|f3bfb0c8-ebcf-429d-9bb2-341c811adf92",
"anchor": {
"y": 0.88,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"uuid": "6cd1925d-ca37-429b-bb9f-af4a59791f3a",
"disabled": false
}
]
},
{
"name": "BoxContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 80,
"bottom": 250
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)"
}
}
],
"uuid": "424c571b-8c8b-4733-8853-9dc974d60a47",
"children": [
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"width": 100,
"height": 100,
"cornerRadius": 20
}
}
],
"uuid": "6f038195-4848-45c7-b463-ffaa7c3521b1",
"disabled": true
}
]
}
]
},
{
"name": "Details",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 224
},
"disabled": false
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "submit",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin'),\nsign: dataCenter.get('custom', 'sign'),\nscore: dataCenter.get('custom', 'score')\n}",
"uri": "/aaw/digGold/doSubmit",
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onSubmitResponse"
},
{
"entity": null,
"component": null,
"method": null
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
],
"onFinish": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "reset"
}
]
}
},
{
"script": "components/net/SamplePollingApi",
"properties": {
"name": "result",
"method": "GET",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin')\n}",
"uri": "/aaw/digGold/getPrizeResult",
"successValues": {
"_type_": "raw",
"data": [
2,
3
]
},
"successField": "data.winPrized",
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError",
"param": ""
}
],
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onGetOrderResponse"
}
]
}
}
],
"uuid": "e1fc9fe8-50a5-472e-9d6e-b6e5b22126be",
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 290,
"height": 52
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "7d1187d4-ddc1-48ab-b9cc-36121119264e"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "目标:5/10 个箱子",
"textStyle": {
"fontSize": 30
},
"fillColor": "rgba(228, 80, 50, 1)",
"anchor": {
"y": 0.6,
"_type_": "scilla/support/Vector2D"
}
}
}
],
"uuid": "adaedb7f-81dc-4082-8e18-b127dfb69bf6"
},
{
"name": "TreasureCopy",
"components": [
{
"script": "components/base/Transform",
"properties": {
"alpha": 0
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|6d824d44-8ef6-4f9c-a3bc-57ebd92ccf25"
}
}
],
"uuid": "6c3c0f63-b99a-467e-af81-970fd99ee531"
}
]
},
{
"name": "Front",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 750,
"height": 180
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 272
}
}
],
"uuid": "c8d6cc8c-52a4-48e2-874f-c45c95817e02",
"disabled": false
},
{
"name": "RewardsList",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
},
"width": 750,
"height": 320
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 0,
"left": 0,
"right": 0
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "bf70e586-f630-4465-8e9c-06370742c229",
"children": [
{
"name": "ScrollView",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)"
}
},
{
"script": "components/ui/ScrollView",
"properties": {
"viewport": "entity|3aa7e142-6c02-4721-a33a-fa391e0fdec3",
"content": "entity|9e2da873-8f59-436f-ac66-a66643b42ab3",
"lockingType": 2
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 45,
"right": 0,
"top": 140,
"bottom": 0
}
}
],
"uuid": "b32276eb-cf2e-4faa-96a9-1c7b325268ca",
"children": [
{
"name": "Viewport",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(226, 22, 245, 1)",
"isMask": true,
"cornerRadius": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"once": false
}
}
],
"uuid": "3aa7e142-6c02-4721-a33a-fa391e0fdec3",
"children": [
{
"name": "Content",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"x": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0)",
"cornerRadius": 20,
"width": 1000
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"top": -40,
"bottom": 0
}
}
],
"uuid": "9e2da873-8f59-436f-ac66-a66643b42ab3",
"children": []
}
]
}
]
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 10,
"_type_": "scilla/support/Vector2D"
},
"width": 260,
"height": 110
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onClickStartBtn"
}
]
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 10
}
},
{
"script": "components/net/SampleApi",
"properties": {
"name": "doJoin",
"paramByScript": "script|return {opId: dataCenter.get('CFG', 'opId')}",
"uri": "/aaw/digGold/doJoin",
"onResponse": [
{
"entity": "entity|37d00264-36fc-4f64-ae84-94777e047a0d",
"component": 6,
"method": "execute",
"param": " "
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
]
}
},
{
"script": "components/net/SamplePollingApi",
"properties": {
"name": "doCredits",
"paramByScript": "script|return {\nopId: dataCenter.get('CFG', 'opId'),\norderNum: dataCenter.get('API', 'doJoin')\n}",
"uri": "/aaw/digGold/getOrderStatus",
"maxTimes": 10,
"successValues": {
"_type_": "raw",
"data": [
2,
3,
4
]
},
"successField": "data",
"onResponse": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onGetOrderStatusResponse"
}
],
"onError": [
{
"entity": "entity|dc988853-0218-4b1e-ba58-288f2ec7c0b4",
"component": 3,
"method": "onError"
}
],
"method": "GET"
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {}
}
],
"children": [
{
"name": "CircleOne",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 10,
"bottom": 20
}
}
],
"uuid": "cc8424d7-6650-4e8e-9f7e-2b2837510bb0",
"disabled": true
},
{
"name": "CircleTwo",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": 10,
"bottom": 20
}
}
],
"uuid": "4aa89456-76f7-407e-9307-367299a3daa7",
"disabled": true
},
{
"name": "Handle",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|e06ecd02-0201-42bb-9cb3-db948728c506"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"right": -60,
"bottom": -30
}
}
],
"uuid": "51b9604c-ec74-4991-8feb-4094030eebee",
"disabled": true
}
],
"uuid": "37d00264-36fc-4f64-ae84-94777e047a0d"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "xxx积分每次",
"textStyle": {
"fontSize": 24
},
"fillColor": "rgba(118, 56, 21, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -25
}
}
],
"uuid": "cc69a728-bac9-4f9e-bf9a-a80ca3ee5c30"
}
],
"disabled": false
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "*兑换项和活动均与设备生产商Apple Inc.无关",
"textStyle": {
"fontSize": 20
},
"fillColor": "rgba(76, 41, 13, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 5
}
}
],
"uuid": "e751ca9c-b343-423a-972d-a4401092df35",
"disabled": true
}
],
"disabled": false
}
]
},
{
"name": "DialogContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {
"pivot": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/other/Popup",
"properties": {},
"disabled": false
},
{
"script": "components/other/FullStageSize",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(0, 0, 0, 0.7)"
}
},
{
"script": "components/base/TouchInterrupt",
"properties": {
"touchInterrupt": true
}
}
],
"uuid": "3e40e379-b006-46e8-89e2-899e07e18dda",
"children": [
{
"name": "NoChance",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "39f76eff-c556-4664-85de-819617299d8a",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "今天抽奖机会已用完 \n欢迎明天再来哟!",
"lineSpacing": 20
}
}
],
"uuid": "d26b17f2-ad68-4fb2-a229-47fcb4bc75d3"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "NoChance"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.8.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "d299cf6f-cc6c-46f3-86d6-cf1b230262eb"
}
],
"uuid": "32613d0b-9d5e-4d08-99a2-d4af7dcbc263"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "236d8187-37a5-4a90-b45f-45dbf59ec95c"
}
],
"disabled": true
},
{
"name": "Rule",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "a6e55288-53af-4bfd-9a7d-5387a738d86d",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "游戏规则",
"lineSpacing": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 70
}
}
],
"uuid": "72c7d099-e7c1-4b60-94a8-8fb3deb4883d"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "de7db281-ac5d-4340-afe4-dd32b8db8d5e"
},
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/HtmlRenderer",
"properties": {
"htmlText": "<p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>游戏规则游戏规则游戏规则游戏规则</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p><p>123123</p>",
"color": "rgba(0, 0, 0, 1)",
"fontSize": 15
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 200,
"left": 75,
"right": 75,
"bottom": 100
}
}
],
"uuid": "c533f2cb-1bdf-4a6d-a014-49fe20dcf2d9"
}
],
"disabled": true
},
{
"name": "TakeRewards",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 715
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
},
"disabled": false
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/TakeRewards",
"properties": {
"name": "entity|538ed881-f453-4849-95dc-b60dbcc999a4",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"effect": "zoom",
"img": "entity|32ea2e2c-7f0f-4920-89e0-51a39e6f035b",
"link": "dynamic|API|result.takePrizeUrl",
"imgUrl": "dynamic|API|result.img",
"nameText": "dynamic|API|result.title"
}
}
],
"uuid": "dd3a209b-4625-45f1-871e-e98cf5bed832",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 0,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "恭喜你!完成目标啦!\n送你一个奖品",
"lineSpacing": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 90
}
}
],
"uuid": "9a35df46-ba82-48e2-bf2f-cee7c7e5634e"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|dd3a209b-4625-45f1-871e-e98cf5bed832",
"component": 3,
"method": "onclick"
}
]
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 60
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.6.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "立即领取",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "6a312373-dcff-4bfd-aa4d-977ca311e399"
}
],
"uuid": "fddd06bb-9768-4df2-b727-d8fc1eff6486"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "ef5a5e6d-9f39-4888-bbf2-b576bb921659"
},
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 250,
"height": 250
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 20,
"isMask": true,
"maskVisible": false
}
}
],
"uuid": "8efe3927-205a-446f-9656-1fe5e24bf104",
"disabled": false,
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 250,
"height": 250
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {}
}
],
"uuid": "32ea2e2c-7f0f-4920-89e0-51a39e6f035b"
}
]
},
{
"name": "Text",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "奖品名称",
"fillColor": "rgba(76, 76, 76, 1)",
"textStyle": {
"fontSize": 28
}
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 190
}
}
],
"uuid": "538ed881-f453-4849-95dc-b60dbcc999a4",
"disabled": false
}
],
"disabled": true
},
{
"name": "TakeFailed",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/TakeFailed",
"properties": {
"effect": "zoom",
"unit": "dynamic|API|home.unit",
"label": "entity|a2ea6f21-54fe-4fcc-ab0d-6627fd5d1e07",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda"
}
}
],
"uuid": "b3dd19a0-c430-4229-8b63-1b4bc4c2ce09",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "金币扣除失败\n别慌张,可以再试一次哟~",
"lineSpacing": 20
}
}
],
"uuid": "a2ea6f21-54fe-4fcc-ab0d-6627fd5d1e07"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "TakeFailed"
}
]
},
"disabled": false
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.9.1",
"dcm": "252.oaid.0.0"
},
"disabled": false
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "bf06acb1-4bc4-4f76-87d5-3b515bb5bd22"
}
],
"uuid": "047e62fd-d69b-4272-b0d1-3c18e1805e08"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "28c75db7-4f59-471a-b6d1-9baa04a7b312"
}
],
"disabled": true
},
{
"name": "NewTips",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Tips",
"properties": {
"label": "entity|c9e61f2d-634e-4e4c-8450-961e13da5a90",
"effect": "zoom",
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda"
}
}
],
"uuid": "82ad49a2-6cb7-4534-92fe-4bb38eee71cd",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "每局挖出${num}个宝箱\n 即有机会获得奖品",
"lineSpacing": 20
}
}
],
"uuid": "c9e61f2d-634e-4e4c-8450-961e13da5a90"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "NewTips"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.1.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "28ca6b41-9e63-4f8a-b9be-44bb2681b7be"
}
],
"uuid": "7aa00e48-d153-4e7c-a066-bde1a60bd59d"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "78dea9d0-dcbf-4444-8a4b-6345669d0de7"
}
],
"disabled": true
},
{
"name": "CurrencyNotEnough",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Currency",
"properties": {
"controller": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"label": "entity|1c0dc459-7283-4e07-86a8-a36c4f3862b8",
"unit": "dynamic|API|home.unit",
"effect": "zoom",
"btn": "entity|bf3fdad3-3dc2-449b-83d5-8c14bc6051b1",
"url": "dynamic|API|home.earnCreditsUrl"
}
}
],
"uuid": "7b241c67-1670-414f-acb4-037c2110120a",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"lineSpacing": 20,
"text": "很抱歉,金币不足啦~"
}
}
],
"uuid": "1c0dc459-7283-4e07-86a8-a36c4f3862b8"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "CurrencyNotEnough"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.10.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "eaf4e989-4cb0-46a5-8490-f56afcbaa6d4"
}
],
"uuid": "bf3fdad3-3dc2-449b-83d5-8c14bc6051b1"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "d816b4b3-d7e4-4b6e-a66b-51970dff2f9c"
}
],
"disabled": true
},
{
"name": "TakeAgain",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "fdebd18b-6244-4686-ad80-3958fd8d6090",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "很遗憾,与奖品擦肩而过\n不要气馁,再试一次看看!",
"lineSpacing": 20
}
}
],
"uuid": "988e1b79-e6af-40ac-a2cf-f8adc6733b95"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "TakeAgain"
}
]
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "再试一次",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "b67acf00-59de-4f49-9d52-09b268351ddb"
}
],
"uuid": "9fb736af-af63-48b6-9a0b-eca4c4d5b2c5"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "f908fa34-cd5c-497e-9d7c-3dcc2cb8465a"
}
],
"disabled": true
},
{
"name": "ScoreNotEnough",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "04bf0821-e752-4719-aaea-aacdbd76f5f5",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -50,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 44,
"fontWeight": "bolder"
},
"text": "很遗憾,未达到目标\n不要气馁,再试一次看看!",
"lineSpacing": 20
}
}
],
"uuid": "2c67fb29-5c69-4525-aa16-3a45f1deaf6d"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "ScoreNotEnough"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dpm": "app_id.248.7.1",
"dcm": "252.oaid.0.0"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "再试一次",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "7e107ca3-5f2b-41ca-b814-bda58bf98b7a"
}
],
"uuid": "39a8c5d5-b233-44c6-ba57-fbcec54afe28"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "2a6f9664-a2bc-46b4-8cf2-fe01ce580621"
}
],
"disabled": true
},
{
"name": "Network",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "6b1c1bca-f52a-4512-95c6-da4d809a293c",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -70,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "网络不给力",
"lineSpacing": 20
}
}
],
"uuid": "a0c3a755-1bad-4136-8a1f-411441a305e4"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -20,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 24,
"fontWeight": "bolder"
},
"text": "(世界上最遥远的距离莫过于此)",
"lineSpacing": 20
}
}
],
"uuid": "83e6524d-26b6-4132-8490-cf7e1de72185"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "Network"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.11.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "知道啦",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "474d84f4-907b-4fc3-8a73-13357abc436a"
}
],
"uuid": "ba1647b1-4493-4e1f-b4de-476a66d58448"
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "29a89065-9901-43de-ada5-336f54565619"
}
],
"disabled": true
},
{
"name": "UnLogin",
"components": [
{
"script": "components/base/Transform",
"properties": {
"height": 600
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"cornerRadius": 30,
"fillColor": "rgba(255, 255, 255, 1)"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 60,
"right": 60
}
},
{
"script": "./scripts/dialog/Normal",
"properties": {
"effect": "zoom"
}
}
],
"uuid": "58697005-d21d-4f64-be40-ccc24a7e99a4",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -70,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 46,
"fontWeight": "bolder"
},
"text": "啊哦,您还未登录",
"lineSpacing": 20
}
}
],
"uuid": "8e68f781-7d99-4f93-9d61-4c47c4c61c5e"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -20,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 107, 42, 1)",
"textStyle": {
"fontFamily": "Verdana",
"fontSize": 24,
"fontWeight": "bolder"
},
"text": "(登录后即可参与活动)",
"lineSpacing": 20
}
}
],
"uuid": "7f3b20e6-14e6-4bdb-8ad0-4184f220b35b"
},
{
"name": "Button",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 160,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|29b15b7d-3fc0-4f6c-81a3-34a33de83c84",
"onClick": [
{
"entity": "entity|3e40e379-b006-46e8-89e2-899e07e18dda",
"component": 1,
"method": "hideDialog",
"param": "UnLogin"
}
]
}
},
{
"script": "./scripts/utils/BuriedPoint",
"properties": {
"dcm": "252.oaid.0.0",
"dpm": "app_id.248.12.1"
}
}
],
"children": [
{
"name": "label",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -6,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "立即登录",
"fillColor": "rgba(255, 255, 255, 1)",
"textStyle": {
"fontSize": 44,
"fontFamily": "Verdana",
"fontWeight": "bolder"
},
"letterSpacing": 8
}
}
],
"uuid": "735c3e62-398c-421c-9f8f-7c0202e23da6"
}
],
"uuid": "2155f218-f3fc-4a4e-8610-ef913bac76a8",
"disabled": false
},
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|d19e9464-273e-43d8-9af7-5297e9db785d"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": -100,
"right": -10
}
}
],
"children": [],
"uuid": "9d2cb539-6452-4884-b96b-40b20c82599f"
}
],
"disabled": true
}
],
"disabled": false
},
{
"name": "ToastContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/other/Toast",
"properties": {
"Label": "entity|1b334276-d249-4fd4-8cca-81228d37e4fb",
"offsetY": 360,
"padding": 70
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(0, 0, 0, 0.7)",
"cornerRadius": 30
}
}
],
"uuid": "b88cc983-709f-4d98-9572-08ee4ebac942",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"textStyle": {
"fontSize": 60
},
"fillColor": "rgba(255, 255, 255, 1)"
}
}
],
"uuid": "1b334276-d249-4fd4-8cca-81228d37e4fb"
}
],
"disabled": true
}
]
}
]
},
"resource-groups": {
"preload": [
{
"uuid": "350123f4-6956-46f4-a31c-60e9b9209108",
"url": "prefebs/rewardsItem.pfb"
},
{
"uuid": "8ddb3a34-be02-4847-95c1-73ba8b6e53e0",
"url": "singles/config.sht",
"config": {
"textures": [
{
"name": "banner.png",
"uuid": "acd0e622-2a3d-43b8-a344-3facff626c42"
},
{
"name": "front.png",
"uuid": "4b5c6616-42ec-48b9-84ac-132fce6d001b"
},
{
"name": "reward.png",
"uuid": "8d944afd-be38-4a78-bba5-b5fb915606a2"
},
{
"name": "rule.png",
"uuid": "87b31d5f-b3ba-4070-aa08-f39a03e77106"
},
{
"name": "tips-bg.png",
"uuid": "2be77d4b-53d6-4e59-9c5d-8a8f4f8febdf"
},
{
"name": "treasure.png",
"uuid": "6d824d44-8ef6-4f9c-a3bc-57ebd92ccf25"
},
{
"name": "stone.png",
"uuid": "d250fb4e-2433-4376-9e42-9e3a776a7904"
}
]
}
},
{
"uuid": "c8782361-f5cc-451f-94b6-79cec38a052e",
"url": "singles/dialog.sht",
"config": {
"textures": [
{
"name": "btnBg.png",
"uuid": "29b15b7d-3fc0-4f6c-81a3-34a33de83c84"
},
{
"name": "close.png",
"uuid": "d19e9464-273e-43d8-9af7-5297e9db785d"
}
]
}
},
{
"uuid": "3c023d07-0bf0-44af-b277-273aa4b3ab20",
"url": "singles/start.sht",
"config": {
"textures": [
{
"name": "handle.png",
"uuid": "e06ecd02-0201-42bb-9cb3-db948728c506"
},
{
"name": "rewardsBg.png",
"uuid": "3173de21-1d1a-49ea-8a07-b73f5c6828f1"
},
{
"name": "startBtn.png",
"uuid": "0808819e-92f8-430d-86d2-5404e2acf468"
},
{
"name": "tool.png",
"uuid": "f3bfb0c8-ebcf-429d-9bb2-341c811adf92"
},
{
"name": "circle.png",
"uuid": "0d5f21c2-ba9d-4e1a-be31-d1d475410c48"
},
{
"name": "rewards-item.png",
"uuid": "e9d32c40-aa0e-4929-aa5f-80c4c69631ce"
}
]
}
}
]
}
}
\ No newline at end of file
{
"file": "config.png",
"frames": {
"front.png": {
"x": 1,
"y": 1,
"w": 750,
"h": 178,
"offX": 0,
"offY": 0,
"sourceW": 750,
"sourceH": 178
},
"banner.png": {
"x": 1,
"y": 181,
"w": 468,
"h": 172,
"offX": 0,
"offY": 0,
"sourceW": 468,
"sourceH": 172
},
"treasure.png": {
"x": 471,
"y": 181,
"w": 187,
"h": 200,
"offX": 0,
"offY": 0,
"sourceW": 187,
"sourceH": 200
},
"tips-bg.png": {
"x": 1,
"y": 355,
"w": 298,
"h": 59,
"offX": 0,
"offY": 0,
"sourceW": 298,
"sourceH": 59
},
"stone.png": {
"x": 301,
"y": 355,
"w": 128,
"h": 100,
"offX": 0,
"offY": 0,
"sourceW": 128,
"sourceH": 100
},
"reward.png": {
"x": 1,
"y": 416,
"w": 99,
"h": 34,
"offX": 0,
"offY": 0,
"sourceW": 99,
"sourceH": 34
},
"rule.png": {
"x": 102,
"y": 416,
"w": 99,
"h": 34,
"offX": 0,
"offY": 0,
"sourceW": 99,
"sourceH": 34
}
}
}
\ No newline at end of file
{
"file": "dialog.png",
"frames": {
"btnBg.png": {
"x": 1,
"y": 1,
"w": 452,
"h": 94,
"offX": 0,
"offY": 0,
"sourceW": 452,
"sourceH": 94
},
"close.png": {
"x": 1,
"y": 97,
"w": 49,
"h": 49,
"offX": 0,
"offY": 0,
"sourceW": 49,
"sourceH": 49
}
}
}
\ No newline at end of file
{
"file": "start.png",
"frames": {
"rewardsBg.png": {
"x": 1,
"y": 1,
"w": 750,
"h": 315,
"offX": 0,
"offY": 0,
"sourceW": 750,
"sourceH": 315
},
"startBtn.png": {
"x": 1,
"y": 318,
"w": 258,
"h": 111,
"offX": 0,
"offY": 0,
"sourceW": 258,
"sourceH": 111
},
"rewards-item.png": {
"x": 261,
"y": 318,
"w": 141,
"h": 139,
"offX": 0,
"offY": 0,
"sourceW": 141,
"sourceH": 139
},
"handle.png": {
"x": 1,
"y": 431,
"w": 104,
"h": 88,
"offX": 0,
"offY": 0,
"sourceW": 104,
"sourceH": 88
},
"tool.png": {
"x": 107,
"y": 431,
"w": 64,
"h": 1111,
"offX": 14,
"offY": 67,
"sourceW": 90,
"sourceH": 1206
},
"circle.png": {
"x": 173,
"y": 431,
"w": 57,
"h": 57,
"offX": 0,
"offY": 0,
"sourceW": 57,
"sourceH": 57
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>minner-tool</title>
<meta name="viewport"
content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<style>
html, body {
padding: 0;
margin: 0;
border: 0;
height: 100%;
background-color: #282C34;
}
#floatLayer * {
/* margin: 0;
padding: 0; */
color: #000;
}
</style>
</head>
<body>
<div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div>
<script>
var CFG = {
opId: 83189
}
</script>
<script src="//yun.duiba.com.cn/db_games/activity/public_js/fetch-jsonp.min.js"></script>
<script src="bundle.js"></script>
<script>
setTimeout(function(){
var options = window['inputOptions'] || {};
window['minner-tool'].startup(document.getElementById('gameContainer'), options);
}, 100);
</script>
</body>
</html>
{
"name": "minner-tool",
"engineConfig": {
"fps": 60,
"designWidth": 750,
"designHeight": 1334,
"scaleMode": "fixedWidth",
"modifyCanvasSize": false,
"resPath": ""
},
"customConfig": {
"scene": {
"scenes": {
"main": "scenes/main.scene"
},
"entryScene": "main"
},
"webServiceUrl": ""
},
"dataCenterConfig": {
"dataCenterRoot": [
"API",
"CFG",
"custom"
]
},
"projectUuid": "1ea735b4-a8cc-49e8-b2f6-24d9d29468ab"
}
...@@ -21,13 +21,269 @@ ...@@ -21,13 +21,269 @@
} }
#floatLayer * { #floatLayer * {
/* margin: 0; margin: 0;
padding: 0; */
color: #000; color: #000;
} }
#loading ul {
position: absolute;
left: 50%;
top: 50%;
transform: rotate(45deg) translate(-50%, -50%);
-webkit-transform: rotate(45deg) translate(-50%, -50%);
}
#loading li {
list-style-type: none;
position: absolute;
top: 0px;
left: 0px;
width: 20px;
height: 20px;
background: #f5d4a1;
border-radius: 50%;
}
#a {
animation: a 1s ease-in-out infinite;
-webkit-animation: a 1s ease-in-out infinite;
top: -40px;
left: -40px;
}
#b {
animation: b 1s ease-in-out infinite;
-webkit-animation: b 1s ease-in-out infinite;
top: -40px;
left: 0px;
}
#c {
animation: c 1s ease-in-out infinite;
-webkit-animation: c 1s ease-in-out infinite;
top: -40px;
left: 40px;
}
#d {
animation: d 1s ease-in-out infinite;
-webkit-animation: d 1s ease-in-out infinite;
top: 0px;
left: -40px;
}
#e {
animation: e 1s ease-in-out infinite;
-webkit-animation: e 1s ease-in-out infinite;
top: 0px;
left: 0px;
}
#f {
animation: f 1s ease-in-out infinite;
-webkit-animation: f 1s ease-in-out infinite;
top: 0px;
left: 40px;
}
#g {
animation: g 1s ease-in-out infinite;
-webkit-animation: g 1s ease-in-out infinite;
top: 40px;
left: -40px;
}
#h {
animation: h 1s ease-in-out infinite;
-webkit-animation: h 1s ease-in-out infinite;
top: 40px;
left: 0px;
}
#i {
animation: i 1s ease-in-out infinite;
-webkit-animation: i 1s ease-in-out infinite;
top: 40px;
left: 40px;
}
@keyframes a {
50% {
top: 0px;
left: -40px;
}
100% {
top: 0px;
left: -40px;
}
}
@keyframes b {
50% {
top: -40px;
left: -40px;
}
100% {
top: -40px;
left: -40px;
}
}
@keyframes c {
50% {
top: -40px;
left: 0px;
}
100% {
top: -40px;
left: 0px;
}
}
@keyframes d {
50% {
top: 40px;
left: -40px;
}
100% {
top: 40px;
left: -40px;
}
}
@keyframes f {
50% {
top: -40px;
left: 40px;
}
100% {
top: -40px;
left: 40px;
}
}
@keyframes g {
50% {
top: 40px;
left: 0px;
}
100% {
top: 40px;
left: 0px;
}
}
@keyframes h {
50% {
top: 40px;
left: 40px;
}
100% {
top: 40px;
left: 40px;
}
}
@keyframes i {
50% {
top: 0px;
left: 40px;
}
100% {
top: 0px;
left: 40px;
}
}
@-webkit-keyframes a {
50% {
top: 0px;
left: -40px;
}
100% {
top: 0px;
left: -40px;
}
}
@-webkit-keyframes b {
50% {
top: -40px;
left: -40px;
}
100% {
top: -40px;
left: -40px;
}
}
@-webkit-keyframes c {
50% {
top: -40px;
left: 0px;
}
100% {
top: -40px;
left: 0px;
}
}
@-webkit-keyframes d {
50% {
top: 40px;
left: -40px;
}
100% {
top: 40px;
left: -40px;
}
}
@-webkit-keyframes f {
50% {
top: -40px;
left: 40px;
}
100% {
top: -40px;
left: 40px;
}
}
@-webkit-keyframes g {
50% {
top: 40px;
left: 0px;
}
100% {
top: 40px;
left: 0px;
}
}
@-webkit-keyframes h {
50% {
top: 40px;
left: 40px;
}
100% {
top: 40px;
left: 40px;
}
}
@-webkit-keyframes i {
50% {
top: 0px;
left: 40px;
}
100% {
top: 0px;
left: 40px;
}
}
</style> </style>
</head> </head>
<body> <body>
<ul id="loading">
<li id='a'></li>
<li id='b'></li>
<li id='c'></li>
<li id='d'></li>
<li id='e'></li>
<li id='f'></li>
<li id='g'></li>
<li id='h'></li>
<li id='i'></li>
</ul>
<div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div> <div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div>
<script> <script>
var CFG = { var CFG = {
......
...@@ -8,11 +8,44 @@ ...@@ -8,11 +8,44 @@
"opId":null, "opId":null,
"appId":5, "appId":5,
"title":"title", "title":"title",
"rule":"<ol><li><strong>测试测试测试测试测试测试</strong></li><li><em style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</em></li><li><strong style='color: rgb(51, 51, 51);'><em>测试测试测试测试测试测试</em></strong></li><li><span style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</span></li><li><span style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</span></li><li><span style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</span></li><li><span style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</span></li><li><span style='color: rgb(51, 51, 51);'>测试测试测试测试测试测试</span></li></ol>", "rule":"<p><strong>测试测试</strong></p><p><em style=\"color: rgb(51, 51, 51);\">测试测试</em></p><p><strong style=\"color: rgb(51, 51, 51);\"><em>测试测试</em></strong></p>",
"box":5, "box":10,
"continueTime":5, "continueTime":5,
"earnCreditsUrl": "//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png", "earnCreditsUrl": "//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"prizeList":[{ "prizeList":[
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name"
},
{
"img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png", "img":"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png",
"title":"name" "title":"name"
}, },
...@@ -22,7 +55,7 @@ ...@@ -22,7 +55,7 @@
} }
], ],
"interfaceConfig":"{\"indexBackBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBackBgImg.png\",\"indexBannerImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBannerImg.png\",\"indexGoalBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexGoalBgImg.png\",\"indexFrontBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexFrontBgImg.png\",\"indexPrizeBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexPrizeBgImg.png\",\"indexBoxImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBoxImg.png\",\"indexBlockImg\":\"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBlockImg.png\",\"indexInitBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexInitBtnImg.png\",\"indexStartBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexStartBtnImg.png\",\"indexPrizeImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexPrizeImg.png\",\"indexRuleImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png\",\"popBgColor\":\"#FFFFFF\",\"popTitleColor\": \"#FF6D2B\",\"popPrizeTextColor\": \"#4C4C4C\",\"popBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/popBtnImg.png\",\"popBtnTextColor\": \"#fff\"}", "interfaceConfig":"{\"indexBackBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBackBgImg.png\",\"indexBannerImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBannerImg.png\",\"indexGoalBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexGoalBgImg.png\",\"indexFrontBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexFrontBgImg.png\",\"indexPrizeBgImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexPrizeBgImg.png\",\"indexBoxImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBoxImg.png\",\"indexBlockImg\":\"//yun.duiba.com.cn/h5/activity/goldminer/images/indexBlockImg.png\",\"indexInitBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexInitBtnImg.png\",\"indexStartBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexStartBtnImg.png\",\"indexPrizeImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexPrizeImg.png\",\"indexRuleImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/indexRuleImg.png\",\"popBgColor\":\"#FFFFFF\",\"popTitleColor\": \"#FF6D2B\",\"popPrizeTextColor\": \"#4C4C4C\",\"popBtnImg\": \"//yun.duiba.com.cn/h5/activity/goldminer/images/popBtnImg.png\",\"popBtnTextColor\": \"#fff\"}",
"login":true, "login":false,
"loginUrl": "https://www.baidu.com", "loginUrl": "https://www.baidu.com",
"credits": 5, "credits": 5,
"unit":"悠币", "unit":"悠币",
......
{"/Users/firefly/duiba/demoList/minner-tool/assets/scripts/HelloScilla.ts":1561020169937.0137,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/HelloScilla.ts":1561020169937.0137,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/DialogContent.ts":1561600311985.8552,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Network.ts":1561600425062.0408,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Normal.ts":1562566682279.367,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Tips.ts":1562206219526.327,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/TakeRewards.ts":1561604368987.917,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/scenes/start.ts":1562900603149.6484,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Game.ts":1562812722245.6018,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/utils/index.ts":1561701943800.5488,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/ToolAnimate.ts":1562061481431.2627,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Treasure.ts":1562036486693.9104,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Stone.ts":1562036497419.1833,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Currency.ts":1562576376017.156,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/TakeFailed.ts":1562567908671.4026,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/utils/BuriedPoint.ts":1562566605218.4138} {"/Users/firefly/duiba/demoList/minner-tool/assets/scripts/HelloScilla.ts":1561020169937.0137,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/HelloScilla.ts":1561020169937.0137,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/DialogContent.ts":1561600311985.8552,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Network.ts":1561600425062.0408,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Normal.ts":1562566682279.367,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Tips.ts":1563342864232.2847,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/TakeRewards.ts":1561604368987.917,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/scenes/start.ts":1563414744765.5208,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Game.ts":1563328648843.1855,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/utils/index.ts":1561701943800.5488,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/ToolAnimate.ts":1562061481431.2627,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Treasure.ts":1562036486693.9104,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/game/Stone.ts":1562036497419.1833,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/Currency.ts":1562576376017.156,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/dialog/TakeFailed.ts":1562567908671.4026,"/Users/firefly/duiba/demoList/miner-tool/assets/scripts/utils/BuriedPoint.ts":1562566605218.4138}
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