From 1d07bdfc46993b708e28da39c34fd71fcf211190 Mon Sep 17 00:00:00 2001 From: Vick Scarlet Date: Sat, 27 Nov 2021 21:48:47 +0800 Subject: [PATCH] daily update --- .../pages/view/CyberTheme/CyberAchievement.ui | 6 +- laya/pages/view/CyberTheme/CyberSummary.ui | 6 +- laya/pages/view/CyberTheme/CyberTrajectory.ui | 4 +- laya/pages/view/DefaultTheme/Achievement.ui | 735 ++++------ .../view/DefaultTheme/AchievementPopup.ui | 98 +- laya/pages/view/DefaultTheme/Main.ui | 138 +- laya/pages/view/DefaultTheme/Property.ui | 1272 ++++------------- laya/pages/view/DefaultTheme/Summary.ui | 1260 +--------------- laya/pages/view/DefaultTheme/Talent.ui | 29 +- laya/pages/view/DefaultTheme/Thanks.ui | 28 +- laya/pages/view/DefaultTheme/Trajectory.ui | 1160 ++++----------- public/index.html | 1 + src/app.js | 7 +- src/functions/util.js | 34 +- src/i18n/en-us.js | 62 +- src/i18n/zh-cn.js | 8 + src/ui/layaUI.max.all.js | 86 +- src/ui/runtime.js | 58 + src/ui/themes/cyber/trajectory.js | 4 - src/ui/themes/default/achievement.js | 79 +- src/ui/themes/default/property.js | 68 +- src/ui/themes/default/summary.js | 118 +- src/ui/themes/default/talent.js | 14 +- src/ui/themes/default/trajectory.js | 43 +- src/ui/themes/views.js | 194 ++- src/ui/uiManager.js | 5 +- 26 files changed, 1449 insertions(+), 4068 deletions(-) diff --git a/laya/pages/view/CyberTheme/CyberAchievement.ui b/laya/pages/view/CyberTheme/CyberAchievement.ui index 561a339..04a45f1 100644 --- a/laya/pages/view/CyberTheme/CyberAchievement.ui +++ b/laya/pages/view/CyberTheme/CyberAchievement.ui @@ -1,8 +1,8 @@ { "x":0, "type":"View", - "selectedBox":1, - "selecteID":61, + "selectedBox":3, + "selecteID":7, "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", @@ -92,7 +92,7 @@ { "x":45, "type":"Label", - "props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}, + "props":{"text":"UI_Rank","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5}, "nodeParent":3, "label":"Label", "isDirectory":false, diff --git a/laya/pages/view/CyberTheme/CyberSummary.ui b/laya/pages/view/CyberTheme/CyberSummary.ui index a7b9291..9628487 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":210, + "selecteID":8, "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", @@ -94,9 +94,9 @@ { "x":15, "type":"Box", - "props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870}, + "props":{"y":340,"x":40,"top":340,"right":40,"name":"summary","left":40,"height":870}, "nodeParent":1, - "label":"Box(propertyAllocate)", + "label":"Box(summary)", "isOpen":false, "isDirectory":true, "isAniNode":true, diff --git a/laya/pages/view/CyberTheme/CyberTrajectory.ui b/laya/pages/view/CyberTheme/CyberTrajectory.ui index ffa82ea..60decae 100644 --- a/laya/pages/view/CyberTheme/CyberTrajectory.ui +++ b/laya/pages/view/CyberTheme/CyberTrajectory.ui @@ -2,7 +2,7 @@ "x":0, "type":"View", "selectedBox":14, - "selecteID":104, + "selecteID":13, "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", @@ -559,7 +559,7 @@ { "x":30, "type":"Button", - "props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"人生总结","centerX":0}, + "props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"UI_Goto_Summary","centerX":0}, "nodeParent":14, "label":"Button(btnSummary)", "isOpen":true, diff --git a/laya/pages/view/DefaultTheme/Achievement.ui b/laya/pages/view/DefaultTheme/Achievement.ui index 561a339..a0c3943 100644 --- a/laya/pages/view/DefaultTheme/Achievement.ui +++ b/laya/pages/view/DefaultTheme/Achievement.ui @@ -2,8 +2,8 @@ "x":0, "type":"View", "selectedBox":1, - "selecteID":61, - "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"ViewBase","height":2436}, + "selecteID":9, + "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", "isOpen":true, @@ -14,91 +14,242 @@ "child":[ { "x":15, - "type":"Button", - "props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30}, + "type":"Label", + "props":{"y":80,"text":"UI_Statistics","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, "nodeParent":1, - "label":"Button(btnBack)", + "label":"Label(title)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":2, + "compId":86, "child":[ ] }, { "x":15, "type":"Box", - "props":{"width":1,"top":0,"right":0,"height":1}, + "props":{"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5}, "nodeParent":1, - "label":"Box", - "isOpen":true, + "label":"Box(btnBack)", + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":68, + "compId":69, + "child":[ + { + "type":"Label", + "props":{"y":1028,"x":332,"text":"UI_Back","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":69, + "label":"Label(label)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":70, + "child":[ + ] + }] + }, + { + "x":15, + "type":"Box", + "props":{"x":33,"width":1060,"top":230,"height":540,"centerX":0}, + "nodeParent":1, + "label":"Box", + "isOpen":false, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":25, "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)", + "props":{"width":500,"var":"boxRemakeTimes","top":0,"runtime":"ColorfulBox","name":"boxRemakeTimes","left":0,"height":240}, + "nodeParent":25, + "label":"Box(boxRemakeTimes)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":3, + "compId":28, "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", + "type":"Label", + "props":{"var":"labRemakeTimes","text":"label","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}, + "nodeParent":28, + "label":"Label(labRemakeTimes)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":4, + "compId":32, "child":[ - ], - "$HIDDEN":false + ] }, { - "x":45, + "type":"Label", + "props":{"var":"labRemakeTimesJudge","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}, + "nodeParent":28, + "label":"Label(labRemakeTimesJudge)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":33, + "child":[ + ] + }] + }, + { + "type":"Box", + "props":{"width":500,"var":"boxAchievementCount","top":0,"runtime":"ColorfulBox","right":0,"name":"boxAchievementCount","height":240}, + "nodeParent":25, + "label":"Box(boxAchievementCount)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":29, + "child":[ + { + "type":"Label", + "props":{"var":"labAchievementCount","text":"label","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}, + "nodeParent":29, + "label":"Label(labAchievementCount)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":38, + "child":[ + ] + }, + { + "type":"Label", + "props":{"var":"labAchievementCountJudge","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}, + "nodeParent":29, + "label":"Label(labAchievementCountJudge)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":39, + "child":[ + ] + }] + }, + { + "type":"Box", + "props":{"width":500,"var":"boxEventRate","runtime":"ColorfulBox","name":"boxEventRate","left":0,"height":240,"bottom":0}, + "nodeParent":25, + "label":"Box(boxEventRate)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":71, + "child":[ + { "type":"Box", - "props":{"width":90,"left":8,"height":90}, - "nodeParent":3, - "label":"Box", + "props":{"y":0,"x":0,"width":500,"var":"prgEventRate","height":240,"blendMode":"lighter","alpha":0.1}, + "nodeParent":71, + "label":"Box(prgEventRate)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":5, + "compId":82, "child":[ { - "x":60, - "type":"Image", - "props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0}, - "nodeParent":5, - "label":"Image", + "type":"Rect", + "props":{"width":500,"lineWidth":1,"height":240,"fillColor":"#ffffff"}, + "nodeParent":82, + "label":"Rect", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":6, + "compId":83, "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", + "props":{"text":"UI_Event_Collection_Rate","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}, + "nodeParent":71, + "label":"Label(font_default)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":7, + "compId":72, + "child":[ + ] + }, + { + "type":"Label", + "props":{"var":"labEventRate","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}, + "nodeParent":71, + "label":"Label(labEventRate)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":73, + "child":[ + ] + }] + }, + { + "type":"Box", + "props":{"width":500,"var":"boxTalentRate","runtime":"ColorfulBox","right":0,"name":"boxTalentRate","height":240,"bottom":0}, + "nodeParent":25, + "label":"Box(boxTalentRate)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":74, + "child":[ + { + "type":"Box", + "props":{"y":0,"x":0,"width":500,"var":"prgTalentRate","height":240,"blendMode":"lighter","alpha":0.1}, + "nodeParent":74, + "label":"Box(prgTalentRate)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":84, + "child":[ + { + "type":"Rect", + "props":{"width":500,"lineWidth":1,"height":240,"fillColor":"#ffffff"}, + "nodeParent":84, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":85, + "child":[ + ] + }] + }, + { + "type":"Label", + "props":{"text":"UI_Talent_Collection_Rate","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}, + "nodeParent":74, + "label":"Label(font_default)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":75, + "child":[ + ] + }, + { + "type":"Label", + "props":{"var":"labTalentRate","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}, + "nodeParent":74, + "label":"Label(labTalentRate)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":76, "child":[ ] }] @@ -107,467 +258,131 @@ { "x":15, "type":"Box", - "props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120}, + "props":{"width":1060,"top":800,"runtime":"ColorfulBox","name":"hr","height":10,"centerX":0}, "nodeParent":1, - "label":"Box", + "label":"Box(hr)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":91, + "child":[ + ] + }, + { + "x":15, + "type":"Label", + "props":{"top":870,"text":"UI_Achievement","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, + "nodeParent":1, + "label":"Label(title)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":92, + "child":[ + ] + }, + { + "x":15, + "type":"Box", + "props":{"x":945,"width":260,"var":"btnRank","top":870,"runtime":"ColorfulBox","right":50,"name":"btnRank","height":90,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":1, + "label":"Box(btnRank)", "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":16, + "compId":3, "child":[ { + "x":30, "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)", + "props":{"text":"UI_Rank","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":3, + "label":"Label(label)", "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, + "compId":7, "child":[ ] }] }, { "x":15, - "type":"Box", - "props":{"x":0,"width":2250,"var":"boxPage","top":450,"name":"boxPage","bottom":80}, + "type":"List", + "props":{"width":1080,"var":"listAchievements","vScrollBarSkin":" ","top":1000,"spaceY":60,"spaceX":60,"repeatX":2,"name":"listAchievements","centerX":0,"bottom":35}, "nodeParent":1, - "label":"Box(boxPage)", + "label":"List(listAchievements)", "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":8, + "compId":9, "child":[ { + "x":30, "type":"Box", - "props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0}, - "nodeParent":8, - "label":"Box(boxA)", + "props":{"y":10,"x":10,"width":500,"runtime":"ColorfulBox","renderType":"render","height":320}, + "nodeParent":9, + "label":"Box", "isOpen":true, "isDirectory":true, - "isAniNode":true, + "isAniNode":false, "hasChild":true, - "compId":66, + "compId":77, "child":[ { + "x":45, + "type":"Label", + "props":{"text":"label","right":0,"name":"name","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-80,"bold":true,"align":"center"}, + "nodeParent":77, + "label":"Label(name)", + "isDirectory":false, + "isAniNode":false, + "hasChild":false, + "compId":78, + "child":[ + ] + }, + { + "x":45, + "type":"Label", + "props":{"text":"label","right":0,"name":"description","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":80,"bold":false,"anchorY":0,"anchorX":0,"align":"center"}, + "nodeParent":77, + "label":"Label(description)", + "isDirectory":false, + "isAniNode":false, + "hasChild":false, + "compId":79, + "child":[ + ] + }, + { + "x":45, "type":"Box", - "props":{"width":1125,"top":0,"height":1125,"centerX":0}, - "nodeParent":66, - "label":"Box", - "isOpen":true, + "props":{"width":500,"name":"boxMask","height":320,"alpha":0.5}, + "nodeParent":77, + "label":"Box(boxMask)", + "isOpen":false, "isDirectory":true, - "isAniNode":true, + "isAniNode":false, "hasChild":true, - "compId":25, + "compId":80, "child":[ { - "type":"Image", - "props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30}, - "nodeParent":25, - "label":"Image", + "type":"Rect", + "props":{"width":500,"lineWidth":1,"height":320,"fillColor":"#000000"}, + "nodeParent":80, + "label":"Rect", "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, + "hasChild":false, + "compId":81, "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":[ { diff --git a/laya/pages/view/DefaultTheme/AchievementPopup.ui b/laya/pages/view/DefaultTheme/AchievementPopup.ui index 2b16d77..219fd16 100644 --- a/laya/pages/view/DefaultTheme/AchievementPopup.ui +++ b/laya/pages/view/DefaultTheme/AchievementPopup.ui @@ -2,7 +2,7 @@ "x":0, "type":"View", "selectedBox":1, - "selecteID":10, + "selecteID":2, "props":{"y":50,"width":570,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75}, "nodeParent":-1, "label":"View", @@ -12,46 +12,22 @@ "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, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":5, "child":[ { + "x":30, "type":"Rect", - "props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"}, + "props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#292a28"}, "nodeParent":5, "label":"Rect", "isDirectory":false, @@ -60,46 +36,46 @@ "compId":6, "child":[ ] + }, + { + "x":30, + "type":"Rect", + "props":{"y":0,"x":560,"width":10,"lineWidth":1,"height":150,"fillColor":"#84ff55"}, + "nodeParent":5, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":14, + "child":[ + ] }] }, { "x":15, - "type":"Box", - "props":{"width":560,"height":150}, + "type":"Label", + "props":{"y":10,"text":"UI_Achievement_Achieve","left":40,"fontSize":40,"font":"SimHei","color":"#84ff55","bold":true}, "nodeParent":1, - "label":"Box", - "isOpen":true, - "isDirectory":true, + "label":"Label", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":8, + "hasChild":false, + "compId":12, "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":[ - ] - }] + ] + }, + { + "x":15, + "type":"Label", + "props":{"var":"labName","text":"Achievement","name":"labName","left":40,"fontSize":60,"font":"SimHei","color":"#cccccc","centerY":30}, + "nodeParent":1, + "label":"Label(labName)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":13, + "child":[ + ] }], "animations":[ { diff --git a/laya/pages/view/DefaultTheme/Main.ui b/laya/pages/view/DefaultTheme/Main.ui index 6f613c6..9b3995b 100644 --- a/laya/pages/view/DefaultTheme/Main.ui +++ b/laya/pages/view/DefaultTheme/Main.ui @@ -1,8 +1,8 @@ { "x":0, "type":"View", - "selectedBox":85, - "selecteID":86, + "selectedBox":1, + "selecteID":83, "props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5}, "nodeParent":-1, "label":"View", @@ -67,17 +67,16 @@ { "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}, + "props":{"width":260,"var":"btnThanks","top":50,"runtime":"ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5}, "nodeParent":1, "label":"Box(btnThanks)", - "isOpen":true, + "isOpen":false, "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, @@ -93,95 +92,128 @@ { "x":15, "type":"Box", - "props":{"y":0,"x":1100,"width":1,"top":0,"runtime":"ColorfulBox","right":0,"height":1}, + "props":{"width":260,"var":"btnAchievement","top":180,"runtime":"ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5}, "nodeParent":1, - "label":"Box", + "label":"Box(btnAchievement)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":84, + "compId":21, "child":[ { "x":30, + "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":{"y":0,"x":0,"width":160,"var":"btnGithub","runtime":"ScaleButton","rotation":-45,"name":"btnGithub","height":160,"anchorY":0,"anchorX":0.5}, + "nodeParent":1, + "label":"Box(btnGithub)", + "isOpen":false, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":82, + "child":[ + { + "type":"Rect", + "props":{"y":0,"x":-70,"width":300,"lineWidth":1,"height":140,"fillColor":"#000000"}, + "nodeParent":82, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":88, + "child":[ + ] + }, + { + "type":"Image", + "props":{"top":0,"skin":"images/icons/icon_github.png","rotation":0,"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":"Rect", + "props":{"y":0,"x":-70,"width":300,"renderType":"hit","lineWidth":1,"height":140,"fillColor":"#000000"}, + "nodeParent":82, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":89, + "child":[ + ] + }, + { "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, + "props":{"y":0,"x":-70,"renderType":"mask"}, + "nodeParent":82, + "label":"Box", + "isOpen":null, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":21, + "compId":91, "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)", + "type":"Rect", + "props":{"width":300,"lineWidth":1,"height":140,"fillColor":"#000000"}, + "nodeParent":91, + "label":"Rect", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":25, + "compId":90, "child":[ ] - }], - "$HIDDEN":false + }] }] }, { "x":15, "type":"Box", - "props":{"width":1,"left":0,"height":1,"bottom":0}, + "props":{"width":160,"left":50,"height":160,"bottom":50}, "nodeParent":1, "label":"Box", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":87, + "compId":92, "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":true, - "isDirectory":true, - "isAniNode":true, - "hasChild":true, - "compId":82, - "child":[ - { - "x":45, - "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, + "props":{"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":92, "label":"Box(btnDiscord)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":83, "child":[ { - "x":45, "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, diff --git a/laya/pages/view/DefaultTheme/Property.ui b/laya/pages/view/DefaultTheme/Property.ui index a7edcbc..1f3ddd2 100644 --- a/laya/pages/view/DefaultTheme/Property.ui +++ b/laya/pages/view/DefaultTheme/Property.ui @@ -2,9 +2,9 @@ "x":0, "type":"View", "selectedBox":1, - "selecteID":97, + "selecteID":8, "referenceLines":null, - "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436}, + "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", "isOpen":true, @@ -15,105 +15,33 @@ "child":[ { "x":15, - "type":"Box", - "props":{"top":40,"right":0,"name":"title","left":0}, + "type":"Label", + "props":{"y":80,"var":"title","text":"UI_Title_Property","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, "nodeParent":1, - "label":"Box(title)", - "isOpen":false, - "isDirectory":true, + "label":"Label(title)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":2, + "hasChild":false, + "compId":6, "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}, + "props":{"top":230,"right":40,"name":"propertyAllocate","left":40,"height":1100}, "nodeParent":1, "label":"Box(propertyAllocate)", - "isOpen":false, + "isOpen":true, "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":[ - ] - }, - { + "x":30, "type":"HBox", - "props":{"top":680,"right":80,"height":100}, + "props":{"top":0,"height":100,"centerX":0}, "nodeParent":8, "label":"HBox", "isOpen":true, @@ -123,10 +51,11 @@ "compId":50, "child":[ { + "x":45, "type":"Label", - "props":{"x":0,"text":"UI_Left_Property_Point","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0}, + "props":{"x":0,"text":"UI_Left_Property_Point","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}, "nodeParent":50, - "label":"Label", + "label":"Label(font_default)", "isDirectory":false, "isAniNode":true, "hasChild":false, @@ -135,10 +64,11 @@ ] }, { + "x":45, "type":"Label", - "props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0}, + "props":{"x":1,"text":"UI_Colon","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}, "nodeParent":50, - "label":"Label", + "label":"Label(font_default)", "isDirectory":false, "isAniNode":true, "hasChild":false, @@ -147,8 +77,9 @@ ] }, { + "x":45, "type":"Label", - "props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"labLeftPropertyPoint","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":0}, + "props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"font_default","fontSize":70,"color":"#ffffff","centerY":0}, "nodeParent":50, "label":"Label(labLeftPropertyPoint)", "isDirectory":false, @@ -160,8 +91,9 @@ }] }, { + "x":30, "type":"VBox", - "props":{"top":90,"space":22,"right":50,"left":50,"height":600}, + "props":{"top":200,"space":100,"right":50,"left":50}, "nodeParent":8, "label":"VBox", "isOpen":true, @@ -171,8 +103,9 @@ "compId":120, "child":[ { + "x":45, "type":"Box", - "props":{"y":0,"var":"boxCharm","right":0,"name":"boxCharm","left":0,"height":130}, + "props":{"y":0,"var":"boxCharm","right":0,"left":0,"height":130}, "nodeParent":120, "label":"Box(boxCharm)", "isOpen":true, @@ -182,32 +115,9 @@ "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":[ - ] - }] - }, - { + "x":60, "type":"Label", - "props":{"x":183,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, + "props":{"x":183,"text":"UI_Property_Charm","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":10, "label":"Label", "isDirectory":false, @@ -218,11 +128,12 @@ ] }, { + "x":60, "type":"Box", - "props":{"width":590,"var":"boxCharmAllocate","right":30,"name":"boxCharmAllocate","height":110,"centerY":0}, + "props":{"width":590,"var":"boxCharmAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0}, "nodeParent":10, "label":"Box(boxCharmAllocate)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -233,7 +144,7 @@ "props":{"width":110,"var":"btnCharmReduce","name":"btnCharmReduce","left":0,"height":110,"centerY":0}, "nodeParent":20, "label":"Box(btnCharmReduce)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -244,6 +155,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":21, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -251,7 +163,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":24, "label":"Rect", "isDirectory":false, @@ -263,7 +175,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":24, "label":"Rect", "isDirectory":false, @@ -275,7 +187,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":24, "label":"Rect", "isDirectory":false, @@ -287,7 +199,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":24, "label":"Rect", "isDirectory":false, @@ -303,6 +215,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":21, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -313,6 +226,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":39, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -320,7 +234,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":25, "label":"Rect", "isDirectory":false, @@ -338,7 +252,7 @@ "props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0}, "nodeParent":20, "label":"Box", - "isOpen":false, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -346,7 +260,7 @@ "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"}, + "props":{"var":"inputCharm","type":"number","top":0,"text":"0","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}, "nodeParent":42, "label":"TextInput(inputCharm)", "isDirectory":false, @@ -357,40 +271,28 @@ ] }, { - "type":"Box", - "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2}, + "type":"Rect", + "props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":42, - "label":"Box", - "isOpen":true, - "isDirectory":true, + "label":"Rect", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":43, + "hasChild":false, + "compId":223, "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":"Rect", + "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, + "nodeParent":42, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":224, + "child":[ + ] }] }, { @@ -398,7 +300,7 @@ "props":{"width":110,"var":"btnCharmIncrease","right":0,"name":"btnCharmIncrease","height":110,"centerY":0}, "nodeParent":20, "label":"Box(btnCharmIncrease)", - "isOpen":null, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -409,6 +311,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":22, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -416,7 +319,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":31, "label":"Rect", "isDirectory":false, @@ -428,7 +331,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":31, "label":"Rect", "isDirectory":false, @@ -440,7 +343,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":31, "label":"Rect", "isDirectory":false, @@ -452,7 +355,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":31, "label":"Rect", "isDirectory":false, @@ -468,6 +371,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":22, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -478,6 +382,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":38, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -485,7 +390,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":36, "label":"Rect", "isDirectory":false, @@ -501,6 +406,7 @@ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":38, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -508,7 +414,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":40, "label":"Rect", "isDirectory":false, @@ -524,8 +430,9 @@ }] }, { + "x":45, "type":"Box", - "props":{"y":1,"var":"boxIntelligence","right":0,"name":"boxIntelligence","left":0,"height":130}, + "props":{"y":1,"var":"boxIntelligence","right":0,"left":0,"height":130}, "nodeParent":120, "label":"Box(boxIntelligence)", "isOpen":true, @@ -535,32 +442,9 @@ "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":[ - ] - }] - }, - { + "x":60, "type":"Label", - "props":{"x":183,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, + "props":{"x":183,"text":"UI_Property_Intelligence","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":121, "label":"Label", "isDirectory":false, @@ -571,11 +455,12 @@ ] }, { + "x":60, "type":"Box", - "props":{"width":590,"var":"boxIntelligenceAllocate","right":30,"name":"boxIntelligenceAllocate","height":110,"centerY":0}, + "props":{"width":590,"var":"boxIntelligenceAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0}, "nodeParent":121, "label":"Box(boxIntelligenceAllocate)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -586,7 +471,7 @@ "props":{"width":110,"var":"btnIntelligenceReduce","name":"btnIntelligenceReduce","left":0,"height":110,"centerY":0}, "nodeParent":125, "label":"Box(btnIntelligenceReduce)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -597,6 +482,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":126, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -604,7 +490,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":127, "label":"Rect", "isDirectory":false, @@ -616,7 +502,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":127, "label":"Rect", "isDirectory":false, @@ -628,7 +514,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":127, "label":"Rect", "isDirectory":false, @@ -640,7 +526,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":127, "label":"Rect", "isDirectory":false, @@ -656,6 +542,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":126, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -666,6 +553,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":132, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -673,7 +561,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":133, "label":"Rect", "isDirectory":false, @@ -699,7 +587,7 @@ "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"}, + "props":{"var":"inputIntelligence","type":"number","top":0,"text":"0","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}, "nodeParent":135, "label":"TextInput(inputIntelligence)", "isDirectory":false, @@ -710,40 +598,28 @@ ] }, { - "type":"Box", - "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2}, + "type":"Rect", + "props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":135, - "label":"Box", - "isOpen":null, - "isDirectory":true, + "label":"Rect", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":137, + "hasChild":false, + "compId":221, "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":"Rect", + "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, + "nodeParent":135, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":222, + "child":[ + ] }] }, { @@ -751,7 +627,7 @@ "props":{"width":110,"var":"btnIntelligenceIncrease","right":0,"name":"btnIntelligenceIncrease","height":110,"centerY":0}, "nodeParent":125, "label":"Box(btnIntelligenceIncrease)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -762,6 +638,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":140, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -769,7 +646,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":141, "label":"Rect", "isDirectory":false, @@ -781,7 +658,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":141, "label":"Rect", "isDirectory":false, @@ -793,7 +670,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":141, "label":"Rect", "isDirectory":false, @@ -805,7 +682,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":141, "label":"Rect", "isDirectory":false, @@ -821,6 +698,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":140, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -831,6 +709,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":146, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -838,7 +717,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":147, "label":"Rect", "isDirectory":false, @@ -854,6 +733,7 @@ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":146, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -861,7 +741,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":149, "label":"Rect", "isDirectory":false, @@ -877,8 +757,9 @@ }] }, { + "x":45, "type":"Box", - "props":{"y":2,"var":"boxStrength","right":0,"name":"boxStrength","left":0,"height":130}, + "props":{"y":2,"var":"boxStrength","right":0,"left":0,"height":130}, "nodeParent":120, "label":"Box(boxStrength)", "isOpen":true, @@ -888,32 +769,9 @@ "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":[ - ] - }] - }, - { + "x":60, "type":"Label", - "props":{"x":183,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, + "props":{"x":183,"text":"UI_Property_Strength","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":151, "label":"Label", "isDirectory":false, @@ -924,11 +782,12 @@ ] }, { + "x":60, "type":"Box", - "props":{"width":590,"var":"boxStrengthAllocate","right":30,"name":"boxStrengthAllocate","height":110,"centerY":0}, + "props":{"width":590,"var":"boxStrengthAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0}, "nodeParent":151, "label":"Box(boxStrengthAllocate)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -939,7 +798,7 @@ "props":{"width":110,"var":"btnStrengthReduce","name":"btnStrengthReduce","left":0,"height":110,"centerY":0}, "nodeParent":155, "label":"Box(btnStrengthReduce)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -950,6 +809,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":156, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -957,7 +817,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":157, "label":"Rect", "isDirectory":false, @@ -969,7 +829,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":157, "label":"Rect", "isDirectory":false, @@ -981,7 +841,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":157, "label":"Rect", "isDirectory":false, @@ -993,7 +853,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":157, "label":"Rect", "isDirectory":false, @@ -1009,6 +869,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":156, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1019,6 +880,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":162, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1026,7 +888,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":163, "label":"Rect", "isDirectory":false, @@ -1052,7 +914,7 @@ "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"}, + "props":{"var":"inputStrength","type":"number","top":0,"text":"0","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}, "nodeParent":165, "label":"TextInput(inputStrength)", "isDirectory":false, @@ -1063,40 +925,28 @@ ] }, { - "type":"Box", - "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2}, + "type":"Rect", + "props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":165, - "label":"Box", - "isOpen":null, - "isDirectory":true, + "label":"Rect", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":167, + "hasChild":false, + "compId":219, "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":"Rect", + "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, + "nodeParent":165, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":220, + "child":[ + ] }] }, { @@ -1104,7 +954,7 @@ "props":{"width":110,"var":"btnStrengthIncrease","right":0,"name":"btnStrengthIncrease","height":110,"centerY":0}, "nodeParent":155, "label":"Box(btnStrengthIncrease)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1115,6 +965,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":170, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1122,7 +973,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":171, "label":"Rect", "isDirectory":false, @@ -1134,7 +985,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":171, "label":"Rect", "isDirectory":false, @@ -1146,7 +997,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":171, "label":"Rect", "isDirectory":false, @@ -1158,7 +1009,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":171, "label":"Rect", "isDirectory":false, @@ -1174,6 +1025,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":170, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1184,6 +1036,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":176, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1191,7 +1044,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":177, "label":"Rect", "isDirectory":false, @@ -1207,6 +1060,7 @@ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":176, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1214,7 +1068,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":179, "label":"Rect", "isDirectory":false, @@ -1230,8 +1084,9 @@ }] }, { + "x":45, "type":"Box", - "props":{"y":3,"var":"boxMoney","right":0,"name":"boxMoney","left":0,"height":130}, + "props":{"y":3,"var":"boxMoney","right":0,"left":0,"height":130}, "nodeParent":120, "label":"Box(boxMoney)", "isOpen":true, @@ -1241,32 +1096,9 @@ "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":[ - ] - }] - }, - { + "x":60, "type":"Label", - "props":{"x":183,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, + "props":{"x":183,"text":"UI_Property_Money","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":181, "label":"Label", "isDirectory":false, @@ -1277,11 +1109,12 @@ ] }, { + "x":60, "type":"Box", - "props":{"width":590,"var":"boxMoneyAllocate","right":30,"name":"boxMoneyAllocate","height":110,"centerY":0}, + "props":{"width":590,"var":"boxMoneyAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0}, "nodeParent":181, "label":"Box(boxMoneyAllocate)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1292,7 +1125,7 @@ "props":{"width":110,"var":"btnMoneyReduce","name":"btnMoneyReduce","left":0,"height":110,"centerY":0}, "nodeParent":185, "label":"Box(btnMoneyReduce)", - "isOpen":false, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1303,6 +1136,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":186, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1310,7 +1144,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":187, "label":"Rect", "isDirectory":false, @@ -1322,7 +1156,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":187, "label":"Rect", "isDirectory":false, @@ -1334,7 +1168,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":187, "label":"Rect", "isDirectory":false, @@ -1346,7 +1180,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":187, "label":"Rect", "isDirectory":false, @@ -1362,6 +1196,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":186, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1372,6 +1207,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":192, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1379,7 +1215,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":193, "label":"Rect", "isDirectory":false, @@ -1405,7 +1241,7 @@ "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"}, + "props":{"var":"inputMoney","type":"number","top":0,"text":"0","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}, "nodeParent":195, "label":"TextInput(inputMoney)", "isDirectory":false, @@ -1416,40 +1252,28 @@ ] }, { - "type":"Box", - "props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2}, + "type":"Rect", + "props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":195, - "label":"Box", - "isOpen":null, - "isDirectory":true, + "label":"Rect", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":197, + "hasChild":false, + "compId":217, "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":"Rect", + "props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, + "nodeParent":195, + "label":"Rect", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":218, + "child":[ + ] }] }, { @@ -1457,7 +1281,7 @@ "props":{"width":110,"var":"btnMoneyIncrease","right":0,"name":"btnMoneyIncrease","height":110,"centerY":0}, "nodeParent":185, "label":"Box(btnMoneyIncrease)", - "isOpen":null, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1468,6 +1292,7 @@ "props":{"width":110,"height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":200, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1475,7 +1300,7 @@ "child":[ { "type":"Rect", - "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":201, "label":"Rect", "isDirectory":false, @@ -1487,7 +1312,7 @@ }, { "type":"Rect", - "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#55fffe"}, + "props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}, "nodeParent":201, "label":"Rect", "isDirectory":false, @@ -1499,7 +1324,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":201, "label":"Rect", "isDirectory":false, @@ -1511,7 +1336,7 @@ }, { "type":"Rect", - "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#55fffe"}, + "props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}, "nodeParent":201, "label":"Rect", "isDirectory":false, @@ -1527,6 +1352,7 @@ "props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":200, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1537,6 +1363,7 @@ "props":{"width":48,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":206, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1544,7 +1371,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":207, "label":"Rect", "isDirectory":false, @@ -1560,6 +1387,7 @@ "props":{"width":48,"rotation":90,"height":12,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, "nodeParent":206, "label":"Box", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, @@ -1567,7 +1395,7 @@ "child":[ { "type":"Rect", - "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#55fffe"}, + "props":{"y":0,"x":0,"width":48,"lineWidth":1,"height":12,"fillColor":"#ffffff"}, "nodeParent":209, "label":"Rect", "isDirectory":false, @@ -1588,20 +1416,21 @@ { "x":15, "type":"Box", - "props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":500}, + "props":{"right":40,"name":"selectedTalents","left":40,"height":450,"bottom":300}, "nodeParent":1, "label":"Box(selectedTalents)", - "isOpen":false, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":56, "child":[ { + "x":30, "type":"Label", - "props":{"top":20,"text":"UI_Selected_Talent","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}, + "props":{"top":20,"text":"UI_Selected_Talent","name":"font_default","left":20,"fontSize":50,"font":"SimHei","color":"#ffffff"}, "nodeParent":56, - "label":"Label", + "label":"Label(font_default)", "isDirectory":false, "isAniNode":true, "hasChild":false, @@ -1610,8 +1439,9 @@ ] }, { + "x":30, "type":"List", - "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10}, + "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":20,"right":10,"repeatY":3,"repeatX":1,"name":"listSelectedTalents","left":10,"bottom":10}, "nodeParent":56, "label":"List(listSelectedTalents)", "isOpen":true, @@ -1621,121 +1451,27 @@ "compId":58, "child":[ { + "x":45, "type":"Box", - "props":{"y":20,"right":10,"renderType":"render","left":10,"height":160}, + "props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80}, "nodeParent":58, "label":"Box", "isOpen":true, "isDirectory":true, "isAniNode":false, "hasChild":true, - "compId":59, + "compId":215, "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":[ - ] - }] - }, - { + "x":60, "type":"Label", - "props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0}, - "nodeParent":59, - "label":"Label(labTitle)", + "props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":215, + "label":"Label(label)", "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, + "compId":216, "child":[ ] }] @@ -1745,21 +1481,22 @@ }, { "x":15, - "type":"Box", - "props":{"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":90}, + "type":"HBox", + "props":{"space":40,"name":"buttonGroup","height":150,"centerX":0,"bottom":90}, "nodeParent":1, - "label":"Box(buttonGroup)", - "isOpen":false, + "label":"HBox(buttonGroup)", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":71, + "compId":212, "child":[ { + "x":30, "type":"Box", - "props":{"width":500,"top":0,"left":0,"bottom":0}, - "nodeParent":71, - "label":"Box", + "props":{"y":0,"x":0,"width":480,"var":"btnRandomAllocate","top":0,"runtime":"ColorfulBox","name":"btnRandomAllocate","bottom":0}, + "nodeParent":212, + "label":"Box(btnRandomAllocate)", "isOpen":true, "isDirectory":true, "isAniNode":true, @@ -1767,273 +1504,25 @@ "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}, + "x":45, + "type":"Label", + "props":{"text":"UI_Random_Allocate","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, "nodeParent":72, - "label":"Button(btnRandomAllocate)", - "isOpen":true, - "isDirectory":true, + "label":"Label(label)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":74, + "hasChild":false, + "compId":213, "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":[ - ] - }] - }] + ] }] }, { + "x":30, "type":"Box", - "props":{"width":500,"top":0,"right":0,"bottom":0}, - "nodeParent":71, - "label":"Box", + "props":{"x":1,"width":480,"var":"btnNext","top":0,"runtime":"ColorfulBox","name":"btnNext","bottom":0}, + "nodeParent":212, + "label":"Box(btnNext)", "isOpen":true, "isDirectory":true, "isAniNode":true, @@ -2041,266 +1530,17 @@ "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}, + "x":45, + "type":"Label", + "props":{"text":"UI_Make_New_Life","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, "nodeParent":73, - "label":"Button(btnNext)", - "isOpen":true, - "isDirectory":true, + "label":"Label(label)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":75, + "hasChild":false, + "compId":214, "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 diff --git a/laya/pages/view/DefaultTheme/Summary.ui b/laya/pages/view/DefaultTheme/Summary.ui index a7b9291..9aeedce 100644 --- a/laya/pages/view/DefaultTheme/Summary.ui +++ b/laya/pages/view/DefaultTheme/Summary.ui @@ -2,8 +2,8 @@ "x":0, "type":"View", "selectedBox":1, - "selecteID":210, - "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436}, + "selecteID":8, + "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", "isOpen":true, @@ -14,812 +14,63 @@ "child":[ { "x":15, - "type":"Box", - "props":{"top":40,"right":0,"name":"title","left":0}, + "type":"Label", + "props":{"y":80,"var":"title","text":"UI_Title_Summary","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, "nodeParent":1, - "label":"Box(title)", - "isOpen":true, - "isDirectory":true, + "label":"Label(title)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":2, + "hasChild":false, + "compId":6, "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}, + "props":{"top":230,"right":40,"name":"summary","left":40,"bottom":800}, "nodeParent":1, - "label":"Box(propertyAllocate)", - "isOpen":false, + "label":"Box(summary)", + "isOpen":true, "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}, + "x":30, + "type":"List", + "props":{"var":"listSummary","top":0,"spaceY":20,"right":0,"repeatY":7,"repeatX":1,"name":"listSummary","left":0,"bottom":0}, "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", + "label":"List(listSummary)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":227, + "compId":265, "child":[ { + "x":45, "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, + "props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":160}, + "nodeParent":265, "label":"Box", "isOpen":true, "isDirectory":true, - "isAniNode":true, + "isAniNode":false, "hasChild":true, - "compId":229, + "compId":266, "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":[ - ] - }] - }, - { + "x":60, "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)", + "props":{"y":20,"text":"Title","name":"label","left":100,"fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}, + "nodeParent":266, + "label":"Label(label)", "isDirectory":false, - "isAniNode":true, + "isAniNode":false, "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, + "compId":267, "child":[ ] }] @@ -831,7 +82,7 @@ { "x":15, "type":"Box", - "props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410}, + "props":{"right":40,"name":"selectedTalents","left":40,"height":450,"bottom":300}, "nodeParent":1, "label":"Box(selectedTalents)", "isOpen":true, @@ -843,9 +94,9 @@ { "x":30, "type":"Label", - "props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"}, + "props":{"top":20,"text":"UI_Talent_Extend","name":"font_default","left":20,"fontSize":50,"color":"#ffffff"}, "nodeParent":9, - "label":"Label", + "label":"Label(font_default)", "isDirectory":false, "isAniNode":true, "hasChild":false, @@ -857,7 +108,7 @@ { "x":30, "type":"List", - "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10}, + "props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":20,"right":0,"repeatY":3,"repeatX":1,"name":"listSelectedTalents","left":0,"bottom":10}, "nodeParent":9, "label":"List(listSelectedTalents)", "isOpen":true, @@ -869,195 +120,38 @@ { "x":45, "type":"Box", - "props":{"y":20,"right":10,"renderType":"render","left":10,"height":160}, + "props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80}, "nodeParent":138, "label":"Box", "isOpen":true, "isDirectory":true, "isAniNode":false, "hasChild":true, - "compId":139, + "compId":263, "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)", + "props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":263, + "label":"Label(label)", "isDirectory":false, "isAniNode":false, "hasChild":false, - "compId":147, + "compId":264, "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)", + "type":"Box", + "props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3}, + "nodeParent":263, + "label":"Box(blank)", "isDirectory":false, "isAniNode":false, "hasChild":false, - "compId":148, + "compId":270, "child":[ ] }] @@ -1068,7 +162,7 @@ { "x":15, "type":"Box", - "props":{"x":10,"width":1000,"name":"buttonGroup","height":200,"centerX":0,"bottom":70}, + "props":{"right":1,"name":"buttonGroup","left":1,"bottom":0}, "nodeParent":1, "label":"Box(buttonGroup)", "isOpen":true, @@ -1079,268 +173,28 @@ "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}, + "type":"Box", + "props":{"width":600,"var":"btnAgain","runtime":"ColorfulBox","name":"btnAgain","height":150,"centerX":0,"bottom":100}, "nodeParent":10, - "label":"Button(btnAgain)", + "label":"Box(btnAgain)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":150, + "compId":268, "child":[ { "x":45, - "type":"Box", - "props":{}, - "nodeParent":150, - "label":"Box", - "isOpen":false, - "isDirectory":true, + "type":"Label", + "props":{"text":"UI_Remake_Again","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":268, + "label":"Label(label)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":151, + "hasChild":false, + "compId":269, "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 @@ -1354,5 +208,5 @@ "frameRate":24, "action":0 }], - "$HIDDEN":true + "$HIDDEN":false } \ No newline at end of file diff --git a/laya/pages/view/DefaultTheme/Talent.ui b/laya/pages/view/DefaultTheme/Talent.ui index c493276..c40cbad 100644 --- a/laya/pages/view/DefaultTheme/Talent.ui +++ b/laya/pages/view/DefaultTheme/Talent.ui @@ -1,8 +1,8 @@ { "x":0, "type":"View", - "selectedBox":1, - "selecteID":17, + "selectedBox":21, + "selecteID":114, "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", @@ -15,7 +15,7 @@ { "x":15, "type":"Label", - "props":{"y":130,"text":"UI_Title_Talent","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, + "props":{"y":80,"var":"title","text":"UI_Title_Talent","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}, "nodeParent":1, "label":"Label(title)", "isDirectory":false, @@ -31,14 +31,13 @@ "props":{"var":"pageDrawCard","top":0,"right":0,"name":"pageDrawCard","left":0,"bottom":0}, "nodeParent":1, "label":"Box(pageDrawCard)", - "isOpen":true, + "isOpen":false, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":19, "child":[ { - "x":30, "type":"Box", "props":{"width":600,"var":"btnDrawCard","runtime":"ColorfulBox","name":"btnDrawCard","height":150,"centerY":0,"centerX":0}, "nodeParent":19, @@ -50,7 +49,6 @@ "compId":110, "child":[ { - "x":45, "type":"Label", "props":{"text":"UI_Talent_Draw","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, "nodeParent":110, @@ -64,7 +62,7 @@ }] }], "$LOCKED":true, - "$HIDDEN":true + "$HIDDEN":false }, { "x":15, @@ -81,7 +79,7 @@ { "x":30, "type":"List", - "props":{"width":1085,"var":"listTalents","vScrollBarSkin":" ","top":310,"spaceY":20,"repeatX":1,"name":"listTalents","centerX":0,"bottom":370}, + "props":{"width":1085,"var":"listTalents","vScrollBarSkin":" ","top":230,"spaceY":20,"repeatX":1,"name":"listTalents","centerX":0,"bottom":250}, "nodeParent":21, "label":"List(listTalents)", "isOpen":true, @@ -93,7 +91,7 @@ { "x":45, "type":"Box", - "props":{"y":15,"runtime":"ColorfulBox","right":5,"renderType":"render","left":15,"height":80}, + "props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80}, "nodeParent":22, "label":"Box", "isOpen":true, @@ -114,6 +112,19 @@ "compId":30, "child":[ ] + }, + { + "x":60, + "type":"Box", + "props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3}, + "nodeParent":23, + "label":"Box(blank)", + "isDirectory":false, + "isAniNode":false, + "hasChild":false, + "compId":116, + "child":[ + ] }] }], "$LOCKED":true, diff --git a/laya/pages/view/DefaultTheme/Thanks.ui b/laya/pages/view/DefaultTheme/Thanks.ui index 035ebc1..1df926d 100644 --- a/laya/pages/view/DefaultTheme/Thanks.ui +++ b/laya/pages/view/DefaultTheme/Thanks.ui @@ -2,7 +2,7 @@ "x":0, "type":"View", "selectedBox":1, - "selecteID":1, + "selecteID":3, "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", @@ -14,16 +14,28 @@ "child":[ { "x":15, - "type":"Button", - "props":{"y":200,"var":"btnBack","skin":"images/button/button_back@3x.png","name":"btnBack","left":30}, + "type":"Box", + "props":{"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5}, "nodeParent":1, - "label":"Button(btnBack)", - "isDirectory":false, + "label":"Box(btnBack)", + "isOpen":false, + "isDirectory":true, "isAniNode":true, - "hasChild":false, - "compId":2, + "hasChild":true, + "compId":3, "child":[ - ] + { + "type":"Label", + "props":{"y":1028,"x":332,"text":"UI_Back","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":3, + "label":"Label(label)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":4, + "child":[ + ] + }] }], "animations":[ { diff --git a/laya/pages/view/DefaultTheme/Trajectory.ui b/laya/pages/view/DefaultTheme/Trajectory.ui index ffa82ea..c36daf7 100644 --- a/laya/pages/view/DefaultTheme/Trajectory.ui +++ b/laya/pages/view/DefaultTheme/Trajectory.ui @@ -1,9 +1,9 @@ { "x":0, "type":"View", - "selectedBox":14, - "selecteID":104, - "props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"ViewBase","height":2436}, + "selectedBox":1, + "selecteID":102, + "props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436}, "nodeParent":-1, "label":"View", "isOpen":true, @@ -12,37 +12,10 @@ "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}, + "props":{"top":80,"right":20,"left":20,"height":180}, "nodeParent":1, "label":"Box", "isOpen":false, @@ -52,840 +25,257 @@ "compId":31, "child":[ { - "type":"Image", - "props":{"top":-13,"skin":"images/border/border_2@3x.png","right":-13,"left":-13,"bottom":-13}, + "type":"HBox", + "props":{"space":15,"centerY":0,"centerX":0,"align":"middle"}, "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", + "label":"HBox", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":72, + "compId":71, "child":[ { - "type":"HBox", - "props":{"y":1,"space":13,"align":"middle"}, - "nodeParent":72, - "label":"HBox", + "type":"Box", + "props":{"x":0,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0}, + "nodeParent":71, + "label":"Box(propertyBox)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":71, + "compId":34, "child":[ + { + "type":"Label", + "props":{"y":45,"text":"UI_Property_Charm","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":34, + "label":"Label(label)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":39, + "child":[ + ] + }, { "type":"Box", - "props":{"x":1,"width":260,"name":"boxCharm","height":82}, - "nodeParent":71, - "label":"Box(boxCharm)", + "props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0}, + "nodeParent":34, + "label":"Box(propertyValue)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":34, + "compId":41, "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", + "props":{"y":45,"var":"labCharm","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":41, + "label":"Label(labCharm)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":39, + "compId":40, "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 - }] + }], + "$HIDDEN":false }, { - "type":"HBox", - "props":{"y":2,"space":13,"align":"middle"}, - "nodeParent":72, - "label":"HBox", + "type":"Box", + "props":{"x":1,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0}, + "nodeParent":71, + "label":"Box(propertyBox)", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":73, + "compId":50, "child":[ { - "type":"Box", - "props":{"y":0,"x":0,"width":260,"name":"boxStrength","height":82}, - "nodeParent":73, - "label":"Box(boxStrength)", - "isOpen":false, - "isDirectory":true, + "type":"Label", + "props":{"y":45,"text":"UI_Property_Intelligence","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":50, + "label":"Label(label)", + "isDirectory":false, "isAniNode":true, - "hasChild":true, - "compId":74, + "hasChild":false, + "compId":54, "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, + "props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0}, + "nodeParent":50, + "label":"Box(propertyValue)", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":81, + "compId":55, "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", + "props":{"y":41,"var":"labIntelligence","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":55, + "label":"Label(labIntelligence)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":85, + "compId":56, "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, + "props":{"x":2,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0}, + "nodeParent":71, + "label":"Box(propertyBox)", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":130, + "compId":74, "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", + "type":"Label", + "props":{"y":45,"text":"UI_Property_Strength","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":74, + "label":"Label(label)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":132, + "compId":78, "child":[ ] }, { "type":"Box", - "props":{"renderType":"mask"}, - "nodeParent":130, - "label":"Box", - "isOpen":false, + "props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0}, + "nodeParent":74, + "label":"Box(propertyValue)", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":133, + "compId":79, "child":[ { - "type":"Rect", - "props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"}, - "nodeParent":133, - "label":"Rect", + "type":"Label", + "props":{"y":41,"var":"labStrength","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":79, + "label":"Label(labStrength)", "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, + "compId":80, "child":[ ] }] }] }, { - "x":45, "type":"Box", - "props":{}, - "nodeParent":13, - "label":"Box", - "isOpen":false, + "props":{"x":3,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0}, + "nodeParent":71, + "label":"Box(propertyBox)", + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, - "compId":131, + "compId":43, "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", + "type":"Label", + "props":{"y":45,"text":"UI_Property_Money","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":43, + "label":"Label(label)", "isDirectory":false, "isAniNode":true, "hasChild":false, - "compId":150, + "compId":47, "child":[ ] + }, + { + "type":"Box", + "props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0}, + "nodeParent":43, + "label":"Box(propertyValue)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":48, + "child":[ + { + "type":"Label", + "props":{"y":41,"var":"labMoney","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":48, + "label":"Label(labMoney)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":49, + "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, + "type":"Box", + "props":{"x":4,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0}, + "nodeParent":71, + "label":"Box(propertyBox)", + "isOpen":true, + "isDirectory":true, "isAniNode":true, - "hasChild":false, - "compId":106, + "hasChild":true, + "compId":81, "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":[ - ] + { + "type":"Label", + "props":{"y":45,"text":"UI_Property_Spirit","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":81, + "label":"Label(label)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":85, + "child":[ + ] + }, + { + "type":"Box", + "props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0}, + "nodeParent":81, + "label":"Box(propertyValue)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":86, + "child":[ + { + "type":"Label", + "props":{"y":41,"var":"labSpirit","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}, + "nodeParent":86, + "label":"Label(labSpirit)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":87, + "child":[ + ] + }] + }] }] }], "$LOCKED":true, @@ -894,32 +284,19 @@ { "x":15, "type":"Box", - "props":{"top":440,"right":20,"left":20,"bottom":250}, + "props":{"x":20,"var":"boxTrajectory","top":300,"runtime":"ColorfulBox","right":20,"name":"boxTrajectory","left":20,"bottom":250}, "nodeParent":1, - "label":"Box", + "label":"Box(boxTrajectory)", "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}, + "props":{"var":"panelTrajectory","vScrollBarSkin":" ","top":0,"right":0,"name":"panelTrajectory","left":0,"bottom":0}, "nodeParent":102, "label":"Panel(panelTrajectory)", "isOpen":true, @@ -931,18 +308,19 @@ { "x":45, "type":"VBox", - "props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20}, + "props":{"y":15,"var":"vboxTrajectory","space":15,"right":-6,"name":"vboxTrajectory","left":-6}, "nodeParent":18, "label":"VBox(vboxTrajectory)", - "isOpen":false, + "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":17, "child":[ { + "x":60, "type":"Box", - "props":{"right":0,"name":"boxTrajectoryItem","left":0}, + "props":{"runtime":"ColorfulBox","right":0,"name":"boxTrajectoryItem","left":0}, "nodeParent":17, "label":"Box(boxTrajectoryItem)", "isOpen":true, @@ -952,8 +330,9 @@ "compId":88, "child":[ { + "x":75, "type":"HBox", - "props":{"y":0,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"}, + "props":{"y":10,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"}, "nodeParent":88, "label":"HBox(hboxAge)", "isOpen":true, @@ -963,8 +342,9 @@ "compId":91, "child":[ { + "x":90, "type":"Label", - "props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}, + "props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}, "nodeParent":91, "label":"Label(labAge)", "isDirectory":false, @@ -975,8 +355,9 @@ ] }, { + "x":90, "type":"Label", - "props":{"x":1,"text":"岁","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}, + "props":{"x":1,"text":"岁","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}, "nodeParent":91, "label":"Label", "isDirectory":false, @@ -987,8 +368,9 @@ ] }, { + "x":90, "type":"Label", - "props":{"x":2,"text":":","fontSize":50,"font":"方正像素12","color":"#cfea5c","anchorX":0}, + "props":{"x":2,"text":":","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}, "nodeParent":91, "label":"Label", "isDirectory":false, @@ -1000,8 +382,9 @@ }] }, { + "x":75, "type":"Label", - "props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"}, + "props":{"y":10,"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":10,"fontSize":50,"font":"SimHei","color":"#ffffff"}, "nodeParent":88, "label":"Label(labContent)", "isDirectory":false, @@ -1014,105 +397,106 @@ }] }], "$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":[ - ] - }] - }] }] + }, + { + "x":15, + "type":"Box", + "props":{"right":0,"left":0,"height":1,"bottom":-1}, + "nodeParent":1, + "label":"Box", + "isOpen":false, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":14, + "child":[ + { + "type":"Box", + "props":{"width":600,"var":"btnSummary","runtime":"ColorfulBox","name":"btnSummary","height":150,"centerX":0,"bottom":80}, + "nodeParent":14, + "label":"Box(btnSummary)", + "isOpen":true, + "isDirectory":true, + "isAniNode":true, + "hasChild":true, + "compId":151, + "child":[ + { + "type":"Label", + "props":{"text":"UI_Goto_Summary","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}, + "nodeParent":151, + "label":"Label(label)", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":152, + "child":[ + ] + }] + }, + { + "type":"Box", + "props":{"y":-155,"var":"boxSpeed","runtime":"ColorFilterItem","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":[ + { + "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":[ + ] + }, + { + "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":[ + ] + }, + { + "type":"Label", + "props":{"text":"UI_Manual","fontSize":50,"color":"#ffffff","bottom":70}, + "nodeParent":104, + "label":"Label", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":107, + "child":[ + ] + }, + { + "type":"Label", + "props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"SimHei","color":"#ffffff","bottom":70}, + "nodeParent":104, + "label":"Label", + "isDirectory":false, + "isAniNode":true, + "hasChild":false, + "compId":108, + "child":[ + ] + }] + }], + "$LOCKED":true, + "$HIDDEN":false }], "animations":[ { diff --git a/public/index.html b/public/index.html index 9345cfd..fc49a04 100644 --- a/public/index.html +++ b/public/index.html @@ -11,6 +11,7 @@ + diff --git a/src/app.js b/src/app.js index adb211e..06137e8 100644 --- a/src/app.js +++ b/src/app.js @@ -69,7 +69,9 @@ class App{ this.#language = App.languages['zh-cn']; break; } - Laya.Text.langPacks = (await import(`./i18n/${this.#language}.js`)).default; + globalThis.$lang = + Laya.Text.langPacks = + (await import(`./i18n/${this.#language}.js`)).default; } resigterEvent() { @@ -79,7 +81,8 @@ class App{ } async start({ - language = App.languages['zh-cn'] + language = App.languages['zh-cn'], + theme = 'default', }) { this.resigterEvent(); this.#initLaya(); diff --git a/src/functions/util.js b/src/functions/util.js index 3e874ed..35fe0a0 100644 --- a/src/functions/util.js +++ b/src/functions/util.js @@ -67,4 +67,36 @@ function mapSet(target, source) { target[key] = source[key]; } -export { clone, max, min, sum, average, weightRandom, listRandom, getListValuesMap, mapConvert, getConvertedMap, mapSet }; \ No newline at end of file +function deepMapSet(target, source) { + for(const key in source) { + if(typeof source[key] === 'object') + deepMapSet(target[key], source[key]); + else + target[key] = source[key]; + } + return target; +} + + +function format(str, ...args) { + const replace = set => (match, key) => { + const value = set[key]; + switch(typeof value) { + case 'object': return JSON.stringify(value); + case 'boolean': + case 'number': + case 'string': return value; + default: return value?.toString?.() || match; + } + }; + + switch(args.length) { + case 0: return str; + case 1: + if (typeof(args[0]) != "object") break; + return str.replace(/{(.+?)}/g, replace(args[0])); + } + return str.replace(/{(\d+)}/g, replace(args)); +} + +export { clone, max, min, sum, average, weightRandom, listRandom, getListValuesMap, mapConvert, getConvertedMap, mapSet, deepMapSet, format }; \ No newline at end of file diff --git a/src/i18n/en-us.js b/src/i18n/en-us.js index 75d0abc..fda098a 100644 --- a/src/i18n/en-us.js +++ b/src/i18n/en-us.js @@ -46,9 +46,11 @@ export default ({ UI_Manual: 'Manual', UI_Auto: 'Auto', + UI_Goto_Summary: 'Goto Summary', UI_Title_Summary: 'Life Summary', UI_Talent_Extend: 'Talent, You can choose one to extend', UI_Remake_Again: 'Remake Again', + UI_Rank: 'Rank', UI_Final_Age: 'Age', UI_Total_Judge: 'Judge', @@ -58,35 +60,37 @@ export default ({ UI_Event_Collection_Rate: 'Event Collection', UI_Talent_Collection_Rate: 'Talent Collection', - UI_Judge_Level_0: '地狱', - UI_Judge_Level_1: '折磨', - UI_Judge_Level_2: '不佳', - UI_Judge_Level_3: '普通', - UI_Judge_Level_4: '优秀', - UI_Judge_Level_5: '罕见', - UI_Judge_Level_6: '逆天', - UI_Judge_Level_7: '传说', + UI_Achievement_Achieve: 'Achievement', - UI_Spirit_Judge_Level_0: '地狱', - UI_Spirit_Judge_Level_1: '折磨', - UI_Spirit_Judge_Level_2: '不幸', - UI_Spirit_Judge_Level_3: '普通', - UI_Spirit_Judge_Level_4: '幸福', - UI_Spirit_Judge_Level_5: '极乐', - UI_Spirit_Judge_Level_6: '天命', + UI_Judge_Level_0: 'Hell', // 地狱 + UI_Judge_Level_1: 'Worse', // 折磨 + UI_Judge_Level_2: 'Bad', // 不佳 + UI_Judge_Level_3: 'Normal', // 普通 + UI_Judge_Level_4: 'Good', // 优秀 + UI_Judge_Level_5: 'Great', // 罕见 + UI_Judge_Level_6: 'Excellent', // 逆天 + UI_Judge_Level_7: 'Perfect', // 传说 - UI_AGE_Judge_Level_0: '胎死腹中', - UI_AGE_Judge_Level_1: '早夭', - UI_AGE_Judge_Level_2: '少年', - UI_AGE_Judge_Level_3: '盛年', - UI_AGE_Judge_Level_4: '中年', - UI_AGE_Judge_Level_5: '花甲', - UI_AGE_Judge_Level_6: '古稀', - UI_AGE_Judge_Level_7: '杖朝', - UI_AGE_Judge_Level_8: '南山', - UI_AGE_Judge_Level_9: '不老', - UI_AGE_Judge_Level_10: '修仙', - UI_AGE_Judge_Level_11: '仙寿', + UI_Spirit_Judge_Level_0: 'Hell', // 地狱 + UI_Spirit_Judge_Level_1: 'Tortured', // 折磨 + UI_Spirit_Judge_Level_2: 'Unlucky', // 不幸 + UI_Spirit_Judge_Level_3: 'Normal', // 普通 + UI_Spirit_Judge_Level_4: 'Happy', // 幸福 + UI_Spirit_Judge_Level_5: 'Blissful ', // 极乐 + UI_Spirit_Judge_Level_6: 'Paradise', // 天命 + + UI_AGE_Judge_Level_0: 'Stillborn', // 胎死腹中 + UI_AGE_Judge_Level_1: 'Early', // 早夭 + UI_AGE_Judge_Level_2: 'Young', // 少年 + UI_AGE_Judge_Level_3: 'Heyday', // 盛年 + UI_AGE_Judge_Level_4: 'Middle', // 中年 + UI_AGE_Judge_Level_5: 'Sexagenarian', // 花甲 + UI_AGE_Judge_Level_6: 'Septuagenarian', // 古稀 + UI_AGE_Judge_Level_7: 'Octogenarian', // 杖朝 + UI_AGE_Judge_Level_8: 'Nonagenarian', // 南山 + UI_AGE_Judge_Level_9: '不老', // 不老 + UI_AGE_Judge_Level_10: '修仙', // 修仙 + UI_AGE_Judge_Level_11: '仙寿', // 仙寿 UI_Intelligence_Judge_Level_7: '识海', UI_Intelligence_Judge_Level_8: '元神', @@ -97,4 +101,8 @@ export default ({ UI_Strength_Judge_Level_9: '金丹', UI_Strength_Judge_Level_10: '元婴', UI_Strength_Judge_Level_11: '仙体', + + F_RemakeTimes: 'Remake {0} Times', + F_AchievementCount: 'Achievement {0}', + F_TalentSelection: '{name} ({description})', }); \ No newline at end of file diff --git a/src/i18n/zh-cn.js b/src/i18n/zh-cn.js index cb82aea..d7bc95d 100644 --- a/src/i18n/zh-cn.js +++ b/src/i18n/zh-cn.js @@ -45,6 +45,7 @@ export default ({ UI_Manual: '手动', UI_Auto: '自动', + UI_Goto_Summary: '人生总结', UI_Title_Summary: '人生总结', UI_Talent_Extend: '天赋:你可以选择一个,下辈子还能抽到', UI_Remake_Again: '再次重开', @@ -57,6 +58,9 @@ export default ({ UI_Event_Collection_Rate: '事件收集率', UI_Talent_Collection_Rate: '天赋收集率', UI_Statistics: '统计', + UI_Rank: '排行榜', + + UI_Achievement_Achieve: '获得成就', UI_Judge_Level_0: '地狱', UI_Judge_Level_1: '折磨', @@ -111,4 +115,8 @@ export default ({ UI_Achievement_Count_Judge_Level_3: '抽到橙色概率四倍', UI_Achievement_Count_Judge_Level_4: '抽到橙色概率五倍', UI_Achievement_Count_Judge_Level_5: '抽到橙色概率六倍', + + F_RemakeTimes: '已重开{0}次', + F_AchievementCount: '成就达成{0}个', + F_TalentSelection: '{name}({description})', }); \ No newline at end of file diff --git a/src/ui/layaUI.max.all.js b/src/ui/layaUI.max.all.js index b4fc2f4..db0b144 100644 --- a/src/ui/layaUI.max.all.js +++ b/src/ui/layaUI.max.all.js @@ -37,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"}}]}]}]}]}]}; + 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":"UI_Rank","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){ @@ -181,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}}]}]}]}]}; + 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":340,"x":40,"top":340,"right":40,"name":"summary","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){ @@ -263,27 +263,26 @@ 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}}]}]}]}]}; + 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":"UI_Goto_Summary","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.boxRemakeTimes=null; this.labRemakeTimes=null; this.labRemakeTimesJudge=null; + this.boxAchievementCount=null; this.labAchievementCount=null; this.labAchievementCountJudge=null; + this.boxEventRate=null; this.prgEventRate=null; this.labEventRate=null; + this.boxTalentRate=null; this.prgTalentRate=null; this.labTalentRate=null; - this.boxB=null; + this.btnRank=null; this.listAchievements=null; AchievementUI.__super.call(this); @@ -293,15 +292,14 @@ var AchievementUI=(function(_super){ var __proto__=AchievementUI.prototype; __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); - View.regComponent("ScaleButton",ScaleButton); - View.regComponent("ColorFilterItem",ColorFilterItem); + View.regComponent("ColorfulBox",ColorfulBox); 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"}}]}]}]}]}]}; + AchievementUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Label","props":{"y":80,"text":"UI_Statistics","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"y":1028,"x":332,"text":"UI_Back","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]},{"type":"Box","props":{"x":33,"width":1060,"top":230,"height":540,"centerX":0},"child":[{"type":"Box","props":{"width":500,"var":"boxRemakeTimes","top":0,"runtime":"ColorfulBox","name":"boxRemakeTimes","left":0,"height":240},"child":[{"type":"Label","props":{"var":"labRemakeTimes","text":"label","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}},{"type":"Label","props":{"var":"labRemakeTimesJudge","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}}]},{"type":"Box","props":{"width":500,"var":"boxAchievementCount","top":0,"runtime":"ColorfulBox","right":0,"name":"boxAchievementCount","height":240},"child":[{"type":"Label","props":{"var":"labAchievementCount","text":"label","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}},{"type":"Label","props":{"var":"labAchievementCountJudge","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}}]},{"type":"Box","props":{"width":500,"var":"boxEventRate","runtime":"ColorfulBox","name":"boxEventRate","left":0,"height":240,"bottom":0},"child":[{"type":"Box","props":{"y":0,"x":0,"width":500,"var":"prgEventRate","height":240,"blendMode":"lighter","alpha":0.1},"child":[{"type":"Rect","props":{"width":500,"lineWidth":1,"height":240,"fillColor":"#ffffff"}}]},{"type":"Label","props":{"text":"UI_Event_Collection_Rate","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}},{"type":"Label","props":{"var":"labEventRate","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}}]},{"type":"Box","props":{"width":500,"var":"boxTalentRate","runtime":"ColorfulBox","right":0,"name":"boxTalentRate","height":240,"bottom":0},"child":[{"type":"Box","props":{"y":0,"x":0,"width":500,"var":"prgTalentRate","height":240,"blendMode":"lighter","alpha":0.1},"child":[{"type":"Rect","props":{"width":500,"lineWidth":1,"height":240,"fillColor":"#ffffff"}}]},{"type":"Label","props":{"text":"UI_Talent_Collection_Rate","right":0,"name":"font_default","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-60,"bold":true,"align":"center"}},{"type":"Label","props":{"var":"labTalentRate","text":"label","right":0,"name":"font_default","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":60,"bold":false,"align":"center"}}]}]},{"type":"Box","props":{"width":1060,"top":800,"runtime":"ColorfulBox","name":"hr","height":10,"centerX":0}},{"type":"Label","props":{"top":870,"text":"UI_Achievement","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"x":945,"width":260,"var":"btnRank","top":870,"runtime":"ColorfulBox","right":50,"name":"btnRank","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"text":"UI_Rank","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]},{"type":"List","props":{"width":1080,"var":"listAchievements","vScrollBarSkin":" ","top":1000,"spaceY":60,"spaceX":60,"repeatX":2,"name":"listAchievements","centerX":0,"bottom":35},"child":[{"type":"Box","props":{"y":10,"x":10,"width":500,"runtime":"ColorfulBox","renderType":"render","height":320},"child":[{"type":"Label","props":{"text":"label","right":0,"name":"name","left":0,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":-80,"bold":true,"align":"center"}},{"type":"Label","props":{"text":"label","right":0,"name":"description","left":0,"fontSize":45,"font":"SimHei","color":"#ffffff","centerY":80,"bold":false,"anchorY":0,"anchorX":0,"align":"center"}},{"type":"Box","props":{"width":500,"name":"boxMask","height":320,"alpha":0.5},"child":[{"type":"Rect","props":{"width":500,"lineWidth":1,"height":320,"fillColor":"#000000"}}]}]}]}]}; return AchievementUI; })(View); var AchievementPopupUI=(function(_super){ @@ -322,7 +320,7 @@ var AchievementPopupUI=(function(_super){ } - 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}}]}]}; + AchievementPopupUI.uiView={"type":"View","props":{"y":50,"width":570,"mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},"child":[{"type":"Box","props":{"x":0,"var":"boxBg","name":"boxBg"},"child":[{"type":"Rect","props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#292a28"}},{"type":"Rect","props":{"y":0,"x":560,"width":10,"lineWidth":1,"height":150,"fillColor":"#84ff55"}}]},{"type":"Label","props":{"y":10,"text":"UI_Achievement_Achieve","left":40,"fontSize":40,"font":"SimHei","color":"#84ff55","bold":true}},{"type":"Label","props":{"var":"labName","text":"Achievement","name":"labName","left":40,"fontSize":60,"font":"SimHei","color":"#cccccc","centerY":30}}]}; return AchievementPopupUI; })(View); var MainUI=(function(_super){ @@ -351,12 +349,13 @@ var MainUI=(function(_super){ } - 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","color":"#ffffff","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}}]}]}]}; + 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","color":"#ffffff","centerY":0,"centerX":0}}]},{"type":"Box","props":{"width":260,"var":"btnThanks","top":50,"runtime":"ColorfulBox","right":50,"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":{"width":260,"var":"btnAchievement","top":180,"runtime":"ColorfulBox","right":50,"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":{"y":0,"x":0,"width":160,"var":"btnGithub","runtime":"ScaleButton","rotation":-45,"name":"btnGithub","height":160,"anchorY":0,"anchorX":0.5},"child":[{"type":"Rect","props":{"y":0,"x":-70,"width":300,"lineWidth":1,"height":140,"fillColor":"#000000"}},{"type":"Image","props":{"top":0,"skin":"images/icons/icon_github.png","rotation":0,"right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Rect","props":{"y":0,"x":-70,"width":300,"renderType":"hit","lineWidth":1,"height":140,"fillColor":"#000000"}},{"type":"Box","props":{"y":0,"x":-70,"renderType":"mask"},"child":[{"type":"Rect","props":{"width":300,"lineWidth":1,"height":140,"fillColor":"#000000"}}]}]},{"type":"Box","props":{"width":160,"left":50,"height":160,"bottom":50},"child":[{"type":"Box","props":{"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"centerY":0,"centerX":0,"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.title=null; this.labLeftPropertyPoint=null; this.boxCharm=null; this.boxCharmAllocate=null; @@ -389,44 +388,23 @@ var PropertyUI=(function(_super){ var __proto__=PropertyUI.prototype; __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); - View.regComponent("ScaleButton",ScaleButton); View.regComponent("ColorFilterItem",ColorFilterItem); + View.regComponent("ScaleButton",ScaleButton); + View.regComponent("ColorfulBox",ColorfulBox); 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}}]}]}]}]}]}; + PropertyUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Label","props":{"y":80,"var":"title","text":"UI_Title_Property","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"top":230,"right":40,"name":"propertyAllocate","left":40,"height":1100},"child":[{"type":"HBox","props":{"top":0,"height":100,"centerX":0},"child":[{"type":"Label","props":{"x":0,"text":"UI_Left_Property_Point","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}},{"type":"Label","props":{"x":1,"text":"UI_Colon","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}},{"type":"Label","props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"font_default","fontSize":70,"color":"#ffffff","centerY":0}}]},{"type":"VBox","props":{"top":200,"space":100,"right":50,"left":50},"child":[{"type":"Box","props":{"y":0,"var":"boxCharm","right":0,"left":0,"height":130},"child":[{"type":"Label","props":{"x":183,"text":"UI_Property_Charm","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxCharmAllocate","runtime":"ColorFilterItem","right":30,"name":"property","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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]},{"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","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}},{"type":"Rect","props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]}]}]},{"type":"Box","props":{"y":1,"var":"boxIntelligence","right":0,"left":0,"height":130},"child":[{"type":"Label","props":{"x":183,"text":"UI_Property_Intelligence","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxIntelligenceAllocate","runtime":"ColorFilterItem","right":30,"name":"property","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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]},{"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","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}},{"type":"Rect","props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]}]}]},{"type":"Box","props":{"y":2,"var":"boxStrength","right":0,"left":0,"height":130},"child":[{"type":"Label","props":{"x":183,"text":"UI_Property_Strength","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxStrengthAllocate","runtime":"ColorFilterItem","right":30,"name":"property","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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]},{"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","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}},{"type":"Rect","props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]}]}]},{"type":"Box","props":{"y":3,"var":"boxMoney","right":0,"left":0,"height":130},"child":[{"type":"Label","props":{"x":183,"text":"UI_Property_Money","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"width":590,"var":"boxMoneyAllocate","runtime":"ColorFilterItem","right":30,"name":"property","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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]},{"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","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"SimHei","color":"#ffffff","bottom":0,"align":"center"}},{"type":"Rect","props":{"y":0,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":370,"lineWidth":1,"height":4,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}},{"type":"Rect","props":{"y":106,"x":0,"width":110,"lineWidth":1,"height":4,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}},{"type":"Rect","props":{"y":0,"x":106,"width":4,"lineWidth":1,"height":110,"fillColor":"#ffffff"}}]},{"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":"#ffffff"}}]},{"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":"#ffffff"}}]}]}]}]}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":450,"bottom":300},"child":[{"type":"Label","props":{"top":20,"text":"UI_Selected_Talent","name":"font_default","left":20,"fontSize":50,"font":"SimHei","color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":20,"right":10,"repeatY":3,"repeatX":1,"name":"listSelectedTalents","left":10,"bottom":10},"child":[{"type":"Box","props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},"child":[{"type":"Label","props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}]},{"type":"HBox","props":{"space":40,"name":"buttonGroup","height":150,"centerX":0,"bottom":90},"child":[{"type":"Box","props":{"y":0,"x":0,"width":480,"var":"btnRandomAllocate","top":0,"runtime":"ColorfulBox","name":"btnRandomAllocate","bottom":0},"child":[{"type":"Label","props":{"text":"UI_Random_Allocate","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]},{"type":"Box","props":{"x":1,"width":480,"var":"btnNext","top":0,"runtime":"ColorfulBox","name":"btnNext","bottom":0},"child":[{"type":"Label","props":{"text":"UI_Make_New_Life","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}]}; 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.title=null; + this.listSummary=null; this.listSelectedTalents=null; this.btnAgain=null; @@ -437,20 +415,21 @@ var SummaryUI=(function(_super){ var __proto__=SummaryUI.prototype; __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); - View.regComponent("ColorFilterItem",ColorFilterItem); - View.regComponent("ScaleButton",ScaleButton); + View.regComponent("ColorfulBox",ColorfulBox); + View.regComponent("BlankBox",BlankBox); 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}}]}]}]}]}; + SummaryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Label","props":{"y":80,"var":"title","text":"UI_Title_Summary","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"top":230,"right":40,"name":"summary","left":40,"bottom":800},"child":[{"type":"List","props":{"var":"listSummary","top":0,"spaceY":20,"right":0,"repeatY":7,"repeatX":1,"name":"listSummary","left":0,"bottom":0},"child":[{"type":"Box","props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":160},"child":[{"type":"Label","props":{"y":20,"text":"Title","name":"label","left":100,"fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0}}]}]}]},{"type":"Box","props":{"right":40,"name":"selectedTalents","left":40,"height":450,"bottom":300},"child":[{"type":"Label","props":{"top":20,"text":"UI_Talent_Extend","name":"font_default","left":20,"fontSize":50,"color":"#ffffff"}},{"type":"List","props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":20,"right":0,"repeatY":3,"repeatX":1,"name":"listSelectedTalents","left":0,"bottom":10},"child":[{"type":"Box","props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},"child":[{"type":"Label","props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}},{"type":"Box","props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3}}]}]}]},{"type":"Box","props":{"right":1,"name":"buttonGroup","left":1,"bottom":0},"child":[{"type":"Box","props":{"width":600,"var":"btnAgain","runtime":"ColorfulBox","name":"btnAgain","height":150,"centerX":0,"bottom":100},"child":[{"type":"Label","props":{"text":"UI_Remake_Again","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}]}; return SummaryUI; })(View); var TalentUI=(function(_super){ function TalentUI(){ + this.title=null; this.pageDrawCard=null; this.btnDrawCard=null; this.pageResult=null; @@ -465,13 +444,14 @@ var TalentUI=(function(_super){ __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); View.regComponent("ColorfulBox",ColorfulBox); + View.regComponent("BlankBox",BlankBox); laya.ui.Component.prototype.createChildren.call(this); this.createView(TalentUI.uiView); } - TalentUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Label","props":{"y":130,"text":"UI_Title_Talent","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"var":"pageDrawCard","top":0,"right":0,"name":"pageDrawCard","left":0,"bottom":0},"child":[{"type":"Box","props":{"width":600,"var":"btnDrawCard","runtime":"ColorfulBox","name":"btnDrawCard","height":150,"centerY":0,"centerX":0},"child":[{"type":"Label","props":{"text":"UI_Talent_Draw","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]},{"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,"spaceY":20,"repeatX":1,"name":"listTalents","centerX":0,"bottom":370},"child":[{"type":"Box","props":{"y":15,"runtime":"ColorfulBox","right":5,"renderType":"render","left":15,"height":80},"child":[{"type":"Label","props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]},{"type":"Box","props":{"x":263,"width":1085,"var":"btnNext","runtime":"ColorfulBox","name":"btnNext","height":150,"centerX":0,"bottom":30},"child":[{"type":"Label","props":{"text":"UI_Next","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}]}; + TalentUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Label","props":{"y":80,"var":"title","text":"UI_Title_Talent","name":"title","fontSize":80,"font":"SimHei","color":"#ffffff","centerX":0}},{"type":"Box","props":{"var":"pageDrawCard","top":0,"right":0,"name":"pageDrawCard","left":0,"bottom":0},"child":[{"type":"Box","props":{"width":600,"var":"btnDrawCard","runtime":"ColorfulBox","name":"btnDrawCard","height":150,"centerY":0,"centerX":0},"child":[{"type":"Label","props":{"text":"UI_Talent_Draw","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]},{"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":230,"spaceY":20,"repeatX":1,"name":"listTalents","centerX":0,"bottom":250},"child":[{"type":"Box","props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},"child":[{"type":"Label","props":{"y":20,"text":"Title","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}},{"type":"Box","props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3}}]}]},{"type":"Box","props":{"x":263,"width":1085,"var":"btnNext","runtime":"ColorfulBox","name":"btnNext","height":150,"centerX":0,"bottom":30},"child":[{"type":"Label","props":{"text":"UI_Next","name":"label","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}]}; return TalentUI; })(View); var ThanksUI=(function(_super){ @@ -486,32 +466,31 @@ var ThanksUI=(function(_super){ var __proto__=ThanksUI.prototype; __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); - View.regComponent("ScaleButton",ScaleButton); + View.regComponent("ColorfulBox",ColorfulBox); 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"}}]}; + ThanksUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},"child":[{"type":"Label","props":{"y":1028,"x":332,"text":"UI_Back","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]}]}; return ThanksUI; })(View); var TrajectoryUI=(function(_super){ function TrajectoryUI(){ this.labCharm=null; - this.labMoney=null; this.labIntelligence=null; this.labStrength=null; + this.labMoney=null; this.labSpirit=null; + this.boxTrajectory=null; + this.panelTrajectory=null; + this.vboxTrajectory=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); } @@ -520,14 +499,15 @@ var TrajectoryUI=(function(_super){ var __proto__=TrajectoryUI.prototype; __proto__.createChildren=function(){ View.regComponent("ViewBase",ViewBase); - View.regComponent("ScaleButton",ScaleButton); + View.regComponent("ColorfulBox",ColorfulBox); + View.regComponent("ColorFilterItem",ColorFilterItem); 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}}]}]}]}]}; + TrajectoryUI.uiView={"type":"View","props":{"width":1125,"runtime":"ViewBase","height":2436},"child":[{"type":"Box","props":{"top":80,"right":20,"left":20,"height":180},"child":[{"type":"HBox","props":{"space":15,"centerY":0,"centerX":0,"align":"middle"},"child":[{"type":"Box","props":{"x":0,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0},"child":[{"type":"Label","props":{"y":45,"text":"UI_Property_Charm","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0},"child":[{"type":"Label","props":{"y":45,"var":"labCharm","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":1,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0},"child":[{"type":"Label","props":{"y":45,"text":"UI_Property_Intelligence","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0},"child":[{"type":"Label","props":{"y":41,"var":"labIntelligence","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":2,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0},"child":[{"type":"Label","props":{"y":45,"text":"UI_Property_Strength","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0},"child":[{"type":"Label","props":{"y":41,"var":"labStrength","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":3,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0},"child":[{"type":"Label","props":{"y":45,"text":"UI_Property_Money","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0},"child":[{"type":"Label","props":{"y":41,"var":"labMoney","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]},{"type":"Box","props":{"x":4,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":180,"centerY":0},"child":[{"type":"Label","props":{"y":45,"text":"UI_Property_Spirit","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerX":0,"anchorY":0.5,"anchorX":0.5}},{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":90,"bottom":0},"child":[{"type":"Label","props":{"y":41,"var":"labSpirit","text":"10","name":"label","fontSize":60,"font":"SimHei","color":"#55fffe","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5}}]}]}]}]},{"type":"Box","props":{"x":20,"var":"boxTrajectory","top":300,"runtime":"ColorfulBox","right":20,"name":"boxTrajectory","left":20,"bottom":250},"child":[{"type":"Panel","props":{"var":"panelTrajectory","vScrollBarSkin":" ","top":0,"right":0,"name":"panelTrajectory","left":0,"bottom":0},"child":[{"type":"VBox","props":{"y":15,"var":"vboxTrajectory","space":15,"right":-6,"name":"vboxTrajectory","left":-6},"child":[{"type":"Box","props":{"runtime":"ColorfulBox","right":0,"name":"boxTrajectoryItem","left":0},"child":[{"type":"HBox","props":{"y":10,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},"child":[{"type":"Label","props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":1,"text":"岁","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}},{"type":"Label","props":{"x":2,"text":":","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0}}]},{"type":"Label","props":{"y":10,"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":10,"fontSize":50,"font":"SimHei","color":"#ffffff"}}]}]}]}]},{"type":"Box","props":{"right":0,"left":0,"height":1,"bottom":-1},"child":[{"type":"Box","props":{"width":600,"var":"btnSummary","runtime":"ColorfulBox","name":"btnSummary","height":150,"centerX":0,"bottom":80},"child":[{"type":"Label","props":{"text":"UI_Goto_Summary","name":"label","fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0}}]},{"type":"Box","props":{"y":-155,"var":"boxSpeed","runtime":"ColorFilterItem","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,"color":"#ffffff","bottom":70}},{"type":"Label","props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"SimHei","color":"#ffffff","bottom":70}}]}]}]}; return TrajectoryUI; })(View); var LoadingUI=(function(_super){ diff --git a/src/ui/runtime.js b/src/ui/runtime.js index 0a6b62b..6096f9f 100644 --- a/src/ui/runtime.js +++ b/src/ui/runtime.js @@ -465,4 +465,62 @@ class ColorfulBox extends Laya.Box { label.text = value; } +} + +class BlankBox extends Laya.Box { + constructor() { + super(); + this.mask = new Laya.Sprite(); + this.#blank = new Laya.Sprite(); + this.addChild(this.#blank); + } + + #blank; + #timeLine; + #pause = true; + + #draw() { + this.mask.graphics.clear(); + this.#blank.graphics.clear(); + this.mask.graphics.drawRect(0, 0, this.width, this.height, '#000000'); + this.#blank.graphics.drawRect(0, 0, this.width, this.height, '#000000'); + if(this.#timeLine) this.#timeLine.destroy(); + this.#timeLine = new Laya.TimeLine() + .to(this.#blank, { x: this.width }, 2000) + .to(this.#blank, { x: -this.width }, 0); + this.#timeLine.play(0, true); + if(this.#pause) this.#timeLine.pause(); + } + get pause() { + return this.#pause; + } + set pause(value) { + if(this.#pause == value) return; + this.#pause = value; + this.#blank.visible = !value; + if(value) this.#timeLine.pause(); + else this.#timeLine.resume(); + } + + destroy(destroyChild) { + this.#timeLine.destroy(true); + super.destroy(destroyChild); + } + + get width() { + return super.width; + } + set width(value) { + super.width = value; + this.#blank.x = -this.width; + this.#draw(); + } + + get height() { + return super.height; + } + set height(value) { + super.height = value; + this.#draw(); + } } \ No newline at end of file diff --git a/src/ui/themes/cyber/trajectory.js b/src/ui/themes/cyber/trajectory.js index 883078b..3e5cf4b 100644 --- a/src/ui/themes/cyber/trajectory.js +++ b/src/ui/themes/cyber/trajectory.js @@ -55,10 +55,6 @@ export default class CyberTrajectory extends CyberTrajectoryUI { #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'); diff --git a/src/ui/themes/default/achievement.js b/src/ui/themes/default/achievement.js index 8d25a22..c51bbb7 100644 --- a/src/ui/themes/default/achievement.js +++ b/src/ui/themes/default/achievement.js @@ -2,100 +2,51 @@ 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.labRemakeTimes.text = $_.format($lang.F_RemakeTimes, statistics[pt.TMS].value); this.labRemakeTimesJudge.text = statistics[pt.TMS].judge; - this.labAchievementCountJudge.color = $ui.common.grade[statistics[pt.TMS].grade]; + $_.deepMapSet(this.boxRemakeTimes, $ui.common.achievement[statistics[pt.TMS].grade]); - this.labAchievementCount.text = statistics[pt.CACHV].value; + this.labAchievementCount.text = $_.format($lang.F_AchievementCount, statistics[pt.CACHV].value); this.labAchievementCountJudge.text = statistics[pt.CACHV].judge; - this.labAchievementCountJudge.color = $ui.common.grade[statistics[pt.CACHV].grade]; + $_.deepMapSet(this.boxAchievementCount, $ui.common.achievement[statistics[pt.CACHV].grade]); this.labEventRate.text = parseInt(statistics[pt.REVT].value*100)+'%'; - this.prgEventRate.value = statistics[pt.REVT].value; + this.prgEventRate.scaleX = statistics[pt.REVT].value; + $_.deepMapSet(this.boxEventRate, $ui.common.achievement[statistics[pt.REVT].grade]); this.labTalentRate.text = parseInt(statistics[pt.RTLT].value*100)+'%'; - this.prgTalentRate.value = statistics[pt.RTLT].value; + this.prgTalentRate.scaleX = statistics[pt.RTLT].value; + $_.deepMapSet(this.boxTalentRate, $ui.common.achievement[statistics[pt.RTLT].grade]); } - 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) { + onRenderAchievement(box) { const dataSource = box.dataSource; const name = box.getChildByName('name'); const description = box.getChildByName('description'); - const completed = box.getChildByName('completed'); - const uncomplete = box.getChildByName('uncomplete'); + const boxMask = box.getChildByName('boxMask'); + + $_.deepMapSet(box, $ui.common.achievement[dataSource.grade]); + name.color = description.color = $ui.common.defaultFontColor; if(dataSource.isAchieved) { name.text = dataSource.name; description.text = dataSource.description; - completed.visible = true; - uncomplete.visible = false; + boxMask.visible = false; } else { name.text = dataSource.hide? '???': dataSource.name; description.text = dataSource.hide? '???': dataSource.description; - completed.visible = false; - uncomplete.visible = true; + boxMask.visible = true; } - - box.colorFilter = $ui.gradeFilter(dataSource.grade); } } \ No newline at end of file diff --git a/src/ui/themes/default/property.js b/src/ui/themes/default/property.js index 2fd03b6..012872f 100644 --- a/src/ui/themes/default/property.js +++ b/src/ui/themes/default/property.js @@ -97,42 +97,6 @@ export default class Property extends PropertyUI { 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) { @@ -209,35 +173,9 @@ export default class Property extends PropertyUI { 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"); + box.label = $_.format($lang.F_TalentSelection, dataSource); + const style = $ui.common.card[dataSource.grade].normal; - 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; - } + $_.deepMapSet(box, style); } } \ No newline at end of file diff --git a/src/ui/themes/default/summary.js b/src/ui/themes/default/summary.js index 0d711d4..02026e7 100644 --- a/src/ui/themes/default/summary.js +++ b/src/ui/themes/default/summary.js @@ -1,6 +1,7 @@ export default class Summary extends SummaryUI { constructor() { super(); + this.listSummary.renderHandler = Laya.Handler.create(this, this.renderSummary, null, false); this.listSelectedTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false); this.btnAgain.on(Laya.Event.CLICK, this, this.onAgain); } @@ -15,63 +16,22 @@ export default class Summary extends SummaryUI { 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]; + this.listSummary.array = [ + [core.PropertyTypes.HCHR, $lang.UI_Property_Charm], + [core.PropertyTypes.HINT, $lang.UI_Property_Intelligence], + [core.PropertyTypes.HSTR, $lang.UI_Property_Strength], + [core.PropertyTypes.HMNY, $lang.UI_Property_Money], + [core.PropertyTypes.HSPR, $lang.UI_Property_Spirit], + [core.PropertyTypes.HAGE, $lang.UI_Final_Age], + [core.PropertyTypes.SUM, $lang.UI_Total_Judge], + ].map(([type, key]) => { + const data = summary[type]; + return { + label: `${key}${$lang.UI_Colon} ${data.value} ${$lang[data.judge]}`, + grade: data.grade, + } + }); talents.sort(({id:a, grade:ag}, {id:b, grade:bg},)=>{ if(a == lastExtendTalent) return -1; @@ -81,45 +41,17 @@ export default class Summary extends SummaryUI { this.#selectedTalent = talents[0].id; this.listSelectedTalents.array = talents; } - + renderSummary(box) { + const {label, grade} = box.dataSource; + box.label = label; + $_.deepMapSet(box, $ui.common.summary[grade]); + } 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.label = $_.format($lang.F_TalentSelection, dataSource); + const style = $ui.common.card[dataSource.grade]; + $_.deepMapSet(box, dataSource.id == this.#selectedTalent? style.selected: style.normal); + box.getChildByName('blank').pause = dataSource.id != this.#selectedTalent; box.off(Laya.Event.CLICK, this, this.onSelectTalent); box.on(Laya.Event.CLICK, this, this.onSelectTalent, [dataSource.id]); } diff --git a/src/ui/themes/default/talent.js b/src/ui/themes/default/talent.js index 1729e72..fa42679 100644 --- a/src/ui/themes/default/talent.js +++ b/src/ui/themes/default/talent.js @@ -36,10 +36,16 @@ export default class Talent extends TalentUI { renderTalent(box, index) { const dataSource = box.dataSource; - box.label = `${dataSource.name}(${dataSource.description})`; - const style = $ui.common.card[dataSource.grade]; + const blank = box.getChildByName('blank'); + box.label = $_.format($lang.F_TalentSelection, dataSource); - $_.mapSet(box, this.#selected.has(index)? style.selected: style.normal); + const style = $ui.common.card[dataSource.grade]; + const changeStyle = () => { + const selected = this.#selected.has(index); + blank.pause = !selected; + $_.deepMapSet(box, selected? style.selected: style.normal); + } + changeStyle(); box.offAll(Laya.Event.CLICK); box.on(Laya.Event.CLICK, this, () => { @@ -56,7 +62,7 @@ export default class Talent extends TalentUI { ? 'UI_Next' : 'UI_Talent_Select_Uncomplete'; - $_.mapSet(box, this.#selected.has(index)? style.selected: style.normal); + changeStyle(); }); } } \ No newline at end of file diff --git a/src/ui/themes/default/trajectory.js b/src/ui/themes/default/trajectory.js index 62e1347..b0a1bc1 100644 --- a/src/ui/themes/default/trajectory.js +++ b/src/ui/themes/default/trajectory.js @@ -14,40 +14,6 @@ export default class Trajectory extends TrajectoryUI { 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()); } @@ -56,7 +22,10 @@ export default class Trajectory extends TrajectoryUI { #auto; static load() { - return ['images/slider/vslider_1@3x$bar.png']; + return [ + "images/atlas/images/progress.atlas", + 'images/atlas/images/slider.atlas', + ]; } static #createComponent = plugin.extractComponents(Trajectory.uiView, ['boxTrajectoryItem']); @@ -64,6 +33,10 @@ export default class Trajectory extends TrajectoryUI { const item = Trajectory.#createComponent('boxTrajectoryItem'); item.labContent = item.getChildByName('labContent'); item.labAge = item.getChildByName('hboxAge').getChildByName('labAge'); + const config = $ui.common.trajectoryItem; + $_.deepMapSet(item, config.box); + item.getChildByName('hboxAge')._childs.forEach(child => child.color = config.ageColor); + item.labContent.color = config.contentColor; return item; } #isEnd; diff --git a/src/ui/themes/views.js b/src/ui/themes/views.js index a203851..b800f1d 100644 --- a/src/ui/themes/views.js +++ b/src/ui/themes/views.js @@ -13,9 +13,6 @@ const popups = { ACHIEVEMENT: 'POPUP_ACHIEVEMENT', }; -const colors = { -} - const cyber = { pages: { [pages.LOADING]: "loading", @@ -62,6 +59,21 @@ const def = { configs: { bgColor: '#222831', common: { + defaultFontColor: '#eeeeee', + trajectoryItem: { + box: { + defaultColor: '#4a5361', + defaultStroke: '#eeeeee', + defaultLabel: '#eeeeee', + hoverColor: '#4a5361', + hoverStroke: '#eeeeee', + hoverLabel: '#eeeeee', + lineWidth: 2, + radius: 0, + }, + ageColor: '#ffffee', + contentColor: '#eeeeee', + }, grade: [ '#cccccc', '#55fffe', @@ -153,25 +165,105 @@ const def = { radius: 4, }, selected: { - defaultColor: '#f8f8f8', - defaultStroke: '#a5ff88', - defaultLabel: '#eeeeee', - hoverColor: '#3b3b3b', - hoverStroke: '#a5ff88', + defaultColor: '#f7a989', + defaultStroke: '#f8f8f8', + defaultLabel: '#3b3b3b', + hoverColor: '#f7a989', + hoverStroke: '#f8f8f8', hoverLabel: '#3b3b3b', lineWidth: 4, radius: 4, } } + ], + summary: [ + { + defaultColor: '#464646', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#c0c0c0', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 2, + radius: 0, + },{ + defaultColor: '#6495ed', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#87cefa', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 2, + radius: 0, + },{ + defaultColor: '#e2a7ff', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#e7beff', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 2, + radius: 0, + }, + { + defaultColor: '#ffa07a', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#f7a989', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 2, + radius: 0, + } + ], + achievement: [ + { + defaultColor: '#464646', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#c0c0c0', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 4, + radius: 0, + },{ + defaultColor: '#6495ed', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#87cefa', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 4, + radius: 0, + },{ + defaultColor: '#e2a7ff', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#e7beff', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 4, + radius: 0, + }, + { + defaultColor: '#ffa07a', + defaultStroke: '#f8f8f8', + defaultLabel: '#eeeeee', + hoverColor: '#f7a989', + hoverStroke: '#f8f8f8', + hoverLabel: '#3b3b3b', + lineWidth: 4, + radius: 0, + } ] }, class: { btn_main: { defaultColor: '#393e46', defaultStroke: '#eeeeee', + defaultLabel: '#eeeeee', hoverColor: '#ff7878', hoverStroke: '#eeeeee', - defaultLabel: '#eeeeee', hoverLabel: '#eeeeee', lineWidth: 2, radius: 4, @@ -179,15 +271,18 @@ const def = { btn_small: { defaultColor: '#5865f2', defaultStroke: '#eeeeee', + defaultLabel: '#eeeeee', hoverColor: '#1160b0', hoverStroke: '#eeeeee', - defaultLabel: '#eeeeee', hoverLabel: '#eeeeee', lineWidth: 0, radius: 4, }, title: { color: '#ffffff', + }, + font_default: { + color: '#eeeeee', } }, pages: { @@ -205,10 +300,85 @@ const def = { vars: { btnDrawCard: 'btn_main', btnNext: 'btn_main', - }, - names: { title: 'title', } + }, + [pages.PROPERTY]: { + vars: { + btnRandomAllocate: 'btn_main', + btnNext: 'btn_main', + title: 'title', + }, + names: { + font_default: 'font_default', + property: { + colorFilter: '#eeeeeeff' + } + } + }, + [pages.TRAJECTORY]: { + vars: { + btnSummary: 'btn_main', + boxTrajectory: { + defaultColor: '#393e46', + defaultStroke: '#eeeeee', + defaultLabel: '#eeeeee', + hoverColor: '#393e46', + hoverStroke: '#eeeeee', + hoverLabel: '#eeeeee', + lineWidth: 2, + radius: 4, + }, + boxSpeed: { + colorFilter: '#ffffffff' + } + }, + names: { + propertyBox: { + defaultColor: '#222831', + defaultStroke: '#eeeeee', + defaultLabel: '#eeeeee', + hoverColor: '#222831', + hoverStroke: '#eeeeee', + hoverLabel: '#eeeeee', + lineWidth: 2, + radius: 4, + }, + propertyValue: { + defaultColor: '#eeeeee', + defaultStroke: '#eeeeee', + defaultLabel: '#222831', + hoverColor: '#eeeeee', + hoverStroke: '#eeeeee', + hoverLabel: '#222831', + lineWidth: 0, + radius: 4, + } + } + }, + [pages.SUMMARY]: { + vars: { + btnAgain: 'btn_main', + title: 'title', + }, + names: { + font_default: 'font_default', + } + }, + [pages.ACHIEVEMENT]: { + vars: { + btnBack: 'btn_small', + btnRank: 'btn_small', + }, + names: { + font_default: 'font_default', + title: 'title', + } + }, + [pages.THANKS]: { + vars: { + btnBack: 'btn_small', + }, } }, popups: { diff --git a/src/ui/uiManager.js b/src/ui/uiManager.js index 79ff762..f9a8392 100644 --- a/src/ui/uiManager.js +++ b/src/ui/uiManager.js @@ -7,7 +7,7 @@ export default class UIManager { stage = Laya.stage; } this.#stage = stage; - this.#stage.bgColor = this.#configs.bgColor; + this.theme = 'default'; stage.addChild(this.#viewLayer); this.#viewLayer.zOrder = 1; @@ -192,7 +192,7 @@ export default class UIManager { if(typeof config == 'string') { config = this.#configs?.class?.[config]; } - for(const key in config) target[key] = config[key]; + $_.deepMapSet(target, config); }; if(config.names) @@ -285,6 +285,7 @@ export default class UIManager { set theme(value) { this.#theme = value; this.#stage.bgColor = this.#configs.bgColor; + document?.querySelector?.('meta[name="theme-color"]')?.setAttribute?.('content', this.#configs.bgColor); } get #pages() {