Commit b2ec1d54 authored by 邱旭's avatar 邱旭

斐乐消消乐init

parent 477b5530
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
"levelPrize": { "levelPrize": {
"level_90": "https://img.alicdn.com/imgextra/i4/2275046294/O1CN01rG9iDU1wMhRtEnjA8_!!2275046294-2-miniprogram.png", "level_90": "https://img.alicdn.com/imgextra/i4/2275046294/O1CN01rG9iDU1wMhRtEnjA8_!!2275046294-2-miniprogram.png",
"level_60": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01Sytynw1wMhRuqjy5V_!!2275046294-2-miniprogram.png", "level_60": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01Sytynw1wMhRuqjy5V_!!2275046294-2-miniprogram.png",
"level_120": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01Jh6dtM1wMhRxULetP_!!2275046294-2-miniprogram.png",
"level_30": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN019uAoYk1wMhRsoAgag_!!2275046294-2-miniprogram.png", "level_30": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN019uAoYk1wMhRsoAgag_!!2275046294-2-miniprogram.png",
"level_10": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01FwiFBB1wMhRybF1V4_!!2275046294-2-miniprogram.png" "level_10": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01FwiFBB1wMhRybF1V4_!!2275046294-2-miniprogram.png"
}, },
......
{ {
"code": "000000", "code": "000000",
"data": { "data": {
"currentLevel": 120, "currentLevel": 6,
"isFristLogin": false, "isFristLogin": false,
"visitors": [ "visitors": [
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 18860,
"level": 120,
"createTime": 1597914072914,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1597914295601,
"_id": "5f3e3bd89da6714ab710260c",
"stars": 2,
"isPrizeLevel": true,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 42260,
"level": 119,
"createTime": 1597913909324,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1597913909324,
"_id": "5f3e3b359897b44ce10aa433",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 65980,
"level": 118,
"createTime": 1597913804151,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1597913804151,
"_id": "5f3e3acc9da6714ab71023bf",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 59080,
"level": 117,
"createTime": 1597913265133,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1597913265133,
"_id": "5f3e38b1086e654a41a10c0c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 31050,
"level": 116,
"createTime": 1595994466579,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595994466579,
"_id": "5f20f162964f9706aa58e221",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28310,
"level": 115,
"createTime": 1595994321499,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595994321499,
"_id": "5f20f0d152bbde057e13829b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 68260,
"level": 114,
"createTime": 1595994137524,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595994137524,
"_id": "5f20f019114fbb8f6d1fcc94",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28470,
"level": 113,
"createTime": 1595994035734,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595994035734,
"_id": "5f20efb38e6a08321e56985d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 26140,
"level": 112,
"createTime": 1595993874029,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993874029,
"_id": "5f20ef12738989c8b3f37f48",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 4370,
"level": 111,
"createTime": 1596178512352,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": false,
"updateTime": 1596178512352,
"_id": "5f23c0509da6714ab7dd94d4",
"stars": 0,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 22240,
"level": 110,
"createTime": 1595993641562,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993641562,
"_id": "5f20ee29e5c0d7361f1bcdc5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 50010,
"level": 109,
"createTime": 1595993569525,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993569525,
"_id": "5f20ede1738989c8b3f37b55",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 30870,
"level": 108,
"createTime": 1595993481180,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596098534585,
"_id": "5f20ed89e5c0d7361f1bcba3",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 21670,
"level": 107,
"createTime": 1595993365300,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993365300,
"_id": "5f20ed1575cfb6d7c11a354a",
"stars": 1,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 54780,
"level": 106,
"createTime": 1595993255981,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993255981,
"_id": "5f20eca79897b44ce1d19998",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 24280,
"level": 105,
"createTime": 1595993188994,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993188994,
"_id": "5f20ec640cb7330c94ba0cfd",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 27620,
"level": 104,
"createTime": 1595993128854,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993128854,
"_id": "5f20ec289897b44ce1d197db",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 31450,
"level": 103,
"createTime": 1595993052730,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595993052730,
"_id": "5f20ebdc85a7496423bff34b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 32110,
"level": 102,
"createTime": 1595992980010,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992980010,
"_id": "5f20eb940cb7330c94ba09c1",
"stars": 1,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 41490,
"level": 101,
"createTime": 1595992849396,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992849396,
"_id": "5f20eb119da6714ab7d6d0fe",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 35590,
"level": 100,
"createTime": 1595992792231,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992792231,
"_id": "5f20ead852bbde057e136ddd",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 57270,
"level": 99,
"createTime": 1595992714257,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992714257,
"_id": "5f20ea8a086e654a4167e7cd",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 15320,
"level": 98,
"createTime": 1595992576548,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992576548,
"_id": "5f20ea0085a7496423bfeb8f",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 74170,
"level": 97,
"createTime": 1595992309360,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992309360,
"_id": "5f20e8f552bbde057e136586",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 62560,
"level": 96,
"createTime": 1595992180335,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992180335,
"_id": "5f20e87452bbde057e13637a",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 13460,
"level": 95,
"createTime": 1595992065555,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595992065555,
"_id": "5f20e8019da6714ab7d6c3be",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 11140,
"level": 94,
"createTime": 1595991927456,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595991927456,
"_id": "5f20e7778e6a08321e56778f",
"stars": 1,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 51520,
"level": 93,
"createTime": 1595991735744,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595991735744,
"_id": "5f20e6b7114fbb8f6d1fa832",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 45820,
"level": 92,
"createTime": 1595991501560,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595991501560,
"_id": "5f20e5cd9da6714ab7d6bb47",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28280,
"level": 91,
"createTime": 1595991410242,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595991410242,
"_id": "5f20e572e5c0d7361f1bab10",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 55180,
"level": 90,
"createTime": 1595991035985,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595991035985,
"_id": "5f20e3fb9897b44ce1d176ad",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 26820,
"level": 89,
"createTime": 1595990898318,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990898318,
"_id": "5f20e37252bbde057e134fb4",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 31260,
"level": 88,
"createTime": 1595990702010,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990702010,
"_id": "5f20e2ae3075d9e9767e43b6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 36900,
"level": 87,
"createTime": 1595990351474,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990485931,
"_id": "5f20e14f3075d9e9767e3e4d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 50650,
"level": 86,
"createTime": 1595990188140,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990188140,
"_id": "5f20e0ac3075d9e9767e3bbf",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 36450,
"level": 85,
"createTime": 1595990109318,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990109318,
"_id": "5f20e05d85a7496423bfc551",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 45500,
"level": 84,
"createTime": 1595990047649,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595990047649,
"_id": "5f20e01f0cb7330c94b9db29",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 49800,
"level": 83,
"createTime": 1595989835881,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989937346,
"_id": "5f20df4b52bbde057e133eb4",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28980,
"level": 82,
"createTime": 1595989683073,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989683073,
"_id": "5f20deb2ef5071ef853a2c15",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 57570,
"level": 81,
"createTime": 1595989551512,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989551512,
"_id": "5f20de2f9da6714ab7d69c19",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 20900,
"level": 80,
"createTime": 1595989471024,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989471024,
"_id": "5f20ddde85a7496423bfba15",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 131180,
"level": 79,
"createTime": 1595989396053,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989396053,
"_id": "5f20dd933075d9e9767e2dc2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 48590,
"level": 78,
"createTime": 1595989330146,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989330146,
"_id": "5f20dd51114fbb8f6d1f8179",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 83060,
"level": 77,
"createTime": 1595989161763,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595989161763,
"_id": "5f20dca90cb7330c94b9cad8",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 122440,
"level": 76,
"createTime": 1595988924540,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595988924540,
"_id": "5f20dbbc8e6a08321e5645ec",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 49960,
"level": 75,
"createTime": 1595988744927,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595988744927,
"_id": "5f20db09964f9706aa588710",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 20990,
"level": 74,
"createTime": 1595930362047,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595930362047,
"_id": "5f1ff6fa75cfb6d7c11850e4",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 29690,
"level": 73,
"createTime": 1595929280333,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595929280333,
"_id": "5f1ff2c052bbde057e118b79",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 56450,
"level": 72,
"createTime": 1595928931124,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595929065064,
"_id": "5f1ff16367f13766547679db",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 68480,
"level": 71,
"createTime": 1595928765081,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928765081,
"_id": "5f1ff0bd85a7496423be088c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 30970,
"level": 70,
"createTime": 1595928671128,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928671128,
"_id": "5f1ff05f9da6714ab7d4e770",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 54990,
"level": 69,
"createTime": 1595928602714,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928602714,
"_id": "5f1ff01ac3ad349c098d88a8",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 63760,
"level": 68,
"createTime": 1595928515910,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928515910,
"_id": "5f1fefc385a7496423be06eb",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 30050,
"level": 67,
"createTime": 1595928380364,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928380364,
"_id": "5f1fef3ce5c0d7361f19d792",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 104900,
"level": 66,
"createTime": 1595928243022,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928243022,
"_id": "5f1feeb352bbde057e118444",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 46640,
"level": 65,
"createTime": 1595928141775,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928141775,
"_id": "5f1fee4d3075d9e9767c78ff",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 58670,
"level": 64,
"createTime": 1595928024726,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595928024726,
"_id": "5f1fedd852bbde057e1182e4",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 49610,
"level": 63,
"createTime": 1595927916705,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927916705,
"_id": "5f1fed6ce5c0d7361f19d43a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 37280,
"level": 62,
"createTime": 1595927737310,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927737310,
"_id": "5f1fecb9114fbb8f6d1dcb19",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 44750,
"level": 61,
"createTime": 1595927607675,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927607675,
"_id": "5f1fec37738989c8b3f17fa6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 89190,
"level": 60,
"createTime": 1595927480732,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927480732,
"_id": "5f1febb875cfb6d7c1183c5a",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 40260,
"level": 59,
"createTime": 1595927348873,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927348873,
"_id": "5f1feb3467f1376654766eb7",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 19530,
"level": 58,
"createTime": 1595927154295,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927261449,
"_id": "5f1fea71114fbb8f6d1dc730",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 48360,
"level": 57,
"createTime": 1595927051265,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595927051265,
"_id": "5f1fea0a67f1376654766cc5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 63400,
"level": 56,
"createTime": 1595926866910,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595926866910,
"_id": "5f1fe95252bbde057e117aca",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 32810,
"level": 55,
"createTime": 1595926707591,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595926763610,
"_id": "5f1fe8b3086e654a4165f3ae",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 40730,
"level": 54,
"createTime": 1595926622006,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595926622006,
"_id": "5f1fe85d9da6714ab7d4d970",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 53780,
"level": 53,
"createTime": 1595926574086,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595926574086,
"_id": "5f1fe82d67f13766547669c2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 68800,
"level": 52,
"createTime": 1595926504073,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595926504073,
"_id": "5f1fe7e767f137665476693e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 49700,
"level": 51,
"createTime": 1595925505415,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595925505415,
"_id": "5f1fe40167f13766547662be",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 59310,
"level": 50,
"createTime": 1595925401347,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595925401347,
"_id": "5f1fe3990cb7330c94b807de",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 33950,
"level": 49,
"createTime": 1595925258087,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595925258087,
"_id": "5f1fe30a964f9706aa56ccd8",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 29840,
"level": 48,
"createTime": 1595925152971,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595925152971,
"_id": "5f1fe2a0ef5071ef85385cb4",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 88180,
"level": 47,
"createTime": 1595921767837,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595922861034,
"_id": "5f1fd567964f9706aa56b14b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28120,
"level": 46,
"createTime": 1595921354142,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595921587629,
"_id": "5f1fd3ca114fbb8f6d1d9c0e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 34960,
"level": 45,
"createTime": 1595921018824,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595921018824,
"_id": "5f1fd27a964f9706aa56ab80",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 97540,
"level": 44,
"createTime": 1595920803999,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595920803999,
"_id": "5f1fd1a367f1376654763dcf",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 9790,
"level": 43,
"createTime": 1595917123902,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595917358389,
"_id": "5f1fc343114fbb8f6d1d7e54",
"stars": 1,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 26070,
"level": 42,
"createTime": 1595917014837,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595917014837,
"_id": "5f1fc2d69897b44ce1cf58e2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 19990,
"level": 41,
"createTime": 1595916513411,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595916710642,
"_id": "5f1fc0e1e5c0d7361f1981d6",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 148310,
"level": 40,
"createTime": 1595916274347,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595916394509,
"_id": "5f1fbff2086e654a4165a831",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 29120,
"level": 39,
"createTime": 1595916041271,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595916041271,
"_id": "5f1fbf09114fbb8f6d1d76ef",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 25280,
"level": 38,
"createTime": 1595906393624,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595915853384,
"_id": "5f1f99599da6714ab7d449f3",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 40640,
"level": 37,
"createTime": 1595906265015,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595906265015,
"_id": "5f1f98d93075d9e9767bdc20",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 43180,
"level": 36,
"createTime": 1595905970439,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595905970439,
"_id": "5f1f97b29da6714ab7d446be",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 25710,
"level": 35,
"createTime": 1595905635916,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595906073848,
"_id": "5f1f96638e6a08321e53fa46",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 146070,
"level": 34,
"createTime": 1595905504131,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595905504131,
"_id": "5f1f95e0738989c8b3f0e2df",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 27570,
"level": 33,
"createTime": 1595905348689,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595905348689,
"_id": "5f1f95449897b44ce1cf05c5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 39950,
"level": 32,
"createTime": 1595905131056,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595905131056,
"_id": "5f1f946b9897b44ce1cf040c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 62690,
"level": 31,
"createTime": 1595905062354,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595905062354,
"_id": "5f1f942667f137665475d098",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 41840,
"level": 30,
"createTime": 1595904806385,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904806385,
"_id": "5f1f9326964f9706aa5638bb",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 31060,
"level": 29,
"createTime": 1595904684383,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904684383,
"_id": "5f1f92ac9da6714ab7d43d0d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 45280,
"level": 28,
"createTime": 1595904642867,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904642867,
"_id": "5f1f9282964f9706aa563787",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 124330,
"level": 27,
"createTime": 1595904596211,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904596211,
"_id": "5f1f925485a7496423bd5c1b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 27770,
"level": 26,
"createTime": 1595904519116,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904519116,
"_id": "5f1f9207964f9706aa5636a9",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 43110,
"level": 25,
"createTime": 1595904456874,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904456874,
"_id": "5f1f91c8ef5071ef8537c775",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 26500,
"level": 24,
"createTime": 1595904393446,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904393446,
"_id": "5f1f91899897b44ce1cefe36",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 12060,
"level": 23,
"createTime": 1595904196174,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904196174,
"_id": "5f1f90c40cb7330c94b76fba",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 34430,
"level": 22,
"createTime": 1595904129725,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904129725,
"_id": "5f1f90819897b44ce1cefc3c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 51980,
"level": 21,
"createTime": 1595904049323,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595904049323,
"_id": "5f1f9031e5c0d7361f192983",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 46670,
"level": 20,
"createTime": 1595903971749,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903971749,
"_id": "5f1f8fe385a7496423bd577a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 70920,
"level": 19,
"createTime": 1595903908811,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903908811,
"_id": "5f1f8fa4ef5071ef8537c386",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 52410,
"level": 18,
"createTime": 1595903494918,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903494918,
"_id": "5f1f8e0685a7496423bd5421",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 42560,
"level": 17,
"createTime": 1595903379102,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903379102,
"_id": "5f1f8d939da6714ab7d4336e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 37660,
"level": 16,
"createTime": 1595903228482,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903228482,
"_id": "5f1f8cfc85a7496423bd5200",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 25720,
"level": 15,
"createTime": 1595903013873,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595903013873,
"_id": "5f1f8c25e5c0d7361f1921d5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 55640,
"level": 14,
"createTime": 1595902823323,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595902823323,
"_id": "5f1f8b6767f137665475bfa1",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 27810,
"level": 13,
"createTime": 1595902729479,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595902729479,
"_id": "5f1f8b099da6714ab7d42e9d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 26860,
"level": 12,
"createTime": 1595902601056,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595902601056,
"_id": "5f1f8a89738989c8b3f0cd2d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 83200,
"level": 11,
"createTime": 1595901645369,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595901645369,
"_id": "5f1f86cd114fbb8f6d1d0fc2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 34460,
"level": 10,
"createTime": 1595901335335,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595901335335,
"_id": "5f1f85979897b44ce1cee66b",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 36830,
"level": 9,
"createTime": 1595854431878,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854431878,
"_id": "5f1ece5f738989c8b3eff2b7",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 23620,
"level": 8,
"createTime": 1595854385528,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854385528,
"_id": "5f1ece31964f9706aa554f09",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 41790,
"level": 7,
"createTime": 1595854362022,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854362022,
"_id": "5f1ece1a75cfb6d7c116ab8b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 31030,
"level": 6,
"createTime": 1595854286251,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854286251,
"_id": "5f1ecdce9897b44ce1ce1559",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 22400,
"level": 5,
"createTime": 1595854174910,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854174910,
"_id": "5f1ecd5e086e654a41646b0b",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 24260,
"level": 4,
"createTime": 1595852348817,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1595854083155,
"_id": "5f1ec63c964f9706aa553f08",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{ {
"activityId": "5f1a528e964f9796f92d3ccf", "activityId": "5f1a528e964f9796f92d3ccf",
"score": 18940, "score": 18940,
......
...@@ -119,12 +119,13 @@ export namespace RES { ...@@ -119,12 +119,13 @@ export namespace RES {
resData = res; resData = res;
resPath = res.path; resPath = res.path;
} }
/** /**
* 根据组名加载一组资源,通常用于加载一个视图的的所有资源 * 根据组名加载一组资源,通常用于加载一个视图的的所有资源
* 里的promise的resolve并没有返回值 * 里的promise的resolve并没有返回值
* @param name * @param name
*/ */
export function loadGroup(name: string): Promise<any> { export function loadGroup(name: string): Promise<void> {
//已经加载完成的直接返回 //已经加载完成的直接返回
if (groupsCompleteHash[name]) { if (groupsCompleteHash[name]) {
return new Promise((resolve) => { return new Promise((resolve) => {
...@@ -146,7 +147,7 @@ export namespace RES { ...@@ -146,7 +147,7 @@ export namespace RES {
}) })
} }
// 建一个promise // 建一个promise
let p = new Promise((resolve, reject) => { let p: Promise<void> = new Promise((resolve, reject) => {
loadResList((s) => { loadResList((s) => {
//移除 //移除
delete groupsPromiseHash[name]; delete groupsPromiseHash[name];
...@@ -453,6 +454,7 @@ export namespace RES { ...@@ -453,6 +454,7 @@ export namespace RES {
if (child.type == "container") initSkinDisplay(dis, child, root); if (child.type == "container") initSkinDisplay(dis, child, root);
} }
} }
/** /**
* 遍历根据名字找节点数据,只会是container的 * 遍历根据名字找节点数据,只会是container的
* @param skinName * @param skinName
......
...@@ -32,7 +32,7 @@ export class Module extends FYGE.Container { ...@@ -32,7 +32,7 @@ export class Module extends FYGE.Container {
* 提前加载的资源 * 提前加载的资源
*/ */
protected preLoadRes() { protected preLoadRes() {
return new Promise((resolve, reject) => { return new Promise<any>((resolve, reject) => {
if (this.groupNames && this.groupNames.length) { if (this.groupNames && this.groupNames.length) {
var arr: Promise<any>[] = []; var arr: Promise<any>[] = [];
for (var i = 0; i < this.groupNames.length; i++) { for (var i = 0; i < this.groupNames.length; i++) {
...@@ -40,7 +40,7 @@ export class Module extends FYGE.Container { ...@@ -40,7 +40,7 @@ export class Module extends FYGE.Container {
} }
Promise.all(arr).then(resolve, reject) Promise.all(arr).then(resolve, reject)
} else { } else {
resolve() resolve(null)
} }
}) })
} }
......
{ {
"type": "activity", "type": "activity",
"name": "babycare_xiaoxiao" "name": "feile_xiaoxiao"
} }
resource/map/map_bg1.jpg

598 KB | W: | H:

resource/map/map_bg1.jpg

388 KB | W: | H:

resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_bg2.jpg

747 KB | W: | H:

resource/map/map_bg2.jpg

1 MB | W: | H:

resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_bg3.jpg

191 KB | W: | H:

resource/map/map_bg3.jpg

486 KB | W: | H:

resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_check_disable.png

14.1 KB | W: | H:

resource/map/map_check_disable.png

20.7 KB | W: | H:

resource/map/map_check_disable.png
resource/map/map_check_disable.png
resource/map/map_check_disable.png
resource/map/map_check_disable.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_check_enable.png

8.37 KB | W: | H:

resource/map/map_check_enable.png

14.9 KB | W: | H:

resource/map/map_check_enable.png
resource/map/map_check_enable.png
resource/map/map_check_enable.png
resource/map/map_check_enable.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_check_enable_cur.png

11.3 KB | W: | H:

resource/map/map_check_enable_cur.png

14.9 KB | W: | H:

resource/map/map_check_enable_cur.png
resource/map/map_check_enable_cur.png
resource/map/map_check_enable_cur.png
resource/map/map_check_enable_cur.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_energyBg.png

11.8 KB | W: | H:

resource/map/map_energyBg.png

29.8 KB | W: | H:

resource/map/map_energyBg.png
resource/map/map_energyBg.png
resource/map/map_energyBg.png
resource/map/map_energyBg.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_prizeBtn.png

9.03 KB | W: | H:

resource/map/map_prizeBtn.png

13.1 KB | W: | H:

resource/map/map_prizeBtn.png
resource/map/map_prizeBtn.png
resource/map/map_prizeBtn.png
resource/map/map_prizeBtn.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_ruleBtn.png

9.01 KB | W: | H:

resource/map/map_ruleBtn.png

14.5 KB | W: | H:

resource/map/map_ruleBtn.png
resource/map/map_ruleBtn.png
resource/map/map_ruleBtn.png
resource/map/map_ruleBtn.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_star_disable.png

1.07 KB | W: | H:

resource/map/map_star_disable.png

3.6 KB | W: | H:

resource/map/map_star_disable.png
resource/map/map_star_disable.png
resource/map/map_star_disable.png
resource/map/map_star_disable.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_star_enable.png

1.48 KB | W: | H:

resource/map/map_star_enable.png

3.5 KB | W: | H:

resource/map/map_star_enable.png
resource/map/map_star_enable.png
resource/map/map_star_enable.png
resource/map/map_star_enable.png
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_taskBtn.png

20.2 KB | W: | H:

resource/map/map_taskBtn.png

23 KB | W: | H:

resource/map/map_taskBtn.png
resource/map/map_taskBtn.png
resource/map/map_taskBtn.png
resource/map/map_taskBtn.png
  • 2-up
  • Swipe
  • Onion skin
{ {
"groups": [ "groups": [
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime"
},
{ {
"keys": "增加体力背景.png,无字按钮底.png", "keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel" "name": "BuyPowerPanel"
}, },
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{ {
"keys": "积分不足背景.png,赚取积分.png", "keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel" "name": "CreditsOutPanel"
...@@ -24,14 +16,6 @@ ...@@ -24,14 +16,6 @@
"keys": "失败Bg.png,失败重新闯关.png", "keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel" "name": "FailedPanel"
}, },
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{ {
"keys": "圆圈.png,开心收下.png", "keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel" "name": "FreePowerPanel"
...@@ -40,34 +24,6 @@ ...@@ -40,34 +24,6 @@
"keys": "joinBg.png,joinBtn.png", "keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel" "name": "JoinPanel"
}, },
{
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene"
},
{
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,lotteryReturnBtn.png,prizeItemBg.png,shadowMask.png",
"name": "lotteryScene"
},
{
"keys": "appointCountBg.png,cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,loopMsgBg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,remindIcon.png,water1.png,water2.png",
"name": "map"
},
{
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
},
{
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
"name": "mapCrabEffect"
},
{
"keys": "map_owl_0.png,map_owl_1.png,map_owl_10.png,map_owl_11.png,map_owl_12.png,map_owl_13.png,map_owl_14.png,map_owl_15.png,map_owl_2.png,map_owl_3.png,map_owl_4.png,map_owl_5.png,map_owl_6.png,map_owl_7.png,map_owl_8.png,map_owl_9.png",
"name": "mapOwlEffect"
},
{
"keys": "map_whale_0.png,map_whale_1.png,map_whale_10.png,map_whale_11.png,map_whale_12.png,map_whale_2.png,map_whale_3.png,map_whale_4.png,map_whale_5.png,map_whale_6.png,map_whale_7.png,map_whale_8.png,map_whale_9.png",
"name": "mapWhaleEffect"
},
{ {
"keys": "体力不足Bg.png,体力不足按钮.png", "keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel" "name": "NoEnergyPanel"
...@@ -80,10 +36,6 @@ ...@@ -80,10 +36,6 @@
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png", "keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel" "name": "NoStepPanel"
}, },
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
},
{ {
"keys": "prizePanel.png,prizePanelBtn.png", "keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel" "name": "PrizePanel"
...@@ -92,10 +44,6 @@ ...@@ -92,10 +44,6 @@
"keys": "活动规则背景.png", "keys": "活动规则背景.png",
"name": "RulePanel" "name": "RulePanel"
}, },
{
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
},
{ {
"keys": "开始闯关Bg.png", "keys": "开始闯关Bg.png",
"name": "StartPanel" "name": "StartPanel"
...@@ -119,6 +67,46 @@ ...@@ -119,6 +67,46 @@
{ {
"keys": "使用道具背景.png", "keys": "使用道具背景.png",
"name": "UseToolPanel" "name": "UseToolPanel"
},
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime"
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene"
},
{
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,lotteryReturnBtn.png,prizeItemBg.png,shadowMask.png",
"name": "lotteryScene"
},
{
"keys": "appointCountBg.png,cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,loopMsgBg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,remindIcon.png,water1.png,water2.png",
"name": "map"
},
{
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
},
{
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
...@@ -137,6 +137,7 @@ export class Lottie extends FYGE.Container { ...@@ -137,6 +137,7 @@ export class Lottie extends FYGE.Container {
} }
private initState(con = this.children) { private initState(con = this.children) {
for (var i = 0; i < con.length; i++) { for (var i = 0; i < con.length; i++) {
// @ts-ignore
var c: FYGE.Sprite = con[i]; var c: FYGE.Sprite = con[i];
if (c["layerData"]) { if (c["layerData"]) {
//取第一个数据 //取第一个数据
...@@ -181,6 +182,7 @@ export class Lottie extends FYGE.Container { ...@@ -181,6 +182,7 @@ export class Lottie extends FYGE.Container {
private addTweens(con = this.children) { private addTweens(con = this.children) {
for (var i = 0; i < con.length; i++) { for (var i = 0; i < con.length; i++) {
// @ts-ignore
let c: FYGE.Sprite = con[i]; let c: FYGE.Sprite = con[i];
if (c["layerData"]) { if (c["layerData"]) {
//取第一个数据 //取第一个数据
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -199,6 +199,7 @@ class LotteryScrollItem extends FYGE.Container { ...@@ -199,6 +199,7 @@ class LotteryScrollItem extends FYGE.Container {
//找出目标图 //找出目标图
let child, curIndex; let child, curIndex;
for (var i = 0; i < this.children.length; i++) { for (var i = 0; i < this.children.length; i++) {
// @ts-ignore
if (this.children[i].id == id) { if (this.children[i].id == id) {
child = this.children[i]; child = this.children[i];
curIndex = i; curIndex = i;
......
...@@ -10,7 +10,6 @@ import MouseEvent = FYGE.MouseEvent; ...@@ -10,7 +10,6 @@ import MouseEvent = FYGE.MouseEvent;
import Point = FYGE.Point; import Point = FYGE.Point;
import FrameAni = FYGE.FrameAni; import FrameAni = FYGE.FrameAni;
import Tween = FYGE.Tween; import Tween = FYGE.Tween;
import { Panel } from "../../../module/views/Panel";
import { showPanel } from "../../../module/ctrls"; import { showPanel } from "../../../module/ctrls";
import { StartPanel } from "../../panels/StartPanel"; import { StartPanel } from "../../panels/StartPanel";
import { StartPanelPrize } from "../../panels/StartPanelPrize"; import { StartPanelPrize } from "../../panels/StartPanelPrize";
...@@ -148,7 +147,7 @@ export default class CheckBtn extends Container { ...@@ -148,7 +147,7 @@ export default class CheckBtn extends Container {
super.update(); super.update();
let up = this.localToGlobal(new Point(), new Point()); let up = this.localToGlobal(new Point(), new Point());
let bp = this.localToGlobal(new Point(0, 120), new Point()); let bp = this.localToGlobal(new Point(0, 120), new Point());
this.alpha = this.stage.viewRect.isPointIn(up) || this.stage.viewRect.isPointIn(bp); this.alpha = +(this.stage.viewRect.isPointIn(up) || this.stage.viewRect.isPointIn(bp));
} }
constructor(data) { constructor(data) {
......
import { RES } from "../../../module/RES";
import { Tools } from "../../Tools";
const msgData: LoopMsgData[] = [
{
"name": "熊祉妍",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8xbXm84vHkuOHRIvmIGvCZevmvLvkZevkQYPH*-MFHT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "cyh1256197578",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MmvLOmgSXmkYMmNuv8RIPCxWPm--MkcbMmvGXmkyMH8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "柠檬爱帮鱼洗21",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MkQGvHxLM0kGMkQWPFQ4vmcbOFMIvFlhOFkuMmHuvHkT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "libing199155",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8RhvGH0vmk0vFIWvmQGO8xYMm-IMCvYvFQGvCHyXFIT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "依然missing",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyPGRePHRIXmcSvH7IvCZ-vCkT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "tb_8100956",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyPGNyPHlHMHlIvFQWMmHGMF8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "jl19980921",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MFkSM88LP88WM8kSvFPhXF9zX8cYPm*hMkQGvk8uv8gT&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "tb5790247",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8cYPG*IXmkLPk7zPCNLPCxWO8kuPGMzXmQ0PF9IXmQT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "justlove佳佳",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyP08bPkZzPGgLXmk4XFvGPHcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "shenxiaoyu00",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyP0xyMG*IvFPHXmkWMFHWXFgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "台风雨飘摇sos哀",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vCNbP8kYM8xLXmMevkQbvmhzO8kyXHRHPmQWMHcbPmHT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "mwj051213",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8RhvGH0vmk0vFIWvmQGO8QyXHc0MGNLPHQWPH84vmQT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "一米阳光4233",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MmHGMk8uPFP-OmHbvCv4MG80XFRHPFlHMmQYvC7ePmkT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "z梦城堡",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Pm7HM0ZHvG80vGZ-vFIbMk7IPCcWMmcGvCZeMC-IMC8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "青清妍",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vmN4MC7zMkPHMmQSPk8WO8RhvHcbPFx4MmxLM0QuMkxT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "黄露露12322",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8cSXF9hXm9hXFMhvC9IPG8bM8gGv8cYvkk4PHPHPmkT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "空城空心空记忆0722",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Pk*eP8RHMCNLMGgyMk*hMHPzXFx0MmNLP8RHO8x4XFgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "薄言采薇草",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PChhvGkbOmRzvC84OmHLXHxSPCI4vkQSOmkuXmkyvmcT&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "猪猪猪妹222",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P0gYv8QuPCRHMmN4OFZeMmR-M88uvFgGvGcLXFcyvCgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "zoexuqian",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyPGI4P8cLvG7-vCRhM8lHOm8T&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "春暖花开loveing",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8l-vC7-PGkGXmkLPGxLvkx0vmv4PFMeXFcuPm8YMm8T&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "雨季kk3",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8lIM8lHMG7-v07Ivm*hOFHuX8k4vkkbMCvuMm9hvmgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "tb25358321",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8*Hv0Q0vmgyMkkYMFhhvCxSXmkLM0cGMmv0XFxGPH8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "李小贱259758",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Mk8WMmZzvFcYv8c0Pk*-P0Z-XHR-PCk4O8xWM0kYMH8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "布偶傻妞",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OH7zX8QSvHQSOmlevFQYPkQbPCguMH84M0P-MFQYPGNT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "不变的承诺3344",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PCQuMkPIXmx4vCv4vkZzO8xGX88LO88yX8gbM0cuMmcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "justlove佳佳",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGH0XmQGOFNWMCQyP08bPkZzPGgLXmk4XFvGPHcT&width=80&height=80&type=sns",
"prize": "玩具礼包"
},
{
"name": "tb537244358",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFvSvGcLM0PzP8RHMGZhMG-eMHR-v8*-P8xyOFPevFcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "凤小高的高小凤",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OFhhPCIYMFleO8*IXHQbvG*hX8gSXmIGvHc0XmQyvCgT&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "qingli13",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFZ-vmvuMk8SvCvGPmZIvGNGMkZ-OFQSvCIyPFQyXHgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "陈格7788",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Pm7HM0ZHvG80vGZ-vFIbMkkGvmlIMkkuv8gLXFguvCNT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "miss糖玥玥",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Mmk4vCQSvm7IOHRHPHcLvGgyMH8bP0R-v0gGvkxLMmvT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "柠檬爱帮鱼洗21",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MkQGvHxLM0kGMkQWPFQ4vmcbOFMIvFlhOFkuMmHuvHkT&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "李丹920623",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vH7HXF9Hv0gGvFP-MkZePFH4PFvGvmQyvHQLOHx0vCkT&width=80&height=80&type=sns",
"prize": "云柔巾108抽*6包"
},
{
"name": "b15071094383",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vCHSO8kLvCQSOHg4vGIuvCISv0guOm9HvFlHvm-HvFvT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "tb76435252",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OFHyvH7ePG8yOFxyMH8GPGcLvGgSvCcbvkP-MmNYMmHT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "xuan14740553370",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8*Hv0Q0vmgyMkkYMFhhvCMzOmQGPCgWM0QyvGNYv0cT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "么么碗",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Pk84PFvuOm*zv8QuPHkYX88YOF8bOHkLOF8bXFQSPmcT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "浅浅一笑暖人心1",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=XFRHPCg0XmkWOmP-vk*zvHxYOHc0O8lzPFQLPGkuOHQT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "lixiang_201212345",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P0gYv8QuPCRHMmN4OFZeMmMhPChePH8GPmHYOFP-XmcT&width=80&height=80&type=sns",
"prize": "玩具礼包"
},
{
"name": "ever夏夜",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PChhvGkbOmRzvC84OmHLXmILMmQGMGNyMFZePmQuvFvT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "silentme000",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8RhvGH0vmk0vFIWvmQGOF7hPFlIMCQ0MFguvC-IPC8T&width=80&height=80&type=sns",
"prize": "云柔巾108抽*6包"
},
{
"name": "zhaoyujing20",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8xbXm84vHkuOHRIvmIGvC7-PF-eOm-hvC9Hv0gLP08T&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "lixiaoling3100",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vFHbMm8SPFPHPFRHPG7HPmQYvCvbXFhHvmPHvCcLvFcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*1包"
},
{
"name": "爱格轩",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OFhhPCIYMFleO8*IXHQbvGcWO87hvF*HPGPHOmhzXm8T&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "7766dan",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MGgyPF*HXmlePmQ4PCHuvmlHX8ZhPFIWPCQWvF7zMmkT&width=80&height=80&type=sns",
"prize": "洗护礼包"
},
{
"name": "叶鹏0503",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=M0RHOmMHv8xbMFguvFRIP0QYMkcYPCxyMG7-X8xLMHxT&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "潘妤婷t",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MkxGPFl-MCIbP0*eM8xyvHPIXHZhXHg4vG--PFHbPGNT&width=80&height=80&type=sns",
"prize": "玩具礼包"
},
{
"name": "tb502707_00",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MCMHXHk0MCgLMC7-v87HPC-ePG*IPFheM8cWMGvWMF8T&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "synran",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8cYPG*IXmkLPk7zPCNLPCxYMFHuO8k4OFkLO8l-vFgT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "ever夏夜",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PChhvGkbOmRzvC84OmHLXmILMmQGMGNyMFZePmQuvFvT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "zyf20080701",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vH8LMGQyOH80OmxSvGNGMCgYOF7Hv8ZIXF8uPCPhM08T&width=80&height=80&type=sns",
"prize": "出行礼包"
},
{
"name": "还是如此60586804",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MGgyPF*HXmlePmQ4PCHuvmhIvFMIPmHuMC-zMG-HPCQT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "不二兔子33",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vCgbPkx0MHg0XHgSOmIWMmvLMHRhvGhHXFQLM0RzMCvT&width=80&height=80&type=sns",
"prize": "玩具礼包"
},
{
"name": "tb3882885",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=O8xbXm84vHkuOHRIvmIGvCN0XFI4vFgGMHxyMmgbPmkT&width=80&height=80&type=sns",
"prize": "云柔巾108抽*6包"
},
{
"name": "yan昕瑶",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MkxGPFl-MCIbP0*eM8xyvmQ0XHxGMCQyPFkYPGI0P0gT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "越多多",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MmxWXFRhP0levCvbvkQSvWTT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "五弦务虚",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PH84XHxGvm7zM0xLMGlHPGvuOHlHMGIWvGk0MH7ePkcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "44cmpxbm",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Mmk4vCQSvm7IOHRHPHcLv0P-MkQSPm7hvF*hv0ZIMHQT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "dandan丹崽",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OmNuMm9evkgGvkkGvkk0PCQbPGQbv0kSvk7zMmQGOFgT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "jiandiwen",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vGZhv8*-vkk0MGZHMmvbvkc4XmvWPmPzMFQWPCv4MmgT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "meizi052",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8cYPG*IXmkLPk7zPCNLPCHLPmxGMkQLMG*HvmlzOH8T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "梓昕刘",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=Pk*HOFxSPCNGOHgyX8R-M0gSXm8WMF8bOF9zvGN0vCQT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "侯晓宇59025",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=OmNuMm9evkgGvkkGvkk0Pk*-MGgSMCgWXHPhPFHbMCcT&width=80&height=80&type=sns",
"prize": "玩具礼包"
},
{
"name": "zhangjinxue99",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=MCleXFvGM8ZIMm7HX8RHvFcbMGk4O8cYPkRhP8*hPmHT&width=80&height=80&type=sns",
"prize": "棉柔巾100抽*6包"
},
{
"name": "toug凯凯",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=PCPIXH7evC7ePm9hMG*IP0ZePFZ-MF8bvF9ePFcWPkcT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "新晨的雨",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8cYPG*IXmkLPk7zPCNLPCHGPGkLMFHGPFk4P8gyv08T&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "采aini",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vF8WOmIuOHZzvCMePCl-OFxuvHlePGgLPGxSvFkyvCgT&width=80&height=80&type=sns",
"prize": "紫盖湿巾80抽*3包"
},
{
"name": "遛遛看看16",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P8cYPG*IXmkLPk7zPCNLPC7zPFPzMCHWv8ZIXHgyPFvT&width=80&height=80&type=sns",
"prize": "云柔巾108抽*6包"
},
{
"name": "零星一念",
"img": "http://wwc.alicdn.com/avatar/getAvatar.do?userIdStr=P0x4vFcWvH*eMCQuvFcuMWTT&width=80&height=80&type=sns",
"prize": "云柔巾108抽*6包"
}
]
interface LoopMsgData {
img: string,
name: string,
prize: string
}
export class LoopMsg extends FYGE.Container {
private item: LoopMsgItem
constructor() {
super();
let count = 0;
this.item = this.addChild(new LoopMsgItem(msgData[count++]));
this.item.alpha = 0;
//循环起来
FYGE.Tween.get(this.item, { loop: true })
.set({ alpha: 1, x: -370, y: 0 })
.to({ x: -65 }, 700, FYGE.Ease.backOut)
.wait(1000)
.to({ alpha: 0, y: -100 }, 400)
.wait(500)
.call(() => {
this.item.reset(msgData[count++] || msgData[count = 0])
})
}
destroy() {
FYGE.Tween.removeTweens(this.item);
this.item = null;
super.destroy()
}
}
/**
* 循环的中奖轮播
*/
class LoopMsgItem extends FYGE.Sprite {
private img: FYGE.Sprite;
private txt: FYGE.TextField;
private limit = 12;
constructor(data: LoopMsgData) {
super(RES.getRes("loopMsgBg.png"))
//头像
var img = this.addChild(FYGE.Sprite.fromUrl(data.img));
img.width = img.height = 66;
img.position.set(75, (87 - 66) / 2);
this.img = img;
//圆形遮罩
var mask = this.addChild(new FYGE.Shape());
mask.beginFill(0x000000);
mask.drawCircle(33, 33, 33)
mask.endFill();
mask.position.copy(img.position);
img.mask = mask;
var name = this.getRealLength(data.name) > this.limit ? this.cutString(data.name, this.limit) + "..." : data.name;
var prize = this.getRealLength(data.prize) > this.limit ? this.cutString(data.prize, this.limit) + "..." : data.prize;
//文字信息
var txt = this.addChild(Tools.getText(
`恭喜${name}\n抽中${prize}`,
22,
"#fefefe",
))
txt.position.set(150, 16);
txt.lineSpacing = 13;
this.txt = txt;
}
private getRealLength(str: string) {
var realLength = 0, len = str.length, charCode = -1;
for (var i = 0; i < len; i++) {
charCode = str.charCodeAt(i);
if (charCode >= 0 && charCode <= 128) realLength += 1;
else realLength += 2;
}
return realLength;
}
private cutString(str: string, realLength: number) {
let length = 0;
let out = "";
for (let i of str) {
let charCode = i.charCodeAt(0);
if (charCode >= 0 && charCode <= 128) length += 1;
else length += 2;
if (length <= realLength)
out = out.concat(i);
if (length >= realLength)
break;
}
return out;
}
reset(data: LoopMsgData) {
this.img.texture = FYGE.Texture.fromUrl(data.img);
var name = this.getRealLength(data.name) > this.limit ? this.cutString(data.name, this.limit) + "..." : data.name;
var prize = this.getRealLength(data.prize) > this.limit ? this.cutString(data.prize, this.limit) + "..." : data.prize;
this.txt.text = `恭喜${name}\n抽中${prize}`;
}
}
// class A {
// constructor() {
// this.init()
// }
// init() {
// }
// }
// class B extends A {
// private a = 1;
// init() {
// this.a = 2
// }
// }
// console.log(new B())
\ No newline at end of file
import MapPart from "./MapPart"; import MapPart from "./MapPart";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import Point = FYGE.Point; import Point = FYGE.Point;
import FrameAni = FYGE.FrameAni;
import Texture = FYGE.Texture;
export default class MapBottom extends MapPart { export default class MapBottom extends MapPart {
public static HEIGHT = 1092; public static HEIGHT = 630;
protected totalCount = 8; public static totalCount = 2;
private crabAni: FrameAni = null;
protected btnPos = [ protected btnPos = [
[370, 930], [43, 436],
[437, 761], [208, 187],
[313, 669],
[408, 522],
[455, 375],
[364, 216],
[326, 62],
[491, 3],
]; ];
constructor(data) { constructor(data) {
...@@ -33,15 +23,7 @@ export default class MapBottom extends MapPart { ...@@ -33,15 +23,7 @@ export default class MapBottom extends MapPart {
} }
private initEffect() { private initEffect() {
// 螃蟹
const crabTextures: Texture[] = new Array(31);
for (let i = 0; i < 16; i++) {
crabTextures[31 - i] = crabTextures[i] = RES.getRes(`map_crab_${i}.png`);
}
this.crabAni = this.addChild(new FrameAni(crabTextures));
this.crabAni.position.set(220, 50);
this.crabAni.play(-1);
} }
public update() { public update() {
...@@ -50,10 +32,10 @@ export default class MapBottom extends MapPart { ...@@ -50,10 +32,10 @@ export default class MapBottom extends MapPart {
let bp = this.localToGlobal(new Point(0, MapBottom.HEIGHT + 10), new Point()); let bp = this.localToGlobal(new Point(0, MapBottom.HEIGHT + 10), new Point());
let ucp = this.localToGlobal(new Point(0, MapBottom.HEIGHT / 4), new Point()); let ucp = this.localToGlobal(new Point(0, MapBottom.HEIGHT / 4), new Point());
let bcp = this.localToGlobal(new Point(0, MapBottom.HEIGHT / 4 * 3), new Point()); let bcp = this.localToGlobal(new Point(0, MapBottom.HEIGHT / 4 * 3), new Point());
this.alpha = this.stage.viewRect.isPointIn(up) this.alpha = +(this.stage.viewRect.isPointIn(up)
|| this.stage.viewRect.isPointIn(bp) || this.stage.viewRect.isPointIn(bp)
|| this.stage.viewRect.isPointIn(ucp) || this.stage.viewRect.isPointIn(ucp)
|| this.stage.viewRect.isPointIn(bcp); || this.stage.viewRect.isPointIn(bcp));
} }
public destroy() { public destroy() {
......
import MapPart from "./MapPart"; import MapPart from "./MapPart";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import Point = FYGE.Point; import Point = FYGE.Point;
import Sprite = FYGE.Sprite;
import { Tools } from "../../Tools";
import Tween = FYGE.Tween;
import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
export default class MapMid extends MapPart { export default class MapMid extends MapPart {
public static HEIGHT = 1635; public static HEIGHT = 1763;
protected totalCount = 10; public static totalCount = 6;
private balloon: Sprite = null;
private water: Sprite = null;
private water1: Texture = null;
private water2: Texture = null;
private whaleAni: FrameAni = null;
private owlAni: FrameAni = null;
protected btnPos = [ protected btnPos = [
[267, 1519], [502, 1591],
[211, 1325], [510, 1263],
[338, 1154], [357, 1053],
[237, 911], [146, 652],
[145, 755], [287, 281],
[225, 591], [63, 412],
[349, 480],
[214, 342],
[193, 188],
[392, 8],
]; ];
constructor(data) { constructor(data) {
...@@ -39,49 +23,13 @@ export default class MapMid extends MapPart { ...@@ -39,49 +23,13 @@ export default class MapMid extends MapPart {
this.bg.texture = RES.getRes('map_bg2.jpg'); this.bg.texture = RES.getRes('map_bg2.jpg');
// 流水
this.water1 = RES.getRes('water1.png');
this.water2 = RES.getRes('water2.png');
this.initIcon(); this.initIcon();
this.initEffect(); this.initEffect();
} }
private initEffect() { private initEffect() {
// 热气球
this.balloon = this.addChild(Tools.getSprite('map_狐狸气球.png', -216, 750));
Tween.get(this.balloon, {loop: true})
.set({x: -216, y: 1170})
.to({x: 750 + 100, y: 765}, 20006);
this.balloon.mouseEnable = this.balloon.mouseChildren = false;
// 流水
this.water = this.addChild(new Sprite(this.water1));
this.water.position.set(544, 687);
// 鲸鱼
const whaleTextures: Texture[] = new Array(25);
for (let i = 0; i < 13; i++) {
whaleTextures[25 - i] = whaleTextures[i] = RES.getRes(`map_whale_${i}.png`);
} }
this.whaleAni = this.addChild(new FrameAni(whaleTextures));
this.whaleAni.position.set(645, 575);
this.whaleAni.play(-1);
// 猫头鹰
const owlTextures: Texture[] = new Array(31);
for (let i = 0; i < 16; i++) {
owlTextures[31 - i] = owlTextures[i] = RES.getRes(`map_owl_${i}.png`);
}
this.owlAni = this.addChild(new FrameAni(owlTextures));
this.owlAni.position.set(538, 1548);
this.owlAni.play(-1);
}
private waterIndex1: boolean = true;
private waterIndex: number = 0;
public update() { public update() {
super.update(); super.update();
...@@ -89,17 +37,10 @@ export default class MapMid extends MapPart { ...@@ -89,17 +37,10 @@ export default class MapMid extends MapPart {
let bp = this.localToGlobal(new Point(0, MapMid.HEIGHT + 10), new Point()); let bp = this.localToGlobal(new Point(0, MapMid.HEIGHT + 10), new Point());
let ucp = this.localToGlobal(new Point(0, MapMid.HEIGHT / 4), new Point()); let ucp = this.localToGlobal(new Point(0, MapMid.HEIGHT / 4), new Point());
let bcp = this.localToGlobal(new Point(0, MapMid.HEIGHT / 4 * 3), new Point()); let bcp = this.localToGlobal(new Point(0, MapMid.HEIGHT / 4 * 3), new Point());
this.alpha = this.stage.viewRect.isPointIn(up) this.alpha = +(this.stage.viewRect.isPointIn(up)
|| this.stage.viewRect.isPointIn(bp) || this.stage.viewRect.isPointIn(bp)
|| this.stage.viewRect.isPointIn(ucp) || this.stage.viewRect.isPointIn(ucp)
|| this.stage.viewRect.isPointIn(bcp); || this.stage.viewRect.isPointIn(bcp));
// 流水动画
if (this.waterIndex++ > 6) {
this.waterIndex1 = !this.waterIndex1;
this.water.texture = this.waterIndex1 ? this.water1 : this.water2;
this.waterIndex = 0;
}
} }
......
...@@ -5,9 +5,10 @@ import Container = FYGE.Container; ...@@ -5,9 +5,10 @@ import Container = FYGE.Container;
export default class MapPart extends Container { export default class MapPart extends Container {
protected data: any = null; protected data: any = null;
protected totalCount: number = 0; public static totalCount: number = 0;
protected btnPos: number[][] = []; protected btnPos: number[][] = [];
...@@ -19,6 +20,10 @@ export default class MapPart extends Container { ...@@ -19,6 +20,10 @@ export default class MapPart extends Container {
this.data = data; this.data = data;
} }
update() {
super.update();
}
protected initIcon() { protected initIcon() {
// 坑爹的头像,所以倒着加,可以解决层级问题 // 坑爹的头像,所以倒着加,可以解决层级问题
for (let i = this.data.length - 1; i >= 0; i--) { for (let i = this.data.length - 1; i >= 0; i--) {
......
...@@ -33,14 +33,11 @@ export class MapScene extends Scene { ...@@ -33,14 +33,11 @@ export class MapScene extends Scene {
private uiLayer: MapUI = null; private uiLayer: MapUI = null;
private mapAvatar: MapAvatar = null; // private mapAvatar: MapAvatar = null;
public get groupNames(): string[] { public get groupNames(): string[] {
return [ return [
'map', 'map',
'mapCrabEffect',
'mapOwlEffect',
'mapWhaleEffect',
'mapCheckPrizeEffect' 'mapCheckPrizeEffect'
]; ];
} }
...@@ -71,27 +68,6 @@ export class MapScene extends Scene { ...@@ -71,27 +68,6 @@ export class MapScene extends Scene {
} }
Tools.gameData.topAward = null; Tools.gameData.topAward = null;
} }
// if (Tools.gameData.topAward && Tools.gameData.topAward.prize._id && openPrize !== 'true') {
// GTool.writeCache('openPrize', 'true');
// showPanel(PrizePanel, JSON.parse(JSON.stringify(Tools.gameData.topAward)));
// Tools.gameData.topAward = null;
// }
//微信渠道抽奖
if (Tools.gameData.wxOriginPrize) {
//有奖品
if (
Tools.gameData.wxOriginPrize.type &&//类型存在
Tools.gameData.wxOriginPrize.type != 5 //不为谢谢参与
) {
showPanel(WxPrizePanel, Tools.gameData.wxOriginPrize)
}
//超出限制了
else if (Tools.gameData.wxOriginPrize.defaultMsg) {
showToast(Tools.gameData.wxOriginPrize.defaultMsg)
}
//置空数据
Tools.gameData.wxOriginPrize = null;
}
} }
private updateMapCheck() { private updateMapCheck() {
...@@ -124,7 +100,7 @@ export class MapScene extends Scene { ...@@ -124,7 +100,7 @@ export class MapScene extends Scene {
guide_check.enabled = true; guide_check.enabled = true;
guide_check.type = CHECK_TYPE.CUR; guide_check.type = CHECK_TYPE.CUR;
guide_check.position.set(MapScene.checkArr[1].x, layers.stageHeight - 162); guide_check.position.set(MapScene.checkArr[1].x, layers.stageHeight - 162);
guide_check.addChild(new MapAvatar()); // guide_check.addChild(new MapAvatar());
const guide_hand = guide.addChild(Tools.getSprite('guide_hand.png')); const guide_hand = guide.addChild(Tools.getSprite('guide_hand.png'));
guide_hand.position.set(guide_check.x + 90, guide_check.y + 40); guide_hand.position.set(guide_check.x + 90, guide_check.y + 40);
...@@ -172,16 +148,16 @@ export class MapScene extends Scene { ...@@ -172,16 +148,16 @@ export class MapScene extends Scene {
} }
// 当前关卡 // 当前关卡
if (currentLevel < 121 && currentLevel > 0) { if (currentLevel < 100 && currentLevel > 0) {
MapScene.checkArr[currentLevel].type = CHECK_TYPE.CUR; MapScene.checkArr[currentLevel].type = CHECK_TYPE.CUR;
MapScene.checkArr[currentLevel].enabled = true; MapScene.checkArr[currentLevel].enabled = true;
!this.mapAvatar && (this.mapAvatar = this.addChild(new MapAvatar())); // !this.mapAvatar && (this.mapAvatar = this.addChild(new MapAvatar()));
this.mapAvatar.parent && this.mapAvatar.parent.removeChild(this.mapAvatar); // this.mapAvatar.parent && this.mapAvatar.parent.removeChild(this.mapAvatar);
MapScene.checkArr[currentLevel].addChild(this.mapAvatar); // MapScene.checkArr[currentLevel].addChild(this.mapAvatar);
} }
// 未通关的 // 未通关的
for (let i = currentLevel + 1; i < 121; i++) { for (let i = currentLevel + 1; i < 100; i++) {
MapScene.checkArr[i].type = CHECK_TYPE.COM; MapScene.checkArr[i].type = CHECK_TYPE.COM;
MapScene.checkArr[i].enabled = false; MapScene.checkArr[i].enabled = false;
} }
...@@ -205,25 +181,24 @@ export class MapScene extends Scene { ...@@ -205,25 +181,24 @@ export class MapScene extends Scene {
} }
public initMap() { public initMap() {
const arr = new Array(120); const arr = new Array(99);
for (let i = 0; i < 120; i++) { for (let i = 0; i < 99; i++) {
arr[i] = { arr[i] = {
check: i + 1 check: i + 1
}; };
} }
arr.reverse();
const topData = arr.splice(118, 2); // 得到顶部的数据 const topData = arr.splice(98, MapTop.totalCount); // 得到顶部的数据
const bottomData = arr.splice(0, 8); // 得到尾部的数据 const bottomData = arr.splice(0, MapBottom.totalCount); // 得到尾部的数据
const midData = arr; // 剩下的是中间的数据 const midData = arr; // 剩下的是中间的数据
let maxHeight = MapTop.HEIGHT; let maxHeight = MapTop.HEIGHT;
this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this.mapContainer.addChild(new MapTop(topData)); this.mapContainer.addChild(new MapTop(topData));
for (let i = midData.length / 10 - 1; i >= 0; i--) { for (let i = midData.length / MapMid.totalCount - 1; i >= 0; i--) {
const data = midData.splice(i * 10, 10); const data = midData.splice(i * MapMid.totalCount, MapMid.totalCount);
const nMid = new MapMid(data); const nMid = new MapMid(data);
this.mapContainer.addChild(nMid); this.mapContainer.addChild(nMid);
nMid.y = maxHeight; nMid.y = maxHeight;
...@@ -235,20 +210,16 @@ export class MapScene extends Scene { ...@@ -235,20 +210,16 @@ export class MapScene extends Scene {
bottom.y = maxHeight; bottom.y = maxHeight;
maxHeight += MapBottom.HEIGHT; maxHeight += MapBottom.HEIGHT;
// this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题 // this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this.scrollPage.maxDistance = maxHeight; this.scrollPage.maxDistance = maxHeight;
this.scrollPage.scrollTo(maxHeight, 0);
this.scrollToCheck(1);
} }
private scrollToCheck(checkNum: number, time = 0) { private scrollToCheck(checkNum: number, time = 0) {
if (checkNum < 1) { if (checkNum < 1) {
checkNum = 1; checkNum = 1;
} else if (checkNum > 120) { } else if (checkNum > 99) {
checkNum = 120; checkNum = 99;
} }
const check = MapScene.checkArr[checkNum]; const check = MapScene.checkArr[checkNum];
const checkY = check.y + check.parent.y - layers.stageHeight / 2 + 50; const checkY = check.y + check.parent.y - layers.stageHeight / 2 + 50;
......
...@@ -4,17 +4,12 @@ import Point = FYGE.Point; ...@@ -4,17 +4,12 @@ import Point = FYGE.Point;
export default class MapTop extends MapPart { export default class MapTop extends MapPart {
public static HEIGHT = 521; public static HEIGHT = 852;
protected totalCount = 2; public static totalCount = 1;
// public btnPos = [
// [207, 418],
// [149, 282],
// ];
public btnPos = [ public btnPos = [
[207, 400], [225, 694],
[149, 272],
]; ];
constructor(data) { constructor(data) {
...@@ -32,10 +27,10 @@ export default class MapTop extends MapPart { ...@@ -32,10 +27,10 @@ export default class MapTop extends MapPart {
let bp = this.localToGlobal(new Point(0, MapTop.HEIGHT + 10), new Point()); let bp = this.localToGlobal(new Point(0, MapTop.HEIGHT + 10), new Point());
let ucp = this.localToGlobal(new Point(0, MapTop.HEIGHT / 4), new Point()); let ucp = this.localToGlobal(new Point(0, MapTop.HEIGHT / 4), new Point());
let bcp = this.localToGlobal(new Point(0, MapTop.HEIGHT / 4 * 3), new Point()); let bcp = this.localToGlobal(new Point(0, MapTop.HEIGHT / 4 * 3), new Point());
this.alpha = this.stage.viewRect.isPointIn(up) this.alpha = +(this.stage.viewRect.isPointIn(up)
|| this.stage.viewRect.isPointIn(bp) || this.stage.viewRect.isPointIn(bp)
|| this.stage.viewRect.isPointIn(ucp) || this.stage.viewRect.isPointIn(ucp)
|| this.stage.viewRect.isPointIn(bcp); || this.stage.viewRect.isPointIn(bcp));
} }
public destroy() { public destroy() {
......
...@@ -17,12 +17,9 @@ import { GDispatcher } from "../../Main"; ...@@ -17,12 +17,9 @@ import { GDispatcher } from "../../Main";
import { G_EVENT } from "../../common/G_EVENT"; import { G_EVENT } from "../../common/G_EVENT";
import Tween = FYGE.Tween; import Tween = FYGE.Tween;
import { layers } from "../../../module/views/layers"; import { layers } from "../../../module/views/layers";
import { LoopMsg } from "./LoopMsg";
export default class MapUI extends Container { export default class MapUI extends Container {
public energyBox: EnergyBox = null; public energyBox: EnergyBox = null;
public creditsBox: CreditsBox = null;
private prizeBox: PrizeBox = null;
private myPrizeBtn: Button = null; private myPrizeBtn: Button = null;
private ruleBtn: Button = null; private ruleBtn: Button = null;
...@@ -39,25 +36,21 @@ export default class MapUI extends Container { ...@@ -39,25 +36,21 @@ export default class MapUI extends Container {
private initEvent() { private initEvent() {
this.ruleBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.ruleBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.myPrizeBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.myPrizeBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.prizeBox.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.taskBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.taskBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
} }
private removeEvent() { private removeEvent() {
this.ruleBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.ruleBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.myPrizeBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.myPrizeBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.prizeBox.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.taskBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.taskBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
} }
private clickBtn(e) { private clickBtn(e) {
switch (e.target) { switch (e.target) {
case this.ruleBtn: case this.ruleBtn:
console.log('规则');
showPanel(RulePanel); showPanel(RulePanel);
break; break;
case this.myPrizeBtn: case this.myPrizeBtn:
console.log('我的奖品');
sendTbNet( sendTbNet(
TbNetName.navigateTo, TbNetName.navigateTo,
{ url: '/pages/myPrize/myPrize' }, { url: '/pages/myPrize/myPrize' },
...@@ -67,11 +60,6 @@ export default class MapUI extends Container { ...@@ -67,11 +60,6 @@ export default class MapUI extends Container {
); );
break; break;
case this.prizeBox:
/// TODO 奖励盒子,有条件的吧,放在类里了prizeBox
console.log('奖励盒子');
break;
case this.taskBtn: case this.taskBtn:
console.log('任务'); console.log('任务');
showPanel(TaskPanel); showPanel(TaskPanel);
...@@ -87,42 +75,19 @@ export default class MapUI extends Container { ...@@ -87,42 +75,19 @@ export default class MapUI extends Container {
private initUi() { private initUi() {
// 我的奖品 // 我的奖品
this.myPrizeBtn = this.addChild(new Button(RES.getRes('map_prizeBtn.png'))); this.myPrizeBtn = this.addChild(new Button(RES.getRes('map_prizeBtn.png')));
this.myPrizeBtn.position.set(0, 185); this.myPrizeBtn.position.set(617, 213);
this.myPrizeBtn.anchorX = 0;
// 规则按钮 // 规则按钮
this.ruleBtn = this.addChild(new Button(RES.getRes('map_ruleBtn.png'))); this.ruleBtn = this.addChild(new Button(RES.getRes('map_ruleBtn.png')));
this.ruleBtn.position.set(0, 104); this.ruleBtn.position.set(0, 213);
this.ruleBtn.anchorX = 0; this.ruleBtn.anchorX = 0;
// 任务按钮 // 任务按钮
this.taskBtn = this.addChild(new Button(RES.getRes('map_taskBtn.png'))); this.taskBtn = this.addChild(new Button(RES.getRes('map_taskBtn.png')));
this.taskBtn.position.set(19, 280); this.taskBtn.position.set(613, 278);
this.energyBox = this.addChild(new EnergyBox({})); this.energyBox = this.addChild(new EnergyBox({}));
this.creditsBox = this.addChild(new CreditsBox({}));
this.prizeBox = this.addChild(new PrizeBox({}));
//显示120关通关人数
sendTbNet(TbNetName.getAppointCount).then((res) => {
if (!res.success) return;
this.addChild(new class extends Sprite {
constructor() {
super(RES.getRes("appointCountBg.png"));
this.addChild(Tools.getText(
`${res.data}人已解锁120关`,
26,
"#ffffff",
TEXT_ALIGN.CENTER, 259,
0, 8
))
}
})
.position.set(this.prizeBox.x - 51, this.prizeBox.y + 202 + 40)
})
//轮播的中奖
this.addChild(new LoopMsg()).position.set(0, layers.stageHeight - 100 - 86)
//是否显示下一次领取免费体力的icon; //是否显示下一次领取免费体力的icon;
var remindIcon = this.addChild(new RemindIcon()); var remindIcon = this.addChild(new RemindIcon());
remindIcon.position.set(560, layers.stageHeight - 166 - 82); remindIcon.position.set(560, layers.stageHeight - 166 - 82);
...@@ -136,7 +101,6 @@ export default class MapUI extends Container { ...@@ -136,7 +101,6 @@ export default class MapUI extends Container {
} }
public updateUI() { public updateUI() {
this.creditsBox.updateCredits();
this.energyBox.count = Tools.gameData.power; this.energyBox.count = Tools.gameData.power;
} }
} }
...@@ -203,228 +167,21 @@ class EnergyBox extends Container { ...@@ -203,228 +167,21 @@ class EnergyBox extends Container {
this.initUi(data); this.initUi(data);
this.addBtn.addEventListener(MouseEvent.CLICK, this.clickAdd, this);
}
private clickAdd() {
console.log('增加按钮');
showPanel(BuyPowerPanel);
} }
private initUi(data) { private initUi(data) {
this.position.set(544, 105); this.position.set(8, 278);
this.addChild(Tools.getSprite('map_energyBg.png')); this.addChild(Tools.getSprite('map_energyBg.png'));
this.addBtn = this.addChild(new Button(RES.getRes('map_energyAdd.png')));
this.addBtn.position.set(135, 14);
this.countLabel = this.addChild(Tools.getText(
'0', 20, '#ffffff',
TEXT_ALIGN.CENTER, 80, 54, 21
));
}
public destroy() {
super.destroy();
this.addBtn.removeEventListener(MouseEvent.CLICK, this.clickAdd, this);
}
}
/**
* 积分
*/
class CreditsBox extends Container {
private countLabel: TextField = null;
private _count = 0;
public set count(count: number) {
this._count = count;
this.countLabel.text = `积分:${count}`;
}
constructor(data) {
super();
this.initUi(data);
}
private async initUi(data) {
this.position.set(544, 184);
this.addChild(Tools.getSprite('map_creditsBg.png'));
this.countLabel = this.addChild(Tools.getText( this.countLabel = this.addChild(Tools.getText(
'积分:0', 20, '#ffffff', '0', 33, '#000000',
TEXT_ALIGN.CENTER, 105, 58, 21 TEXT_ALIGN.CENTER, 80, 110, 33
)); ));
await this.updateCredits();
GDispatcher.addEventListener(G_EVENT.ON_SHOW, this.updateCredits, this);
}
public async updateCredits() {
const creditsData = await sendTbNet(TbNetName.queryCredits, {}, () => {
}, true);
let jfLabel = '积分:0';
if (creditsData.success && creditsData.data && creditsData.data.credits) {
jfLabel = `积分:${creditsData.data.credits}`;
}
this.countLabel.text = jfLabel;
} }
public destroy() { public destroy() {
super.destroy(); super.destroy();
GDispatcher.removeEventListener(G_EVENT.ON_SHOW, this.updateCredits, this);
}
}
/**
* 连续闯关礼盒
*/
// @ts-ignore
class PrizeBox extends Button {
private checkTip: TextField = null;
private tip: TextField = null;
private prizeImg: Sprite = null;
public initButton() {
let s: any = this;
s.mouseChildren = false;
s.addEventListener("onMouseDown", s._mouseEvent, s);
s.addEventListener("onMouseUp", s._mouseEvent, s);
s.addEventListener("onMouseOut", s._mouseEvent, s);
s.texture = s.textureUp;
}
/**
* @method _mouseEvent
* @param e
* @private
*/
protected _mouseEvent(e: any): void {
let s = this;
// @ts-ignore
if (!s._clicked) {
if (e.type == MouseEvent.MOUSE_DOWN) {
//如果是点下
// @ts-ignore
if (s.textureDown) {
// @ts-ignore
s.texture = s.textureDown
} else {
this["frames"] = null
// s.scale.x = s.scale.y = 0.9
Tween.removeTweens(this);
Tween.get(this).to({ scaleX: 1, scaleY: 1 }, 50);
}
} else {
// @ts-ignore
if (s.textureDown) {
// @ts-ignore
s.texture = s.textureUp
} else {
this["frames"] = this["framesOri"]
// s.scale.x = s.scale.y = 1
Tween.removeTweens(this);
Tween.get(this).to({ scaleX: 1.2, scaleY: 1.2 }, 50);
}
}
}
};
constructor(data) {
super(RES.getRes('map_prizeBox.png'));
this.initUi(data);
this.initEvent();
}
private initUi(data) {
this.position.set(553, 289);
// this.position.set(503, 289);
this.scale.set(1.2, 1.2);
this.checkTip = this.addChild(Tools.getText(
'再闯XXX关', 18,
'#ffffff', TEXT_ALIGN.CENTER,
158, 0, 68
));
this.tip = this.addChild(Tools.getText(
'参与红包抽奖\n赢XXX优惠券', 17,
'#ec5a5a', TEXT_ALIGN.CENTER,
158, 0, 116
));
this.tip.lineSpacing = 0;
this.prizeImg = this.addChild(Tools.getSprite('map_star_enable.png', 39, 150));
// 490*180
this.prizeImg.y -= 40;
this.prizeImg.width = 204;
this.prizeImg.height = 80;
this.prizeImg.x = (this.width - 98) / 2 - 70;
const prizes = Tools.gameData.prizes;
if (prizes.length <= 0) {
const curLevel: number = Tools.gameData.currentLevel;
let upLevel: number = 120;
let dLevel: number = 120;
Tools.baseInfo.prizeLevels.forEach((value, index) => {
const d: number = value - curLevel;
if (curLevel <= value && d >= 0 && d <= dLevel) {
upLevel = value;
dLevel = d + 1;
}
});
console.log(upLevel, dLevel);
this.checkTip.text = `再闯${dLevel}关可抽`;
// this.tip.text = '有机会获得';
this.tip.text = '';
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${upLevel}`]);
this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改
Tools.btnDelay(this);
showToast(`再闯${dLevel}关才可以抽奖哦`);
}, this)
} else if (prizes.length == 1 && +prizes[0].level == 120) {
// this.checkTip.text = `等待开奖`;
const index = getTbData(TbNetName.getIndex).data
this.checkTip.text = index.topAward.openPrizeStatus
? '已开奖' : '8月31日9点开奖';
this.checkTip.size = 18;
// ? '已开奖' : '等待开奖';
// this.tip.text = `8月31日10点`;
this.tip.text = ``;
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize['level_120']);
this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改
Tools.btnDelay(this);
showToast(index.topAward.openPrizeStatus
? '已开奖' : '8月31日9点开奖')
}, this)
} else {
let lowerLevel = 120;
prizes.forEach((value) => {
if (value.level < lowerLevel) {
lowerLevel = value.level;
}
});
this.checkTip.text = `点击抽奖`;
// this.tip.text = `抽取${lowerLevel}关奖励`;
this.tip.text = ``;
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize[`level_${lowerLevel}`]);
this.addEventListener(FYGE.MouseEvent.CLICK, () => {
Tools.btnDelay(this);
changeScene(LotteryScene, { level: lowerLevel })
}, this)
}
}
initEvent() {
} }
} }
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"module": "commonjs", "module": "commonjs",
"target": "es5", "target": "es5",
"noImplicitAny": false, "noImplicitAny": false,
"noImplicitThis": false,
"sourceMap": true, "sourceMap": true,
"removeComments": true, "removeComments": true,
"noEmitOnError":true, "noEmitOnError":true,
......
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