修改UI
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 49 KiB |
|
|
@ -21,11 +21,11 @@
|
|||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 813,
|
||||
"height": 1163,
|
||||
"height": 1162,
|
||||
"rawWidth": 813,
|
||||
"rawHeight": 1163,
|
||||
"borderTop": 0,
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.7 KiB |
|
|
@ -20,12 +20,12 @@
|
|||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 257,
|
||||
"height": 71,
|
||||
"offsetX": 2,
|
||||
"offsetY": -0.5,
|
||||
"trimX": 4,
|
||||
"trimY": 2,
|
||||
"width": 253,
|
||||
"height": 68,
|
||||
"rawWidth": 257,
|
||||
"rawHeight": 71,
|
||||
"borderTop": 0,
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.8 KiB |
|
|
@ -20,12 +20,12 @@
|
|||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 84,
|
||||
"height": 71,
|
||||
"offsetX": 0.5,
|
||||
"offsetY": -0.5,
|
||||
"trimX": 2,
|
||||
"trimY": 3,
|
||||
"width": 81,
|
||||
"height": 67,
|
||||
"rawWidth": 84,
|
||||
"rawHeight": 72,
|
||||
"borderTop": 0,
|
||||
|
|
|
|||
|
|
@ -3056,8 +3056,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 84,
|
||||
"height": 71
|
||||
"width": 81,
|
||||
"height": 67
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -3068,15 +3068,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -4060,15 +4060,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -5052,15 +5052,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -6044,15 +6044,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -7036,15 +7036,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -8028,15 +8028,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81,
|
||||
-165.362,
|
||||
-85,
|
||||
-163,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
0.8,
|
||||
0.8,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -14041,7 +14041,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-101.022,
|
||||
-88.839,
|
||||
5.34,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -14150,7 +14150,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-43.602,
|
||||
-31,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -14259,7 +14259,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-75.602,
|
||||
-63,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -14356,8 +14356,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 84,
|
||||
"height": 71
|
||||
"width": 81,
|
||||
"height": 67
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -14368,15 +14368,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-137.602,
|
||||
-143,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
0.8,
|
||||
0.8,
|
||||
0.9
|
||||
]
|
||||
},
|
||||
|
|
@ -15282,7 +15282,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-102,
|
||||
-89,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -15391,7 +15391,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-73,
|
||||
-60,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -15500,7 +15500,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-41,
|
||||
-28,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -15597,8 +15597,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 84,
|
||||
"height": 71
|
||||
"width": 81,
|
||||
"height": 67
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -15609,15 +15609,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-136,
|
||||
-143,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
0.8,
|
||||
0.8,
|
||||
0.9
|
||||
]
|
||||
},
|
||||
|
|
@ -16635,7 +16635,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-102,
|
||||
-88,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -16744,7 +16744,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-73,
|
||||
-60,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -16853,7 +16853,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-41,
|
||||
-28,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -16950,8 +16950,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 84,
|
||||
"height": 71
|
||||
"width": 81,
|
||||
"height": 67
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -16962,15 +16962,15 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-136,
|
||||
-143,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
0.8,
|
||||
0.8,
|
||||
0.9
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ export default class NewClass extends cc.Component {
|
|||
if (this.itemList) {
|
||||
for (let i = 2; i <= 7 && i < this.itemList.children.length; i++) {
|
||||
const price = this.itemList.children[i].children[1];
|
||||
price.setPosition(price.x + 20, price.y);
|
||||
price.setPosition(price.x + 35, price.y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||