Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
302f2e1f
Commit
302f2e1f
authored
Dec 12, 2024
by
王杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 背包文案和新弹窗
parent
0211af66
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
980 additions
and
45 deletions
+980
-45
FirstSkinPanel.meta
assets/Bundles/FirstSkinPanel.meta
+1
-0
FirstSkinPanel.prefab
assets/Bundles/FirstSkinPanel/FirstSkinPanel.prefab
+539
-0
FirstSkinPanel.prefab.meta
assets/Bundles/FirstSkinPanel/FirstSkinPanel.prefab.meta
+13
-0
png.meta
assets/Bundles/FirstSkinPanel/png.meta
+1
-0
bg.png
assets/Bundles/FirstSkinPanel/png/bg.png
+0
-0
bg.png.meta
assets/Bundles/FirstSkinPanel/png/bg.png.meta
+134
-0
MyBagPanel.prefab
assets/Bundles/MyBagPanel/MyBagPanel.prefab
+244
-40
FirstSkinPanel.ts
assets/Scripts/Panels/FirstSkinPanel.ts
+28
-0
FirstSkinPanel.ts.meta
assets/Scripts/Panels/FirstSkinPanel.ts.meta
+1
-0
MyBagPanel.ts
assets/Scripts/Panels/MyBagPanel.ts
+7
-1
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+6
-1
store.ts
assets/Scripts/store/store.ts
+2
-0
records.query.json
preview-template/mock/records.query.json
+1
-0
builder.json
profiles/v2/packages/builder.json
+3
-3
No files found.
assets/Bundles/FirstSkinPanel.meta
0 → 100644
View file @
302f2e1f
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"d2c3097f-6b1e-4552-8d0f-399dd4fb4cf0","files":[],"subMetas":{},"userData":{"isBundle":true}}
assets/Bundles/FirstSkinPanel/FirstSkinPanel.prefab
0 → 100644
View file @
302f2e1f
[
{
"__type__": "cc.Prefab",
"_name": "FirstSkinPanel",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "FirstSkinPanel",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "sign_btn",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 11
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -301,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 88
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cfpXMrMYFEn473jsaXzS1t"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "25067c00-c3b2-494f-9e1a-430164de3c0c@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7cbVxDRaRJkpxSaHgFBSR4"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 20,
"_target": null,
"_left": 0,
"_right": 70,
"_top": 0,
"_bottom": 30,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dchpjh2MpENZ7PbFg1I7gt"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b75ZTSIH5O46aAMcQuXusx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "86iht1MK9NTaRXLTHggLrU",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "signBg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
}
],
"_prefab": {
"__id__": 17
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 455
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f6cz8dQ+9M7bd5hvBy3Ygu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "85apVDjKBE3aSPJSaWciIn"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c01bmg6UFO9qXRsjShgdsx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3fliGvajRKV6ElSFhgBe05"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_alignFlags": 18,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7f8HEEOJBNGoLpGt2Yuf+q"
},
{
"__type__": "52c80SEFPBJBbevjyHnShfx",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"closeBtn": {
"__id__": 2
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4bXhnL8hhI4JZsobF0BMI8"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/FirstSkinPanel/FirstSkinPanel.prefab.meta
0 → 100644
View file @
302f2e1f
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "425bc58a-66e2-4e59-8ef5-ef3cf29c6932",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "FirstSkinPanel"
}
}
assets/Bundles/FirstSkinPanel/png.meta
0 → 100644
View file @
302f2e1f
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"c13a8151-e0e2-4c33-8e6d-807058d7b8d4","files":[],"subMetas":{},"userData":{}}
assets/Bundles/FirstSkinPanel/png/bg.png
0 → 100644
View file @
302f2e1f
40.6 KB
assets/Bundles/FirstSkinPanel/png/bg.png.meta
0 → 100644
View file @
302f2e1f
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1",
"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": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 455,
"rawWidth": 1624,
"rawHeight": 455,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-227.5,
0,
812,
-227.5,
0,
-812,
227.5,
0,
812,
227.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
455,
1624,
455,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-227.5,
0
],
"maxPos": [
812,
227.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "12ff64d0-ce7f-45d6-bde8-ce6ce253ede1@6c48a"
}
}
assets/Bundles/MyBagPanel/MyBagPanel.prefab
View file @
302f2e1f
...
@@ -25,17 +25,17 @@
...
@@ -25,17 +25,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
0
"__id__": 10
8
},
},
{
{
"__id__": 1
02
"__id__": 1
10
},
},
{
{
"__id__": 1
04
"__id__": 1
12
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
06
"__id__": 1
14
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -88,20 +88,20 @@
...
@@ -88,20 +88,20 @@
"__id__": 65
"__id__": 65
},
},
{
{
"__id__": 8
0
"__id__": 8
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
95
"__id__":
103
},
},
{
{
"__id__":
97
"__id__":
105
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
99
"__id__":
107
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -1638,19 +1638,22 @@
...
@@ -1638,19 +1638,22 @@
"_children": [
"_children": [
{
{
"__id__": 66
"__id__": 66
},
{
"__id__": 75
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
75
"__id__":
83
},
},
{
{
"__id__":
77
"__id__":
85
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
79
"__id__":
87
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -1850,6 +1853,204 @@
...
@@ -1850,6 +1853,204 @@
"targetOverrides": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"nestedPrefabInstanceRoots": null
},
},
{
"__type__": "cc.Node",
"_name": "暂无数据",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 65
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 76
},
{
"__id__": 78
},
{
"__id__": 80
}
],
"_prefab": {
"__id__": 82
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 75
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6f1u2maj1JIbTrm8FhLn2W"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 75
},
"_enabled": true,
"__prefab": {
"__id__": 79
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "暂无数据",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1fs8yb8T9F0pmvqtQk6EG3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 75
},
"_enabled": true,
"__prefab": {
"__id__": 81
},
"_alignFlags": 18,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2dE/Vo/85BdZKZ285drGhs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5eu/gu+e9NAJdn96mMd7AH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
"_name": "",
"_name": "",
...
@@ -1860,7 +2061,7 @@
...
@@ -1860,7 +2061,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
76
"__id__":
84
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -1888,7 +2089,7 @@
...
@@ -1888,7 +2089,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
78
"__id__":
86
},
},
"_alignFlags": 20,
"_alignFlags": 20,
"_target": null,
"_target": null,
...
@@ -1937,20 +2138,20 @@
...
@@ -1937,20 +2138,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 8
1
"__id__": 8
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
0
"__id__": 9
8
},
},
{
{
"__id__":
92
"__id__":
100
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
94
"__id__":
102
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -1987,23 +2188,23 @@
...
@@ -1987,23 +2188,23 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"_parent": {
"_parent": {
"__id__": 8
0
"__id__": 8
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
82
"__id__":
90
},
},
{
{
"__id__":
84
"__id__":
92
},
},
{
{
"__id__":
86
"__id__":
94
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
89
"__id__":
97
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -2040,11 +2241,11 @@
...
@@ -2040,11 +2241,11 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"node": {
"node": {
"__id__": 8
1
"__id__": 8
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
83
"__id__":
91
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2068,11 +2269,11 @@
...
@@ -2068,11 +2269,11 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"node": {
"node": {
"__id__": 8
1
"__id__": 8
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
85
"__id__":
93
},
},
"_alignFlags": 20,
"_alignFlags": 20,
"_target": null,
"_target": null,
...
@@ -2104,11 +2305,11 @@
...
@@ -2104,11 +2305,11 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"node": {
"node": {
"__id__": 8
1
"__id__": 8
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
87
"__id__":
95
},
},
"mask": true,
"mask": true,
"scrollEnabled": true,
"scrollEnabled": true,
...
@@ -2119,7 +2320,7 @@
...
@@ -2119,7 +2320,7 @@
"recycleInterval": 1,
"recycleInterval": 1,
"registerCellForEditor": [
"registerCellForEditor": [
{
{
"__id__":
88
"__id__":
96
}
}
],
],
"_id": ""
"_id": ""
...
@@ -2156,11 +2357,11 @@
...
@@ -2156,11 +2357,11 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"node": {
"node": {
"__id__": 8
0
"__id__": 8
8
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 9
1
"__id__": 9
9
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2184,11 +2385,11 @@
...
@@ -2184,11 +2385,11 @@
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"node": {
"node": {
"__id__": 8
0
"__id__": 8
8
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
93
"__id__":
101
},
},
"_alignFlags": 20,
"_alignFlags": 20,
"_target": null,
"_target": null,
...
@@ -2237,7 +2438,7 @@
...
@@ -2237,7 +2438,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
96
"__id__":
104
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2265,7 +2466,7 @@
...
@@ -2265,7 +2466,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
98
"__id__":
106
},
},
"_customMaterial": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_srcBlendFactor": 2,
...
@@ -2323,7 +2524,7 @@
...
@@ -2323,7 +2524,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 10
1
"__id__": 10
9
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2351,7 +2552,7 @@
...
@@ -2351,7 +2552,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
03
"__id__": 1
11
},
},
"_alignFlags": 18,
"_alignFlags": 18,
"_target": null,
"_target": null,
...
@@ -2387,7 +2588,7 @@
...
@@ -2387,7 +2588,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
05
"__id__": 1
13
},
},
"closeBtn": {
"closeBtn": {
"__id__": 3
"__id__": 3
...
@@ -2396,7 +2597,7 @@
...
@@ -2396,7 +2597,7 @@
"__id__": 65
"__id__": 65
},
},
"Tool": {
"Tool": {
"__id__": 8
0
"__id__": 8
8
},
},
"prize_yes": {
"prize_yes": {
"__id__": 44
"__id__": 44
...
@@ -2411,7 +2612,10 @@
...
@@ -2411,7 +2612,10 @@
"__id__": 32
"__id__": 32
},
},
"Prize_List": {
"Prize_List": {
"__id__": 86
"__id__": 94
},
"None_list": {
"__id__": 75
},
},
"Tool_List": {
"Tool_List": {
"__id__": 71
"__id__": 71
...
...
assets/Scripts/Panels/FirstSkinPanel.ts
0 → 100644
View file @
302f2e1f
import
Panel
from
"../../Module/Panel"
;
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
}
from
"cc"
;
import
store
from
"../store/store"
;
import
{
observer
,
render
}
from
"../store/decorators"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
observer
@
ccclass
(
'FirstSkinPanel'
)
export
default
class
FirstSkinPanel
extends
Panel
{
static
bundle
=
"FirstSkinPanel"
;
static
skin
=
"FirstSkinPanel"
;
@
property
(
Node
)
closeBtn
:
Node
=
null
;
onLoad
()
{
this
.
closeBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickClose
);
}
async
start
()
{
}
clickClose
=
()
=>
{
this
.
hidePanel
();
}
}
assets/Scripts/Panels/FirstSkinPanel.ts.meta
0 → 100644
View file @
302f2e1f
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"52c80484-14f0-4905-b7af-8f21e74a17f1","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Panels/MyBagPanel.ts
View file @
302f2e1f
...
@@ -32,6 +32,7 @@ export class MyBagPanel extends Panel {
...
@@ -32,6 +32,7 @@ export class MyBagPanel extends Panel {
@
property
(
Node
)
tool_btn
:
Node
=
null
;
@
property
(
Node
)
tool_btn
:
Node
=
null
;
@
property
(
YXCollectionView
)
Prize_List
:
YXCollectionView
=
null
;
@
property
(
YXCollectionView
)
Prize_List
:
YXCollectionView
=
null
;
@
property
(
Node
)
None_list
:
Node
=
null
;
@
property
(
YXCollectionView
)
Tool_List
:
YXCollectionView
=
null
;
@
property
(
YXCollectionView
)
Tool_List
:
YXCollectionView
=
null
;
...
@@ -134,6 +135,7 @@ export class MyBagPanel extends Panel {
...
@@ -134,6 +135,7 @@ export class MyBagPanel extends Panel {
if
(
!
success
)
return
;
if
(
!
success
)
return
;
const
excludeSp
=
true
;
//排除道具
const
excludeSp
=
true
;
//排除道具
let
records
=
[]
let
records
=
[]
...
@@ -155,6 +157,10 @@ export class MyBagPanel extends Panel {
...
@@ -155,6 +157,10 @@ export class MyBagPanel extends Panel {
});
});
}
}
if
(
records
.
length
==
0
)
{
this
.
None_list
.
active
=
true
;
}
this
.
toolDate
=
records
;
this
.
toolDate
=
records
;
this
.
Tool_List
.
reloadData
();
this
.
Tool_List
.
reloadData
();
...
@@ -198,7 +204,7 @@ export class MyBagPanel extends Panel {
...
@@ -198,7 +204,7 @@ export class MyBagPanel extends Panel {
}
}
clickToCheck
=
(
url
,
id
)
=>
{
clickToCheck
=
(
url
,
id
)
=>
{
this
.
hidePanel
()
//
this.hidePanel()
if
(
url
)
{
if
(
url
)
{
window
.
location
.
href
=
url
;
window
.
location
.
href
=
url
;
}
else
{
}
else
{
...
...
assets/Scripts/Scenes/HomeScene.ts
View file @
302f2e1f
...
@@ -23,6 +23,7 @@ import SnakeSkin from "../Panels/SnakeSkin";
...
@@ -23,6 +23,7 @@ import SnakeSkin from "../Panels/SnakeSkin";
import
shareStore
from
"../store/shareStore"
;
import
shareStore
from
"../store/shareStore"
;
import
{
sendWebNetWithToken
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
sendWebNetWithToken
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
getUrlParams
}
from
"../Utils/WebNet/web/webTools"
;
import
{
getUrlParams
}
from
"../Utils/WebNet/web/webTools"
;
import
FirstSkinPanel
from
"../Panels/FirstSkinPanel"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
...
@@ -86,7 +87,8 @@ export class HomeScene extends Scene {
...
@@ -86,7 +87,8 @@ export class HomeScene extends Scene {
rankPopList
,
rankPopList
,
newGetSpId
,
newGetSpId
,
newGetSpImage
,
newGetSpImage
,
newGetSpName
newGetSpName
,
firstEntryFlag
}
=
store
.
homeInfo
||
{};
}
=
store
.
homeInfo
||
{};
if
(
signPopFlag
)
{
// 签到弹窗
if
(
signPopFlag
)
{
// 签到弹窗
...
@@ -101,6 +103,9 @@ export class HomeScene extends Scene {
...
@@ -101,6 +103,9 @@ export class HomeScene extends Scene {
showPanel
(
SnakeSkin
,
{
newGetSpImage
,
newGetSpName
})
showPanel
(
SnakeSkin
,
{
newGetSpImage
,
newGetSpName
})
}
}
if
(
firstEntryFlag
){
showPanel
(
FirstSkinPanel
)
}
UIMgr
.
ins
.
preloadScene
(
MainGame
);
UIMgr
.
ins
.
preloadScene
(
MainGame
);
}
}
...
...
assets/Scripts/store/store.ts
View file @
302f2e1f
...
@@ -23,6 +23,7 @@ export interface IHomeInfo {
...
@@ -23,6 +23,7 @@ export interface IHomeInfo {
newGetSpImage
:
string
;
newGetSpImage
:
string
;
luckBenefitDesc
:
string
;
luckBenefitDesc
:
string
;
benefitDesc
:
string
;
benefitDesc
:
string
;
firstEntryFlag
:
boolean
;
rankInfos
:
{
rankInfos
:
{
index
:
number
;
index
:
number
;
nickname
:
string
;
nickname
:
string
;
...
@@ -70,6 +71,7 @@ class Store {
...
@@ -70,6 +71,7 @@ class Store {
newGetSpImage
:
""
,
newGetSpImage
:
""
,
luckBenefitDesc
:
""
,
luckBenefitDesc
:
""
,
benefitDesc
:
""
,
benefitDesc
:
""
,
firstEntryFlag
:
false
,
newGetSpId
:
null
,
newGetSpId
:
null
,
rankInfos
:
[],
rankInfos
:
[],
rankPopList
:
[],
rankPopList
:
[],
...
...
preview-template/mock/records.query.json
View file @
302f2e1f
...
@@ -106,5 +106,6 @@
...
@@ -106,5 +106,6 @@
"prizeId"
:
"g0e432eeb"
"prizeId"
:
"g0e432eeb"
}
}
],
],
"data"
:[],
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
profiles/v2/packages/builder.json
View file @
302f2e1f
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
"progress"
:
1
,
"progress"
:
1
,
"state"
:
"success"
,
"state"
:
"success"
,
"stage"
:
"build"
,
"stage"
:
"build"
,
"message"
:
"2024-12-12 1
7:21:46 build success in 1 min 1
s!"
,
"message"
:
"2024-12-12 1
6:47:41 build success in 57
s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:173399
5245361
\r
color: green
\r
"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:173399
3204367
\r
color: green
\r
"
,
"options"
:
{
"options"
:
{
"name"
:
"cocos-template-3d"
,
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
"server"
:
""
,
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
"__version__"
:
"1.3.8"
,
"__version__"
:
"1.3.8"
,
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
},
},
"time"
:
"2024-12-12 1
7:20:45
"
,
"time"
:
"2024-12-12 1
6:46:43
"
,
"dirty"
:
false
"dirty"
:
false
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment