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