diff --git a/laya/pages/view/CyberTheme/CyberAchievement.ui b/laya/pages/view/CyberTheme/CyberAchievement.ui
index fbd0733..561a339 100644
--- a/laya/pages/view/CyberTheme/CyberAchievement.ui
+++ b/laya/pages/view/CyberTheme/CyberAchievement.ui
@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
- "selecteID":3,
+ "selecteID":61,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -568,71 +568,6 @@
}]
}],
"$HIDDEN":false
- },
- {
- "x":15,
- "type":"VBox",
- "props":{"visible":false,"name":"colorBox"},
- "nodeParent":1,
- "label":"VBox(colorBox)",
- "isOpen":true,
- "isDirectory":true,
- "isAniNode":true,
- "hasChild":true,
- "compId":61,
- "child":[
- {
- "x":30,
- "type":"Label",
- "props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"},
- "nodeParent":61,
- "label":"Label(colorGrade0)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":62,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"},
- "nodeParent":61,
- "label":"Label(colorGrade1)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":63,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"},
- "nodeParent":61,
- "label":"Label(colorGrade2)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":64,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"},
- "nodeParent":61,
- "label":"Label(colorGrade3)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":65,
- "child":[
- ]
- }]
}],
"animations":[
{
diff --git a/laya/pages/view/CyberTheme/CyberAchievementPopup.ui b/laya/pages/view/CyberTheme/CyberAchievementPopup.ui
index 60fd732..2b16d77 100644
--- a/laya/pages/view/CyberTheme/CyberAchievementPopup.ui
+++ b/laya/pages/view/CyberTheme/CyberAchievementPopup.ui
@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
- "selecteID":1,
+ "selecteID":10,
"props":{"y":50,"width":570,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},
"nodeParent":-1,
"label":"View",
@@ -100,72 +100,6 @@
"child":[
]
}]
- },
- {
- "x":15,
- "type":"VBox",
- "props":{"y":0,"x":0,"visible":false,"name":"colorBox"},
- "nodeParent":1,
- "label":"VBox(colorBox)",
- "isOpen":true,
- "isDirectory":true,
- "isAniNode":true,
- "hasChild":true,
- "compId":10,
- "child":[
- {
- "x":30,
- "type":"Label",
- "props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"},
- "nodeParent":10,
- "label":"Label(colorGrade0)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":11,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"},
- "nodeParent":10,
- "label":"Label(colorGrade1)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":12,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"},
- "nodeParent":10,
- "label":"Label(colorGrade2)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":13,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"},
- "nodeParent":10,
- "label":"Label(colorGrade3)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":14,
- "child":[
- ]
- }],
- "$HIDDEN":true
}],
"animations":[
{
diff --git a/laya/pages/view/CyberTheme/CyberMain.ui b/laya/pages/view/CyberTheme/CyberMain.ui
index 476be18..6d08337 100644
--- a/laya/pages/view/CyberTheme/CyberMain.ui
+++ b/laya/pages/view/CyberTheme/CyberMain.ui
@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
- "selecteID":21,
+ "selecteID":83,
"props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberMain.png","runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
"nodeParent":-1,
"label":"View",
@@ -547,51 +547,64 @@
{
"x":15,
"type":"Box",
- "props":{"y":2080,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
+ "props":{"width":1,"left":0,"height":1,"bottom":0},
"nodeParent":1,
- "label":"Box(btnDiscord)",
- "isOpen":false,
+ "label":"Box",
+ "isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
- "compId":83,
+ "compId":85,
"child":[
{
- "type":"Image",
- "props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
- "nodeParent":83,
- "label":"Image",
- "isDirectory":false,
+ "x":30,
+ "type":"Box",
+ "props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":85,
+ "label":"Box(btnGithub)",
+ "isOpen":false,
+ "isDirectory":true,
"isAniNode":true,
- "hasChild":false,
- "compId":79,
+ "hasChild":true,
+ "compId":82,
"child":[
- ]
- }]
- },
- {
- "x":15,
- "type":"Box",
- "props":{"y":2260,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
- "nodeParent":1,
- "label":"Box(btnGithub)",
- "isOpen":false,
- "isDirectory":true,
- "isAniNode":true,
- "hasChild":true,
- "compId":82,
- "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":82,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":78,
+ "child":[
+ ]
+ }]
+ },
{
- "type":"Image",
- "props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
- "nodeParent":82,
- "label":"Image",
- "isDirectory":false,
+ "x":30,
+ "type":"Box",
+ "props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":85,
+ "label":"Box(btnDiscord)",
+ "isOpen":false,
+ "isDirectory":true,
"isAniNode":true,
- "hasChild":false,
- "compId":78,
+ "hasChild":true,
+ "compId":83,
"child":[
- ]
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":83,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":79,
+ "child":[
+ ]
+ }]
}]
}],
"animations":[
diff --git a/laya/pages/view/CyberTheme/CyberSummary.ui b/laya/pages/view/CyberTheme/CyberSummary.ui
index 3b208ca..a7b9291 100644
--- a/laya/pages/view/CyberTheme/CyberSummary.ui
+++ b/laya/pages/view/CyberTheme/CyberSummary.ui
@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
- "selecteID":201,
+ "selecteID":210,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -1344,71 +1344,6 @@
}]
}],
"$LOCKED":true
- },
- {
- "x":15,
- "type":"VBox",
- "props":{"visible":false,"name":"colorBox"},
- "nodeParent":1,
- "label":"VBox(colorBox)",
- "isOpen":true,
- "isDirectory":true,
- "isAniNode":true,
- "hasChild":true,
- "compId":210,
- "child":[
- {
- "x":30,
- "type":"Label",
- "props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"},
- "nodeParent":210,
- "label":"Label(colorGrade0)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":203,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"},
- "nodeParent":210,
- "label":"Label(colorGrade1)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":205,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"},
- "nodeParent":210,
- "label":"Label(colorGrade2)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":208,
- "child":[
- ]
- },
- {
- "x":30,
- "type":"Label",
- "props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"},
- "nodeParent":210,
- "label":"Label(colorGrade3)",
- "isDirectory":false,
- "isAniNode":true,
- "hasChild":false,
- "compId":209,
- "child":[
- ]
- }]
}],
"animations":[
{
diff --git a/laya/pages/view/DefaultTheme/Achievement.ui b/laya/pages/view/DefaultTheme/Achievement.ui
new file mode 100644
index 0000000..561a339
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Achievement.ui
@@ -0,0 +1,582 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":61,
+ "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Button",
+ "props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30},
+ "nodeParent":1,
+ "label":"Button(btnBack)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":2,
+ "child":[
+ ]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"width":1,"top":0,"right":0,"height":1},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":68,
+ "child":[
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":68,
+ "label":"Box(btnRank)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":3,
+ "child":[
+ {
+ "x":45,
+ "type":"Image",
+ "props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":3,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":4,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "x":45,
+ "type":"Box",
+ "props":{"width":90,"left":8,"height":90},
+ "nodeParent":3,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":5,
+ "child":[
+ {
+ "x":60,
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0},
+ "nodeParent":5,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":6,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":45,
+ "type":"Label",
+ "props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":3,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":7,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":16,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"y":110,"x":140,"var":"btnStatistics","text":"UI_Statistics","name":"btnStatistics","fontSize":100,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5},
+ "nodeParent":16,
+ "label":"Label(btnStatistics)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":18,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":110,"x":360,"var":"btnAchievement","text":"UI_Achievement","name":"btnAchievement","fontSize":60,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5},
+ "nodeParent":16,
+ "label":"Label(btnAchievement)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":21,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"x":0,"width":2250,"var":"boxPage","top":450,"name":"boxPage","bottom":80},
+ "nodeParent":1,
+ "label":"Box(boxPage)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":8,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0},
+ "nodeParent":8,
+ "label":"Box(boxA)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":66,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":1125,"top":0,"height":1125,"centerX":0},
+ "nodeParent":66,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":25,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30},
+ "nodeParent":25,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":26,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Sprite",
+ "props":{"y":150,"x":100,"width":920,"height":380},
+ "nodeParent":25,
+ "label":"Sprite",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":52,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"},
+ "nodeParent":52,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":50,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"},
+ "nodeParent":52,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":51,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":400,"top":150,"left":100,"height":320},
+ "nodeParent":25,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":28,
+ "child":[
+ {
+ "type":"HBox",
+ "props":{"y":130,"x":0},
+ "nodeParent":28,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":54,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
+ "nodeParent":54,
+ "label":"Label(labRemakeTimes)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":31,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
+ "nodeParent":54,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":53,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
+ "nodeParent":28,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":32,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
+ "nodeParent":28,
+ "label":"Label(labRemakeTimesJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":33,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":400,"top":150,"right":100,"height":320},
+ "nodeParent":25,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":29,
+ "child":[
+ {
+ "type":"HBox",
+ "props":{"y":130},
+ "nodeParent":29,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":55,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
+ "nodeParent":55,
+ "label":"Label(labAchievementCount)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":56,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
+ "nodeParent":55,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":57,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
+ "nodeParent":29,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":38,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
+ "nodeParent":29,
+ "label":"Label(labAchievementCountJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":39,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"right":100,"left":100,"height":450,"bottom":100},
+ "nodeParent":25,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":30,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"top":25,"right":0,"left":0,"height":180},
+ "nodeParent":30,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":41,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
+ "nodeParent":41,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":42,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"ProgressBar",
+ "props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0},
+ "nodeParent":41,
+ "label":"ProgressBar(prgEventRate)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":43,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
+ "nodeParent":41,
+ "label":"Label(labEventRate)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":44,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"right":0,"left":0,"height":180,"bottom":30},
+ "nodeParent":30,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":45,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
+ "nodeParent":45,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":46,
+ "child":[
+ ]
+ },
+ {
+ "type":"ProgressBar",
+ "props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0},
+ "nodeParent":45,
+ "label":"ProgressBar(prgTalentRate)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":47,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
+ "nodeParent":45,
+ "label":"Label(labTalentRate)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":48,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":1125,"var":"boxB","top":0,"right":0,"name":"boxB","bottom":0},
+ "nodeParent":8,
+ "label":"Box(boxB)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":67,
+ "child":[
+ {
+ "type":"List",
+ "props":{"y":35,"width":1080,"var":"listAchievements","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":35,"name":"listAchievements","centerX":0,"bottom":35},
+ "nodeParent":67,
+ "label":"List(listAchievements)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":9,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},
+ "nodeParent":9,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":10,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20},
+ "nodeParent":10,
+ "label":"Image(uncomplete)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":11,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0},
+ "nodeParent":10,
+ "label":"Image(completed)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":12,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Label",
+ "props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0},
+ "nodeParent":10,
+ "label":"Label(name)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":13,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"},
+ "nodeParent":10,
+ "label":"Label(description)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":14,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }],
+ "$HIDDEN":false
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }],
+ "$HIDDEN":false
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/AchievementPopup.ui b/laya/pages/view/DefaultTheme/AchievementPopup.ui
new file mode 100644
index 0000000..2b16d77
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/AchievementPopup.ui
@@ -0,0 +1,113 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":10,
+ "props":{"y":50,"width":570,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Box",
+ "props":{},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":2,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":570,"lineWidth":1,"height":150,"fillColor":"#55fffe"},
+ "nodeParent":2,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":4,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"x":0,"var":"boxBg","name":"boxBg"},
+ "nodeParent":1,
+ "label":"Box(boxBg)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":5,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"},
+ "nodeParent":5,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":6,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"width":560,"height":150},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":8,
+ "child":[
+ {
+ "x":30,
+ "type":"Image",
+ "props":{"x":70,"skin":"images/icons/icon_achievement@3x.png","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":8,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":7,
+ "child":[
+ ]
+ },
+ {
+ "x":30,
+ "type":"Label",
+ "props":{"x":150,"var":"labName","text":"所有人都是我","name":"labName","fontSize":60,"font":"方正像素12","color":"#cccccc","centerY":0},
+ "nodeParent":8,
+ "label":"Label(labName)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":9,
+ "child":[
+ ]
+ }]
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }]
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Main.ui b/laya/pages/view/DefaultTheme/Main.ui
new file mode 100644
index 0000000..207f637
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Main.ui
@@ -0,0 +1,205 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":87,
+ "props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Label",
+ "props":{"var":"labTitle","text":"UI_Title_Remake","name":"labTitle","fontSize":130,"font":"SimHei","color":"#ffffff","centerY":-260,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":1,
+ "label":"Label(labTitle)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":8,
+ "child":[
+ ]
+ },
+ {
+ "x":15,
+ "type":"Label",
+ "props":{"wordWrap":true,"var":"labSubTitle","text":"UI_Title_Subsequent","right":0,"name":"labSubTitle","left":0,"fontSize":70,"font":"SimHei","color":"#999999","centerY":-120,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":1,
+ "label":"Label(labSubTitle)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":11,
+ "child":[
+ ]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"width":600,"var":"btnRemake","runtime":"ColorfulBox","name":"btnRemake","height":150,"centerY":600,"centerX":0},
+ "nodeParent":1,
+ "label":"Box(btnRemake)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":85,
+ "child":[
+ {
+ "x":30,
+ "type":"Label",
+ "props":{"text":"UI_Remake","name":"label","fontSize":70,"font":"SimHei","centerY":0,"centerX":0},
+ "nodeParent":85,
+ "label":"Label(label)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":86,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"ColorfulBox","name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":1,
+ "label":"Box(btnThanks)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":15,
+ "child":[
+ {
+ "x":30,
+ "type":"Label",
+ "props":{"text":"UI_Thanks","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":15,
+ "label":"Label(label)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":20,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"y":0,"x":1100,"width":1,"top":0,"runtime":"ColorfulBox","right":0,"height":1},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":84,
+ "child":[
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"ColorfulBox","name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":84,
+ "label":"Box(btnAchievement)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":21,
+ "child":[
+ {
+ "x":45,
+ "type":"Label",
+ "props":{"text":"UI_Achievement","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":21,
+ "label":"Label(label)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":25,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ }]
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"width":1,"left":0,"height":1,"bottom":0},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":87,
+ "child":[
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":87,
+ "label":"Box(btnGithub)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":82,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":82,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":78,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":87,
+ "label":"Box(btnDiscord)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":83,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":83,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":79,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }]
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Property.ui b/laya/pages/view/DefaultTheme/Property.ui
new file mode 100644
index 0000000..a7edcbc
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Property.ui
@@ -0,0 +1,2317 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":97,
+ "referenceLines":null,
+ "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":40,"right":0,"name":"title","left":0},
+ "nodeParent":1,
+ "label":"Box(title)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":2,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
+ "nodeParent":2,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":3,
+ "child":[
+ ]
+ },
+ {
+ "type":"HBox",
+ "props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":2,
+ "label":"HBox",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":4,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"},
+ "nodeParent":4,
+ "label":"Image(left)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":5,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":0,"x":2,"text":"UI_Title_Property","fontSize":60,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":4,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":6,
+ "child":[
+ ]
+ },
+ {
+ "type":"Image",
+ "props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"},
+ "nodeParent":4,
+ "label":"Image(right)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":7,
+ "child":[
+ ]
+ }]
+ }],
+ "$LOCKED":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":340,"right":40,"name":"propertyAllocate","left":40,"height":840},
+ "nodeParent":1,
+ "label":"Box(propertyAllocate)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":8,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15},
+ "nodeParent":8,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":55,
+ "child":[
+ ]
+ },
+ {
+ "type":"HBox",
+ "props":{"top":680,"right":80,"height":100},
+ "nodeParent":8,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":50,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"x":0,"text":"UI_Left_Property_Point","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
+ "nodeParent":50,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":52,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
+ "nodeParent":50,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":54,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"labLeftPropertyPoint","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":0},
+ "nodeParent":50,
+ "label":"Label(labLeftPropertyPoint)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":53,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"VBox",
+ "props":{"top":90,"space":22,"right":50,"left":50,"height":600},
+ "nodeParent":8,
+ "label":"VBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":120,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":0,"var":"boxCharm","right":0,"name":"boxCharm","left":0,"height":130},
+ "nodeParent":120,
+ "label":"Box(boxCharm)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":10,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":10,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":17,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
+ "nodeParent":17,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":18,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":183,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":10,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":19,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":590,"var":"boxCharmAllocate","right":30,"name":"boxCharmAllocate","height":110,"centerY":0},
+ "nodeParent":10,
+ "label":"Box(boxCharmAllocate)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":20,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnCharmReduce","name":"btnCharmReduce","left":0,"height":110,"centerY":0},
+ "nodeParent":20,
+ "label":"Box(btnCharmReduce)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":21,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":21,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":24,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":24,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":26,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":24,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":27,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":24,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":28,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":24,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":30,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":21,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":39,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":39,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":25,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":25,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":23,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
+ "nodeParent":20,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":42,
+ "child":[
+ {
+ "type":"TextInput",
+ "props":{"var":"inputCharm","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
+ "nodeParent":42,
+ "label":"TextInput(inputCharm)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":48,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
+ "nodeParent":42,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":43,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":43,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":44,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":43,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":45,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnCharmIncrease","right":0,"name":"btnCharmIncrease","height":110,"centerY":0},
+ "nodeParent":20,
+ "label":"Box(btnCharmIncrease)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":22,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":22,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":31,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":31,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":32,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":31,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":33,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":31,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":34,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":31,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":35,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":22,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":38,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":38,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":36,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":36,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":37,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":38,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":40,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":40,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":41,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":1,"var":"boxIntelligence","right":0,"name":"boxIntelligence","left":0,"height":130},
+ "nodeParent":120,
+ "label":"Box(boxIntelligence)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":121,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":121,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":122,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
+ "nodeParent":122,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":123,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":183,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":121,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":124,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":590,"var":"boxIntelligenceAllocate","right":30,"name":"boxIntelligenceAllocate","height":110,"centerY":0},
+ "nodeParent":121,
+ "label":"Box(boxIntelligenceAllocate)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":125,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnIntelligenceReduce","name":"btnIntelligenceReduce","left":0,"height":110,"centerY":0},
+ "nodeParent":125,
+ "label":"Box(btnIntelligenceReduce)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":126,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":126,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":127,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":127,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":128,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":127,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":129,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":127,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":130,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":127,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":131,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":126,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":132,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":132,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":133,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":134,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
+ "nodeParent":125,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":135,
+ "child":[
+ {
+ "type":"TextInput",
+ "props":{"var":"inputIntelligence","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
+ "nodeParent":135,
+ "label":"TextInput(inputIntelligence)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":136,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
+ "nodeParent":135,
+ "label":"Box",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":137,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":137,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":138,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":137,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":139,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnIntelligenceIncrease","right":0,"name":"btnIntelligenceIncrease","height":110,"centerY":0},
+ "nodeParent":125,
+ "label":"Box(btnIntelligenceIncrease)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":140,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":140,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":141,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":141,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":142,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":141,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":143,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":141,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":144,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":141,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":145,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":140,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":146,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":146,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":147,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":147,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":148,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":146,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":149,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":149,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":150,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":2,"var":"boxStrength","right":0,"name":"boxStrength","left":0,"height":130},
+ "nodeParent":120,
+ "label":"Box(boxStrength)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":151,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":151,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":152,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
+ "nodeParent":152,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":153,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":183,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":151,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":154,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":590,"var":"boxStrengthAllocate","right":30,"name":"boxStrengthAllocate","height":110,"centerY":0},
+ "nodeParent":151,
+ "label":"Box(boxStrengthAllocate)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":155,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnStrengthReduce","name":"btnStrengthReduce","left":0,"height":110,"centerY":0},
+ "nodeParent":155,
+ "label":"Box(btnStrengthReduce)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":156,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":156,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":157,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":157,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":158,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":157,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":159,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":157,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":160,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":157,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":161,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":156,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":162,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":162,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":163,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":163,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":164,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
+ "nodeParent":155,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":165,
+ "child":[
+ {
+ "type":"TextInput",
+ "props":{"var":"inputStrength","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
+ "nodeParent":165,
+ "label":"TextInput(inputStrength)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":166,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
+ "nodeParent":165,
+ "label":"Box",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":167,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":167,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":168,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":167,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":169,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnStrengthIncrease","right":0,"name":"btnStrengthIncrease","height":110,"centerY":0},
+ "nodeParent":155,
+ "label":"Box(btnStrengthIncrease)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":170,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":170,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":171,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":171,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":172,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":171,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":173,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":171,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":174,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":171,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":175,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":170,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":176,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":176,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":177,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":177,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":178,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":176,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":179,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":179,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":180,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":3,"var":"boxMoney","right":0,"name":"boxMoney","left":0,"height":130},
+ "nodeParent":120,
+ "label":"Box(boxMoney)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":181,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":181,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":182,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
+ "nodeParent":182,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":183,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":183,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":181,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":184,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":590,"var":"boxMoneyAllocate","right":30,"name":"boxMoneyAllocate","height":110,"centerY":0},
+ "nodeParent":181,
+ "label":"Box(boxMoneyAllocate)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":185,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnMoneyReduce","name":"btnMoneyReduce","left":0,"height":110,"centerY":0},
+ "nodeParent":185,
+ "label":"Box(btnMoneyReduce)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":186,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":186,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":187,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":187,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":188,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":187,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":189,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":187,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":190,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":187,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":191,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":186,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":192,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":192,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":193,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":193,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":194,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
+ "nodeParent":185,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":195,
+ "child":[
+ {
+ "type":"TextInput",
+ "props":{"var":"inputMoney","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
+ "nodeParent":195,
+ "label":"TextInput(inputMoney)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":196,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
+ "nodeParent":195,
+ "label":"Box",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":197,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":197,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":198,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":197,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":199,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"var":"btnMoneyIncrease","right":0,"name":"btnMoneyIncrease","height":110,"centerY":0},
+ "nodeParent":185,
+ "label":"Box(btnMoneyIncrease)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":200,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":200,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":201,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":201,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":202,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"},
+ "nodeParent":201,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":203,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":201,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":204,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"},
+ "nodeParent":201,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":205,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":200,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":206,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":206,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":207,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":207,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":208,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":206,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":209,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"},
+ "nodeParent":209,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":210,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }]
+ }]
+ }]
+ }],
+ "$LOCKED":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":500},
+ "nodeParent":1,
+ "label":"Box(selectedTalents)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":56,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"top":20,"text":"UI_Selected_Talent","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":56,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":57,
+ "child":[
+ ]
+ },
+ {
+ "type":"List",
+ "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
+ "nodeParent":56,
+ "label":"List(listSelectedTalents)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":58,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},
+ "nodeParent":58,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":59,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":59,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":63,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade1","height":160},
+ "nodeParent":59,
+ "label":"Box(grade1)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":61,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"},
+ "nodeParent":61,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":62,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade2","height":160},
+ "nodeParent":59,
+ "label":"Box(grade2)",
+ "isOpen":null,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":64,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"},
+ "nodeParent":64,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":65,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade3","height":160},
+ "nodeParent":59,
+ "label":"Box(grade3)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":66,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"},
+ "nodeParent":66,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":67,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
+ "nodeParent":59,
+ "label":"Label(labTitle)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":68,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
+ "nodeParent":59,
+ "label":"Label(labDescription)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":69,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$LOCKED":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":90},
+ "nodeParent":1,
+ "label":"Box(buttonGroup)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":71,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":500,"top":0,"left":0,"bottom":0},
+ "nodeParent":71,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":72,
+ "child":[
+ {
+ "type":"Button",
+ "props":{"width":500,"var":"btnRandomAllocate","skin":"images/button/button_main@3x.png","name":"btnRandomAllocate","label":"UI_Random_Allocate","centerY":0,"centerX":0},
+ "nodeParent":72,
+ "label":"Button(btnRandomAllocate)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":74,
+ "child":[
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":74,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":76,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":76,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":78,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":76,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":79,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":80,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":81,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":82,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":83,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":84,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":85,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":86,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":87,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":88,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":89,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":90,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":79,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":91,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":74,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":77,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":77,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":92,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":92,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":93,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":92,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":94,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":92,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":95,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":77,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":96,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":500,"top":0,"right":0,"bottom":0},
+ "nodeParent":71,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":73,
+ "child":[
+ {
+ "type":"Button",
+ "props":{"width":500,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","label":"UI_Make_New_Life","centerY":0,"centerX":0},
+ "nodeParent":73,
+ "label":"Button(btnNext)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":75,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
+ "nodeParent":75,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":99,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":99,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":101,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":99,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":102,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":103,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":104,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":105,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":106,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":107,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":108,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":109,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":110,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":111,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":112,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":113,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":102,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":114,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
+ "nodeParent":75,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":100,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":100,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":115,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":115,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":116,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":115,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":117,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":115,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":118,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":250,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":100,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":119,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }],
+ "$LOCKED":true
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }]
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Summary.ui b/laya/pages/view/DefaultTheme/Summary.ui
new file mode 100644
index 0000000..a7b9291
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Summary.ui
@@ -0,0 +1,1358 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":210,
+ "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":40,"right":0,"name":"title","left":0},
+ "nodeParent":1,
+ "label":"Box(title)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":2,
+ "child":[
+ {
+ "x":30,
+ "type":"Image",
+ "props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
+ "nodeParent":2,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":3,
+ "child":[
+ ]
+ },
+ {
+ "x":30,
+ "type":"HBox",
+ "props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":2,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":4,
+ "child":[
+ {
+ "x":45,
+ "type":"Image",
+ "props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"},
+ "nodeParent":4,
+ "label":"Image(left)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":5,
+ "child":[
+ ]
+ },
+ {
+ "x":45,
+ "type":"Label",
+ "props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":4,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":6,
+ "child":[
+ ]
+ },
+ {
+ "x":45,
+ "type":"Image",
+ "props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"},
+ "nodeParent":4,
+ "label":"Image(right)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":7,
+ "child":[
+ ]
+ }]
+ }],
+ "$LOCKED":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},
+ "nodeParent":1,
+ "label":"Box(propertyAllocate)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":8,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15},
+ "nodeParent":8,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":11,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"top":60,"right":50,"left":50,"height":220},
+ "nodeParent":8,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":227,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":220,"left":20,"height":220,"centerY":0},
+ "nodeParent":227,
+ "label":"Box",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":228,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"top":0,"right":0,"left":250,"height":100},
+ "nodeParent":227,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":229,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":320,"top":5,"left":5,"bottom":5},
+ "nodeParent":229,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":231,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":231,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":234,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"HBox",
+ "props":{"left":20,"centerY":0},
+ "nodeParent":231,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":239,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
+ "nodeParent":239,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":237,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
+ "nodeParent":239,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":238,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
+ "nodeParent":231,
+ "label":"Label(labAge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":236,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labAgeJudge","text":"Judge","right":0,"name":"labAgeJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":229,
+ "label":"Label(labAgeJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":226,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"right":0,"left":250,"height":100,"bottom":0},
+ "nodeParent":227,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":230,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":320,"top":5,"left":5,"bottom":5},
+ "nodeParent":230,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":240,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":240,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":241,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"HBox",
+ "props":{"left":20,"centerY":0},
+ "nodeParent":240,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":242,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
+ "nodeParent":242,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":243,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
+ "nodeParent":242,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":244,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
+ "nodeParent":240,
+ "label":"Label(labTotal)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":245,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labTotalJudge","text":"Judge","right":0,"name":"labTotalJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":230,
+ "label":"Label(labTotalJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":225,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"VBox",
+ "props":{"top":340,"space":5,"right":50,"left":50},
+ "nodeParent":8,
+ "label":"VBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":16,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},
+ "nodeParent":16,
+ "label":"Box(boxCharm)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":17,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":17,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":18,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
+ "nodeParent":18,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":19,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":170,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":17,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":20,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},
+ "nodeParent":17,
+ "label":"Box(boxCharmGrade)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":200,
+ "child":[
+ {
+ "type":"ProgressBar",
+ "props":{"var":"prgCharm","value":0.91,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgCharm","left":0,"bottom":0},
+ "nodeParent":200,
+ "label":"ProgressBar(prgCharm)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":199,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labCharm","text":"100","strokeColor":"#323232","stroke":8,"name":"labCharm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":200,
+ "label":"Label(labCharm)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":251,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labCharmJudge","text":"Judge","right":0,"name":"labCharmJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":17,
+ "label":"Label(labCharmJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":219,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},
+ "nodeParent":16,
+ "label":"Box(boxIntelligence)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":47,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":47,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":48,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
+ "nodeParent":48,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":49,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":170,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":47,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":50,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},
+ "nodeParent":47,
+ "label":"Box(boxIntelligenceGrade)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":211,
+ "child":[
+ {
+ "type":"ProgressBar",
+ "props":{"var":"prgIntelligence","value":0.57,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgIntelligence","left":0,"bottom":0},
+ "nodeParent":211,
+ "label":"ProgressBar(prgIntelligence)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":212,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labIntelligence","text":"100","strokeColor":"#323232","stroke":8,"name":"labIntelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":211,
+ "label":"Label(labIntelligence)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":249,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labIntelligenceJudge","text":"Judge","right":0,"name":"labIntelligenceJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":47,
+ "label":"Label(labIntelligenceJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":220,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},
+ "nodeParent":16,
+ "label":"Box(boxStrength)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":77,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":77,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":78,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
+ "nodeParent":78,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":79,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":170,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":77,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":80,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},
+ "nodeParent":77,
+ "label":"Box(boxStrengthGrade)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":213,
+ "child":[
+ {
+ "type":"ProgressBar",
+ "props":{"var":"prgStrength","value":0.235,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgStrength","left":0,"bottom":0},
+ "nodeParent":213,
+ "label":"ProgressBar(prgStrength)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":214,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labStrength","text":"100","strokeColor":"#323232","stroke":8,"name":"labStrength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":213,
+ "label":"Label(labStrength)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":246,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labStrengthJudge","text":"Judge","right":0,"name":"labStrengthJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":77,
+ "label":"Label(labStrengthJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":224,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},
+ "nodeParent":16,
+ "label":"Box(boxMoney)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":107,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":107,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":108,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
+ "nodeParent":108,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":109,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":170,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":107,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":110,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},
+ "nodeParent":107,
+ "label":"Box(boxMoneyGrade)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":215,
+ "child":[
+ {
+ "type":"ProgressBar",
+ "props":{"var":"prgMoney","value":0.8,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgMoney","left":0,"bottom":0},
+ "nodeParent":215,
+ "label":"ProgressBar(prgMoney)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":216,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labMoney","text":"100","strokeColor":"#323232","stroke":8,"name":"labMoney","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":215,
+ "label":"Label(labMoney)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":250,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labMoneyJudge","text":"Judge","right":0,"name":"labMoneyJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":107,
+ "label":"Label(labMoneyJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":222,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},
+ "nodeParent":16,
+ "label":"Box(boxSpirit)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":195,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":120,"left":0,"height":120,"centerY":0},
+ "nodeParent":195,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":196,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
+ "nodeParent":196,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":197,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":170,"text":"UI_Property_Spirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":195,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":198,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},
+ "nodeParent":195,
+ "label":"Box(boxSpiritGrade)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":217,
+ "child":[
+ {
+ "type":"ProgressBar",
+ "props":{"var":"prgSpirit","value":0.37,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgSpirit","left":0,"bottom":0},
+ "nodeParent":217,
+ "label":"ProgressBar(prgSpirit)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":218,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"var":"labSpirit","text":"100","strokeColor":"#323232","stroke":8,"name":"labSpirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":217,
+ "label":"Label(labSpirit)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":252,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"width":220,"var":"labSpiritJudge","text":"Judge","right":0,"name":"labSpiritJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
+ "nodeParent":195,
+ "label":"Label(labSpiritJudge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":223,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":false
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},
+ "nodeParent":1,
+ "label":"Box(selectedTalents)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":9,
+ "child":[
+ {
+ "x":30,
+ "type":"Label",
+ "props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":9,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":137,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "x":30,
+ "type":"List",
+ "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
+ "nodeParent":9,
+ "label":"List(listSelectedTalents)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":138,
+ "child":[
+ {
+ "x":45,
+ "type":"Box",
+ "props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},
+ "nodeParent":138,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":139,
+ "child":[
+ {
+ "x":60,
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0},
+ "nodeParent":139,
+ "label":"Image(unselected)",
+ "isOpen":true,
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":140,
+ "child":[
+ ],
+ "$HIDDEN":true
+ },
+ {
+ "x":60,
+ "type":"Box",
+ "props":{"top":0,"right":0,"name":"selected","left":0,"bottom":0},
+ "nodeParent":139,
+ "label":"Box(selected)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":259,
+ "child":[
+ {
+ "x":75,
+ "type":"Box",
+ "props":{"y":-22,"x":0,"renderType":"mask"},
+ "nodeParent":259,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":260,
+ "child":[
+ {
+ "x":90,
+ "type":"Rect",
+ "props":{"width":1800,"lineWidth":1,"height":204,"fillColor":"#ff0000"},
+ "nodeParent":260,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":261,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":true
+ },
+ {
+ "x":75,
+ "type":"Image",
+ "props":{"top":-19,"skin":"images/border/achievement_complete@3x.png","right":-19,"left":-80,"bottom":-19},
+ "nodeParent":259,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":257,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "x":75,
+ "type":"Rect",
+ "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":160,"fillColor":"#55fffe"},
+ "nodeParent":259,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":262,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":60,
+ "type":"Box",
+ "props":{"width":15,"name":"grade1","height":160},
+ "nodeParent":139,
+ "label":"Box(grade1)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":141,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"},
+ "nodeParent":141,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":142,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":60,
+ "type":"Box",
+ "props":{"width":15,"name":"grade2","height":160},
+ "nodeParent":139,
+ "label":"Box(grade2)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":143,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"},
+ "nodeParent":143,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":144,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":60,
+ "type":"Box",
+ "props":{"width":15,"name":"grade3","height":160},
+ "nodeParent":139,
+ "label":"Box(grade3)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":145,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"},
+ "nodeParent":145,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":146,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "x":60,
+ "type":"Label",
+ "props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
+ "nodeParent":139,
+ "label":"Label(labTitle)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":147,
+ "child":[
+ ]
+ },
+ {
+ "x":60,
+ "type":"Label",
+ "props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
+ "nodeParent":139,
+ "label":"Label(labDescription)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":148,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$LOCKED":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"x":10,"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":70},
+ "nodeParent":1,
+ "label":"Box(buttonGroup)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":10,
+ "child":[
+ {
+ "x":30,
+ "type":"Button",
+ "props":{"y":100,"x":250,"width":500,"var":"btnAgain","skin":"images/button/button_main@3x.png","name":"btnAgain","label":"UI_Remake_Again","centerY":0,"centerX":0},
+ "nodeParent":10,
+ "label":"Button(btnAgain)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":150,
+ "child":[
+ {
+ "x":45,
+ "type":"Box",
+ "props":{},
+ "nodeParent":150,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":151,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":151,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":152,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":151,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":153,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":154,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":155,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":156,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":157,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":158,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":159,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":160,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":161,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":162,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":163,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":164,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":153,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":165,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "x":45,
+ "type":"Box",
+ "props":{},
+ "nodeParent":150,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":166,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":166,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":167,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":167,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":168,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":167,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":169,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":167,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":170,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":166,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":171,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$LOCKED":true
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }],
+ "$HIDDEN":true
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Talent.ui b/laya/pages/view/DefaultTheme/Talent.ui
new file mode 100644
index 0000000..4961965
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Talent.ui
@@ -0,0 +1,964 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":21,
+ "selecteID":22,
+ "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTalent.png","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"var":"pageDrawCard","top":0,"right":0,"name":"pageDrawCard","left":0,"bottom":0},
+ "nodeParent":1,
+ "label":"Box(pageDrawCard)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":19,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":1117,"x":562,"width":2,"height":2,"centerY":-100,"centerX":0},
+ "nodeParent":19,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":4,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":1,"x":1,"width":100,"source":"view/CyberTheme/animation/lightRotation.ani","height":100,"autoPlay":true},
+ "nodeParent":4,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":3,
+ "child":[
+ ]
+ },
+ {
+ "type":"Image",
+ "props":{"y":585,"skin":"images/border/card@3x.png","scaleY":0.9,"scaleX":0.9,"rotation":15,"centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8},
+ "nodeParent":4,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":10,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Image",
+ "props":{"y":634,"skin":"images/border/card@3x.png","scaleY":0.9,"scaleX":0.9,"rotation":-15,"centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8},
+ "nodeParent":4,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":9,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Image",
+ "props":{"y":634,"skin":"images/border/card@3x.png","centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8},
+ "nodeParent":4,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":8,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Image",
+ "props":{"skin":"images/accessories/cardicon@3x.png","centerY":-30,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":4,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":11,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Button",
+ "props":{"y":1930,"x":563,"width":657,"var":"btnDrawCard","skin":"images/button/button_main@3x.png","name":"btnDrawCard","labelSize":60,"label":"UI_Talent_Draw","height":192,"centerX":0},
+ "nodeParent":19,
+ "label":"Button(btnDrawCard)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":5,
+ "child":[
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":5,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":56,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":93,"x":330,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":5,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":56,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":58,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":56,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":59,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":60,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":625,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":61,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":569,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":62,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":316,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":63,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":64,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":493,"width":120,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":65,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":66,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":487,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":67,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":68,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":613,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":69,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":70,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":632,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":59,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":71,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":5,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":57,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":57,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":72,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":72,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":73,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":621,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":72,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":74,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,305,0,311,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":72,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":75,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":330,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":57,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":76,
+ "child":[
+ ]
+ }]
+ }],
+ "$HIDDEN":false
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"y":0,"x":0,"var":"pageResult","top":0,"right":0,"name":"pageResult","left":0,"bottom":0},
+ "nodeParent":1,
+ "label":"Box(pageResult)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":21,
+ "child":[
+ {
+ "x":30,
+ "type":"List",
+ "props":{"width":1085,"var":"listTalents","vScrollBarSkin":" ","top":310,"name":"listTalents","centerX":0,"bottom":370},
+ "nodeParent":21,
+ "label":"List(listTalents)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":22,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":537,"renderType":"render","height":352},
+ "nodeParent":22,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":23,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/talent_item@3x.png","right":0,"name":"unselected","left":0,"bottom":0},
+ "nodeParent":23,
+ "label":"Image(unselected)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":24,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/talent_item_selected@3x.png","right":0,"name":"selected","left":0,"bottom":3},
+ "nodeParent":23,
+ "label":"Image(selected)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":25,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"HBox",
+ "props":{"top":104,"space":15,"name":"hboxTitle","left":66,"height":58},
+ "nodeParent":23,
+ "label":"HBox(hboxTitle)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":26,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"width":15,"name":"grades","height":58},
+ "nodeParent":26,
+ "label":"Box(grades)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":108,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade1","height":58},
+ "nodeParent":108,
+ "label":"Box(grade1)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":27,
+ "child":[
+ {
+ "type":"Sprite",
+ "props":{},
+ "nodeParent":27,
+ "label":"Sprite",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":28,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#55fffe"},
+ "nodeParent":28,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":29,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade2","height":58},
+ "nodeParent":108,
+ "label":"Box(grade2)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":105,
+ "child":[
+ {
+ "type":"Sprite",
+ "props":{},
+ "nodeParent":105,
+ "label":"Sprite",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":106,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#b17cff"},
+ "nodeParent":106,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":107,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":15,"name":"grade3","height":58},
+ "nodeParent":108,
+ "label":"Box(grade3)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":102,
+ "child":[
+ {
+ "type":"Sprite",
+ "props":{},
+ "nodeParent":102,
+ "label":"Sprite",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":false,
+ "hasChild":true,
+ "compId":103,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#ffce45"},
+ "nodeParent":103,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":104,
+ "child":[
+ ]
+ }],
+ "$HIDDEN":false
+ }]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"x":1,"text":"Title","name":"labTitle","fontSize":58,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":26,
+ "label":"Label(labTitle)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":30,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"y":205,"wordWrap":true,"text":"description","right":66,"name":"labDescription","left":66,"leading":8,"fontSize":44,"font":"方正像素12","color":"#9dacaf"},
+ "nodeParent":23,
+ "label":"Label(labDescription)",
+ "isDirectory":false,
+ "isAniNode":false,
+ "hasChild":false,
+ "compId":32,
+ "child":[
+ ]
+ }]
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":false
+ },
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"right":0,"left":0,"height":1,"bottom":0},
+ "nodeParent":21,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":109,
+ "child":[
+ {
+ "x":45,
+ "type":"Button",
+ "props":{"width":1040,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","labelSize":60,"label":"UI_Next","height":192,"centerY":-180,"centerX":0},
+ "nodeParent":109,
+ "label":"Button(btnNext)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":33,
+ "child":[
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":33,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":78,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":96,"x":520,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":7,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":78,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":80,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":78,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":81,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":82,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":1010,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":83,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":954,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":84,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":700,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":85,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":86,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":877,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":87,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":88,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":871,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":89,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":90,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":998,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":91,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":92,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":1017,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":81,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":93,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{},
+ "nodeParent":33,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":79,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":79,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":94,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":94,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":95,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":1004,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":94,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":96,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,687,0,693,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":94,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":97,
+ "child":[
+ ],
+ "$HIDDEN":false
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":79,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":98,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":true
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":40,"right":0,"name":"title","left":0},
+ "nodeParent":1,
+ "label":"Box(title)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":20,
+ "child":[
+ {
+ "x":30,
+ "type":"Image",
+ "props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
+ "nodeParent":20,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":12,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "x":30,
+ "type":"HBox",
+ "props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":20,
+ "label":"HBox",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":13,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"},
+ "nodeParent":13,
+ "label":"Image(left)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":14,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"y":0,"x":2,"text":"UI_Title_Talent","fontSize":60,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":13,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":17,
+ "child":[
+ ]
+ },
+ {
+ "type":"Image",
+ "props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"},
+ "nodeParent":13,
+ "label":"Image(right)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":15,
+ "child":[
+ ]
+ }]
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":false
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }],
+ "$HIDDEN":false
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Thanks.ui b/laya/pages/view/DefaultTheme/Thanks.ui
new file mode 100644
index 0000000..035ebc1
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Thanks.ui
@@ -0,0 +1,37 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":1,
+ "selecteID":1,
+ "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Button",
+ "props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30},
+ "nodeParent":1,
+ "label":"Button(btnBack)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":2,
+ "child":[
+ ]
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }]
+}
\ No newline at end of file
diff --git a/laya/pages/view/DefaultTheme/Trajectory.ui b/laya/pages/view/DefaultTheme/Trajectory.ui
new file mode 100644
index 0000000..ffa82ea
--- /dev/null
+++ b/laya/pages/view/DefaultTheme/Trajectory.ui
@@ -0,0 +1,1126 @@
+{
+ "x":0,
+ "type":"View",
+ "selectedBox":14,
+ "selecteID":104,
+ "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"ViewBase","height":2436},
+ "nodeParent":-1,
+ "label":"View",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":1,
+ "child":[
+ {
+ "x":15,
+ "type":"Sprite",
+ "props":{"y":0,"x":0},
+ "nodeParent":1,
+ "label":"Sprite",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":29,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
+ "nodeParent":29,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":30,
+ "child":[
+ ],
+ "$HIDDEN":false
+ }],
+ "$HIDDEN":false
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":126,"right":20,"left":20,"height":275},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":31,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":-13,"skin":"images/border/border_2@3x.png","right":-13,"left":-13,"bottom":-13},
+ "nodeParent":31,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":35,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":192,"left":36,"height":192,"centerY":0},
+ "nodeParent":31,
+ "label":"Box",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":32,
+ "child":[
+ ]
+ },
+ {
+ "type":"VBox",
+ "props":{"space":13,"right":45,"left":242,"centerY":0,"align":"left"},
+ "nodeParent":31,
+ "label":"VBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":72,
+ "child":[
+ {
+ "type":"HBox",
+ "props":{"y":1,"space":13,"align":"middle"},
+ "nodeParent":72,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":71,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"x":1,"width":260,"name":"boxCharm","height":82},
+ "nodeParent":71,
+ "label":"Box(boxCharm)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":34,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":34,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":36,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":82,"left":5,"height":82},
+ "nodeParent":34,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":37,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_chr@3x.png","centerY":0,"centerX":0},
+ "nodeParent":37,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":38,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Property_Charm","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":34,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":39,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"width":82,"right":5,"height":82},
+ "nodeParent":34,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":41,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labCharm","text":"10","name":"labCharm","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":41,
+ "label":"Label(labCharm)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":40,
+ "child":[
+ ]
+ }]
+ }],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"x":2,"width":260,"name":"boxMoney","height":82},
+ "nodeParent":71,
+ "label":"Box(boxMoney)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":43,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":43,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":44,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":82,"left":5,"height":82},
+ "nodeParent":43,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":45,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_mny@3x.png","centerY":0,"centerX":0},
+ "nodeParent":45,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":46,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Property_Money","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":43,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":47,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"width":82,"right":5,"height":82},
+ "nodeParent":43,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":48,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labMoney","text":"10","name":"labMoney","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":48,
+ "label":"Label(labMoney)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":49,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"x":3,"width":260,"name":"boxIntelligence","height":82},
+ "nodeParent":71,
+ "label":"Box(boxIntelligence)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":50,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":50,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":51,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":82,"left":5,"height":82},
+ "nodeParent":50,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":52,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_int@3x.png","centerY":0,"centerX":0},
+ "nodeParent":52,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":53,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Property_Intelligence","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":50,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":54,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"width":82,"right":5,"height":82},
+ "nodeParent":50,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":55,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labIntelligence","text":"10","name":"labIntelligence","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":55,
+ "label":"Label(labIntelligence)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":56,
+ "child":[
+ ]
+ }]
+ }],
+ "$HIDDEN":false
+ }]
+ },
+ {
+ "type":"HBox",
+ "props":{"y":2,"space":13,"align":"middle"},
+ "nodeParent":72,
+ "label":"HBox",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":73,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"y":0,"x":0,"width":260,"name":"boxStrength","height":82},
+ "nodeParent":73,
+ "label":"Box(boxStrength)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":74,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":74,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":75,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":82,"left":5,"height":82},
+ "nodeParent":74,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":76,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_str@3x.png","centerY":0,"centerX":0},
+ "nodeParent":76,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":77,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Property_Strength","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":74,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":78,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"width":82,"right":5,"height":82},
+ "nodeParent":74,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":79,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labStrength","text":"10","name":"labStrength","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":79,
+ "label":"Label(labStrength)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":80,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "type":"Box",
+ "props":{"width":260,"name":"boxSpirit","height":82},
+ "nodeParent":73,
+ "label":"Box(boxSpirit)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":81,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":81,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":82,
+ "child":[
+ ],
+ "$HIDDEN":false
+ },
+ {
+ "type":"Box",
+ "props":{"width":82,"left":5,"height":82},
+ "nodeParent":81,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":83,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_spr@3x.png","centerY":0,"centerX":0},
+ "nodeParent":83,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":84,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"text":"UI_Property_Spirit","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":81,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":85,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"y":0,"width":82,"right":5,"height":82},
+ "nodeParent":81,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":86,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"var":"labSpirit","text":"10","name":"labSpirit","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5},
+ "nodeParent":86,
+ "label":"Label(labSpirit)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":87,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$HIDDEN":false
+ }],
+ "$HIDDEN":false
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":false
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"right":0,"left":0,"height":1,"bottom":-1},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":14,
+ "child":[
+ {
+ "x":30,
+ "type":"Button",
+ "props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"人生总结","centerX":0},
+ "nodeParent":14,
+ "label":"Button(btnSummary)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":13,
+ "child":[
+ {
+ "x":45,
+ "type":"Box",
+ "props":{},
+ "nodeParent":13,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":130,
+ "child":[
+ {
+ "type":"Animation",
+ "props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":130,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":132,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":130,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":133,
+ "child":[
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":134,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":135,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":136,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":137,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":138,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":139,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":140,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":141,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":142,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":143,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":144,
+ "child":[
+ ]
+ },
+ {
+ "type":"Rect",
+ "props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
+ "nodeParent":133,
+ "label":"Rect",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":145,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "x":45,
+ "type":"Box",
+ "props":{},
+ "nodeParent":13,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":131,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"renderType":"mask"},
+ "nodeParent":131,
+ "label":"Box",
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":146,
+ "child":[
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":146,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":147,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":146,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":148,
+ "child":[
+ ]
+ },
+ {
+ "type":"Poly",
+ "props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
+ "nodeParent":146,
+ "label":"Poly",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":149,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Animation",
+ "props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
+ "nodeParent":131,
+ "label":"Animation",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":150,
+ "child":[
+ ]
+ }]
+ }],
+ "$HIDDEN":false
+ },
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":-155,"var":"boxSpeed","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":14,
+ "label":"Box(boxSpeed)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":104,
+ "child":[
+ {
+ "x":45,
+ "type":"ProgressBar",
+ "props":{"var":"prgSpeed","skin":"images/progress/progress_s.png","right":0,"name":"prgSpeed","left":0,"bottom":0},
+ "nodeParent":104,
+ "label":"ProgressBar(prgSpeed)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":105,
+ "child":[
+ ]
+ },
+ {
+ "x":45,
+ "type":"HScrollBar",
+ "props":{"var":"scbSpeed","skin":"images/slider/hslider_s.png","right":0,"name":"scbSpeed","min":0,"max":1000,"left":0,"height":60,"bottom":0},
+ "nodeParent":104,
+ "label":"HScrollBar(scbSpeed)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":106,
+ "child":[
+ ]
+ },
+ {
+ "x":45,
+ "type":"Label",
+ "props":{"text":"UI_Manual","fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
+ "nodeParent":104,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":107,
+ "child":[
+ ]
+ },
+ {
+ "x":45,
+ "type":"Label",
+ "props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
+ "nodeParent":104,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":108,
+ "child":[
+ ]
+ }]
+ }],
+ "$LOCKED":true,
+ "$HIDDEN":false
+ },
+ {
+ "x":15,
+ "type":"Box",
+ "props":{"top":440,"right":20,"left":20,"bottom":250},
+ "nodeParent":1,
+ "label":"Box",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":102,
+ "child":[
+ {
+ "x":30,
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/border_1@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":102,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":6,
+ "child":[
+ ]
+ },
+ {
+ "x":30,
+ "type":"Panel",
+ "props":{"var":"panelTrajectory","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":80,"right":20,"name":"panelTrajectory","left":0,"bottom":80},
+ "nodeParent":102,
+ "label":"Panel(panelTrajectory)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":18,
+ "child":[
+ {
+ "x":45,
+ "type":"VBox",
+ "props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20},
+ "nodeParent":18,
+ "label":"VBox(vboxTrajectory)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":17,
+ "child":[
+ {
+ "type":"Box",
+ "props":{"right":0,"name":"boxTrajectoryItem","left":0},
+ "nodeParent":17,
+ "label":"Box(boxTrajectoryItem)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":88,
+ "child":[
+ {
+ "type":"HBox",
+ "props":{"y":0,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},
+ "nodeParent":88,
+ "label":"HBox(hboxAge)",
+ "isOpen":true,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":91,
+ "child":[
+ {
+ "type":"Label",
+ "props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0},
+ "nodeParent":91,
+ "label":"Label(labAge)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":90,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":1,"text":"岁","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0},
+ "nodeParent":91,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":94,
+ "child":[
+ ]
+ },
+ {
+ "type":"Label",
+ "props":{"x":2,"text":":","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0},
+ "nodeParent":91,
+ "label":"Label",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":92,
+ "child":[
+ ]
+ }]
+ },
+ {
+ "type":"Label",
+ "props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
+ "nodeParent":88,
+ "label":"Label(labContent)",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":95,
+ "child":[
+ ]
+ }]
+ }]
+ }],
+ "$HIDDEN":false
+ },
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":20,"x":20,"var":"btnUp","top":20,"right":20,"name":"btnUp","left":20,"height":50},
+ "nodeParent":102,
+ "label":"Box(btnUp)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":19,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":19,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":20,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":60,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":19,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":22,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0},
+ "nodeParent":22,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":24,
+ "child":[
+ ]
+ }]
+ }]
+ },
+ {
+ "x":30,
+ "type":"Box",
+ "props":{"y":1676,"x":20,"var":"btnDown","right":20,"name":"btnDown","left":20,"height":50,"bottom":20},
+ "nodeParent":102,
+ "label":"Box(btnDown)",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":25,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
+ "nodeParent":25,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":26,
+ "child":[
+ ]
+ },
+ {
+ "type":"Box",
+ "props":{"width":60,"rotation":180,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
+ "nodeParent":25,
+ "label":"Box",
+ "isOpen":false,
+ "isDirectory":true,
+ "isAniNode":true,
+ "hasChild":true,
+ "compId":27,
+ "child":[
+ {
+ "type":"Image",
+ "props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0},
+ "nodeParent":27,
+ "label":"Image",
+ "isDirectory":false,
+ "isAniNode":true,
+ "hasChild":false,
+ "compId":28,
+ "child":[
+ ]
+ }]
+ }]
+ }]
+ }],
+ "animations":[
+ {
+ "nodes":[
+ ],
+ "name":"ani1",
+ "id":1,
+ "frameRate":24,
+ "action":0
+ }]
+}
\ No newline at end of file
diff --git a/laya/styles.xml b/laya/styles.xml
index c2f181a..709435b 100644
--- a/laya/styles.xml
+++ b/laya/styles.xml
@@ -35,4 +35,5 @@
+
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 32fd1f6..9345cfd 100644
--- a/public/index.html
+++ b/public/index.html
@@ -70,7 +70,6 @@
-
diff --git a/src/app.js b/src/app.js
index 6a43d80..d7e59ab 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1,4 +1,8 @@
-import ViewTypes from './ui/themes/views.js';
+import UIManager from './ui/uiManager.js';
+
+globalThis.UIManager =
+globalThis.UI =
+UIManager;
class App{
constructor(){
@@ -15,13 +19,14 @@ class App{
#initLaya() {
// Laya.init(1125, 2436, Laya.WebGL);
+ Laya.Config.isAntialias = true;
Laya.init(...this.#fitScreen, Laya.WebGL);
Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE;
Laya.stage.alignH = Laya.Stage.ALIGN_CENTER;
Laya.stage.scaleMode = "showall";
- Laya.stage.bgColor = "#04131f";
+ Laya.stage.bgColor = "#000000";
window.onresize = () => Laya.stage.size(...this.#fitScreen);
}
@@ -67,7 +72,7 @@ class App{
resigterEvent() {
$$on('achievement', achievement => {
- UIManager.getInstance().popup(UIManager.getInstance().themes.popup.ACHIEVEMENT, {achievement});
+ $ui.popup(UI.popups.ACHIEVEMENT, {achievement});
})
}
@@ -76,13 +81,13 @@ class App{
}) {
this.resigterEvent();
this.#initLaya();
- const uiManager = UIManager.getInstance();
- uiManager.themes = ViewTypes.themes.default;
+ globalThis.$ui = UIManager.getInstance();
+ // $ui.theme = 'cyber';
await this.#setLanguage(language);
- await uiManager.setLoading(uiManager.themes.LOADING);
- await uiManager.switchView(uiManager.themes.LOADING);
+ await $ui.setLoading(UI.pages.LOADING);
+ await $ui.switchView(UI.pages.LOADING);
await core.initial(dataSet=>Laya.promises.loader.load(`data/${this.#language}/${dataSet}.json`, null, Laya.Loader.JSON));
- await uiManager.switchView(uiManager.themes.MAIN, null, {
+ await $ui.switchView(UI.pages.MAIN, null, {
load: [
"fonts/方正像素12.ttf",
"images/atlas/images/accessories.atlas",
diff --git a/src/functions/condition.js b/src/functions/condition.js
index f523d5f..d290eef 100644
--- a/src/functions/condition.js
+++ b/src/functions/condition.js
@@ -93,7 +93,7 @@ function checkProp(property, condition) {
case '!=':
if(Array.isArray(propData))
return !propData.includes(conditionData);
- return propData == conditionData;
+ return propData != conditionData;
case '?':
if(Array.isArray(propData)) {
for(const p of propData)
@@ -121,7 +121,7 @@ function extractMaxTriggers(condition) {
// Not age related, single trigger.
return 1;
}
-
+
const age_list = match_object[1].split(",");
return age_list.length;
}
diff --git a/src/ui/layaUI.max.all.js b/src/ui/layaUI.max.all.js
index 6a55637..4f22786 100644
--- a/src/ui/layaUI.max.all.js
+++ b/src/ui/layaUI.max.all.js
@@ -21,10 +21,6 @@ var CyberAchievementUI=(function(_super){
this.labTalentRate=null;
this.boxB=null;
this.listAchievements=null;
- this.colorGrade0=null;
- this.colorGrade1=null;
- this.colorGrade2=null;
- this.colorGrade3=null;
CyberAchievementUI.__super.call(this);
}
@@ -41,7 +37,7 @@ var CyberAchievementUI=(function(_super){
}
- CyberAchievementUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Button","props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30,"stateNum":1,"label":" ","anchorX":0,"anchorY":0.5,"runtime":"ScaleButton"}},{"type":"Box","props":{"width":1,"top":0,"right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120},"child":[{"type":"Label","props":{"y":110,"x":140,"var":"btnStatistics","text":"UI_Statistics","name":"btnStatistics","fontSize":100,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}},{"type":"Label","props":{"y":110,"x":360,"var":"btnAchievement","text":"UI_Achievement","name":"btnAchievement","fontSize":60,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}}]},{"type":"Box","props":{"x":0,"width":2250,"var":"boxPage","top":450,"name":"boxPage","bottom":80},"child":[{"type":"Box","props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0},"child":[{"type":"Box","props":{"width":1125,"top":0,"height":1125,"centerX":0},"child":[{"type":"Image","props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30,"sizeGrid":"75,155,75,155"}},{"type":"Sprite","props":{"y":150,"x":100,"width":920,"height":380},"child":[{"type":"Rect","props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"}},{"type":"Rect","props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"}}]},{"type":"Box","props":{"width":400,"top":150,"left":100,"height":320},"child":[{"type":"HBox","props":{"y":130,"x":0},"child":[{"type":"Label","props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"width":400,"top":150,"right":100,"height":320},"child":[{"type":"HBox","props":{"y":130},"child":[{"type":"Label","props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"right":100,"left":100,"height":450,"bottom":100},"child":[{"type":"Box","props":{"top":25,"right":0,"left":0,"height":180},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]},{"type":"Box","props":{"right":0,"left":0,"height":180,"bottom":30},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]}]}]}]},{"type":"Box","props":{"width":1125,"var":"boxB","top":0,"right":0,"name":"boxB","bottom":0},"child":[{"type":"List","props":{"y":35,"width":1080,"var":"listAchievements","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":35,"name":"listAchievements","centerX":0,"bottom":35},"child":[{"type":"Box","props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},"child":[{"type":"Image","props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20,"sizeGrid":"16,16,16,16"}},{"type":"Image","props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0,"sizeGrid":"74,80,74,80"}},{"type":"Label","props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0}},{"type":"Label","props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"}}]}]}]}]},{"type":"VBox","props":{"visible":false,"name":"colorBox"},"child":[{"type":"Label","props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"}},{"type":"Label","props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"}},{"type":"Label","props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"}},{"type":"Label","props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"}}]}]};
+ CyberAchievementUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Button","props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30,"stateNum":1,"label":" ","anchorX":0,"anchorY":0.5,"runtime":"ScaleButton"}},{"type":"Box","props":{"width":1,"top":0,"right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120},"child":[{"type":"Label","props":{"y":110,"x":140,"var":"btnStatistics","text":"UI_Statistics","name":"btnStatistics","fontSize":100,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}},{"type":"Label","props":{"y":110,"x":360,"var":"btnAchievement","text":"UI_Achievement","name":"btnAchievement","fontSize":60,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}}]},{"type":"Box","props":{"x":0,"width":2250,"var":"boxPage","top":450,"name":"boxPage","bottom":80},"child":[{"type":"Box","props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0},"child":[{"type":"Box","props":{"width":1125,"top":0,"height":1125,"centerX":0},"child":[{"type":"Image","props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30,"sizeGrid":"75,155,75,155"}},{"type":"Sprite","props":{"y":150,"x":100,"width":920,"height":380},"child":[{"type":"Rect","props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"}},{"type":"Rect","props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"}}]},{"type":"Box","props":{"width":400,"top":150,"left":100,"height":320},"child":[{"type":"HBox","props":{"y":130,"x":0},"child":[{"type":"Label","props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"width":400,"top":150,"right":100,"height":320},"child":[{"type":"HBox","props":{"y":130},"child":[{"type":"Label","props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"right":100,"left":100,"height":450,"bottom":100},"child":[{"type":"Box","props":{"top":25,"right":0,"left":0,"height":180},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]},{"type":"Box","props":{"right":0,"left":0,"height":180,"bottom":30},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]}]}]}]},{"type":"Box","props":{"width":1125,"var":"boxB","top":0,"right":0,"name":"boxB","bottom":0},"child":[{"type":"List","props":{"y":35,"width":1080,"var":"listAchievements","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":35,"name":"listAchievements","centerX":0,"bottom":35},"child":[{"type":"Box","props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},"child":[{"type":"Image","props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20,"sizeGrid":"16,16,16,16"}},{"type":"Image","props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0,"sizeGrid":"74,80,74,80"}},{"type":"Label","props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0}},{"type":"Label","props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"}}]}]}]}]}]};
return CyberAchievementUI;
})(View);
var CyberAchievementPopupUI=(function(_super){
@@ -49,10 +45,6 @@ var CyberAchievementPopupUI=(function(_super){
this.boxBg=null;
this.labName=null;
- this.colorGrade0=null;
- this.colorGrade1=null;
- this.colorGrade2=null;
- this.colorGrade3=null;
CyberAchievementPopupUI.__super.call(this);
}
@@ -66,7 +58,7 @@ var CyberAchievementPopupUI=(function(_super){
}
- CyberAchievementPopupUI.uiView={"type":"View","props":{"y":50,"width":570,"mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},"child":[{"type":"Box","props":{},"child":[{"type":"Rect","props":{"width":570,"lineWidth":1,"height":150,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"x":0,"var":"boxBg","name":"boxBg"},"child":[{"type":"Rect","props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"}}]},{"type":"Box","props":{"width":560,"height":150},"child":[{"type":"Image","props":{"x":70,"skin":"images/icons/icon_achievement@3x.png","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"x":150,"var":"labName","text":"所有人都是我","name":"labName","fontSize":60,"font":"方正像素12","color":"#cccccc","centerY":0}}]},{"type":"VBox","props":{"y":0,"x":0,"visible":false,"name":"colorBox"},"child":[{"type":"Label","props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"}},{"type":"Label","props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"}},{"type":"Label","props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"}},{"type":"Label","props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"}}]}]};
+ CyberAchievementPopupUI.uiView={"type":"View","props":{"y":50,"width":570,"mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},"child":[{"type":"Box","props":{},"child":[{"type":"Rect","props":{"width":570,"lineWidth":1,"height":150,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"x":0,"var":"boxBg","name":"boxBg"},"child":[{"type":"Rect","props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"}}]},{"type":"Box","props":{"width":560,"height":150},"child":[{"type":"Image","props":{"x":70,"skin":"images/icons/icon_achievement@3x.png","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"x":150,"var":"labName","text":"所有人都是我","name":"labName","fontSize":60,"font":"方正像素12","color":"#cccccc","centerY":0}}]}]};
return CyberAchievementPopupUI;
})(View);
var CyberMainUI=(function(_super){
@@ -77,8 +69,8 @@ var CyberMainUI=(function(_super){
this.btnRemake=null;
this.btnThanks=null;
this.btnAchievement=null;
- this.btnDiscord=null;
this.btnGithub=null;
+ this.btnDiscord=null;
CyberMainUI.__super.call(this);
}
@@ -95,7 +87,7 @@ var CyberMainUI=(function(_super){
}
- CyberMainUI.uiView={"type":"View","props":{"y":1218,"x":562,"width":1125,"runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"var":"imgBg","skin":"images/background/background_1@3x.png","name":"imgBg","centerY":0,"centerX":0},"child":[{"type":"Animation","props":{"y":0,"x":0,"width":1125,"source":"view/CyberTheme/animation/jumpBackground.ani","interval":80,"height":2436,"blendMode":"lighter","autoPlay":true,"alpha":0.3}}]},{"type":"Image","props":{"var":"imgTitle","skin":"images/accessories/title@3x.png","runtime":"ColorFilterItem","name":"imgTitle","centerY":-350,"centerX":0},"child":[{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":8,"x":8,"skin":"images/accessories/title_neon@3x.png","renderType":"mask"}},{"type":"Animation","props":{"y":286,"x":436,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleY":1.5,"scaleX":5,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Image","props":{"skin":"images/accessories/insert_coin@3x.png","centerY":540,"centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"text":"UI_Title_Remake","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-135,"centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"wordWrap":true,"text":"UI_Title_Subsequent","right":0,"left":0,"fontSize":48,"font":"方正像素12","color":"#828c95","centerY":-20,"anchorY":0.5,"anchorX":0.5,"align":"center"}},{"type":"Label","props":{"text":"UI_Cyber_Theme_Art_Design","right":50,"fontSize":48,"font":"方正像素12","color":"#00fffd","centerY":1165,"anchorY":0.5,"anchorX":0.5}},{"type":"Button","props":{"var":"btnRemake","skin":"images/button/button_main@3x.png","pivotY":96,"pivotX":329,"name":"btnRemake","labelSize":60,"label":"UI_Remake","centerY":720,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":93,"x":330,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":5,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":625,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":569,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":316,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":493,"width":120,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":487,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":613,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":632,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":621,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,305,0,311,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":330,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Box","props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"ScaleButton","name":"btnThanks","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_thanks@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Thanks","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":0,"x":1100,"width":1,"top":0,"right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"ScaleButton","name":"btnAchievement","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_achievement@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Achievement","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":2080,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":2260,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]}]};
+ CyberMainUI.uiView={"type":"View","props":{"y":1218,"x":562,"width":1125,"runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"var":"imgBg","skin":"images/background/background_1@3x.png","name":"imgBg","centerY":0,"centerX":0},"child":[{"type":"Animation","props":{"y":0,"x":0,"width":1125,"source":"view/CyberTheme/animation/jumpBackground.ani","interval":80,"height":2436,"blendMode":"lighter","autoPlay":true,"alpha":0.3}}]},{"type":"Image","props":{"var":"imgTitle","skin":"images/accessories/title@3x.png","runtime":"ColorFilterItem","name":"imgTitle","centerY":-350,"centerX":0},"child":[{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":8,"x":8,"skin":"images/accessories/title_neon@3x.png","renderType":"mask"}},{"type":"Animation","props":{"y":286,"x":436,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleY":1.5,"scaleX":5,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Image","props":{"skin":"images/accessories/insert_coin@3x.png","centerY":540,"centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"text":"UI_Title_Remake","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-135,"centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"wordWrap":true,"text":"UI_Title_Subsequent","right":0,"left":0,"fontSize":48,"font":"方正像素12","color":"#828c95","centerY":-20,"anchorY":0.5,"anchorX":0.5,"align":"center"}},{"type":"Label","props":{"text":"UI_Cyber_Theme_Art_Design","right":50,"fontSize":48,"font":"方正像素12","color":"#00fffd","centerY":1165,"anchorY":0.5,"anchorX":0.5}},{"type":"Button","props":{"var":"btnRemake","skin":"images/button/button_main@3x.png","pivotY":96,"pivotX":329,"name":"btnRemake","labelSize":60,"label":"UI_Remake","centerY":720,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":93,"x":330,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":5,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":625,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":569,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":316,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":493,"width":120,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":487,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":613,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":632,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":621,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,305,0,311,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":330,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Box","props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"ScaleButton","name":"btnThanks","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_thanks@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Thanks","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":0,"x":1100,"width":1,"top":0,"right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"ScaleButton","name":"btnAchievement","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_achievement@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Achievement","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"width":1,"left":0,"height":1,"bottom":0},"child":[{"type":"Box","props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]}]}]};
return CyberMainUI;
})(View);
var CyberPropertyUI=(function(_super){
@@ -173,10 +165,6 @@ var CyberSummaryUI=(function(_super){
this.labSpiritJudge=null;
this.listSelectedTalents=null;
this.btnAgain=null;
- this.colorGrade0=null;
- this.colorGrade1=null;
- this.colorGrade2=null;
- this.colorGrade3=null;
CyberSummaryUI.__super.call(this);
}
@@ -193,7 +181,7 @@ var CyberSummaryUI=(function(_super){
}
- CyberSummaryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"top":40,"right":0,"name":"title","left":0},"child":[{"type":"Image","props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0,"sizeGrid":"0,348,116,348"}},{"type":"HBox","props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"}},{"type":"Label","props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"}},{"type":"Image","props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"}}]}]},{"type":"Box","props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},"child":[{"type":"Image","props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15,"sizeGrid":"75,155,75,155"}},{"type":"Box","props":{"top":60,"right":50,"left":50,"height":220},"child":[{"type":"Box","props":{"width":220,"left":20,"height":220,"centerY":0}},{"type":"Box","props":{"top":0,"right":0,"left":250,"height":100},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labAgeJudge","text":"Judge","right":0,"name":"labAgeJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"right":0,"left":250,"height":100,"bottom":0},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labTotalJudge","text":"Judge","right":0,"name":"labTotalJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]},{"type":"VBox","props":{"top":340,"space":5,"right":50,"left":50},"child":[{"type":"Box","props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgCharm","value":0.91,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgCharm","left":0,"bottom":0}},{"type":"Label","props":{"var":"labCharm","text":"100","strokeColor":"#323232","stroke":8,"name":"labCharm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labCharmJudge","text":"Judge","right":0,"name":"labCharmJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgIntelligence","value":0.57,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgIntelligence","left":0,"bottom":0}},{"type":"Label","props":{"var":"labIntelligence","text":"100","strokeColor":"#323232","stroke":8,"name":"labIntelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labIntelligenceJudge","text":"Judge","right":0,"name":"labIntelligenceJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgStrength","value":0.235,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgStrength","left":0,"bottom":0}},{"type":"Label","props":{"var":"labStrength","text":"100","strokeColor":"#323232","stroke":8,"name":"labStrength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labStrengthJudge","text":"Judge","right":0,"name":"labStrengthJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgMoney","value":0.8,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgMoney","left":0,"bottom":0}},{"type":"Label","props":{"var":"labMoney","text":"100","strokeColor":"#323232","stroke":8,"name":"labMoney","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labMoneyJudge","text":"Judge","right":0,"name":"labMoneyJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Spirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgSpirit","value":0.37,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgSpirit","left":0,"bottom":0}},{"type":"Label","props":{"var":"labSpirit","text":"100","strokeColor":"#323232","stroke":8,"name":"labSpirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labSpiritJudge","text":"Judge","right":0,"name":"labSpiritJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},"child":[{"type":"Label","props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},"child":[{"type":"Box","props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"top":0,"right":0,"name":"selected","left":0,"bottom":0},"child":[{"type":"Box","props":{"y":-22,"x":0,"renderType":"mask"},"child":[{"type":"Rect","props":{"width":1800,"lineWidth":1,"height":204,"fillColor":"#ff0000"}}]},{"type":"Image","props":{"top":-19,"skin":"images/border/achievement_complete@3x.png","right":-19,"left":-80,"bottom":-19,"sizeGrid":"74,80,74,80"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade1","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade2","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"}}]},{"type":"Box","props":{"width":15,"name":"grade3","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"}}]},{"type":"Label","props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0}}]}]}]},{"type":"Box","props":{"x":10,"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":70},"child":[{"type":"Button","props":{"y":100,"x":250,"width":500,"var":"btnAgain","skin":"images/button/button_main@3x.png","name":"btnAgain","label":"UI_Remake_Again","centerY":0,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]}]},{"type":"VBox","props":{"visible":false,"name":"colorBox"},"child":[{"type":"Label","props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"}},{"type":"Label","props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"}},{"type":"Label","props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"}},{"type":"Label","props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"}}]}]};
+ CyberSummaryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"top":40,"right":0,"name":"title","left":0},"child":[{"type":"Image","props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0,"sizeGrid":"0,348,116,348"}},{"type":"HBox","props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"}},{"type":"Label","props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"}},{"type":"Image","props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"}}]}]},{"type":"Box","props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},"child":[{"type":"Image","props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15,"sizeGrid":"75,155,75,155"}},{"type":"Box","props":{"top":60,"right":50,"left":50,"height":220},"child":[{"type":"Box","props":{"width":220,"left":20,"height":220,"centerY":0}},{"type":"Box","props":{"top":0,"right":0,"left":250,"height":100},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labAgeJudge","text":"Judge","right":0,"name":"labAgeJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"right":0,"left":250,"height":100,"bottom":0},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labTotalJudge","text":"Judge","right":0,"name":"labTotalJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]},{"type":"VBox","props":{"top":340,"space":5,"right":50,"left":50},"child":[{"type":"Box","props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgCharm","value":0.91,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgCharm","left":0,"bottom":0}},{"type":"Label","props":{"var":"labCharm","text":"100","strokeColor":"#323232","stroke":8,"name":"labCharm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labCharmJudge","text":"Judge","right":0,"name":"labCharmJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgIntelligence","value":0.57,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgIntelligence","left":0,"bottom":0}},{"type":"Label","props":{"var":"labIntelligence","text":"100","strokeColor":"#323232","stroke":8,"name":"labIntelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labIntelligenceJudge","text":"Judge","right":0,"name":"labIntelligenceJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgStrength","value":0.235,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgStrength","left":0,"bottom":0}},{"type":"Label","props":{"var":"labStrength","text":"100","strokeColor":"#323232","stroke":8,"name":"labStrength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labStrengthJudge","text":"Judge","right":0,"name":"labStrengthJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgMoney","value":0.8,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgMoney","left":0,"bottom":0}},{"type":"Label","props":{"var":"labMoney","text":"100","strokeColor":"#323232","stroke":8,"name":"labMoney","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labMoneyJudge","text":"Judge","right":0,"name":"labMoneyJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Spirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgSpirit","value":0.37,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgSpirit","left":0,"bottom":0}},{"type":"Label","props":{"var":"labSpirit","text":"100","strokeColor":"#323232","stroke":8,"name":"labSpirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labSpiritJudge","text":"Judge","right":0,"name":"labSpiritJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},"child":[{"type":"Label","props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},"child":[{"type":"Box","props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"top":0,"right":0,"name":"selected","left":0,"bottom":0},"child":[{"type":"Box","props":{"y":-22,"x":0,"renderType":"mask"},"child":[{"type":"Rect","props":{"width":1800,"lineWidth":1,"height":204,"fillColor":"#ff0000"}}]},{"type":"Image","props":{"top":-19,"skin":"images/border/achievement_complete@3x.png","right":-19,"left":-80,"bottom":-19,"sizeGrid":"74,80,74,80"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade1","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade2","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"}}]},{"type":"Box","props":{"width":15,"name":"grade3","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"}}]},{"type":"Label","props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0}}]}]}]},{"type":"Box","props":{"x":10,"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":70},"child":[{"type":"Button","props":{"y":100,"x":250,"width":500,"var":"btnAgain","skin":"images/button/button_main@3x.png","name":"btnAgain","label":"UI_Remake_Again","centerY":0,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]}]}]};
return CyberSummaryUI;
})(View);
var CyberTalentUI=(function(_super){
@@ -278,6 +266,270 @@ var CyberTrajectoryUI=(function(_super){
CyberTrajectoryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Sprite","props":{"y":0,"x":0},"child":[{"type":"Rect","props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"}}]},{"type":"Box","props":{"top":126,"right":20,"left":20,"height":275},"child":[{"type":"Image","props":{"top":-13,"skin":"images/border/border_2@3x.png","right":-13,"left":-13,"bottom":-13,"sizeGrid":"75,155,75,155"}},{"type":"Box","props":{"width":192,"left":36,"height":192,"centerY":0}},{"type":"VBox","props":{"space":13,"right":45,"left":242,"centerY":0,"align":"left"},"child":[{"type":"HBox","props":{"y":1,"space":13,"align":"middle"},"child":[{"type":"Box","props":{"x":1,"width":260,"name":"boxCharm","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Charm","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labCharm","text":"10","name":"labCharm","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":0,"x":2,"width":260,"name":"boxMoney","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Money","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labMoney","text":"10","name":"labMoney","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":3,"width":260,"name":"boxIntelligence","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Intelligence","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labIntelligence","text":"10","name":"labIntelligence","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]}]},{"type":"HBox","props":{"y":2,"space":13,"align":"middle"},"child":[{"type":"Box","props":{"y":0,"x":0,"width":260,"name":"boxStrength","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Strength","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labStrength","text":"10","name":"labStrength","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"width":260,"name":"boxSpirit","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_spr@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Spirit","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labSpirit","text":"10","name":"labSpirit","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]}]}]}]},{"type":"Box","props":{"right":0,"left":0,"height":1,"bottom":-1},"child":[{"type":"Button","props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"人生总结","centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Box","props":{"y":-155,"var":"boxSpeed","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"ProgressBar","props":{"var":"prgSpeed","skin":"images/progress/progress_s.png","right":0,"name":"prgSpeed","left":0,"bottom":0}},{"type":"HScrollBar","props":{"var":"scbSpeed","skin":"images/slider/hslider_s.png","right":0,"name":"scbSpeed","min":0,"max":1000,"left":0,"height":60,"bottom":0}},{"type":"Label","props":{"text":"UI_Manual","fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70}},{"type":"Label","props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70}}]}]},{"type":"Box","props":{"top":440,"right":20,"left":20,"bottom":250},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/border_1@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"130,130,130,130"}},{"type":"Panel","props":{"var":"panelTrajectory","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":80,"right":20,"name":"panelTrajectory","left":0,"bottom":80},"child":[{"type":"VBox","props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20},"child":[{"type":"Box","props":{"right":0,"name":"boxTrajectoryItem","left":0},"child":[{"type":"HBox","props":{"y":0,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},"child":[{"type":"Label","props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":1,"text":"岁","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":2,"text":":","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}}]},{"type":"Label","props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"}}]}]}]},{"type":"Box","props":{"y":20,"x":20,"var":"btnUp","top":20,"right":20,"name":"btnUp","left":20,"height":50},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"width":60,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0}}]}]},{"type":"Box","props":{"y":1676,"x":20,"var":"btnDown","right":20,"name":"btnDown","left":20,"height":50,"bottom":20},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"width":60,"rotation":180,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0}}]}]}]}]};
return CyberTrajectoryUI;
})(View);
+var AchievementUI=(function(_super){
+ function AchievementUI(){
+
+ this.btnBack=null;
+ this.btnRank=null;
+ this.btnStatistics=null;
+ this.btnAchievement=null;
+ this.boxPage=null;
+ this.boxA=null;
+ this.labRemakeTimes=null;
+ this.labRemakeTimesJudge=null;
+ this.labAchievementCount=null;
+ this.labAchievementCountJudge=null;
+ this.prgEventRate=null;
+ this.labEventRate=null;
+ this.prgTalentRate=null;
+ this.labTalentRate=null;
+ this.boxB=null;
+ this.listAchievements=null;
+
+ AchievementUI.__super.call(this);
+ }
+
+ CLASS$(AchievementUI,'ui.view.DefaultTheme.AchievementUI',_super);
+ var __proto__=AchievementUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ScaleButton",ScaleButton);
+ View.regComponent("ColorFilterItem",ColorFilterItem);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(AchievementUI.uiView);
+
+ }
+
+ AchievementUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Button","props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30,"stateNum":1,"label":" ","anchorX":0,"anchorY":0.5,"runtime":"ScaleButton"}},{"type":"Box","props":{"width":1,"top":0,"right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"8,8,8,8","stateNum":1,"label":" ","runtime":"ScaleButton"}},{"type":"Box","props":{"width":90,"left":8,"height":90},"child":[{"type":"Image","props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120},"child":[{"type":"Label","props":{"y":110,"x":140,"var":"btnStatistics","text":"UI_Statistics","name":"btnStatistics","fontSize":100,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}},{"type":"Label","props":{"y":110,"x":360,"var":"btnAchievement","text":"UI_Achievement","name":"btnAchievement","fontSize":60,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5}}]},{"type":"Box","props":{"x":0,"width":2250,"var":"boxPage","top":450,"name":"boxPage","bottom":80},"child":[{"type":"Box","props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0},"child":[{"type":"Box","props":{"width":1125,"top":0,"height":1125,"centerX":0},"child":[{"type":"Image","props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30,"sizeGrid":"75,155,75,155"}},{"type":"Sprite","props":{"y":150,"x":100,"width":920,"height":380},"child":[{"type":"Rect","props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"}},{"type":"Rect","props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"}}]},{"type":"Box","props":{"width":400,"top":150,"left":100,"height":320},"child":[{"type":"HBox","props":{"y":130,"x":0},"child":[{"type":"Label","props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"width":400,"top":150,"right":100,"height":320},"child":[{"type":"HBox","props":{"y":130},"child":[{"type":"Label","props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0}}]},{"type":"Label","props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"Label","props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0}}]},{"type":"Box","props":{"right":100,"left":100,"height":450,"bottom":100},"child":[{"type":"Box","props":{"top":25,"right":0,"left":0,"height":180},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]},{"type":"Box","props":{"right":0,"left":0,"height":180,"bottom":30},"child":[{"type":"Label","props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0}},{"type":"ProgressBar","props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0,"sizeGrid":"24,24,24,24,1"}},{"type":"Label","props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1}}]}]}]}]},{"type":"Box","props":{"width":1125,"var":"boxB","top":0,"right":0,"name":"boxB","bottom":0},"child":[{"type":"List","props":{"y":35,"width":1080,"var":"listAchievements","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":35,"name":"listAchievements","centerX":0,"bottom":35},"child":[{"type":"Box","props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},"child":[{"type":"Image","props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20,"sizeGrid":"16,16,16,16"}},{"type":"Image","props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0,"sizeGrid":"74,80,74,80"}},{"type":"Label","props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0}},{"type":"Label","props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"}}]}]}]}]}]};
+ return AchievementUI;
+ })(View);
+var AchievementPopupUI=(function(_super){
+ function AchievementPopupUI(){
+
+ this.boxBg=null;
+ this.labName=null;
+
+ AchievementPopupUI.__super.call(this);
+ }
+
+ CLASS$(AchievementPopupUI,'ui.view.DefaultTheme.AchievementPopupUI',_super);
+ var __proto__=AchievementPopupUI.prototype;
+ __proto__.createChildren=function(){
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(AchievementPopupUI.uiView);
+
+ }
+
+ AchievementPopupUI.uiView={"type":"View","props":{"y":50,"width":570,"mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},"child":[{"type":"Box","props":{},"child":[{"type":"Rect","props":{"width":570,"lineWidth":1,"height":150,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"x":0,"var":"boxBg","name":"boxBg"},"child":[{"type":"Rect","props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"}}]},{"type":"Box","props":{"width":560,"height":150},"child":[{"type":"Image","props":{"x":70,"skin":"images/icons/icon_achievement@3x.png","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"x":150,"var":"labName","text":"所有人都是我","name":"labName","fontSize":60,"font":"方正像素12","color":"#cccccc","centerY":0}}]}]};
+ return AchievementPopupUI;
+ })(View);
+var MainUI=(function(_super){
+ function MainUI(){
+
+ this.labTitle=null;
+ this.labSubTitle=null;
+ this.btnRemake=null;
+ this.btnThanks=null;
+ this.btnAchievement=null;
+ this.btnGithub=null;
+ this.btnDiscord=null;
+
+ MainUI.__super.call(this);
+ }
+
+ CLASS$(MainUI,'ui.view.DefaultTheme.MainUI',_super);
+ var __proto__=MainUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ColorfulBox",ColorfulBox);
+ View.regComponent("ScaleButton",ScaleButton);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(MainUI.uiView);
+
+ }
+
+ MainUI.uiView={"type":"View","props":{"y":1218,"x":562,"width":1125,"runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"var":"labTitle","text":"UI_Title_Remake","name":"labTitle","fontSize":130,"font":"SimHei","color":"#ffffff","centerY":-260,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5}},{"type":"Label","props":{"wordWrap":true,"var":"labSubTitle","text":"UI_Title_Subsequent","right":0,"name":"labSubTitle","left":0,"fontSize":70,"font":"SimHei","color":"#999999","centerY":-120,"anchorY":0.5,"anchorX":0.5,"align":"center"}},{"type":"Box","props":{"width":600,"var":"btnRemake","runtime":"ColorfulBox","name":"btnRemake","height":150,"centerY":600,"centerX":0},"child":[{"type":"Label","props":{"text":"UI_Remake","name":"label","fontSize":70,"font":"SimHei","centerY":0,"centerX":0}}]},{"type":"Box","props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"ColorfulBox","name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"text":"UI_Thanks","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":0,"x":1100,"width":1,"top":0,"runtime":"ColorfulBox","right":0,"height":1},"child":[{"type":"Box","props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"ColorfulBox","name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"text":"UI_Achievement","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"width":1,"left":0,"height":1,"bottom":0},"child":[{"type":"Box","props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Box","props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}}]}]}]};
+ return MainUI;
+ })(View);
+var PropertyUI=(function(_super){
+ function PropertyUI(){
+
+ this.labLeftPropertyPoint=null;
+ this.boxCharm=null;
+ this.boxCharmAllocate=null;
+ this.btnCharmReduce=null;
+ this.inputCharm=null;
+ this.btnCharmIncrease=null;
+ this.boxIntelligence=null;
+ this.boxIntelligenceAllocate=null;
+ this.btnIntelligenceReduce=null;
+ this.inputIntelligence=null;
+ this.btnIntelligenceIncrease=null;
+ this.boxStrength=null;
+ this.boxStrengthAllocate=null;
+ this.btnStrengthReduce=null;
+ this.inputStrength=null;
+ this.btnStrengthIncrease=null;
+ this.boxMoney=null;
+ this.boxMoneyAllocate=null;
+ this.btnMoneyReduce=null;
+ this.inputMoney=null;
+ this.btnMoneyIncrease=null;
+ this.listSelectedTalents=null;
+ this.btnRandomAllocate=null;
+ this.btnNext=null;
+
+ PropertyUI.__super.call(this);
+ }
+
+ CLASS$(PropertyUI,'ui.view.DefaultTheme.PropertyUI',_super);
+ var __proto__=PropertyUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ScaleButton",ScaleButton);
+ View.regComponent("ColorFilterItem",ColorFilterItem);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(PropertyUI.uiView);
+
+ }
+
+ PropertyUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"top":40,"right":0,"name":"title","left":0},"child":[{"type":"Image","props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0,"sizeGrid":"0,348,116,348"}},{"type":"HBox","props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"}},{"type":"Label","props":{"y":0,"x":2,"text":"UI_Title_Property","fontSize":60,"font":"方正像素12","color":"#ffffff"}},{"type":"Image","props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"}}]}]},{"type":"Box","props":{"top":340,"right":40,"name":"propertyAllocate","left":40,"height":840},"child":[{"type":"Image","props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15,"sizeGrid":"75,155,75,155"}},{"type":"HBox","props":{"top":680,"right":80,"height":100},"child":[{"type":"Label","props":{"x":0,"text":"UI_Left_Property_Point","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"labLeftPropertyPoint","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":0}}]},{"type":"VBox","props":{"top":90,"space":22,"right":50,"left":50,"height":600},"child":[{"type":"Box","props":{"y":0,"var":"boxCharm","right":0,"name":"boxCharm","left":0,"height":130},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":183,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxCharmAllocate","right":30,"name":"boxCharmAllocate","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"var":"btnCharmReduce","name":"btnCharmReduce","left":0,"height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]},{"type":"Box","props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},"child":[{"type":"TextInput","props":{"var":"inputCharm","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center","sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},"child":[{"type":"Rect","props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}}]}]},{"type":"Box","props":{"width":110,"var":"btnCharmIncrease","right":0,"name":"btnCharmIncrease","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]}]}]},{"type":"Box","props":{"y":1,"var":"boxIntelligence","right":0,"name":"boxIntelligence","left":0,"height":130},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":183,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxIntelligenceAllocate","right":30,"name":"boxIntelligenceAllocate","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"var":"btnIntelligenceReduce","name":"btnIntelligenceReduce","left":0,"height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]},{"type":"Box","props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},"child":[{"type":"TextInput","props":{"var":"inputIntelligence","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center","sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},"child":[{"type":"Rect","props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}}]}]},{"type":"Box","props":{"width":110,"var":"btnIntelligenceIncrease","right":0,"name":"btnIntelligenceIncrease","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]}]}]},{"type":"Box","props":{"y":2,"var":"boxStrength","right":0,"name":"boxStrength","left":0,"height":130},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":183,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxStrengthAllocate","right":30,"name":"boxStrengthAllocate","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"var":"btnStrengthReduce","name":"btnStrengthReduce","left":0,"height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]},{"type":"Box","props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},"child":[{"type":"TextInput","props":{"var":"inputStrength","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center","sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},"child":[{"type":"Rect","props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}}]}]},{"type":"Box","props":{"width":110,"var":"btnStrengthIncrease","right":0,"name":"btnStrengthIncrease","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]}]}]},{"type":"Box","props":{"y":3,"var":"boxMoney","right":0,"name":"boxMoney","left":0,"height":130},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":183,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxMoneyAllocate","right":30,"name":"boxMoneyAllocate","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"var":"btnMoneyReduce","name":"btnMoneyReduce","left":0,"height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]},{"type":"Box","props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},"child":[{"type":"TextInput","props":{"var":"inputMoney","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center","sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},"child":[{"type":"Rect","props":{"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#55fffe"}}]}]},{"type":"Box","props":{"width":110,"var":"btnMoneyIncrease","right":0,"name":"btnMoneyIncrease","height":110,"centerY":0},"child":[{"type":"Box","props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Box","props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}}]}]}]}]}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":500},"child":[{"type":"Label","props":{"top":20,"text":"UI_Selected_Talent","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},"child":[{"type":"Box","props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"width":15,"name":"grade1","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade2","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"}}]},{"type":"Box","props":{"width":15,"name":"grade3","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"}}]},{"type":"Label","props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0}}]}]}]},{"type":"Box","props":{"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":90},"child":[{"type":"Box","props":{"width":500,"top":0,"left":0,"bottom":0},"child":[{"type":"Button","props":{"width":500,"var":"btnRandomAllocate","skin":"images/button/button_main@3x.png","name":"btnRandomAllocate","label":"UI_Random_Allocate","centerY":0,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]}]},{"type":"Box","props":{"width":500,"top":0,"right":0,"bottom":0},"child":[{"type":"Button","props":{"width":500,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","label":"UI_Make_New_Life","centerY":0,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":250,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true}}]}]}]}]}]};
+ return PropertyUI;
+ })(View);
+var SummaryUI=(function(_super){
+ function SummaryUI(){
+
+ this.labAge=null;
+ this.labAgeJudge=null;
+ this.labTotal=null;
+ this.labTotalJudge=null;
+ this.boxCharmGrade=null;
+ this.prgCharm=null;
+ this.labCharm=null;
+ this.labCharmJudge=null;
+ this.boxIntelligenceGrade=null;
+ this.prgIntelligence=null;
+ this.labIntelligence=null;
+ this.labIntelligenceJudge=null;
+ this.boxStrengthGrade=null;
+ this.prgStrength=null;
+ this.labStrength=null;
+ this.labStrengthJudge=null;
+ this.boxMoneyGrade=null;
+ this.prgMoney=null;
+ this.labMoney=null;
+ this.labMoneyJudge=null;
+ this.boxSpiritGrade=null;
+ this.prgSpirit=null;
+ this.labSpirit=null;
+ this.labSpiritJudge=null;
+ this.listSelectedTalents=null;
+ this.btnAgain=null;
+
+ SummaryUI.__super.call(this);
+ }
+
+ CLASS$(SummaryUI,'ui.view.DefaultTheme.SummaryUI',_super);
+ var __proto__=SummaryUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ColorFilterItem",ColorFilterItem);
+ View.regComponent("ScaleButton",ScaleButton);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(SummaryUI.uiView);
+
+ }
+
+ SummaryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"top":40,"right":0,"name":"title","left":0},"child":[{"type":"Image","props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0,"sizeGrid":"0,348,116,348"}},{"type":"HBox","props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"}},{"type":"Label","props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"}},{"type":"Image","props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"}}]}]},{"type":"Box","props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},"child":[{"type":"Image","props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15,"sizeGrid":"75,155,75,155"}},{"type":"Box","props":{"top":60,"right":50,"left":50,"height":220},"child":[{"type":"Box","props":{"width":220,"left":20,"height":220,"centerY":0}},{"type":"Box","props":{"top":0,"right":0,"left":250,"height":100},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labAgeJudge","text":"Judge","right":0,"name":"labAgeJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"right":0,"left":250,"height":100,"bottom":0},"child":[{"type":"Box","props":{"width":320,"top":5,"left":5,"bottom":5},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"HBox","props":{"left":20,"centerY":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}},{"type":"Label","props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"}}]},{"type":"Label","props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labTotalJudge","text":"Judge","right":0,"name":"labTotalJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]},{"type":"VBox","props":{"top":340,"space":5,"right":50,"left":50},"child":[{"type":"Box","props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgCharm","value":0.91,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgCharm","left":0,"bottom":0}},{"type":"Label","props":{"var":"labCharm","text":"100","strokeColor":"#323232","stroke":8,"name":"labCharm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labCharmJudge","text":"Judge","right":0,"name":"labCharmJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgIntelligence","value":0.57,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgIntelligence","left":0,"bottom":0}},{"type":"Label","props":{"var":"labIntelligence","text":"100","strokeColor":"#323232","stroke":8,"name":"labIntelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labIntelligenceJudge","text":"Judge","right":0,"name":"labIntelligenceJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgStrength","value":0.235,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgStrength","left":0,"bottom":0}},{"type":"Label","props":{"var":"labStrength","text":"100","strokeColor":"#323232","stroke":8,"name":"labStrength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labStrengthJudge","text":"Judge","right":0,"name":"labStrengthJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgMoney","value":0.8,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgMoney","left":0,"bottom":0}},{"type":"Label","props":{"var":"labMoney","text":"100","strokeColor":"#323232","stroke":8,"name":"labMoney","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labMoneyJudge","text":"Judge","right":0,"name":"labMoneyJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Box","props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},"child":[{"type":"Box","props":{"width":120,"left":0,"height":120,"centerY":0},"child":[{"type":"Image","props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0}}]},{"type":"Label","props":{"x":170,"text":"UI_Property_Spirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},"child":[{"type":"ProgressBar","props":{"var":"prgSpirit","value":0.37,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgSpirit","left":0,"bottom":0}},{"type":"Label","props":{"var":"labSpirit","text":"100","strokeColor":"#323232","stroke":8,"name":"labSpirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]},{"type":"Label","props":{"width":220,"var":"labSpiritJudge","text":"Judge","right":0,"name":"labSpiritJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"}}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},"child":[{"type":"Label","props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},"child":[{"type":"Box","props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"top":0,"right":0,"name":"selected","left":0,"bottom":0},"child":[{"type":"Box","props":{"y":-22,"x":0,"renderType":"mask"},"child":[{"type":"Rect","props":{"width":1800,"lineWidth":1,"height":204,"fillColor":"#ff0000"}}]},{"type":"Image","props":{"top":-19,"skin":"images/border/achievement_complete@3x.png","right":-19,"left":-80,"bottom":-19,"sizeGrid":"74,80,74,80"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade1","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#55fffe"}}]},{"type":"Box","props":{"width":15,"name":"grade2","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#b17cff"}}]},{"type":"Box","props":{"width":15,"name":"grade3","height":160},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"}}]},{"type":"Label","props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0}},{"type":"Label","props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0}}]}]}]},{"type":"Box","props":{"x":10,"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":70},"child":[{"type":"Button","props":{"y":100,"x":250,"width":500,"var":"btnAgain","skin":"images/button/button_main@3x.png","name":"btnAgain","label":"UI_Remake_Again","centerY":0,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]}]}]};
+ return SummaryUI;
+ })(View);
+var TalentUI=(function(_super){
+ function TalentUI(){
+
+ this.pageDrawCard=null;
+ this.btnDrawCard=null;
+ this.pageResult=null;
+ this.listTalents=null;
+ this.btnNext=null;
+
+ TalentUI.__super.call(this);
+ }
+
+ CLASS$(TalentUI,'ui.view.DefaultTheme.TalentUI',_super);
+ var __proto__=TalentUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ScaleButton",ScaleButton);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(TalentUI.uiView);
+
+ }
+
+ TalentUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"var":"pageDrawCard","top":0,"right":0,"name":"pageDrawCard","left":0,"bottom":0},"child":[{"type":"Box","props":{"y":1117,"x":562,"width":2,"height":2,"centerY":-100,"centerX":0},"child":[{"type":"Animation","props":{"y":1,"x":1,"width":100,"source":"view/CyberTheme/animation/lightRotation.ani","height":100,"autoPlay":true}},{"type":"Image","props":{"y":585,"skin":"images/border/card@3x.png","scaleY":0.9,"scaleX":0.9,"rotation":15,"centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8}},{"type":"Image","props":{"y":634,"skin":"images/border/card@3x.png","scaleY":0.9,"scaleX":0.9,"rotation":-15,"centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8}},{"type":"Image","props":{"y":634,"skin":"images/border/card@3x.png","centerY":-50,"centerX":0,"anchorY":1.2,"anchorX":0.5,"alpha":0.8}},{"type":"Image","props":{"skin":"images/accessories/cardicon@3x.png","centerY":-30,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"Button","props":{"y":1930,"x":563,"width":657,"var":"btnDrawCard","skin":"images/button/button_main@3x.png","name":"btnDrawCard","labelSize":60,"label":"UI_Talent_Draw","height":192,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":93,"x":330,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":5,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":625,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":569,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":316,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":493,"width":120,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":487,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":613,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":632,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":621,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,305,0,311,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":330,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":4,"blendMode":"lighter","autoPlay":true}}]}]}]},{"type":"Box","props":{"y":0,"x":0,"var":"pageResult","top":0,"right":0,"name":"pageResult","left":0,"bottom":0},"child":[{"type":"List","props":{"width":1085,"var":"listTalents","vScrollBarSkin":" ","top":310,"name":"listTalents","centerX":0,"bottom":370},"child":[{"type":"Box","props":{"width":537,"renderType":"render","height":352},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/talent_item@3x.png","right":0,"name":"unselected","left":0,"bottom":0}},{"type":"Image","props":{"top":0,"skin":"images/border/talent_item_selected@3x.png","right":0,"name":"selected","left":0,"bottom":3,"sizeGrid":"106,150,74,150"}},{"type":"HBox","props":{"top":104,"space":15,"name":"hboxTitle","left":66,"height":58},"child":[{"type":"Box","props":{"y":0,"x":0,"width":15,"name":"grades","height":58},"child":[{"type":"Box","props":{"width":15,"name":"grade1","height":58},"child":[{"type":"Sprite","props":{},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#55fffe"}}]}]},{"type":"Box","props":{"width":15,"name":"grade2","height":58},"child":[{"type":"Sprite","props":{},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#b17cff"}}]}]},{"type":"Box","props":{"width":15,"name":"grade3","height":58},"child":[{"type":"Sprite","props":{},"child":[{"type":"Rect","props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#ffce45"}}]}]}]},{"type":"Label","props":{"x":1,"text":"Title","name":"labTitle","fontSize":58,"font":"方正像素12","color":"#ffffff"}}]},{"type":"Label","props":{"y":205,"wordWrap":true,"text":"description","right":66,"name":"labDescription","left":66,"leading":8,"fontSize":44,"font":"方正像素12","color":"#9dacaf"}}]}]},{"type":"Box","props":{"right":0,"left":0,"height":1,"bottom":0},"child":[{"type":"Button","props":{"width":1040,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","labelSize":60,"label":"UI_Next","height":192,"centerY":-180,"centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":520,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":7,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":1010,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":954,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":700,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":877,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":871,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":998,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":1017,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":1004,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,687,0,693,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]}]}]},{"type":"Box","props":{"top":40,"right":0,"name":"title","left":0},"child":[{"type":"Image","props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0,"sizeGrid":"0,348,116,348"}},{"type":"HBox","props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"}},{"type":"Label","props":{"y":0,"x":2,"text":"UI_Title_Talent","fontSize":60,"font":"方正像素12","color":"#ffffff"}},{"type":"Image","props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"}}]}]}]};
+ return TalentUI;
+ })(View);
+var ThanksUI=(function(_super){
+ function ThanksUI(){
+
+ this.btnBack=null;
+
+ ThanksUI.__super.call(this);
+ }
+
+ CLASS$(ThanksUI,'ui.view.DefaultTheme.ThanksUI',_super);
+ var __proto__=ThanksUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ScaleButton",ScaleButton);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(ThanksUI.uiView);
+
+ }
+
+ ThanksUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Button","props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30,"stateNum":1,"label":" ","anchorX":0,"anchorY":0.5,"runtime":"ScaleButton"}}]};
+ return ThanksUI;
+ })(View);
+var TrajectoryUI=(function(_super){
+ function TrajectoryUI(){
+
+ this.labCharm=null;
+ this.labMoney=null;
+ this.labIntelligence=null;
+ this.labStrength=null;
+ this.labSpirit=null;
+ this.btnSummary=null;
+ this.boxSpeed=null;
+ this.prgSpeed=null;
+ this.scbSpeed=null;
+ this.panelTrajectory=null;
+ this.vboxTrajectory=null;
+ this.btnUp=null;
+ this.btnDown=null;
+
+ TrajectoryUI.__super.call(this);
+ }
+
+ CLASS$(TrajectoryUI,'ui.view.DefaultTheme.TrajectoryUI',_super);
+ var __proto__=TrajectoryUI.prototype;
+ __proto__.createChildren=function(){
+ View.regComponent("ViewBase",ViewBase);
+ View.regComponent("ScaleButton",ScaleButton);
+
+ laya.ui.Component.prototype.createChildren.call(this);
+ this.createView(TrajectoryUI.uiView);
+
+ }
+
+ TrajectoryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Sprite","props":{"y":0,"x":0},"child":[{"type":"Rect","props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"}}]},{"type":"Box","props":{"top":126,"right":20,"left":20,"height":275},"child":[{"type":"Image","props":{"top":-13,"skin":"images/border/border_2@3x.png","right":-13,"left":-13,"bottom":-13,"sizeGrid":"75,155,75,155"}},{"type":"Box","props":{"width":192,"left":36,"height":192,"centerY":0}},{"type":"VBox","props":{"space":13,"right":45,"left":242,"centerY":0,"align":"left"},"child":[{"type":"HBox","props":{"y":1,"space":13,"align":"middle"},"child":[{"type":"Box","props":{"x":1,"width":260,"name":"boxCharm","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_chr@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Charm","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labCharm","text":"10","name":"labCharm","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"y":0,"x":2,"width":260,"name":"boxMoney","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_mny@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Money","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labMoney","text":"10","name":"labMoney","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":3,"width":260,"name":"boxIntelligence","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_int@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Intelligence","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labIntelligence","text":"10","name":"labIntelligence","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]}]},{"type":"HBox","props":{"y":2,"space":13,"align":"middle"},"child":[{"type":"Box","props":{"y":0,"x":0,"width":260,"name":"boxStrength","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_str@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Strength","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labStrength","text":"10","name":"labStrength","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]},{"type":"Box","props":{"width":260,"name":"boxSpirit","height":82},"child":[{"type":"Image","props":{"y":-10,"x":-5,"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"15,15,15,15"}},{"type":"Box","props":{"width":82,"left":5,"height":82},"child":[{"type":"Image","props":{"skin":"images/icons/icon_spr@3x.png","centerY":0,"centerX":0}}]},{"type":"Label","props":{"text":"UI_Property_Spirit","fontSize":40,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}},{"type":"Box","props":{"y":0,"width":82,"right":5,"height":82},"child":[{"type":"Label","props":{"var":"labSpirit","text":"10","name":"labSpirit","fontSize":55,"font":"方正像素12","color":"#55fffe","centerY":0,"centerX":0,"anchorY":5,"anchorX":0.5}}]}]}]}]}]},{"type":"Box","props":{"right":0,"left":0,"height":1,"bottom":-1},"child":[{"type":"Button","props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"人生总结","centerX":0,"stateNum":1,"anchorX":0.5,"anchorY":0.5,"sizeGrid":"45,200,45,200","labelFont":"方正像素12","labelColors":"#00fffc,#00fffc,#00fffc","labelSize":50,"runtime":"ScaleButton"},"child":[{"type":"Box","props":{},"child":[{"type":"Animation","props":{"y":96,"x":250,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":4,"height":0,"blendMode":"lighter","autoPlay":true}},{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Rect","props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":37,"x":470,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":44,"width":414,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":171,"width":160,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":163,"x":337,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":150,"x":331,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":21,"x":458,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}},{"type":"Rect","props":{"y":153,"x":477,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"}}]}]},{"type":"Box","props":{},"child":[{"type":"Box","props":{"renderType":"mask"},"child":[{"type":"Poly","props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":41,"x":464,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}},{"type":"Poly","props":{"y":160,"x":177,"points":"0,0,147,0,153,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"}}]},{"type":"Animation","props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true}}]}]},{"type":"Box","props":{"y":-155,"var":"boxSpeed","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"ProgressBar","props":{"var":"prgSpeed","skin":"images/progress/progress_s.png","right":0,"name":"prgSpeed","left":0,"bottom":0}},{"type":"HScrollBar","props":{"var":"scbSpeed","skin":"images/slider/hslider_s.png","right":0,"name":"scbSpeed","min":0,"max":1000,"left":0,"height":60,"bottom":0}},{"type":"Label","props":{"text":"UI_Manual","fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70}},{"type":"Label","props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70}}]}]},{"type":"Box","props":{"top":440,"right":20,"left":20,"bottom":250},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/border_1@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"130,130,130,130"}},{"type":"Panel","props":{"var":"panelTrajectory","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":80,"right":20,"name":"panelTrajectory","left":0,"bottom":80},"child":[{"type":"VBox","props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20},"child":[{"type":"Box","props":{"right":0,"name":"boxTrajectoryItem","left":0},"child":[{"type":"HBox","props":{"y":0,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},"child":[{"type":"Label","props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":1,"text":"岁","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":2,"text":":","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}}]},{"type":"Label","props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"}}]}]}]},{"type":"Box","props":{"y":20,"x":20,"var":"btnUp","top":20,"right":20,"name":"btnUp","left":20,"height":50},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"width":60,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0}}]}]},{"type":"Box","props":{"y":1676,"x":20,"var":"btnDown","right":20,"name":"btnDown","left":20,"height":50,"bottom":20},"child":[{"type":"Image","props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0,"sizeGrid":"4,4,4,4"}},{"type":"Box","props":{"width":60,"rotation":180,"height":60,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Image","props":{"skin":"images/icons/icon_up@3x.png","centerY":0,"centerX":0}}]}]}]}]};
+ return TrajectoryUI;
+ })(View);
var LoadingUI=(function(_super){
function LoadingUI(){
diff --git a/src/ui/runtime.js b/src/ui/runtime.js
index b5f589a..634a811 100644
--- a/src/ui/runtime.js
+++ b/src/ui/runtime.js
@@ -1,5 +1,3 @@
-
-
class ColorFilterItem extends Laya.Image {
constructor() {
super();
@@ -72,6 +70,7 @@ class ScaleButton extends Laya.Button {
}
onMouse(type) {
+ Laya.Tween.clearAll(this);
switch (type) {
case Laya.Event.MOUSE_DOWN:
Laya.Tween.to(this, { scaleX: 0.9, scaleY: 0.9 }, 100);
@@ -86,3 +85,362 @@ class ScaleButton extends Laya.Button {
}
}
+class RGBAItem {
+ constructor(config={}) {
+ for(const key in config)
+ switch(key) {
+ case 'r':
+ case 'g':
+ case 'b':
+ case 'a':
+ case 'hex':
+ case 'hexa':
+ case 'rgb':
+ case 'rgba':
+ this[key] = config[key];
+ break;
+ case 'on':
+ this.on(config[key]);
+ break;
+ default:
+ break;
+ }
+ }
+
+ #r;
+ #g;
+ #b;
+ #a;
+ #on = new Set();
+
+ on(fn) {
+ this.#on.add(fn);
+ }
+
+ off(fn) {
+ this.#on.delete(fn);
+ }
+
+ clear() {
+ this.#on.clear();
+ }
+
+ #event() {
+ this.#on.forEach(fn => fn(this));
+ }
+
+ #rgb(v) {
+ return [
+ this.#dec(v.slice(1, 3)),
+ this.#dec(v.slice(3, 5)),
+ this.#dec(v.slice(5, 7)),
+ ];
+ }
+
+ #rgba(v) {
+ return [
+ this.#dec(v.slice(1, 3)),
+ this.#dec(v.slice(3, 5)),
+ this.#dec(v.slice(5, 7)),
+ this.#dec(v.slice(7, 9)),
+ ];
+ }
+
+ #hex(v) {
+ v = parseInt(v).toString(16);
+ return v.length == 1 ? '0' + v : v;
+ }
+
+ #dec(v) {
+ return parseInt(v, 16);
+ }
+
+ get hex() {
+ return `#${
+ this.#hex(this.r)
+ }${
+ this.#hex(this.g)
+ }${
+ this.#hex(this.b)
+ }`;
+ }
+ set hex(v) {
+ [this.#r, this.#g, this.#b] = this.#rgb(v);
+ this.#event();
+ }
+
+ get hexa() {
+ return `#${
+ this.#hex(this.r)
+ }${
+ this.#hex(this.g)
+ }${
+ this.#hex(this.b)
+ }${
+ this.#hex(this.a)
+ }`;
+ }
+ set hexa(v) {
+ [this.#r, this.#g, this.#b] = this.#rgba(v);
+ this.#event();
+ }
+
+ get rgb() {
+ return [this.r, this.g, this.b];
+ }
+ set rgb(v) {
+ [this.#r, this.#g, this.#b] = v;
+ this.#event();
+ }
+
+ get rgba() {
+ return [this.r, this.g, this.b, this.a];
+ }
+ set rgba(v) {
+ [this.#r, this.#g, this.#b, this.#a] = v;
+ this.#event();
+ }
+
+
+ get r() {
+ return this.#r||0;
+ }
+ set r(value) {
+ this.#r = value;
+ this.#event();
+ }
+ get g() {
+ return this.#g||0;
+ }
+ set g(value) {
+ this.#g = value;
+ this.#event();
+ }
+ get b() {
+ return this.#b||0;
+ }
+ set b(value) {
+ this.#b = value;
+ this.#event();
+ }
+ get a() {
+ return this.#a||0;
+ }
+ set a(value) {
+ this.#a = value;
+ this.#event();
+ }
+
+ cRgb(hex) {
+ const [r, g, b] = this.#rgb(hex);
+ return {r, g, b};
+ }
+
+ cRgba(hexa) {
+ const [r, g, b, a] = this.#rgba(hexa);
+ return {r, g, b, a};
+ }
+
+ distance(left, right) {
+ const [lr, lg, lb] = this.#rgb(left);
+ const [rr, rg, rb] = this.#rgb(right);
+ const {r, g, b} = this;
+
+ const ddr = Math.abs(r - lr);
+ const ddg = Math.abs(g - lg);
+ const ddb = Math.abs(b - lb);
+
+ const result = (d, a, b) => ((d / Math.abs(b - a)) || 0);
+
+ switch(Math.max(ddr, ddg, ddb)) {
+ case ddr: return result(ddr, lr, rr);
+ case ddg: return result(ddg, lg, rg);
+ case ddb: return result(ddb, lb, rb);
+ default: return 1;
+ }
+ }
+}
+class ColorfulBox extends Laya.Box {
+ constructor() {
+ super();
+ this.on(Laya.Event.MOUSE_OVER, this, this.onMouse, [Laya.Event.MOUSE_DOWN]);
+ this.on(Laya.Event.MOUSE_DOWN, this, this.onMouse, [Laya.Event.MOUSE_DOWN]);
+ this.on(Laya.Event.MOUSE_OUT, this, this.onMouse, [Laya.Event.MOUSE_OUT]);
+ this.on(Laya.Event.MOUSE_UP, this, this.onMouse, [Laya.Event.MOUSE_UP]);
+ this.#draw();
+ }
+
+ #defaultColor = '#ffffff';
+ #hoverColor = '#ffffff';
+ #defaultStroke = '#ffffff';
+ #hoverStroke = '#ffffff';
+ #defaultLabel = '#000000';
+ #hoverLabel = '#000000';
+ #color = new RGBAItem({hex: this.#defaultColor, on: ()=>this.#draw()});
+ #stroke = new RGBAItem({hex: this.#defaultStroke, on: ()=>this.#draw()});
+ #label = new RGBAItem({hex: this.#defaultLabel, on: (hex)=>{
+ const label = this.getChildByName('label');
+ if (!label) return;
+ label.color = hex;
+ }});
+ #lineWidth = 0;
+ #radius = 0;
+ #animationTime = 200;
+ #state = 1;
+
+ onMouse(type) {
+ const label = this.getChildByName('label');
+ const tween = (colorItem, target, last) => {
+ Laya.Tween.clearAll(colorItem);
+ Laya.Tween.to(colorItem, colorItem.cRgb(target), colorItem.distance(target, last) * this.#animationTime);
+ }
+ switch (type) {
+ case Laya.Event.MOUSE_OVER:
+ case Laya.Event.MOUSE_DOWN:
+ if(this.#state == 2) return;
+ this.#state = 2;
+ tween(this.#color, this.#hoverColor, this.#defaultColor);
+ tween(this.#stroke, this.#hoverStroke, this.#defaultStroke);
+ if(label) tween(this.#label, this.#hoverLabel, this.#defaultLabel);
+ break;
+ case Laya.Event.MOUSE_OUT:
+ case Laya.Event.MOUSE_UP:
+ if(this.#state == 1) return;
+ this.#state = 1;
+ tween(this.#color, this.#defaultColor, this.#hoverColor);
+ tween(this.#stroke, this.#defaultStroke, this.#hoverStroke);
+ if(label) tween(this.#label, this.#defaultLabel, this.#hoverLabel);
+ break;
+ default:
+ break;
+ }
+ }
+
+ #draw() {
+ this.graphics.clear();
+ const w = this.width;
+ const h = this.height;
+ const r = Math.min(this.#radius, w / 2, h / 2);
+ const fillStyle = this.#color.hex;
+ const strokeStyle = this.#stroke.hex;
+ const lineWidth = this.lineWidth;
+
+ if(r <= 0) {
+ this.graphics.drawRect(0, 0, w, h, fillStyle, strokeStyle, lineWidth);
+ return;
+ }
+
+ const a = w + lineWidth;
+ const b = h + lineWidth;
+ const c = r + lineWidth;
+ const d = a - r;
+ const e = b - r;
+ const f = -lineWidth;
+
+ this.graphics.drawPath(0, 0, [
+ ["moveTo", c, f],
+ ["arcTo", a, f, a, c, c],
+ ["arcTo", a, b, d, b, c],
+ ["arcTo", f, b, f, e, c],
+ ["arcTo", f, f, c, f, c],
+ ["closePath"],
+ ], { fillStyle: strokeStyle });
+
+ const x = w - r;
+ const y = h - r;
+ this.graphics.drawPath(0, 0, [
+ ["moveTo", r, 0],
+ ["arcTo", w, 0, w, r, r],
+ ["arcTo", w, h, x, h, r],
+ ["arcTo", 0, h, 0, y, r],
+ ["arcTo", 0, 0, r, 0, r],
+ ["closePath"],
+ ], { fillStyle });
+ }
+
+ get width() {
+ return super.width;
+ }
+ set width(value) {
+ super.width = value;
+ this.#draw();
+ }
+ get height() {
+ return super.height;
+ }
+ set height(value) {
+ super.height = value;
+ this.#draw();
+ }
+
+ get defaultColor() {
+ return this.#defaultColor;
+ }
+ set defaultColor(value) {
+ this.#defaultColor = value;
+ this.#color.hex = value;
+ }
+
+ get hoverColor() {
+ return this.#hoverColor;
+ }
+ set hoverColor(value) {
+ this.#hoverColor = value;
+ }
+
+ get defaultStroke() {
+ return this.#defaultStroke;
+ }
+ set defaultStroke(value) {
+ this.#defaultStroke = value;
+ this.#stroke.hex = value;
+ }
+
+ get hoverStroke() {
+ return this.#hoverStroke;
+ }
+ set hoverStroke(value) {
+ this.#hoverStroke = value;
+ }
+
+ get defaultLabel() {
+ return this.#defaultLabel;
+ }
+ set defaultLabel(value) {
+ this.#defaultLabel = value;
+ const label = this.getChildByName('label');
+ if (!label) return;
+ label.color = value;
+ }
+
+ get hoverLabel() {
+ return this.#hoverLabel;
+ }
+ set hoverLabel(value) {
+ this.#hoverLabel = value;
+ }
+
+ get animationTime() {
+ return this.#animationTime;
+ }
+ set animationTime(value) {
+ this.#animationTime = value;
+ }
+
+ get radius() {
+ return this.#radius||0;
+ }
+ set radius(value) {
+ this.#radius = value;
+ this.#draw();
+ }
+
+ get lineWidth() {
+ return this.#lineWidth||0;
+ }
+ set lineWidth(value) {
+ this.#lineWidth = value;
+ this.#draw();
+ }
+
+}
\ No newline at end of file
diff --git a/src/ui/themes/cyber/cyberAchievement.js b/src/ui/themes/cyber/achievement.js
similarity index 83%
rename from src/ui/themes/cyber/cyberAchievement.js
rename to src/ui/themes/cyber/achievement.js
index e512dcc..861ac7c 100644
--- a/src/ui/themes/cyber/cyberAchievement.js
+++ b/src/ui/themes/cyber/achievement.js
@@ -1,7 +1,7 @@
-export default class cyberAchievement extends CyberAchievementUI {
+export default class CyberAchievement extends CyberAchievementUI {
constructor() {
super();
- this.btnBack.on(Laya.Event.CLICK, this, () => UIManager.getInstance().switchView(UIManager.getInstance().themes.MAIN));
+ this.btnBack.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.MAIN));
const min = Math.min(this.btnAchievement.fontSize, this.btnStatistics.fontSize);
const max = Math.max(this.btnAchievement.fontSize, this.btnStatistics.fontSize);
this.#state = {min, max};
@@ -28,24 +28,6 @@ export default class cyberAchievement extends CyberAchievementUI {
#state;
#tweens;
- get colorGrades() {
- return [
- this.colorGrade0.color,
- this.colorGrade1.color,
- this.colorGrade2.color,
- this.colorGrade3.color,
- ];
- }
-
- get colorFilters() {
- return [
- this.colorGrade0.text,
- this.colorGrade1.text,
- this.colorGrade2.text,
- this.colorGrade3.text,
- ]
- }
-
init() {
this.switch('statistics', 0);
@@ -55,11 +37,11 @@ export default class cyberAchievement extends CyberAchievementUI {
this.labRemakeTimes.text = statistics[pt.TMS].value;
this.labRemakeTimesJudge.text = statistics[pt.TMS].judge;
- this.labAchievementCountJudge.color = this.colorGrades[statistics[pt.TMS].grade];
+ this.labAchievementCountJudge.color = $ui.gradeColor(statistics[pt.TMS].grade);
this.labAchievementCount.text = statistics[pt.CACHV].value;
this.labAchievementCountJudge.text = statistics[pt.CACHV].judge;
- this.labAchievementCountJudge.color = this.colorGrades[statistics[pt.CACHV].grade];
+ this.labAchievementCountJudge.color = $ui.gradeColor(statistics[pt.CACHV].grade);
this.labEventRate.text = parseInt(statistics[pt.REVT].value*100)+'%';
this.prgEventRate.value = statistics[pt.REVT].value;
@@ -114,6 +96,6 @@ export default class cyberAchievement extends CyberAchievementUI {
uncomplete.visible = true;
}
- box.colorFilter = this.colorFilters[dataSource.grade];
+ box.colorFilter = $ui.gradeFilter(dataSource.grade);
}
}
\ No newline at end of file
diff --git a/src/ui/themes/cyber/cyberThanks.js b/src/ui/themes/cyber/cyberThanks.js
deleted file mode 100644
index 72b8cc9..0000000
--- a/src/ui/themes/cyber/cyberThanks.js
+++ /dev/null
@@ -1,6 +0,0 @@
-export default class cyberThanks extends CyberThanksUI {
- constructor() {
- super();
- this.btnBack.on(Laya.Event.CLICK, this, ()=>UIManager.getInstance().switchView(UIManager.getInstance().themes.MAIN));
- }
-}
\ No newline at end of file
diff --git a/src/ui/themes/cyber/cyberMain.js b/src/ui/themes/cyber/main.js
similarity index 55%
rename from src/ui/themes/cyber/cyberMain.js
rename to src/ui/themes/cyber/main.js
index c34d931..789057b 100644
--- a/src/ui/themes/cyber/cyberMain.js
+++ b/src/ui/themes/cyber/main.js
@@ -1,9 +1,9 @@
-export default class cyberMain extends CyberMainUI {
+export default class CyberMain extends CyberMainUI {
constructor() {
super();
- this.btnRemake.on(Laya.Event.CLICK, this, ()=>UIManager.getInstance().switchView(UIManager.getInstance().themes.TALENT));
- this.btnAchievement.on(Laya.Event.CLICK, this, ()=>UIManager.getInstance().switchView(UIManager.getInstance().themes.ACHIEVEMENT));
- this.btnThanks.on(Laya.Event.CLICK, this, ()=>UIManager.getInstance().switchView(UIManager.getInstance().themes.THANKS));
+ this.btnRemake.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.TALENT));
+ this.btnAchievement.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.ACHIEVEMENT));
+ this.btnThanks.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.THANKS));
this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github']);
this.btnDiscord.on(Laya.Event.CLICK, this, goto, ['discord']);
this.on(Laya.Event.RESIZE, this, () => {
diff --git a/src/ui/themes/cyber/popup/cyberAchievementPopup.js b/src/ui/themes/cyber/popup/achievementPopup.js
similarity index 64%
rename from src/ui/themes/cyber/popup/cyberAchievementPopup.js
rename to src/ui/themes/cyber/popup/achievementPopup.js
index b20863e..c9e5545 100644
--- a/src/ui/themes/cyber/popup/cyberAchievementPopup.js
+++ b/src/ui/themes/cyber/popup/achievementPopup.js
@@ -1,23 +1,14 @@
-export default class cyberAchievementPopup extends CyberAchievementPopupUI {
+export default class CyberAchievementPopup extends CyberAchievementPopupUI {
constructor() {
super();
}
- get gradeColors() {
- return [
- this.colorGrade0.color,
- this.colorGrade1.color,
- this.colorGrade2.color,
- this.colorGrade3.color,
- ];
- }
-
async popup({achievement}, parent) {
Laya.Tween.clearAll(this);
Laya.Tween.clearAll(this.boxBg);
this.alpha = 0.8;
this.labName.text = achievement.name;
- this.labName.color = this.gradeColors[achievement.grade];
+ this.labName.color = $ui.gradeColor(achievement.grade);
this.x = - this.width;
this.boxBg.x = this.boxBg.width;
await Promise.all([
diff --git a/src/ui/themes/cyber/cyberProperty.js b/src/ui/themes/cyber/property.js
similarity index 98%
rename from src/ui/themes/cyber/cyberProperty.js
rename to src/ui/themes/cyber/property.js
index d472c2a..81e248d 100644
--- a/src/ui/themes/cyber/cyberProperty.js
+++ b/src/ui/themes/cyber/property.js
@@ -1,4 +1,4 @@
-export default class cyberProperty extends CyberPropertyUI {
+export default class CyberProperty extends CyberPropertyUI {
constructor() {
super();
@@ -60,8 +60,8 @@ export default class cyberProperty extends CyberPropertyUI {
if (this.total < this.#propertyPoints) {
return;
}
- UIManager.getInstance().switchView(
- UIManager.getInstance().themes.TRAJECTORY,
+ $ui.switchView(
+ UI.pages.TRAJECTORY,
{
propertyAllocate: this.#propertyAllocate,
talents: this.listSelectedTalents.array,
diff --git a/src/ui/themes/cyber/cyberSummary.js b/src/ui/themes/cyber/summary.js
similarity index 88%
rename from src/ui/themes/cyber/cyberSummary.js
rename to src/ui/themes/cyber/summary.js
index 1194d15..121c2f3 100644
--- a/src/ui/themes/cyber/cyberSummary.js
+++ b/src/ui/themes/cyber/summary.js
@@ -1,4 +1,4 @@
-export default class cyberSummary extends CyberSummaryUI {
+export default class CyberSummary extends CyberSummaryUI {
constructor() {
super();
this.listSelectedTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);
@@ -7,34 +7,26 @@ export default class cyberSummary extends CyberSummaryUI {
#selectedTalent;
- get gradeFilters() {
- return [
- this.colorGrade0.text,
- this.colorGrade1.text,
- this.colorGrade2.text,
- this.colorGrade3.text,
- ];
- }
-
- get gradeColors() {
- return [
- this.colorGrade0.color,
- this.colorGrade1.color,
- this.colorGrade2.color,
- this.colorGrade3.color,
- ];
- }
-
onAgain() {
core.talentExtend(this.#selectedTalent);
core.times ++;
- UIManager.getInstance().switchView(UIManager.getInstance().themes.MAIN);
+ $ui.switchView(UI.pages.MAIN);
}
init({talents}) {
const {summary, lastExtendTalent} = core;
- const gradeFilters = this.gradeFilters;
- const gradeColors = this.gradeColors;
+ const gradeFilters = [
+ $ui.common.grade0,
+ $ui.common.grade1,
+ $ui.common.grade2,
+ $ui.common.grade3,
+ ];
+ const gradeColors = [
+ $ui.common.filter0,
+ $ui.common.filter1,
+ $ui.common.filter2,
+ $ui.common.filter3,
+ ];
const age = summary[core.PropertyTypes.HAGE];
this.labAge.text = ''+age.value;
diff --git a/src/ui/themes/cyber/cyberTalent.js b/src/ui/themes/cyber/talent.js
similarity index 97%
rename from src/ui/themes/cyber/cyberTalent.js
rename to src/ui/themes/cyber/talent.js
index 20ce5f7..bf5a384 100644
--- a/src/ui/themes/cyber/cyberTalent.js
+++ b/src/ui/themes/cyber/talent.js
@@ -40,7 +40,7 @@ export default class CyberTalent extends CyberTalentUI {
}
const talents = [...this.#selected].map(index => this.listTalents.array[index]);
- UIManager.getInstance().switchView(UIManager.getInstance().themes.PROPERTY, { talents });
+ $ui.switchView(UI.pages.PROPERTY, { talents });
}
renderTalent(box, index) {
diff --git a/src/ui/themes/cyber/thanks.js b/src/ui/themes/cyber/thanks.js
new file mode 100644
index 0000000..9b43da2
--- /dev/null
+++ b/src/ui/themes/cyber/thanks.js
@@ -0,0 +1,6 @@
+export default class CyberThanks extends CyberThanksUI {
+ constructor() {
+ super();
+ this.btnBack.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.MAIN));
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/cyber/cyberTrajectory.js b/src/ui/themes/cyber/trajectory.js
similarity index 98%
rename from src/ui/themes/cyber/cyberTrajectory.js
rename to src/ui/themes/cyber/trajectory.js
index 99e259b..883078b 100644
--- a/src/ui/themes/cyber/cyberTrajectory.js
+++ b/src/ui/themes/cyber/trajectory.js
@@ -141,7 +141,7 @@ export default class CyberTrajectory extends CyberTrajectoryUI {
onSummary() {
const talents = this.#talents;
- UIManager.getInstance().switchView(UIManager.getInstance().themes.SUMMARY, {talents});
+ $ui.switchView(UI.pages.SUMMARY, {talents});
}
get speed() {
diff --git a/src/ui/themes/default/achievement.js b/src/ui/themes/default/achievement.js
new file mode 100644
index 0000000..9d31ef7
--- /dev/null
+++ b/src/ui/themes/default/achievement.js
@@ -0,0 +1,101 @@
+export default class Achievement extends AchievementUI {
+ constructor() {
+ super();
+ this.btnBack.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.MAIN));
+ const min = Math.min(this.btnAchievement.fontSize, this.btnStatistics.fontSize);
+ const max = Math.max(this.btnAchievement.fontSize, this.btnStatistics.fontSize);
+ this.#state = {min, max};
+ this.btnStatistics.on(Laya.Event.CLICK, this, ()=>this.switch('statistics'));
+ this.btnAchievement.on(Laya.Event.CLICK, this, ()=>this.switch('achievement'));
+
+ this.listAchievements.renderHandler = new Laya.Handler(this, this.onRenderAchievement);
+ this.listAchievements.scrollBar.elasticDistance = 150;
+ this.on(Laya.Event.RESIZE, this, () => {
+ this.boxPage.width = 2 * this.width;
+ this.boxA.width = this.boxB.width = this.width;
+ if(this.boxPage.x < 0) {
+ this.boxPage.x = - this.width;
+ }
+
+ const renderWidth = this.listAchievements?._itemRender?.props?.width;
+ if(renderWidth) {
+ const col = Math.max(Math.floor((this.width - 65) / renderWidth), 1);
+ this.listAchievements.width = col * renderWidth + (col - 1) * (this.listAchievements.spaceY || 0) + 30;
+ }
+ });
+ }
+
+ #state;
+ #tweens;
+
+ init() {
+ this.switch('statistics', 0);
+
+ const {statistics, achievements, PropertyTypes: pt} = core;
+
+ this.listAchievements.array = achievements;
+
+ this.labRemakeTimes.text = statistics[pt.TMS].value;
+ this.labRemakeTimesJudge.text = statistics[pt.TMS].judge;
+ this.labAchievementCountJudge.color = $ui.gradeColor(statistics[pt.TMS].grade);
+
+ this.labAchievementCount.text = statistics[pt.CACHV].value;
+ this.labAchievementCountJudge.text = statistics[pt.CACHV].judge;
+ this.labAchievementCountJudge.color = $ui.gradeColor(statistics[pt.CACHV].grade);
+
+ this.labEventRate.text = parseInt(statistics[pt.REVT].value*100)+'%';
+ this.prgEventRate.value = statistics[pt.REVT].value;
+
+ this.labTalentRate.text = parseInt(statistics[pt.RTLT].value*100)+'%';
+ this.prgTalentRate.value = statistics[pt.RTLT].value;
+ }
+
+ switch(page, time=300) {
+ if(this.#tweens) {
+ this.#tweens.forEach(tween => Laya.Tween.clear(tween));
+ }
+ this.#tweens = [];
+
+ switch (page) {
+ case 'statistics':
+ time = - this.boxPage.x / this.width * time;
+ this.#tweens.push(
+ Laya.Tween.to(this.boxPage, {x: 0}, time, Laya.Ease.backOut, Laya.Handler.create(this, () => this.#tweens = null)),
+ Laya.Tween.to(this.btnStatistics, {fontSize: this.#state.max, anchorX: 0.5, anchorY: 1}, time, Laya.Ease.backOut),
+ Laya.Tween.to(this.btnAchievement, {fontSize: this.#state.min, anchorX: 0.5, anchorY: 1}, time, Laya.Ease.backOut),
+ );
+ break;
+ case 'achievement':
+ time = (this.width + this.boxPage.x) / this.width * time;
+ this.#tweens.push(
+ Laya.Tween.to(this.boxPage, {x: - this.width}, time, Laya.Ease.backOut, Laya.Handler.create(this, () => this.#tweens = null)),
+ Laya.Tween.to(this.btnStatistics, {fontSize: this.#state.min, anchorX: 0.5, anchorY: 1}, time, Laya.Ease.backOut),
+ Laya.Tween.to(this.btnAchievement, {fontSize: this.#state.max, anchorX: 0.5, anchorY: 1}, time, Laya.Ease.backOut),
+ );
+ break;
+ }
+ }
+
+ onRenderAchievement(box, index) {
+ const dataSource = box.dataSource;
+
+ const name = box.getChildByName('name');
+ const description = box.getChildByName('description');
+ const completed = box.getChildByName('completed');
+ const uncomplete = box.getChildByName('uncomplete');
+
+ if(dataSource.isAchieved) {
+ name.text = dataSource.name;
+ description.text = dataSource.description;
+ completed.visible = true;
+ uncomplete.visible = false;
+ } else {
+ name.text = dataSource.hide? '???': dataSource.name;
+ description.text = dataSource.hide? '???': dataSource.description;
+ completed.visible = false;
+ uncomplete.visible = true;
+ }
+
+ box.colorFilter = $ui.gradeFilter(dataSource.grade);
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/main.js b/src/ui/themes/default/main.js
new file mode 100644
index 0000000..6bc09e6
--- /dev/null
+++ b/src/ui/themes/default/main.js
@@ -0,0 +1,16 @@
+export default class Main extends MainUI {
+ constructor() {
+ super();
+ this.btnRemake.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.TALENT));
+ this.btnAchievement.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.ACHIEVEMENT));
+ this.btnThanks.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.THANKS));
+ this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github']);
+ this.btnDiscord.on(Laya.Event.CLICK, this, goto, ['discord']);
+ }
+
+ init() {
+ this.btnDiscord.visible =
+ this.btnAchievement.visible =
+ this.btnThanks.visible = !!core.times;
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/popup/achievementPopup.js b/src/ui/themes/default/popup/achievementPopup.js
new file mode 100644
index 0000000..17fa639
--- /dev/null
+++ b/src/ui/themes/default/popup/achievementPopup.js
@@ -0,0 +1,20 @@
+export default class achievementPopup extends AchievementPopupUI {
+ constructor() {
+ super();
+ }
+
+ async popup({achievement}, parent) {
+ Laya.Tween.clearAll(this);
+ Laya.Tween.clearAll(this.boxBg);
+ this.alpha = 0.8;
+ this.labName.text = achievement.name;
+ this.labName.color = $ui.gradeColor(achievement.grade);
+ this.x = - this.width;
+ this.boxBg.x = this.boxBg.width;
+ await Promise.all([
+ Laya.promises.Tween.to(this, {x: 0}, 300, Laya.Ease.strongOut),
+ Laya.promises.Tween.to(this.boxBg, {x: 0}, 300, Laya.Ease.strongOut, 50),
+ ])
+ await Laya.promises.Tween.to(this, {alpha: 0}, 3000, Laya.Ease.strongIn);
+ }
+}
diff --git a/src/ui/themes/default/property.js b/src/ui/themes/default/property.js
new file mode 100644
index 0000000..2fd03b6
--- /dev/null
+++ b/src/ui/themes/default/property.js
@@ -0,0 +1,243 @@
+export default class Property extends PropertyUI {
+ constructor() {
+ super();
+
+ const types =
+ this.#types = core.PropertyTypes;
+
+ this.btnCharmIncrease.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.CHR, 1]);
+ this.btnCharmReduce.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.CHR, -1]);
+
+ this.btnIntelligenceIncrease.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.INT, 1]);
+ this.btnIntelligenceReduce.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.INT, -1]);
+
+ this.btnStrengthIncrease.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.STR, 1]);
+ this.btnStrengthReduce.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.STR, -1]);
+
+ this.btnMoneyIncrease.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.MNY, 1]);
+ this.btnMoneyReduce.on(Laya.Event.CLICK, this, this.onPropertyAllocate, [types.MNY, -1]);
+
+ this.inputCharm.on(Laya.Event.INPUT, this, this.onPropertyAllocateInput, [types.CHR]);
+ this.inputIntelligence.on(Laya.Event.INPUT, this, this.onPropertyAllocateInput, [types.INT]);
+ this.inputStrength.on(Laya.Event.INPUT, this, this.onPropertyAllocateInput, [types.STR]);
+ this.inputMoney.on(Laya.Event.INPUT, this, this.onPropertyAllocateInput, [types.MNY]);
+
+ const selectAll = ({currentTarget: item}) => { item.text=''; };
+ this.inputCharm.on(Laya.Event.MOUSE_DOWN, this, selectAll);
+ this.inputIntelligence.on(Laya.Event.MOUSE_DOWN, this, selectAll);
+ this.inputStrength.on(Laya.Event.MOUSE_DOWN, this, selectAll);
+ this.inputMoney.on(Laya.Event.MOUSE_DOWN, this, selectAll);
+
+ this.btnRandomAllocate.on(Laya.Event.CLICK, this, this.random);
+ this.btnNext.on(Laya.Event.CLICK, this, this.next);
+
+ this.listSelectedTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);
+ }
+
+ #types;
+ #propertyPoints;
+ #propertyAllocate;
+ #propertyAllocateLimit;
+
+ init({talents}) {
+ this.listSelectedTalents.array = talents;
+ const talentIds = talents.map(talent => talent.id);
+ // core.talentReplace(talentIds);
+ this.#propertyPoints = core.getPropertyPoints(talentIds);
+ this.#propertyAllocateLimit = core.propertyAllocateLimit;
+ this.labLeftPropertyPoint.text = this.#propertyPoints;
+ this.#propertyAllocate = {
+ [this.#types.CHR]: 0,
+ [this.#types.INT]: 0,
+ [this.#types.STR]: 0,
+ [this.#types.MNY]: 0,
+ [this.#types.TLT]: talentIds,
+ }
+ this.updateAllocate();
+ }
+
+ next() {
+ if (this.total < this.#propertyPoints) {
+ return;
+ }
+ $ui.switchView(
+ UI.pages.TRAJECTORY,
+ {
+ propertyAllocate: this.#propertyAllocate,
+ talents: this.listSelectedTalents.array,
+ }
+ );
+ }
+
+ get total() {
+ return this.#propertyAllocate[this.#types.CHR]
+ + this.#propertyAllocate[this.#types.INT]
+ + this.#propertyAllocate[this.#types.STR]
+ + this.#propertyAllocate[this.#types.MNY];
+ }
+
+ updateAllocate() {
+ const charm = this.#propertyAllocate[this.#types.CHR];
+ const intelligence = this.#propertyAllocate[this.#types.INT];
+ const strength = this.#propertyAllocate[this.#types.STR];
+ const money = this.#propertyAllocate[this.#types.MNY];
+
+ this.inputCharm.text = ''+charm;
+ this.inputIntelligence.text = ''+intelligence;
+ this.inputStrength.text = ''+strength;
+ this.inputMoney.text = ''+money;
+
+ this.labLeftPropertyPoint.text = this.#propertyPoints - this.total;
+
+ this.btnCharmIncrease.disabled = this.btnCharmIncrease.gray = false;
+ this.btnCharmReduce.disabled = this.btnCharmReduce.gray = false;
+ this.btnIntelligenceIncrease.disabled = this.btnIntelligenceIncrease.gray = false;
+ this.btnIntelligenceReduce.disabled = this.btnIntelligenceReduce.gray = false;
+ this.btnStrengthIncrease.disabled = this.btnStrengthIncrease.gray = false;
+ this.btnStrengthReduce.disabled = this.btnStrengthReduce.gray = false;
+ this.btnMoneyIncrease.disabled = this.btnMoneyIncrease.gray = false;
+ this.btnMoneyReduce.disabled = this.btnMoneyReduce.gray = false;
+
+ if (this.total >= this.#propertyPoints) {
+ this.btnCharmIncrease.disabled = this.btnCharmIncrease.gray = true;
+ this.btnIntelligenceIncrease.disabled = this.btnIntelligenceIncrease.gray = true;
+ this.btnStrengthIncrease.disabled = this.btnStrengthIncrease.gray = true;
+ this.btnMoneyIncrease.disabled = this.btnMoneyIncrease.gray = true;
+ } else if (this.total <= 0) {
+ this.btnCharmReduce.disabled = this.btnCharmReduce.gray = true;
+ this.btnIntelligenceReduce.disabled = this.btnIntelligenceReduce.gray = true;
+ this.btnStrengthReduce.disabled = this.btnStrengthReduce.gray = true;
+ this.btnMoneyReduce.disabled = this.btnMoneyReduce.gray = true;
+ }
+
+ if (charm <= this.#propertyAllocateLimit[0]) {
+ this.btnCharmReduce.disabled = this.btnCharmReduce.gray = true;
+ } else if (charm >= this.#propertyAllocateLimit[1]) {
+ this.btnCharmIncrease.disabled = this.btnCharmIncrease.gray = true;
+ }
+
+ if (intelligence <= this.#propertyAllocateLimit[0]) {
+ this.btnIntelligenceReduce.disabled = this.btnIntelligenceReduce.gray = true;
+ } else if (intelligence >= this.#propertyAllocateLimit[1]) {
+ this.btnIntelligenceIncrease.disabled = this.btnIntelligenceIncrease.gray = true;
+ }
+
+ if (strength <= this.#propertyAllocateLimit[0]) {
+ this.btnStrengthReduce.disabled = this.btnStrengthReduce.gray = true;
+ } else if (strength >= this.#propertyAllocateLimit[1]) {
+ this.btnStrengthIncrease.disabled = this.btnStrengthIncrease.gray = true;
+ }
+
+ if (money <= this.#propertyAllocateLimit[0]) {
+ this.btnMoneyReduce.disabled = this.btnMoneyReduce.gray = true;
+ } else if (money >= this.#propertyAllocateLimit[1]) {
+ this.btnMoneyIncrease.disabled = this.btnMoneyIncrease.gray = true;
+ }
+ }
+
+ check(left, right, value) {
+ if (value < left) return false;
+ if (value > right) return false;
+ return true;
+ }
+
+ random() {
+ let t = this.#propertyPoints;
+ const arr = new Array(4).fill(this.#propertyAllocateLimit[1]);
+
+ while (t > 0) {
+ const sub = Math.round(Math.random() * (Math.min(t, this.#propertyAllocateLimit[1]) - 1)) + 1;
+ while(true) {
+ const select = Math.floor(Math.random() * 4) % 4;
+ if(arr[select] - sub <0) continue;
+ arr[select] -= sub;
+ t -= sub;
+ break;
+ }
+ }
+ this.#propertyAllocate[this.#types.CHR] = this.#propertyAllocateLimit[1] - arr[0];
+ this.#propertyAllocate[this.#types.INT] = this.#propertyAllocateLimit[1] - arr[1];
+ this.#propertyAllocate[this.#types.STR] = this.#propertyAllocateLimit[1] - arr[2];
+ this.#propertyAllocate[this.#types.MNY] = this.#propertyAllocateLimit[1] - arr[3];
+
+ this.updateAllocate();
+ }
+
+ onPropertyAllocate(type, value) {
+ if (!this.check(
+ this.#propertyAllocateLimit[0],
+ this.#propertyAllocateLimit[1],
+ this.#propertyAllocate[type] + value
+ )) {
+ return;
+ }
+ if (!this.check(
+ 0,
+ this.#propertyPoints,
+ this.total + value
+ )) {
+ return;
+ }
+ this.#propertyAllocate[type] += value;
+ this.updateAllocate();
+ }
+
+ onPropertyAllocateInput(type, inputItem) {
+ let value = parseInt(inputItem.text) || 0;
+ const total = this.total;
+ if (total + value < 0) {
+ value = this.#propertyAllocateLimit[0] * 4 - total;
+ } else if (total + value > this.#propertyPoints) {
+ value = this.#propertyPoints - total;
+ }
+
+ if (value < this.#propertyAllocateLimit[0]) {
+ value = this.#propertyAllocateLimit[0];
+ } else if (value > this.#propertyAllocateLimit[1]) {
+ value = this.#propertyAllocateLimit[1];
+ }
+
+
+ const alter = value - this.#propertyAllocate[type];
+ if (alter) {
+ this.onPropertyAllocate(type, alter);
+ } else {
+ this.updateAllocate();
+ }
+ }
+
+ renderTalent(box) {
+ const dataSource = box.dataSource;
+
+ const labTitle = box.getChildByName("labTitle");
+ const grade1 = box.getChildByName("grade1");
+ const grade2 = box.getChildByName("grade2");
+ const grade3 = box.getChildByName("grade3");
+ const labDescription = box.getChildByName("labDescription");
+
+ labTitle.text = dataSource.name;
+ labDescription.text = dataSource.description;
+ switch (dataSource.grade) {
+ case 1:
+ grade1.visible = true;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ case 2:
+ grade1.visible = false;
+ grade2.visible = true;
+ grade3.visible = false;
+ break;
+ case 3:
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = true;
+ break;
+ default:
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/summary.js b/src/ui/themes/default/summary.js
new file mode 100644
index 0000000..0d711d4
--- /dev/null
+++ b/src/ui/themes/default/summary.js
@@ -0,0 +1,136 @@
+export default class Summary extends SummaryUI {
+ constructor() {
+ super();
+ this.listSelectedTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);
+ this.btnAgain.on(Laya.Event.CLICK, this, this.onAgain);
+ }
+
+ #selectedTalent;
+
+ onAgain() {
+ core.talentExtend(this.#selectedTalent);
+ core.times ++;
+ $ui.switchView(UI.pages.MAIN);
+ }
+
+ init({talents}) {
+ const {summary, lastExtendTalent} = core;
+ const gradeFilters = [
+ $ui.common.grade0,
+ $ui.common.grade1,
+ $ui.common.grade2,
+ $ui.common.grade3,
+ ];
+ const gradeColors = [
+ $ui.common.filter0,
+ $ui.common.filter1,
+ $ui.common.filter2,
+ $ui.common.filter3,
+ ];
+
+ const age = summary[core.PropertyTypes.HAGE];
+ this.labAge.text = ''+age.value;
+ this.labAgeJudge.text = age.judge;
+ this.labAgeJudge.color = gradeColors[age.grade];
+
+ const sum = summary[core.PropertyTypes.SUM];
+ this.labTotal.text = ''+sum.value;
+ this.labTotalJudge.text = sum.judge;
+ this.labTotalJudge.color = gradeColors[sum.grade];
+
+ const chr = summary[core.PropertyTypes.HCHR];
+ this.labCharm.text = ''+chr.value;
+ this.prgCharm.value = chr.progress;
+ this.labCharmJudge.text = chr.judge;
+ this.labCharmJudge.color = gradeColors[chr.grade];
+ this.boxCharmGrade.colorFilter = gradeFilters[chr.grade];
+
+ const int = summary[core.PropertyTypes.HINT];
+ this.labIntelligence.text = ''+int.value;
+ this.prgIntelligence.value = int.progress;
+ this.labIntelligenceJudge.text = int.judge;
+ this.labIntelligenceJudge.color = gradeColors[int.grade];
+ this.boxIntelligenceGrade.colorFilter = gradeFilters[int.grade];
+
+ const str = summary[core.PropertyTypes.HSTR];
+ this.labStrength.text = ''+str.value;
+ this.prgStrength.value = str.progress;
+ this.labStrengthJudge.text = str.judge;
+ this.labStrengthJudge.color = gradeColors[str.grade];
+ this.boxStrengthGrade.colorFilter = gradeFilters[str.grade];
+
+ const mny = summary[core.PropertyTypes.HMNY];
+ this.labMoney.text = ''+mny.value;
+ this.prgMoney.value = mny.progress;
+ this.labMoneyJudge.text = mny.judge;
+ this.labMoneyJudge.color = gradeColors[mny.grade];
+ this.boxMoneyGrade.colorFilter = gradeFilters[mny.grade];
+
+ const spr = summary[core.PropertyTypes.HSPR];
+ this.labSpirit.text = ''+spr.value;
+ this.prgSpirit.value = spr.progress;
+ this.labSpiritJudge.text = spr.judge;
+ this.labSpiritJudge.color = gradeColors[spr.grade];
+ this.boxSpiritGrade.colorFilter = gradeFilters[spr.grade];
+
+ talents.sort(({id:a, grade:ag}, {id:b, grade:bg},)=>{
+ if(a == lastExtendTalent) return -1;
+ if(b == lastExtendTalent) return 1;
+ return bg - ag;
+ });
+ this.#selectedTalent = talents[0].id;
+ this.listSelectedTalents.array = talents;
+ }
+
+ renderTalent(box) {
+ const dataSource = box.dataSource;
+
+ const labTitle = box.getChildByName("labTitle");
+ const grade1 = box.getChildByName("grade1");
+ const grade2 = box.getChildByName("grade2");
+ const grade3 = box.getChildByName("grade3");
+ const labDescription = box.getChildByName("labDescription");
+ const selected = box.getChildByName("selected");
+ const unselected = box.getChildByName("unselected");
+
+ labTitle.text = dataSource.name;
+ labDescription.text = dataSource.description;
+ switch (dataSource.grade) {
+ case 1:
+ grade1.visible = true;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ case 2:
+ grade1.visible = false;
+ grade2.visible = true;
+ grade3.visible = false;
+ break;
+ case 3:
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = true;
+ break;
+ default:
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ }
+
+ selected.visible = dataSource.id == this.#selectedTalent;
+ unselected.visible = !selected.visible;
+ box.off(Laya.Event.CLICK, this, this.onSelectTalent);
+ box.on(Laya.Event.CLICK, this, this.onSelectTalent, [dataSource.id]);
+ }
+
+ onSelectTalent(talentId) {
+ if(talentId == this.#selectedTalent) {
+ this.#selectedTalent = null;
+ } else {
+ this.#selectedTalent = talentId;
+ }
+
+ this.listSelectedTalents.refresh();
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/talent.js b/src/ui/themes/default/talent.js
new file mode 100644
index 0000000..26ea8d4
--- /dev/null
+++ b/src/ui/themes/default/talent.js
@@ -0,0 +1,111 @@
+export default class Talent extends TalentUI {
+ constructor() {
+ super();
+ this.btnDrawCard.on(Laya.Event.CLICK, this, this.onClickDrawCard);
+ this.btnNext.on(Laya.Event.CLICK, this, this.onClickNext);
+ this.listTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);
+ this.listTalents.scrollBar.elasticDistance = 150;
+ this.on(Laya.Event.RESIZE, this, () => {
+ const renderWidth = this.listTalents?._itemRender?.props?.width;
+ if(renderWidth) {
+ const col = Math.max(Math.floor((this.width - 40) / renderWidth), 1);
+ this.listTalents.width = col * renderWidth + (col - 1) * (this.listTalents.spaceY || 0);
+ }
+ });
+ }
+
+ #selected = new Set();
+ static load() {
+ return ['images/background/background_2@3x.png'];
+ }
+
+ init() {
+ this.pageDrawCard.visible = true;
+ this.pageResult.visible = false;
+ this.btnNext.label = 'UI_Talent_Select_Uncomplete';
+ this.#selected.clear();
+ }
+
+ close() {}
+
+ onClickDrawCard() {
+ this.pageDrawCard.visible = false;
+ this.pageResult.visible = true;
+ this.listTalents.array = core.talentRandom();
+ }
+
+ onClickNext() {
+ if(this.#selected.size < core.talentSelectLimit) {
+ return;
+ }
+
+ const talents = [...this.#selected].map(index => this.listTalents.array[index]);
+ $ui.switchView(UI.pages.PROPERTY, { talents });
+ }
+
+ renderTalent(box, index) {
+ const dataSource = box.dataSource;
+
+ const hboxTitle = box.getChildByName("hboxTitle");
+ const labTitle = hboxTitle.getChildByName("labTitle");
+ const grades = hboxTitle.getChildByName("grades");
+ const grade1 = grades.getChildByName("grade1");
+ const grade2 = grades.getChildByName("grade2");
+ const grade3 = grades.getChildByName("grade3");
+ const labDescription = box.getChildByName("labDescription");
+ const unselected = box.getChildByName("unselected");
+ const selected = box.getChildByName("selected");
+
+
+ switch (dataSource.grade) {
+ case 1:
+ grades.x = 0;
+ labTitle.x = 1;
+ grade1.visible = true;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ case 2:
+ grades.x = 0;
+ labTitle.x = 1;
+ grade1.visible = false;
+ grade2.visible = true;
+ grade3.visible = false;
+ break;
+ case 3:
+ grades.x = 0;
+ labTitle.x = 1;
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = true;
+ break;
+ default:
+ grades.x = 1;
+ labTitle.x = 0;
+ grade1.visible = false;
+ grade2.visible = false;
+ grade3.visible = false;
+ break;
+ }
+ labTitle.text = dataSource.name;
+ labTitle.event(Laya.Event.RESIZE);
+ labDescription.text = dataSource.description;
+ unselected.visible = !( selected.visible = this.#selected.has(index) );
+ box.offAll(Laya.Event.CLICK);
+ box.on(Laya.Event.CLICK, this, () => {
+ if(this.#selected.has(index)) {
+ this.#selected.delete(index);
+ } else {
+ if(this.#selected.size >= core.talentSelectLimit) {
+ return;
+ }
+ this.#selected.add(index);
+ }
+
+ this.btnNext.label = this.#selected.size === core.talentSelectLimit
+ ? 'UI_Next'
+ : 'UI_Talent_Select_Uncomplete';
+ unselected.visible = !( selected.visible = this.#selected.has(index) );
+ });
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/thanks.js b/src/ui/themes/default/thanks.js
new file mode 100644
index 0000000..8625848
--- /dev/null
+++ b/src/ui/themes/default/thanks.js
@@ -0,0 +1,6 @@
+export default class Thanks extends ThanksUI {
+ constructor() {
+ super();
+ this.btnBack.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.MAIN));
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/default/trajectory.js b/src/ui/themes/default/trajectory.js
new file mode 100644
index 0000000..18bc640
--- /dev/null
+++ b/src/ui/themes/default/trajectory.js
@@ -0,0 +1,162 @@
+export default class Trajectory extends TrajectoryUI {
+ constructor() {
+ super();
+ let pos1 = [0, 0];
+ this.panelTrajectory.on(Laya.Event.MOUSE_DOWN, this, e => pos1 = [e.stageX, e.stageY]);
+ this.panelTrajectory.on(Laya.Event.MOUSE_UP, this, e => {
+ const distanceX = e.stageX - pos1[0];
+ const distanceY = e.stageY - pos1[1];
+ if(Math.sqrt(Math.abs(distanceX) + Math.abs(distanceY)) > 10) {
+ return;
+ }
+ this.onNext();
+ });
+ this.btnSummary.on(Laya.Event.CLICK, this, this.onSummary);
+
+ this.panelTrajectory.vScrollBar.elasticDistance = 150;
+
+ let interval = null;
+ let timeout = null;
+
+ const scroll = alter => {
+ let value = this.panelTrajectory.vScrollBar.value + alter;
+ if(value < 0) value = 0;
+ if(value > this.panelTrajectory.vScrollBar.max) value = this.panelTrajectory.vScrollBar.max;
+ this.panelTrajectory.scrollTo(0, value);
+ }
+ const on = (btn, alter) => {
+ btn.off(Laya.Event.CLICK, this, scroll);
+ btn.on(Laya.Event.CLICK, this, scroll, [100*alter]);
+ timeout = setTimeout(() => {
+ btn.off(Laya.Event.CLICK, this, scroll);
+ interval = setInterval(() => scroll(10*alter), 10);
+ }, 100);
+ }
+ const clear = () => {
+ if(interval) {
+ clearInterval(interval);
+ interval = null;
+ }
+ if(timeout) {
+ clearTimeout(timeout);
+ timeout = null;
+ }
+ };
+ this.btnUp.on(Laya.Event.MOUSE_DOWN, this, on, [this.btnUp, -1]);
+ this.btnDown.on(Laya.Event.MOUSE_DOWN, this, on, [this.btnDown, 1]);
+ this.btnUp.on(Laya.Event.MOUSE_UP, this, clear);
+ this.btnUp.on(Laya.Event.MOUSE_OUT, this, clear);
+ this.btnDown.on(Laya.Event.MOUSE_UP, this, clear);
+ this.btnDown.on(Laya.Event.MOUSE_OUT, this, clear);
+ this.scbSpeed.on(Laya.Event.CHANGE, this, () => this.speed = this.scbSpeed.value);
+ this.scbSpeed.on(Laya.Event.MOUSE_UP, this, () => this.onNext());
+ }
+
+ #speed;
+ #auto;
+
+ static load() {
+ return ['images/slider/vslider_1@3x$bar.png'];
+ }
+
+ static #createComponent = plugin.extractComponents(CyberTrajectory.uiView, ['boxTrajectoryItem']);
+ #createTrajectoryItem() {
+ const item = CyberTrajectory.#createComponent('boxTrajectoryItem');
+ item.labContent = item.getChildByName('labContent');
+ item.labAge = item.getChildByName('hboxAge').getChildByName('labAge');
+ return item;
+ }
+ #isEnd;
+ #trajectoryItems;
+ #talents;
+
+ init({propertyAllocate, talents}) {
+ this.boxSpeed.visible = true;
+ this.btnSummary.visible = false;
+ this.#trajectoryItems = [];
+ this.#isEnd = false;
+ this.#talents = talents;
+ core.restart(propertyAllocate);
+ this.updateProperty();
+ this.onNext();
+ }
+
+ close() {
+ this.scbSpeed.value = 0;
+ this.speed = 0;
+ this.#trajectoryItems.forEach(item => {
+ item.removeSelf();
+ item.destroy();
+ });
+ this.#trajectoryItems = null;
+ }
+
+ updateProperty() {
+ const types = core.PropertyTypes;
+ const propertys = core.propertys;
+
+ this.labCharm.text = propertys[types.CHR];
+ this.labIntelligence.text = propertys[types.INT];
+ this.labStrength.text = propertys[types.STR];
+ this.labMoney.text = propertys[types.MNY];
+ this.labSpirit.text = propertys[types.SPR];
+ }
+
+ onNext() {
+ if(this.#isEnd) return;
+
+ const { age, content, isEnd } = core.next();
+ this.#isEnd = isEnd;
+
+ if(isEnd) {
+ this.boxSpeed.visible = false;
+ this.btnSummary.visible = true;
+ }
+
+ this.renderTrajectory(age, content);
+
+ Laya.timer.frameOnce(1, this, () => {
+ this.panelTrajectory.scrollTo(0, this.panelTrajectory.contentHeight);
+ });
+ this.updateProperty();
+ }
+
+ renderTrajectory(age, content) {
+ const item = this.#createTrajectoryItem();
+ item.labAge.text = ''+age;
+ item.labContent.text = content.map(
+ ({type, description, grade, name, postEvent}) => {
+ switch(type) {
+ case 'TLT':
+ return `天赋【${name}】发动:${description}`;
+ case 'EVT':
+ return description + (postEvent?`\n${postEvent}`:'');
+ }
+ }
+ ).join('\n');
+ this.vboxTrajectory.addChild(item);
+ this.#trajectoryItems.push(item);
+ this.#trajectoryItems.forEach((item, index) => item.y = index);
+ }
+
+ onSummary() {
+ const talents = this.#talents;
+ $ui.switchView(UI.pages.SUMMARY, {talents});
+ }
+
+ get speed() {
+ return this.#speed;
+ }
+
+ set speed(speed) {
+ this.#speed = speed;
+ this.prgSpeed.value = speed / this.scbSpeed.max;
+ clearInterval(this.#auto);
+ this.#auto = null;
+ if(!speed) return;
+ this.#auto = setInterval(
+ () => this.onNext(),
+ 3000 * (1 - this.prgSpeed.value) + 300
+ );
+ }
+}
\ No newline at end of file
diff --git a/src/ui/themes/views.js b/src/ui/themes/views.js
index e5b805c..36f1bf9 100644
--- a/src/ui/themes/views.js
+++ b/src/ui/themes/views.js
@@ -1,20 +1,116 @@
+const pages = {
+ LOADING: 'LOADING',
+ MAIN: 'MAIN',
+ TALENT: 'TALENT',
+ PROPERTY: 'PROPERTY',
+ TRAJECTORY: 'TRAJECTORY',
+ SUMMARY: 'SUMMARY',
+ ACHIEVEMENT: 'ACHIEVEMENT',
+ THANKS: 'THANKS',
+};
+
+const popups = {
+ ACHIEVEMENT: 'POPUP_ACHIEVEMENT',
+};
+
+const colors = {
+}
+
const cyber = {
- LOADING: "loading",
- MAIN: "cyber/cyberMain",
- TALENT: "cyber/cyberTalent",
- PROPERTY: "cyber/cyberProperty",
- TRAJECTORY: "cyber/cyberTrajectory",
- SUMMARY: "cyber/cyberSummary",
- ACHIEVEMENT: "cyber/cyberAchievement",
- THANKS: "cyber/cyberThanks",
- popup: {
- ACHIEVEMENT: "cyber/popup/cyberAchievementPopup",
+ pages: {
+ [pages.LOADING]: "loading",
+ [pages.MAIN]: "cyber/main",
+ [pages.TALENT]: "cyber/talent",
+ [pages.PROPERTY]: "cyber/property",
+ [pages.TRAJECTORY]: "cyber/trajectory",
+ [pages.SUMMARY]: "cyber/summary",
+ [pages.ACHIEVEMENT]: "cyber/achievement",
+ [pages.THANKS]: "cyber/thanks",
+ },
+ popups: {
+ [popups.ACHIEVEMENT]: "cyber/popup/achievementPopup",
+ },
+ common: {
+ grade0: '#cccccc',
+ grade1: '#55fffe',
+ grade2: '#b17cff',
+ grade3: '#ffce45',
+ filter0: '#ccccccff',
+ filter0: '#55fffeff',
+ filter0: '#b17cffff',
+ filter0: '#ffce45ff',
+ },
+ configs: {
+ bgColor: '#04131f',
}
}
-const themes = {
- default: cyber,
- cyber,
-};
+const def = {
+ pages: {
+ [pages.LOADING]: "loading",
+ [pages.MAIN]: "default/main",
+ [pages.TALENT]: "default/talent",
+ [pages.PROPERTY]: "default/property",
+ [pages.TRAJECTORY]: "default/trajectory",
+ [pages.SUMMARY]: "default/summary",
+ [pages.ACHIEVEMENT]: "default/achievement",
+ [pages.THANKS]: "default/thanks",
+ },
+ popups: {
+ [popups.ACHIEVEMENT]: "default/popup/achievementPopup",
+ },
+ configs: {
+ bgColor: '#222831',
+ common: {
+ grade0: '#cccccc',
+ grade1: '#55fffe',
+ grade2: '#b17cff',
+ grade3: '#ffce45',
+ filter0: '#ccccccff',
+ filter0: '#55fffeff',
+ filter0: '#b17cffff',
+ filter0: '#ffce45ff',
+ },
+ class: {
+ btn_main: {
+ defaultColor: '#393e46',
+ defaultStroke: '#eeeeee',
+ hoverColor: '#ff7878',
+ hoverStroke: '#eeeeee',
+ defaultLabel: '#eeeeee',
+ hoverLabel: '#eeeeee',
+ lineWidth: 2,
+ radius: 4,
+ },
+ btn_small: {
+ defaultColor: '#5865f2',
+ defaultStroke: '#eeeeee',
+ hoverColor: '#1160b0',
+ hoverStroke: '#eeeeee',
+ defaultLabel: '#eeeeee',
+ hoverLabel: '#eeeeee',
+ lineWidth: 0,
+ radius: 4,
+ }
+ },
+ pages: {
+ [pages.MAIN]: {
+ vars: {
+ btnRemake: 'btn_main',
+ labTitle: { color: '#eeeeee' },
+ labSubTitle: { color: '#eeeeee' },
+ },
+ names: {
+ btnSmall: 'btn_small',
+ }
+ }
+ },
+ popups: {
-export default { themes };
\ No newline at end of file
+ }
+ }
+}
+
+const themes = { default: def, cyber };
+
+export default { themes, pages, popups };
\ No newline at end of file
diff --git a/src/ui/uiManager.js b/src/ui/uiManager.js
index 03e54a9..a0d84aa 100644
--- a/src/ui/uiManager.js
+++ b/src/ui/uiManager.js
@@ -1,10 +1,13 @@
-class UIManager {
+import Views from './themes/views.js';
+export default class UIManager {
constructor(stage) {
+ UIManager.#views = Views;
+
if(!stage) {
stage = Laya.stage;
}
-
this.#stage = stage;
+ this.#stage.bgColor = this.#configs.bgColor;
stage.addChild(this.#viewLayer);
this.#viewLayer.zOrder = 1;
@@ -27,6 +30,7 @@ class UIManager {
}
static #instance = {};
+ static #views;
#stage;
#loading;
#currentView;
@@ -35,22 +39,39 @@ class UIManager {
#popupLayer = new Laya.Panel();
#viewMap = new Map();
#class = new Map();
- theme;
+ #theme = 'default';
+ static get inst() {
+ return this.getInstance();
+ }
static getInstance(name="default") {
return this.#instance[name] || (this.#instance[name] = new UIManager());
}
+ static get pages() {
+ return this.#views.pages;
+ }
+
+ static get popups() {
+ return this.#views.popups;
+ }
+
+ static theme(theme, prop) {
+ return this.#views.themes[theme][prop];
+ }
+
async setLoading(loading) {
- const view = await this.getView(loading);
+ const className = this.#pages[loading];
+ const view = await this.getView(className, null, null, loading);
view.top = view.bottom = view.left = view.right = 0;
view.zOrder = 4;
this.#loading = view;
}
async switchView(viewName, args, actions) {
+ const className = this.#pages[viewName];
// get view instance
- const view = await this.getView(viewName, args, actions?.load);
+ const view = await this.getView(className, args, actions?.load, viewName, 'pages');
view.top = view.bottom = view.left = view.right = 0;
// close current view
@@ -70,9 +91,9 @@ class UIManager {
await view.show?.();
}
- async getView(viewName, args, preload) {
+ async getView(className, args, preload, viewName, type) {
// check if view is already loaded
- let view = await this.#viewMap.get(viewName);
+ let view = await this.#viewMap.get(className);
if(this.#loading) {
this.#stage.addChild(this.#loading);
@@ -81,7 +102,7 @@ class UIManager {
if(!view) {
// load view
- const ViewClass = await this.loadView(viewName);
+ const ViewClass = await this.loadView(className);
const resourceList = await ViewClass.load?.(args);
const scanedResourceList = this.#loading? this.scanResource(ViewClass.uiView): [];
if(preload) {
@@ -94,7 +115,7 @@ class UIManager {
// create view
view = new ViewClass();
// add view to map
- this.#viewMap.set(viewName, view);
+ this.#viewMap.set(className, view);
} else {
// load resource
const resourceList = await view.constructor.load?.(args);
@@ -103,15 +124,16 @@ class UIManager {
this.#loading?.removeSelf();
+ this.#config(view, viewName, type);
// return view
return view;
}
- async loadView(viewName) {
+ async loadView(className) {
// load view
- if(this.#class.has(viewName)) return this.#class.get(viewName);
- const c = (await import(`./themes/${viewName}.js`)).default;
- this.#class.set(viewName, c);
+ if(this.#class.has(className)) return this.#class.get(className);
+ const c = (await import(`./themes/${className}.js`)).default;
+ this.#class.set(className, c);
return c;
}
@@ -126,7 +148,8 @@ class UIManager {
}
async showDialog(dialogName, args, actions) {
- const dialog = await this.getView(dialogName, args, actions?.load);
+ const className = this.#pages[dialogName];
+ const dialog = await this.getView(className, args, actions?.load, viewName, 'pages');
dialog.init(args);
this.#dialogLayer.addChild(dialog);
@@ -145,7 +168,8 @@ class UIManager {
}
async popup(type, args) {
- const popup = await this.getView(type, args);
+ const className = this.#popups[type];
+ const popup = await this.getView(className, args, null, type, 'popups');
this.#popupLayer.addChild(popup);
await popup.popup(args, this.#popupLayer);
this.#popupLayer.removeChild(popup);
@@ -155,6 +179,40 @@ class UIManager {
this.#dialogLayer.removeChildren();
}
+ #config(view, key, type) {
+ const config = this.#configs?.[type]?.[key];
+ if(!config) return;
+ if(view.config) return view.config(config);
+ const applyConfig = (target, config) => {
+ if(!target) return;
+ if(typeof config == 'string') {
+ config = this.#configs?.class?.[config];
+ }
+ for(const key in config) target[key] = config[key];
+ };
+
+ if(config.names)
+ for(const name in config.names)
+ this.#deepGetChildsByName(view, name)
+ .forEach(child => applyConfig(child, config.names[name]));
+
+ if(config.vars)
+ for(const key in config.vars)
+ applyConfig(view[key], config.vars[key]);
+
+ }
+
+ #deepGetChildsByName(parent, name) {
+ const list = [];
+ if(!parent || !parent._childs) return list;
+
+ for(const child of parent._childs) {
+ if(child.name == name) list.push(child);
+ if(child._childs) list.push(...this.#deepGetChildsByName(child, name));
+ }
+ return list;
+ }
+
#cutPath(path) {
path = ''+path;
let index = path.length;
@@ -216,4 +274,31 @@ class UIManager {
get currentView() {
return this.#currentView;
}
+
+ get theme() {
+ return this.#theme;
+ }
+ set theme(value) {
+ this.#theme = value;
+ this.#stage.bgColor = this.#configs.bgColor;
+ }
+
+ get #pages() {
+ return UIManager.theme(this.#theme, 'pages');
+ }
+ get #popups() {
+ return UIManager.theme(this.#theme, 'popups');
+ }
+ get #configs() {
+ return UIManager.theme(this.#theme, 'configs');
+ }
+ get common() {
+ return this.#configs?.common;
+ }
+ gradeColor(grade) {
+ return this.common?.['grade'+grade];
+ }
+ gradeFilter(grade) {
+ return this.common?.['filter'+grade];
+ }
}
\ No newline at end of file