This commit is contained in:
TJH 2025-12-29 10:34:08 +08:00
parent b6849b164c
commit 6ea1408f2c
7 changed files with 4929 additions and 4248 deletions

View File

@ -227,12 +227,12 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "e9a11129-6b1c-4fb1-9583-7e9be340d000@f9941",
"__uuid__": "47aaff53-5060-4253-85db-1c3f2847e746@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@ -271,7 +271,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 11
@ -1419,11 +1419,11 @@
"b": 255,
"a": 255
},
"_string": "65.2",
"_string": "65.2222222",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 35,
"_fontSize": 35,
"_actualFontSize": 26,
"_fontSize": 26,
"_fontFamily": "Arial",
"_lineHeight": 200,
"_overflow": 2,

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "47aaff53-5060-4253-85db-1c3f2847e746",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "47aaff53-5060-4253-85db-1c3f2847e746@6c48a",
"displayName": "bigwin_di",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "47aaff53-5060-4253-85db-1c3f2847e746",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "47aaff53-5060-4253-85db-1c3f2847e746@f9941",
"displayName": "bigwin_di",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 2360,
"rawWidth": 1080,
"rawHeight": 2360,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-1180,
0,
540,
-1180,
0,
-540,
1180,
0,
540,
1180,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2360,
1080,
2360,
0,
0,
1080,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-540,
-1180,
0
],
"maxPos": [
540,
1180,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "47aaff53-5060-4253-85db-1c3f2847e746@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "47aaff53-5060-4253-85db-1c3f2847e746@6c48a"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
import { ExtrapolationMode } from "cc";
export let ICON_WIDTH = 165;
export let ICON_HEIGHT = 145;
export let ICON_WIDTH = 173;
export let ICON_HEIGHT = 166;
// 图标赔率
export let ICON_RATE = {

View File

@ -10,17 +10,17 @@ export const IconEventBus = new EventTarget();
// 高度映射表 - 减少重复计算
let HEIGHT_MAP = {
1: 240 / 1.35,
2: 386 / 1.15,
3: 528 / 1.05,
4: 674
1: 166,
2: 332,
3: 498,
4: 670
};
let BTN_HEIGHT_MAP = {
1: 145,
2: 145 * 2,
3: 145 * 3,
4: 145 * 4
1: 166,
2: 332,
3: 498,
4: 670
};
// 静态共享的Vec3对象 - 减少GC压力