Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
翁阳
babycare_xiaoxiao
Commits
ff6739b6
Commit
ff6739b6
authored
Sep 23, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
ea34ec9d
2385f210
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
40 additions
and
24 deletions
+40
-24
workspace.xml
.idea/workspace.xml
+15
-11
babycare.getAppointCount.json
mock/miniTb/babycare.getAppointCount.json
+4
-0
output.js
output.js
+6
-6
output.js.map
output.js.map
+1
-1
TaoBaoNet.ts
src/TaoBaoNet.ts
+3
-4
MapScene.ts
src/scene/map/MapScene.ts
+5
-0
MapTop.ts
src/scene/map/MapTop.ts
+4
-0
MapUI.ts
src/scene/map/MapUI.ts
+1
-1
Chapter4.ts
src/something/chapters/Chapter4.ts
+1
-1
No files found.
.idea/workspace.xml
View file @
ff6739b6
...
@@ -2,11 +2,15 @@
...
@@ -2,11 +2,15 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9cef0552-af3c-4a1c-be1f-dc41ebe5b6db"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"9cef0552-af3c-4a1c-be1f-dc41ebe5b6db"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.getAppointCount.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js.map"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js.map"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/TaoBaoNet.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/TaoBaoNet.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapTop.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapTop.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapTop.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapTop.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/something/chapters/Chapter4.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/something/chapters/Chapter4.ts"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -142,7 +146,7 @@
...
@@ -142,7 +146,7 @@
<workItem
from=
"1597914390248"
duration=
"1461000"
/>
<workItem
from=
"1597914390248"
duration=
"1461000"
/>
<workItem
from=
"1597922850445"
duration=
"1305000"
/>
<workItem
from=
"1597922850445"
duration=
"1305000"
/>
<workItem
from=
"1598838738340"
duration=
"300000"
/>
<workItem
from=
"1598838738340"
duration=
"300000"
/>
<workItem
from=
"1600826060674"
duration=
"
815
000"
/>
<workItem
from=
"1600826060674"
duration=
"
1192
000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<created>
1594122339119
</created>
<created>
1594122339119
</created>
...
@@ -485,32 +489,32 @@
...
@@ -485,32 +489,32 @@
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
x=
"131"
y=
"123"
width=
"730"
height=
"977"
key=
"DiffContextDialog/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596165868169"
/>
<state
x=
"131"
y=
"123"
width=
"730"
height=
"977"
key=
"DiffContextDialog/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596165868169"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1597915852067
"
>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1600827207946
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1597915852067
"
/>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1600827207946
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1597915852066
"
>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1600827207944
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1597915852066
"
/>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1600827207944
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918464"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918464"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1597915852065
"
>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1600827207944
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1597915852065
"
/>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1600827207944
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577197"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577197"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918463"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918463"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1597915852066
"
>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1600827207945
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"
909"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1597915852066
"
/>
<state
width=
"
882"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1600827207945
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
x=
"82"
y=
"353"
key=
"IDE.errors.dialog"
timestamp=
"1594777965326"
>
<state
x=
"82"
y=
"353"
key=
"IDE.errors.dialog"
timestamp=
"1594777965326"
>
...
...
mock/miniTb/babycare.getAppointCount.json
0 → 100644
View file @
ff6739b6
{
"success"
:
true
,
"data"
:
44
}
\ No newline at end of file
output.js
View file @
ff6739b6
...
@@ -11458,7 +11458,7 @@ var TbNetName;
...
@@ -11458,7 +11458,7 @@ var TbNetName;
TbNetName["completeTask"] = "babycare.completeTask";
TbNetName["completeTask"] = "babycare.completeTask";
TbNetName["getTaskList"] = "babycare.getTaskList";
TbNetName["getTaskList"] = "babycare.getTaskList";
TbNetName["luckyDraw"] = "babycare.luckyDraw";
TbNetName["luckyDraw"] = "babycare.luckyDraw";
TbNetName["getAppointCount"] = "
min
e.getAppointCount";
TbNetName["getAppointCount"] = "
babycar
e.getAppointCount";
TbNetName["authorize"] = "mine.authorize";
TbNetName["authorize"] = "mine.authorize";
TbNetName["favorShop"] = "mine.favorShop";
TbNetName["favorShop"] = "mine.favorShop";
TbNetName["getUserAddress"] = "mine.getUserAddress";
TbNetName["getUserAddress"] = "mine.getUserAddress";
...
@@ -22593,6 +22593,7 @@ var MapScene = (function (_super) {
...
@@ -22593,6 +22593,7 @@ var MapScene = (function (_super) {
var bottomData = arr.splice(0, 8);
var bottomData = arr.splice(0, 8);
var midData = arr;
var midData = arr;
var maxHeight = MapTop_1.default.HEIGHT;
var maxHeight = MapTop_1.default.HEIGHT;
this.mapContainer.addChild(new MapTop_1.default(topData));
for (var i = midData.length / 10 - 1; i >= 0; i--) {
for (var i = midData.length / 10 - 1; i >= 0; i--) {
var data = midData.splice(i * 10, 10);
var data = midData.splice(i * 10, 10);
var nMid = new MapMid_1.default(data);
var nMid = new MapMid_1.default(data);
...
@@ -22604,7 +22605,6 @@ var MapScene = (function (_super) {
...
@@ -22604,7 +22605,6 @@ var MapScene = (function (_super) {
this.mapContainer.addChild(bottom);
this.mapContainer.addChild(bottom);
bottom.y = maxHeight;
bottom.y = maxHeight;
maxHeight += MapBottom_1.default.HEIGHT;
maxHeight += MapBottom_1.default.HEIGHT;
this.mapContainer.addChild(new MapTop_1.default(topData));
this.scrollPage.maxDistance = maxHeight;
this.scrollPage.maxDistance = maxHeight;
this.scrollPage.scrollTo(maxHeight, 0);
this.scrollPage.scrollTo(maxHeight, 0);
this.scrollToCheck(1);
this.scrollToCheck(1);
...
@@ -22696,8 +22696,8 @@ var MapTop = (function (_super) {
...
@@ -22696,8 +22696,8 @@ var MapTop = (function (_super) {
var _this = _super.call(this, data) || this;
var _this = _super.call(this, data) || this;
_this.totalCount = 2;
_this.totalCount = 2;
_this.btnPos = [
_this.btnPos = [
[207, 4
18
],
[207, 4
00
],
[149, 2
8
2],
[149, 2
7
2],
];
];
_this.data = data;
_this.data = data;
_this.bg.texture = RES_1.RES.getRes('map_bg3.jpg');
_this.bg.texture = RES_1.RES.getRes('map_bg3.jpg');
...
@@ -22870,7 +22870,7 @@ var MapUI = (function (_super) {
...
@@ -22870,7 +22870,7 @@ var MapUI = (function (_super) {
__extends(class_1, _super);
__extends(class_1, _super);
function class_1() {
function class_1() {
var _this = _super.call(this, RES_1.RES.getRes("appointCountBg.png")) || this;
var _this = _super.call(this, RES_1.RES.getRes("appointCountBg.png")) || this;
_this.addChild(Tools_1.Tools.getText(res.data + "\u4EBA\u5DF2\u89E3\u9501120\u5173", 26, "#ffffff", TEXT_ALIGN.CENTER, 259, 0,
10
));
_this.addChild(Tools_1.Tools.getText(res.data + "\u4EBA\u5DF2\u89E3\u9501120\u5173", 26, "#ffffff", TEXT_ALIGN.CENTER, 259, 0,
8
));
return _this;
return _this;
}
}
return class_1;
return class_1;
...
@@ -29694,7 +29694,7 @@ exports.Chapters4 = [
...
@@ -29694,7 +29694,7 @@ exports.Chapters4 = [
passTarget: { type: 1, elements: [{ type: 1, count: 90 }] },
passTarget: { type: 1, elements: [{ type: 1, count: 90 }] },
starScores: [5000, 11000, 20000],
starScores: [5000, 11000, 20000],
map: {
map: {
lattices: [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], connectedLats: [[11, 29], [12, 30], [13, 31], [14, 32], [15, 33]], elements: [0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 7, 7, 0, 0, 0,
6, 7, 7, 7, 7, 7, 6
, 0, 0, 6, 7, 7, 7, 7, 7, 6, 0, 0, 2, 7, 7, 7, 7, 7, 2, 0, 0, 0, 2, 6, 2, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], baseElements: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], recycles: [], generateLats: [{ index: 2, type: null }, { index: 3, type: null }, { index: 4, type: null }, { index: 5, type: null }, { index: 6, type: null }, { index: 11, type: null }, { index: 12, type: null }, { index: 13, type: null }, { index: 14, type: null }, { index: 15, type: null }]
lattices: [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], connectedLats: [[11, 29], [12, 30], [13, 31], [14, 32], [15, 33]], elements: [0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 7, 7, 0, 0, 0,
7, 7, 7, 7, 7, 7, 7
, 0, 0, 6, 7, 7, 7, 7, 7, 6, 0, 0, 2, 7, 7, 7, 7, 7, 2, 0, 0, 0, 2, 6, 2, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], baseElements: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], recycles: [], generateLats: [{ index: 2, type: null }, { index: 3, type: null }, { index: 4, type: null }, { index: 5, type: null }, { index: 6, type: null }, { index: 11, type: null }, { index: 12, type: null }, { index: 13, type: null }, { index: 14, type: null }, { index: 15, type: null }]
}
}
},
},
{
{
output.js.map
View file @
ff6739b6
This diff is collapsed.
Click to expand it.
src/TaoBaoNet.ts
View file @
ff6739b6
...
@@ -81,13 +81,12 @@ export enum TbNetName {
...
@@ -81,13 +81,12 @@ export enum TbNetName {
* activityId
* activityId
*/
*/
luckyDraw
=
"babycare.luckyDraw"
,
luckyDraw
=
"babycare.luckyDraw"
,
///////////////////前端调用接口都加个mine
/**
/**
* 获取120名通关的人数
* 获取120名通关的人数
*/
*/
getAppointCount
=
"mine.getAppointCount"
,
getAppointCount
=
"babycare.getAppointCount"
,
///////////////////前端调用接口都加个mine
////带用户操作,和index.js特殊操作的
////带用户操作,和index.js特殊操作的
/**
/**
...
...
src/scene/map/MapScene.ts
View file @
ff6739b6
...
@@ -220,6 +220,8 @@ export class MapScene extends Scene {
...
@@ -220,6 +220,8 @@ export class MapScene extends Scene {
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
/
10
-
1
;
i
>=
0
;
i
--
)
{
const
data
=
midData
.
splice
(
i
*
10
,
10
);
const
data
=
midData
.
splice
(
i
*
10
,
10
);
const
nMid
=
new
MapMid
(
data
);
const
nMid
=
new
MapMid
(
data
);
...
@@ -233,6 +235,9 @@ export class MapScene extends Scene {
...
@@ -233,6 +235,9 @@ export class MapScene extends Scene {
bottom
.
y
=
maxHeight
;
bottom
.
y
=
maxHeight
;
maxHeight
+=
MapBottom
.
HEIGHT
;
maxHeight
+=
MapBottom
.
HEIGHT
;
// this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this
.
scrollPage
.
maxDistance
=
maxHeight
;
this
.
scrollPage
.
maxDistance
=
maxHeight
;
this
.
scrollPage
.
scrollTo
(
maxHeight
,
0
);
this
.
scrollPage
.
scrollTo
(
maxHeight
,
0
);
...
...
src/scene/map/MapTop.ts
View file @
ff6739b6
...
@@ -8,6 +8,10 @@ export default class MapTop extends MapPart {
...
@@ -8,6 +8,10 @@ export default class MapTop extends MapPart {
protected
totalCount
=
2
;
protected
totalCount
=
2
;
// public btnPos = [
// [207, 418],
// [149, 282],
// ];
public
btnPos
=
[
public
btnPos
=
[
[
207
,
400
],
[
207
,
400
],
[
149
,
272
],
[
149
,
272
],
...
...
src/scene/map/MapUI.ts
View file @
ff6739b6
...
@@ -114,7 +114,7 @@ export default class MapUI extends Container {
...
@@ -114,7 +114,7 @@ export default class MapUI extends Container {
26
,
26
,
"#ffffff"
,
"#ffffff"
,
TEXT_ALIGN
.
CENTER
,
259
,
TEXT_ALIGN
.
CENTER
,
259
,
0
,
9
0
,
8
))
))
}
}
})
})
...
...
src/something/chapters/Chapter4.ts
View file @
ff6739b6
...
@@ -266,7 +266,7 @@ export const Chapters4: ChapterData[] = [
...
@@ -266,7 +266,7 @@ export const Chapters4: ChapterData[] = [
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
1
,
count
:
90
}]
},
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
1
,
count
:
90
}]
},
starScores
:
[
5000
,
11000
,
20000
],
starScores
:
[
5000
,
11000
,
20000
],
map
:
{
map
:
{
lattices
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
connectedLats
:
[[
11
,
29
],
[
12
,
30
],
[
13
,
31
],
[
14
,
32
],
[
15
,
33
]],
elements
:
[
0
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
0
,
6
,
7
,
7
,
7
,
7
,
7
,
6
,
0
,
0
,
6
,
7
,
7
,
7
,
7
,
7
,
6
,
0
,
0
,
2
,
7
,
7
,
7
,
7
,
7
,
2
,
0
,
0
,
0
,
2
,
6
,
2
,
6
,
2
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
11
,
type
:
null
},
{
index
:
12
,
type
:
null
},
{
index
:
13
,
type
:
null
},
{
index
:
14
,
type
:
null
},
{
index
:
15
,
type
:
null
}]
lattices
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
connectedLats
:
[[
11
,
29
],
[
12
,
30
],
[
13
,
31
],
[
14
,
32
],
[
15
,
33
]],
elements
:
[
0
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
6
,
7
,
7
,
7
,
7
,
7
,
6
,
0
,
0
,
2
,
7
,
7
,
7
,
7
,
7
,
2
,
0
,
0
,
0
,
2
,
6
,
2
,
6
,
2
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
11
,
type
:
null
},
{
index
:
12
,
type
:
null
},
{
index
:
13
,
type
:
null
},
{
index
:
14
,
type
:
null
},
{
index
:
15
,
type
:
null
}]
}
}
},
},
//71
//71
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment