add achievement popup

add page adaptive
add talent extends
This commit is contained in:
Vick Scarlet
2021-11-16 00:53:05 +08:00
parent 05e02de3db
commit a711fcf3ed
25 changed files with 1183 additions and 923 deletions

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":10,
"selecteID":150,
"selectedBox":1,
"selecteID":201,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -12,47 +12,22 @@
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Sprite",
"props":{},
"nodeParent":1,
"label":"Sprite",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":201,
"child":[
{
"type":"Rect",
"props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":201,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":202,
"child":[
]
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
"props":{"top":40,"right":0,"name":"title","left":0},
"nodeParent":1,
"label":"Box(title)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":2,
"child":[
{
"x":30,
"type":"Image",
"props":{"skin":"images/accessories/titlebar@3x.png"},
"props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
"nodeParent":2,
"label":"Image",
"isDirectory":false,
@@ -63,6 +38,7 @@
]
},
{
"x":30,
"type":"HBox",
"props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":2,
@@ -74,6 +50,7 @@
"compId":4,
"child":[
{
"x":45,
"type":"Image",
"props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"},
"nodeParent":4,
@@ -86,6 +63,7 @@
]
},
{
"x":45,
"type":"Label",
"props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"},
"nodeParent":4,
@@ -98,6 +76,7 @@
]
},
{
"x":45,
"type":"Image",
"props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"},
"nodeParent":4,
@@ -118,14 +97,13 @@
"props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},
"nodeParent":1,
"label":"Box(propertyAllocate)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":8,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15},
"nodeParent":8,
@@ -138,7 +116,6 @@
]
},
{
"x":30,
"type":"Box",
"props":{"top":60,"right":50,"left":50,"height":220},
"nodeParent":8,
@@ -150,7 +127,6 @@
"compId":227,
"child":[
{
"x":45,
"type":"Box",
"props":{"width":220,"left":20,"height":220,"centerY":0},
"nodeParent":227,
@@ -163,7 +139,6 @@
]
},
{
"x":45,
"type":"Box",
"props":{"top":0,"right":0,"left":250,"height":100},
"nodeParent":227,
@@ -175,7 +150,6 @@
"compId":229,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":320,"top":5,"left":5,"bottom":5},
"nodeParent":229,
@@ -187,7 +161,6 @@
"compId":231,
"child":[
{
"x":75,
"type":"Image",
"props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":231,
@@ -201,7 +174,6 @@
"$HIDDEN":false
},
{
"x":75,
"type":"HBox",
"props":{"left":20,"centerY":0},
"nodeParent":231,
@@ -213,7 +185,6 @@
"compId":239,
"child":[
{
"x":90,
"type":"Label",
"props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":239,
@@ -226,7 +197,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":239,
@@ -240,7 +210,6 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
"nodeParent":231,
@@ -254,7 +223,6 @@
}]
},
{
"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,
@@ -268,7 +236,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"right":0,"left":250,"height":100,"bottom":0},
"nodeParent":227,
@@ -280,7 +247,6 @@
"compId":230,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":320,"top":5,"left":5,"bottom":5},
"nodeParent":230,
@@ -292,7 +258,6 @@
"compId":240,
"child":[
{
"x":75,
"type":"Image",
"props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":240,
@@ -306,7 +271,6 @@
"$HIDDEN":false
},
{
"x":75,
"type":"HBox",
"props":{"left":20,"centerY":0},
"nodeParent":240,
@@ -318,7 +282,6 @@
"compId":242,
"child":[
{
"x":90,
"type":"Label",
"props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":242,
@@ -331,7 +294,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":242,
@@ -345,7 +307,6 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
"nodeParent":240,
@@ -359,7 +320,6 @@
}]
},
{
"x":60,
"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,
@@ -374,7 +334,6 @@
}]
},
{
"x":30,
"type":"VBox",
"props":{"top":340,"space":5,"right":50,"left":50},
"nodeParent":8,
@@ -386,7 +345,6 @@
"compId":16,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},
"nodeParent":16,
@@ -398,7 +356,6 @@
"compId":17,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":17,
@@ -423,7 +380,6 @@
}]
},
{
"x":60,
"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,
@@ -436,7 +392,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},
"nodeParent":17,
@@ -448,7 +403,6 @@
"compId":200,
"child":[
{
"x":75,
"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,
@@ -461,7 +415,6 @@
]
},
{
"x":75,
"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,
@@ -475,7 +428,6 @@
}]
},
{
"x":60,
"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,
@@ -489,7 +441,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},
"nodeParent":16,
@@ -501,7 +452,6 @@
"compId":47,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":47,
@@ -513,7 +463,6 @@
"compId":48,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":48,
@@ -527,7 +476,6 @@
}]
},
{
"x":60,
"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,
@@ -540,7 +488,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},
"nodeParent":47,
@@ -552,7 +499,6 @@
"compId":211,
"child":[
{
"x":75,
"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,
@@ -565,7 +511,6 @@
]
},
{
"x":75,
"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,
@@ -579,7 +524,6 @@
}]
},
{
"x":60,
"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,
@@ -593,7 +537,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},
"nodeParent":16,
@@ -605,7 +548,6 @@
"compId":77,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":77,
@@ -617,7 +559,6 @@
"compId":78,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":78,
@@ -631,7 +572,6 @@
}]
},
{
"x":60,
"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,
@@ -644,7 +584,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},
"nodeParent":77,
@@ -656,7 +595,6 @@
"compId":213,
"child":[
{
"x":75,
"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,
@@ -669,7 +607,6 @@
]
},
{
"x":75,
"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,
@@ -683,7 +620,6 @@
}]
},
{
"x":60,
"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,
@@ -697,7 +633,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},
"nodeParent":16,
@@ -709,7 +644,6 @@
"compId":107,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":107,
@@ -721,7 +655,6 @@
"compId":108,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":108,
@@ -735,7 +668,6 @@
}]
},
{
"x":60,
"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,
@@ -748,7 +680,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},
"nodeParent":107,
@@ -760,7 +691,6 @@
"compId":215,
"child":[
{
"x":75,
"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,
@@ -773,7 +703,6 @@
]
},
{
"x":75,
"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,
@@ -787,7 +716,6 @@
}]
},
{
"x":60,
"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,
@@ -801,7 +729,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},
"nodeParent":16,
@@ -813,7 +740,6 @@
"compId":195,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":195,
@@ -825,7 +751,6 @@
"compId":196,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":196,
@@ -839,7 +764,6 @@
}]
},
{
"x":60,
"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,
@@ -852,7 +776,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},
"nodeParent":195,
@@ -864,7 +787,6 @@
"compId":217,
"child":[
{
"x":75,
"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,
@@ -877,7 +799,6 @@
]
},
{
"x":75,
"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,
@@ -891,7 +812,6 @@
}]
},
{
"x":60,
"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,
@@ -914,13 +834,14 @@
"props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},
"nodeParent":1,
"label":"Box(selectedTalents)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":9,
"child":[
{
"x":30,
"type":"Label",
"props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
"nodeParent":9,
@@ -934,19 +855,21 @@
"$HIDDEN":false
},
{
"x":30,
"type":"List",
"props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
"nodeParent":9,
"label":"List(listSelectedTalents)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":138,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":20,"width":1010,"renderType":"render","height":160,"centerX":0},
"props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},
"nodeParent":138,
"label":"Box",
"isOpen":true,
@@ -956,23 +879,94 @@
"compId":139,
"child":[
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0},
"nodeParent":139,
"label":"Image",
"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":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -992,11 +986,12 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade2","height":160},
"nodeParent":139,
"label":"Box(grade2)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -1016,11 +1011,12 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade3","height":160},
"nodeParent":139,
"label":"Box(grade3)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -1040,6 +1036,7 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":139,
@@ -1052,6 +1049,7 @@
]
},
{
"x":60,
"type":"Label",
"props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
"nodeParent":139,