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
+10 -90
View File
@@ -1,10 +1,10 @@
{
"x":0,
"type":"View",
"selectedBox":20,
"selecteID":21,
"selectedBox":1,
"selecteID":97,
"referenceLines":null,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436,"centerY":0,"centerX":0},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -13,32 +13,6 @@
"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":97,
"child":[
{
"type":"Rect",
"props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":97,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":98,
"child":[
]
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
@@ -53,7 +27,7 @@
"child":[
{
"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,
@@ -68,6 +42,7 @@
"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,
@@ -118,14 +93,13 @@
"props":{"top":340,"right":40,"name":"propertyAllocate","left":40,"height":840},
"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 +112,6 @@
]
},
{
"x":30,
"type":"HBox",
"props":{"top":680,"right":80,"height":100},
"nodeParent":8,
@@ -150,7 +123,6 @@
"compId":50,
"child":[
{
"x":45,
"type":"Label",
"props":{"x":0,"text":"UI_Left_Property_Point","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -163,7 +135,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -176,7 +147,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"labLeftPropertyPoint","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -190,7 +160,6 @@
}]
},
{
"x":30,
"type":"VBox",
"props":{"top":90,"space":22,"right":50,"left":50,"height":600},
"nodeParent":8,
@@ -202,7 +171,6 @@
"compId":120,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":0,"var":"boxCharm","right":0,"name":"boxCharm","left":0,"height":130},
"nodeParent":120,
@@ -214,7 +182,6 @@
"compId":10,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":10,
@@ -226,7 +193,6 @@
"compId":17,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":17,
@@ -240,7 +206,6 @@
}]
},
{
"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},
"nodeParent":10,
@@ -253,7 +218,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxCharmAllocate","right":30,"name":"boxCharmAllocate","height":110,"centerY":0},
"nodeParent":10,
@@ -265,7 +229,6 @@
"compId":20,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnCharmReduce","name":"btnCharmReduce","left":0,"height":110,"centerY":0},
"nodeParent":20,
@@ -371,19 +334,17 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":20,
"label":"Box",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":42,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputCharm","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":42,
@@ -396,12 +357,11 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":42,
"label":"Box",
"isOpen":null,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
@@ -434,7 +394,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnCharmIncrease","right":0,"name":"btnCharmIncrease","height":110,"centerY":0},
"nodeParent":20,
@@ -565,7 +524,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":1,"var":"boxIntelligence","right":0,"name":"boxIntelligence","left":0,"height":130},
"nodeParent":120,
@@ -577,7 +535,6 @@
"compId":121,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":121,
@@ -589,7 +546,6 @@
"compId":122,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":122,
@@ -603,7 +559,6 @@
}]
},
{
"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},
"nodeParent":121,
@@ -616,7 +571,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxIntelligenceAllocate","right":30,"name":"boxIntelligenceAllocate","height":110,"centerY":0},
"nodeParent":121,
@@ -628,7 +582,6 @@
"compId":125,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnIntelligenceReduce","name":"btnIntelligenceReduce","left":0,"height":110,"centerY":0},
"nodeParent":125,
@@ -734,7 +687,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":125,
@@ -746,7 +698,6 @@
"compId":135,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputIntelligence","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":135,
@@ -759,7 +710,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":135,
@@ -797,7 +747,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnIntelligenceIncrease","right":0,"name":"btnIntelligenceIncrease","height":110,"centerY":0},
"nodeParent":125,
@@ -928,7 +877,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":2,"var":"boxStrength","right":0,"name":"boxStrength","left":0,"height":130},
"nodeParent":120,
@@ -940,7 +888,6 @@
"compId":151,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":151,
@@ -952,7 +899,6 @@
"compId":152,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":152,
@@ -966,7 +912,6 @@
}]
},
{
"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},
"nodeParent":151,
@@ -979,7 +924,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxStrengthAllocate","right":30,"name":"boxStrengthAllocate","height":110,"centerY":0},
"nodeParent":151,
@@ -991,7 +935,6 @@
"compId":155,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnStrengthReduce","name":"btnStrengthReduce","left":0,"height":110,"centerY":0},
"nodeParent":155,
@@ -1097,7 +1040,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":155,
@@ -1109,7 +1051,6 @@
"compId":165,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputStrength","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":165,
@@ -1122,7 +1063,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":165,
@@ -1160,7 +1100,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnStrengthIncrease","right":0,"name":"btnStrengthIncrease","height":110,"centerY":0},
"nodeParent":155,
@@ -1291,7 +1230,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":3,"var":"boxMoney","right":0,"name":"boxMoney","left":0,"height":130},
"nodeParent":120,
@@ -1303,7 +1241,6 @@
"compId":181,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":181,
@@ -1328,7 +1265,6 @@
}]
},
{
"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},
"nodeParent":181,
@@ -1341,7 +1277,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxMoneyAllocate","right":30,"name":"boxMoneyAllocate","height":110,"centerY":0},
"nodeParent":181,
@@ -1353,7 +1288,6 @@
"compId":185,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnMoneyReduce","name":"btnMoneyReduce","left":0,"height":110,"centerY":0},
"nodeParent":185,
@@ -1459,7 +1393,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":185,
@@ -1471,7 +1404,6 @@
"compId":195,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputMoney","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":195,
@@ -1484,7 +1416,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":195,
@@ -1522,7 +1453,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnMoneyIncrease","right":0,"name":"btnMoneyIncrease","height":110,"centerY":0},
"nodeParent":185,
@@ -1661,14 +1591,13 @@
"props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":500},
"nodeParent":1,
"label":"Box(selectedTalents)",
"isOpen":true,
"isOpen":false,
"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"},
"nodeParent":56,
@@ -1681,7 +1610,6 @@
]
},
{
"x":30,
"type":"List",
"props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
"nodeParent":56,
@@ -1693,9 +1621,8 @@
"compId":58,
"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":58,
"label":"Box",
"isOpen":true,
@@ -1705,7 +1632,6 @@
"compId":59,
"child":[
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":59,
@@ -1718,7 +1644,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade1","height":160},
"nodeParent":59,
@@ -1743,7 +1668,6 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade2","height":160},
"nodeParent":59,
@@ -1768,7 +1692,6 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade3","height":160},
"nodeParent":59,
@@ -1780,7 +1703,6 @@
"compId":66,
"child":[
{
"x":75,
"type":"Rect",
"props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"},
"nodeParent":66,
@@ -1794,7 +1716,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":59,
@@ -1807,7 +1728,6 @@
]
},
{
"x":60,
"type":"Label",
"props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
"nodeParent":59,