UI替换
|
@ -46,6 +46,8 @@ export default class NumberToImage extends cc.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static getTimeMargin(number, width, name, targetNode: cc.Node) {
|
static getTimeMargin(number, width, name, targetNode: cc.Node) {
|
||||||
let timeArr = [];
|
let timeArr = [];
|
||||||
let total = 0;
|
let total = 0;
|
||||||
|
|
BIN
assets/UI/UI/set/kuang.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
38
assets/UI/UI/set/kuang.jpg.meta
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"ver": "2.3.7",
|
||||||
|
"uuid": "7f567136-53bc-4c96-a750-aa95eeecaa07",
|
||||||
|
"importer": "texture",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"width": 314,
|
||||||
|
"height": 96,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"kuang": {
|
||||||
|
"ver": "1.0.6",
|
||||||
|
"uuid": "5cbb11be-654b-4e9c-9d67-d6ae7a0fd06f",
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"rawTextureUuid": "7f567136-53bc-4c96-a750-aa95eeecaa07",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 314,
|
||||||
|
"height": 96,
|
||||||
|
"rawWidth": 314,
|
||||||
|
"rawHeight": 96,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
assets/UI/UI/set/方块迷阵-暂停界面.jpg
Normal file
After Width: | Height: | Size: 180 KiB |
38
assets/UI/UI/set/方块迷阵-暂停界面.jpg.meta
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"ver": "2.3.7",
|
||||||
|
"uuid": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
|
||||||
|
"importer": "texture",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"width": 1080,
|
||||||
|
"height": 2340,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"方块迷阵-暂停界面": {
|
||||||
|
"ver": "1.0.6",
|
||||||
|
"uuid": "54908e26-49c9-493d-970a-ceb0aaf6d203",
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"rawTextureUuid": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 1080,
|
||||||
|
"height": 2340,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 2340,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
assets/UI/UI/set/方块迷阵-设置界面0618.jpg
Normal file
After Width: | Height: | Size: 535 KiB |
38
assets/UI/UI/set/方块迷阵-设置界面0618.jpg.meta
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"ver": "2.3.7",
|
||||||
|
"uuid": "9d632a76-1360-4974-8437-11cc0278ac8d",
|
||||||
|
"importer": "texture",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"width": 1080,
|
||||||
|
"height": 2340,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"方块迷阵-设置界面0618": {
|
||||||
|
"ver": "1.0.6",
|
||||||
|
"uuid": "339f04df-e9ea-4ad4-bebd-5d274e63e61f",
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"rawTextureUuid": "9d632a76-1360-4974-8437-11cc0278ac8d",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 1080,
|
||||||
|
"height": 2340,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 2340,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -29,10 +29,8 @@ export default class NewClass extends cc.Component {
|
||||||
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
||||||
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
||||||
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
||||||
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
|
|
||||||
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
|
|
||||||
];
|
];
|
||||||
for (let i = 1; i <= 8 && i < this.itemList.children.length; i++) {
|
for (let i = 1; i <= 6 && i < this.itemList.children.length; i++) {
|
||||||
const spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
const spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
||||||
const price = this.itemList.children[i].children[1];
|
const price = this.itemList.children[i].children[1];
|
||||||
const title = this.itemList.children[i].children[2];
|
const title = this.itemList.children[i].children[2];
|
||||||
|
|
28
library/imports/33/339f04df-e9ea-4ad4-bebd-5d274e63e61f.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.SpriteFrame",
|
||||||
|
"content": {
|
||||||
|
"name": "方块迷阵-设置界面0618",
|
||||||
|
"texture": "9d632a76-1360-4974-8437-11cc0278ac8d",
|
||||||
|
"atlas": "",
|
||||||
|
"rect": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1080,
|
||||||
|
2340
|
||||||
|
],
|
||||||
|
"offset": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"originalSize": [
|
||||||
|
1080,
|
||||||
|
2340
|
||||||
|
],
|
||||||
|
"capInsets": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -52,10 +52,8 @@ var NewClass = /** @class */ (function (_super) {
|
||||||
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
||||||
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
||||||
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
||||||
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
|
|
||||||
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
|
|
||||||
];
|
];
|
||||||
for (var i = 1; i <= 8 && i < this.itemList.children.length; i++) {
|
for (var i = 1; i <= 6 && i < this.itemList.children.length; i++) {
|
||||||
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
||||||
var price = this.itemList.children[i].children[1];
|
var price = this.itemList.children[i].children[1];
|
||||||
var title = this.itemList.children[i].children[2];
|
var title = this.itemList.children[i].children[2];
|
||||||
|
|
28
library/imports/54/54908e26-49c9-493d-970a-ceb0aaf6d203.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.SpriteFrame",
|
||||||
|
"content": {
|
||||||
|
"name": "方块迷阵-暂停界面",
|
||||||
|
"texture": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
|
||||||
|
"atlas": "",
|
||||||
|
"rect": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1080,
|
||||||
|
2340
|
||||||
|
],
|
||||||
|
"offset": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"originalSize": [
|
||||||
|
1080,
|
||||||
|
2340
|
||||||
|
],
|
||||||
|
"capInsets": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
28
library/imports/5c/5cbb11be-654b-4e9c-9d67-d6ae7a0fd06f.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.SpriteFrame",
|
||||||
|
"content": {
|
||||||
|
"name": "kuang",
|
||||||
|
"texture": "7f567136-53bc-4c96-a750-aa95eeecaa07",
|
||||||
|
"atlas": "",
|
||||||
|
"rect": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
314,
|
||||||
|
96
|
||||||
|
],
|
||||||
|
"offset": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"originalSize": [
|
||||||
|
314,
|
||||||
|
96
|
||||||
|
],
|
||||||
|
"capInsets": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
BIN
library/imports/7f/7f567136-53bc-4c96-a750-aa95eeecaa07.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.Texture2D",
|
||||||
|
"content": "1,9729,9729,33071,33071,0,0,1"
|
||||||
|
}
|
BIN
library/imports/9d/9d632a76-1360-4974-8437-11cc0278ac8d.jpg
Normal file
After Width: | Height: | Size: 535 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.Texture2D",
|
||||||
|
"content": "1,9729,9729,33071,33071,0,0,1"
|
||||||
|
}
|
BIN
library/imports/f1/f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a.jpg
Normal file
After Width: | Height: | Size: 180 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"__type__": "cc.Texture2D",
|
||||||
|
"content": "1,9729,9729,33071,33071,0,0,1"
|
||||||
|
}
|
|
@ -145,8 +145,8 @@
|
||||||
"relativePath": "Script\\RankManager.ts"
|
"relativePath": "Script\\RankManager.ts"
|
||||||
},
|
},
|
||||||
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d": {
|
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d": {
|
||||||
"asset": 1751354233097,
|
"asset": 1751357627431,
|
||||||
"meta": 1751354233102,
|
"meta": 1751357627431,
|
||||||
"relativePath": "StartScene\\LoadScene.fire"
|
"relativePath": "StartScene\\LoadScene.fire"
|
||||||
},
|
},
|
||||||
"93c9bdf3-8205-46e5-a8f1-3576b0dbc836": {
|
"93c9bdf3-8205-46e5-a8f1-3576b0dbc836": {
|
||||||
|
@ -3250,8 +3250,8 @@
|
||||||
"relativePath": "prefab\\map\\wall.prefab"
|
"relativePath": "prefab\\map\\wall.prefab"
|
||||||
},
|
},
|
||||||
"66281f32-0047-4af8-8237-90c93fc4b0e8": {
|
"66281f32-0047-4af8-8237-90c93fc4b0e8": {
|
||||||
"asset": 1751350734594,
|
"asset": 1751360532984,
|
||||||
"meta": 1751350734600,
|
"meta": 1751360532993,
|
||||||
"relativePath": "Scene\\HomeScene.fire"
|
"relativePath": "Scene\\HomeScene.fire"
|
||||||
},
|
},
|
||||||
"4eaf518b-35ec-4262-928d-4d497c3f2830": {
|
"4eaf518b-35ec-4262-928d-4d497c3f2830": {
|
||||||
|
@ -3285,8 +3285,8 @@
|
||||||
"relativePath": "UI\\UI\\set"
|
"relativePath": "UI\\UI\\set"
|
||||||
},
|
},
|
||||||
"b01ef5c5-2755-455d-acb4-ba3818f5e331": {
|
"b01ef5c5-2755-455d-acb4-ba3818f5e331": {
|
||||||
"asset": 1751353092137,
|
"asset": 1751355190122,
|
||||||
"meta": 1751353092144,
|
"meta": 1751355190129,
|
||||||
"relativePath": "shop\\prefab\\shop.prefab"
|
"relativePath": "shop\\prefab\\shop.prefab"
|
||||||
},
|
},
|
||||||
"a81d74d9-943b-4d0e-aad5-2999276d3447": {
|
"a81d74d9-943b-4d0e-aad5-2999276d3447": {
|
||||||
|
@ -3399,11 +3399,6 @@
|
||||||
"meta": 1751340688934,
|
"meta": 1751340688934,
|
||||||
"relativePath": "Script\\Sdk\\MiniGameSdk.ts"
|
"relativePath": "Script\\Sdk\\MiniGameSdk.ts"
|
||||||
},
|
},
|
||||||
"669f44ae-4a5f-4e46-a6b0-05c6f008da46": {
|
|
||||||
"asset": 1751351951784,
|
|
||||||
"meta": 1751351972099,
|
|
||||||
"relativePath": "Script\\NumberToImage.ts"
|
|
||||||
},
|
|
||||||
"fa9a438e-1f24-47fe-bbcd-b75abcff2ea8": {
|
"fa9a438e-1f24-47fe-bbcd-b75abcff2ea8": {
|
||||||
"asset": 1751352270767,
|
"asset": 1751352270767,
|
||||||
"meta": 1751352332017,
|
"meta": 1751352332017,
|
||||||
|
@ -3414,11 +3409,6 @@
|
||||||
"meta": 1751352331898,
|
"meta": 1751352331898,
|
||||||
"relativePath": "res\\font\\font.png"
|
"relativePath": "res\\font\\font.png"
|
||||||
},
|
},
|
||||||
"48bfe66e-6056-44da-a9a0-c5b5b6222801": {
|
|
||||||
"asset": 1751353063747,
|
|
||||||
"meta": 1751353064888,
|
|
||||||
"relativePath": "shop\\script\\shop.ts"
|
|
||||||
},
|
|
||||||
"2234ab2c-a7b4-48be-90e0-ae7aa58e9d91": {
|
"2234ab2c-a7b4-48be-90e0-ae7aa58e9d91": {
|
||||||
"asset": 1751353522650,
|
"asset": 1751353522650,
|
||||||
"meta": 1751353523919,
|
"meta": 1751353523919,
|
||||||
|
@ -3433,5 +3423,30 @@
|
||||||
"asset": 1749810324000,
|
"asset": 1749810324000,
|
||||||
"meta": 1751354227036,
|
"meta": 1751354227036,
|
||||||
"relativePath": "TextureBg\\pop_Bg\\loadBg.jpg"
|
"relativePath": "TextureBg\\pop_Bg\\loadBg.jpg"
|
||||||
|
},
|
||||||
|
"669f44ae-4a5f-4e46-a6b0-05c6f008da46": {
|
||||||
|
"asset": 1751356444554,
|
||||||
|
"meta": 1751356461438,
|
||||||
|
"relativePath": "Script\\NumberToImage.ts"
|
||||||
|
},
|
||||||
|
"48bfe66e-6056-44da-a9a0-c5b5b6222801": {
|
||||||
|
"asset": 1751356459164,
|
||||||
|
"meta": 1751356461465,
|
||||||
|
"relativePath": "shop\\script\\shop.ts"
|
||||||
|
},
|
||||||
|
"f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a": {
|
||||||
|
"asset": 1750229200000,
|
||||||
|
"meta": 1751359024355,
|
||||||
|
"relativePath": "UI\\UI\\set\\方块迷阵-暂停界面.jpg"
|
||||||
|
},
|
||||||
|
"9d632a76-1360-4974-8437-11cc0278ac8d": {
|
||||||
|
"asset": 1750229266000,
|
||||||
|
"meta": 1751359024378,
|
||||||
|
"relativePath": "UI\\UI\\set\\方块迷阵-设置界面0618.jpg"
|
||||||
|
},
|
||||||
|
"7f567136-53bc-4c96-a750-aa95eeecaa07": {
|
||||||
|
"asset": 1751359531828,
|
||||||
|
"meta": 1751359548016,
|
||||||
|
"relativePath": "UI\\UI\\set\\kuang.jpg"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"platform": "mini-game",
|
"platform": "web-mobile",
|
||||||
"actualPlatform": "wechatgame",
|
"actualPlatform": "web-mobile",
|
||||||
"template": "link",
|
"template": "link",
|
||||||
"buildPath": "./build",
|
"buildPath": "./build",
|
||||||
"debug": false,
|
"debug": false,
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"width": 313,
|
"width": 313,
|
||||||
"height": 282.75,
|
"height": 226,
|
||||||
"type": "panel",
|
"type": "panel",
|
||||||
"active": 0,
|
"active": 0,
|
||||||
"children": [
|
"children": [
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"width": 313,
|
"width": 313,
|
||||||
"height": 282.75,
|
"height": 339.4895935058594,
|
||||||
"type": "panel",
|
"type": "panel",
|
||||||
"active": 0,
|
"active": 0,
|
||||||
"children": [
|
"children": [
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"last-edit": "9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
|
"last-edit": "66281f32-0047-4af8-8237-90c93fc4b0e8",
|
||||||
"recent-items": [
|
"recent-items": [
|
||||||
"5ed13d95-5b93-4407-b770-0dedeb674b0f",
|
"5ed13d95-5b93-4407-b770-0dedeb674b0f",
|
||||||
"bf502854-8e31-40c1-9d27-ac480682b4c4",
|
"bf502854-8e31-40c1-9d27-ac480682b4c4",
|
||||||
|
@ -36,9 +36,9 @@
|
||||||
"fc41ae6e-8743-4057-86fa-bff2f8ff171b",
|
"fc41ae6e-8743-4057-86fa-bff2f8ff171b",
|
||||||
"4466b8d6-b468-4cb5-bc57-7a2bd3df12e4",
|
"4466b8d6-b468-4cb5-bc57-7a2bd3df12e4",
|
||||||
"a81d74d9-943b-4d0e-aad5-2999276d3447",
|
"a81d74d9-943b-4d0e-aad5-2999276d3447",
|
||||||
"66281f32-0047-4af8-8237-90c93fc4b0e8",
|
|
||||||
"b01ef5c5-2755-455d-acb4-ba3818f5e331",
|
|
||||||
"4eaf518b-35ec-4262-928d-4d497c3f2830",
|
"4eaf518b-35ec-4262-928d-4d497c3f2830",
|
||||||
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d"
|
"b01ef5c5-2755-455d-acb4-ba3818f5e331",
|
||||||
|
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
|
||||||
|
"66281f32-0047-4af8-8237-90c93fc4b0e8"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"webOrientation": "portrait",
|
"webOrientation": "portrait",
|
||||||
"inlineSpriteFrames": true,
|
"inlineSpriteFrames": true,
|
||||||
"inlineSpriteFrames_native": true,
|
"inlineSpriteFrames_native": true,
|
||||||
"mainCompressionType": "subpackage",
|
"mainCompressionType": "default",
|
||||||
"mainIsRemote": false,
|
"mainIsRemote": false,
|
||||||
"optimizeHotUpdate": false,
|
"optimizeHotUpdate": false,
|
||||||
"md5Cache": true,
|
"md5Cache": true,
|
||||||
|
|
|
@ -52,10 +52,8 @@ var NewClass = /** @class */ (function (_super) {
|
||||||
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
|
||||||
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
|
||||||
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
|
||||||
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
|
|
||||||
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
|
|
||||||
];
|
];
|
||||||
for (var i = 1; i <= 8 && i < this.itemList.children.length; i++) {
|
for (var i = 1; i <= 6 && i < this.itemList.children.length; i++) {
|
||||||
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
|
||||||
var price = this.itemList.children[i].children[1];
|
var price = this.itemList.children[i].children[1];
|
||||||
var title = this.itemList.children[i].children[2];
|
var title = this.itemList.children[i].children[2];
|
||||||
|
|
BIN
图片资源/font/体力数字/hp_0.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 2.8 KiB |