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
e6cbff6f
Commit
e6cbff6f
authored
Dec 10, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
087267e0
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
710 additions
and
672 deletions
+710
-672
BlessingBagPage.scene
assets/Bundles/BlessingBagPage/BlessingBagPage.scene
+579
-282
prize.prefab
assets/Bundles/BlessingBagPage/prize.prefab
+10
-10
GetPrize.prefab
assets/Bundles/GetPrize/GetPrize.prefab
+50
-100
prize.prefab
assets/Bundles/GetPrize/png/prize.prefab
+1
-1
GetPrizePop.prefab
assets/Bundles/GetPrizePop/GetPrizePop.prefab
+2
-2
bg.png
assets/Bundles/openGoldPop/png/bg.png
+0
-0
bg.png.meta
assets/Bundles/openGoldPop/png/bg.png.meta
+0
-134
openSliverPop.prefab
assets/Bundles/openSliverPop/openSliverPop.prefab
+26
-26
BlessingBagPage.ts
assets/Scripts/Scenes/BlessingBagPage.ts
+7
-9
index.do.json
preview-template/mock/bag/index.do.json
+34
-107
getInviteCode.do.json
preview-template/mock/inviteAssist_1/getInviteCode.do.json
+1
-1
No files found.
assets/Bundles/BlessingBagPage/BlessingBagPage.scene
View file @
e6cbff6f
This diff is collapsed.
Click to expand it.
assets/Bundles/BlessingBagPage/prize.prefab
View file @
e6cbff6f
...
...
@@ -93,8 +93,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 2
8.30600000000004
,
"y": -
35.64499999999998
,
"x": 2
9.98199999999997
,
"y": -
85.65599999999995
,
"z": 0
},
"_lrot": {
...
...
@@ -388,8 +388,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x":
-1.3230000000000928
,
"y": -
99.24799999999999
,
"x":
0
,
"y": -
110.28999999999994
,
"z": 0
},
"_lrot": {
...
...
@@ -429,13 +429,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
80
,
"height":
50.4
"width":
135
,
"height":
27.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y":
0.5
"y":
1
},
"_id": ""
},
...
...
@@ -467,11 +467,11 @@
},
"_string": "奖品名称",
"_horizontalAlign": 1,
"_verticalAlign":
1
,
"_verticalAlign":
0
,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight":
40
,
"_lineHeight":
22
,
"_overflow": 3,
"_enableWrapText": true,
"_font": null,
...
...
@@ -544,7 +544,7 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y":
0.5
"y":
1
},
"_id": ""
},
...
...
assets/Bundles/GetPrize/GetPrize.prefab
View file @
e6cbff6f
...
...
@@ -22,26 +22,26 @@
"__id__": 2
},
{
"__id__": 4
2
"__id__": 4
0
},
{
"__id__": 5
2
"__id__": 5
0
}
],
"_active": true,
"_components": [
{
"__id__": 6
2
"__id__": 6
0
},
{
"__id__": 6
4
"__id__": 6
2
},
{
"__id__": 6
6
"__id__": 6
4
}
],
"_prefab": {
"__id__": 6
8
"__id__": 6
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -92,13 +92,10 @@
},
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__":
41
"__id__":
39
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -160,7 +157,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y":
0
,
"y":
42.00300000000004
,
"z": 0
},
"_lrot": {
...
...
@@ -828,7 +825,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
50
"height": 7
49.9999999999999
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -841,51 +838,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "e8wpwOB49MLpT/B8ihg8uR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a01a0e30-611b-4ce4-ad45-a9cda32d9d56@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": "fdEUMerR1H7KKvQMBcd1QB"
},
{
"__type__": "cc.Widget",
"_name": "",
...
...
@@ -896,7 +848,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
40
"__id__":
38
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -931,8 +883,6 @@
"__id__": 0
},
"fileId": "f9aqg8Ja5BubouQDu9xH5R",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
...
...
@@ -946,6 +896,9 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 43
},
...
...
@@ -954,18 +907,15 @@
},
{
"__id__": 47
},
{
"__id__": 49
}
],
"_prefab": {
"__id__":
51
"__id__":
49
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -146,
"y": -2
91
,
"y": -2
67.66499999999996
,
"z": 0
},
"_lrot": {
...
...
@@ -997,11 +947,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
2
"__id__": 4
0
},
"_enabled": true,
"__prefab": {
"__id__": 4
4
"__id__": 4
2
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1025,11 +975,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
2
"__id__": 4
0
},
"_enabled": true,
"__prefab": {
"__id__": 4
6
"__id__": 4
4
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -1070,18 +1020,18 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
2
"__id__": 4
0
},
"_enabled": true,
"__prefab": {
"__id__": 4
8
"__id__": 4
6
},
"_alignFlags": 12,
"_target": null,
"_left": 546,
"_right": 0,
"_top": 0,
"_bottom":
40
,
"_bottom":
63.33499999999998
,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -1106,11 +1056,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
2
"__id__": 4
0
},
"_enabled": true,
"__prefab": {
"__id__":
50
"__id__":
48
},
"clickEvents": [],
"_interactable": true,
...
...
@@ -1149,7 +1099,9 @@
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": null,
"_target": {
"__id__": 40
},
"_id": ""
},
{
...
...
@@ -1165,8 +1117,6 @@
"__id__": 0
},
"fileId": "10pm2nUc1P6bCBC1Sh6gY0",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
...
...
@@ -1180,6 +1130,9 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 53
},
...
...
@@ -1188,18 +1141,15 @@
},
{
"__id__": 57
},
{
"__id__": 59
}
],
"_prefab": {
"__id__":
61
"__id__":
59
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 154,
"y": -2
91
,
"y": -2
67.66499999999996
,
"z": 0
},
"_lrot": {
...
...
@@ -1231,11 +1181,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
0
},
"_enabled": true,
"__prefab": {
"__id__": 5
4
"__id__": 5
2
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1259,11 +1209,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
0
},
"_enabled": true,
"__prefab": {
"__id__": 5
6
"__id__": 5
4
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -1304,18 +1254,18 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
0
},
"_enabled": true,
"__prefab": {
"__id__": 5
8
"__id__": 5
6
},
"_alignFlags": 36,
"_target": null,
"_left": 692,
"_right": 538,
"_top": 0,
"_bottom":
40
,
"_bottom":
63.33499999999998
,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -1340,11 +1290,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
0
},
"_enabled": true,
"__prefab": {
"__id__":
60
"__id__":
58
},
"clickEvents": [],
"_interactable": true,
...
...
@@ -1383,7 +1333,9 @@
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": null,
"_target": {
"__id__": 50
},
"_id": ""
},
{
...
...
@@ -1399,8 +1351,6 @@
"__id__": 0
},
"fileId": "98g0ef/K1BXrQ6wvP86wq2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
...
...
@@ -1413,12 +1363,12 @@
},
"_enabled": true,
"__prefab": {
"__id__": 6
3
"__id__": 6
1
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
50
"height": 7
49.9999999999999
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1441,7 +1391,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 6
5
"__id__": 6
3
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1477,13 +1427,13 @@
},
"_enabled": true,
"__prefab": {
"__id__": 6
7
"__id__": 6
5
},
"share": {
"__id__": 5
2
"__id__": 5
0
},
"happy": {
"__id__": 4
2
"__id__": 4
0
},
"prizePrefab": {
"__uuid__": "eb3f43be-dd96-4477-93f0-6c998ce40cfb",
...
...
assets/Bundles/GetPrize/png/prize.prefab
View file @
e6cbff6f
...
...
@@ -278,7 +278,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
...
...
assets/Bundles/GetPrizePop/GetPrizePop.prefab
View file @
e6cbff6f
...
...
@@ -867,7 +867,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
...
...
@@ -912,7 +912,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
50
"height": 7
49.9999999999999
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
assets/Bundles/openGoldPop/png/bg.png
deleted
100644 → 0
View file @
087267e0
142 KB
assets/Bundles/openGoldPop/png/bg.png.meta
deleted
100644 → 0
View file @
087267e0
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ed17a32d-3534-4e88-80d6-e7fe0240bc73",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ed17a32d-3534-4e88-80d6-e7fe0240bc73@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ed17a32d-3534-4e88-80d6-e7fe0240bc73",
"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": "ed17a32d-3534-4e88-80d6-e7fe0240bc73@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": 750,
"rawWidth": 1624,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-375,
0,
812,
-375,
0,
-812,
375,
0,
812,
375,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
750,
1624,
750,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-375,
0
],
"maxPos": [
812,
375,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ed17a32d-3534-4e88-80d6-e7fe0240bc73@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ed17a32d-3534-4e88-80d6-e7fe0240bc73@6c48a"
}
}
assets/Bundles/openSliverPop/openSliverPop.prefab
View file @
e6cbff6f
...
...
@@ -299,8 +299,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 1
73.52000427246094
,
"y": -
244.47999572753906
,
"x": 1
17.86000061035156
,
"y": -
300.1400146484375
,
"z": 0
},
"_lrot": {
...
...
@@ -312,8 +312,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -2.
313333034515381
,
"y": 2.
313333034515381
,
"x": -2.
515000104904175
,
"y": 2.
515000104904175
,
"z": 1
},
"_mobility": 0,
...
...
@@ -352,7 +352,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
f5/6HmM7BHJJlEpsBxR76z
"
"fileId": "
9a+FPuVTpBOaWBvaktyX+X
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -374,7 +374,7 @@
"r": 255,
"g": 255,
"b": 255,
"a": 1
70
"a": 1
28
},
"_spriteFrame": null,
"_type": 0,
...
...
@@ -394,7 +394,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
6fHIMDc2ZF/J+J2o3hMaCY
"
"fileId": "
2edQ7RlJBMDbCmNMJUfO3w
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -404,7 +404,7 @@
"asset": {
"__id__": 0
},
"fileId": "
52iRkItupO4LlP4ecYWqjc
",
"fileId": "
c7Xpq6w6FPu4e34z0w8Jan
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -432,8 +432,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x":
540.875976562
5,
"y":
122.8759994506836
,
"x":
485.2160034179687
5,
"y":
67.21600341796875
,
"z": 0
},
"_lrot": {
...
...
@@ -445,8 +445,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -
0.982333004474639
9,
"y":
0.982333004474639
9,
"x": -
1.18400001525878
9,
"y":
1.18400001525878
9,
"z": 1
},
"_mobility": 0,
...
...
@@ -485,7 +485,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
54n7o0BLNARrHa7AovWThP
"
"fileId": "
edOJ8ugk1COLEkP18ExRwH
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -507,7 +507,7 @@
"r": 255,
"g": 255,
"b": 255,
"a":
60
"a":
102
},
"_spriteFrame": null,
"_type": 0,
...
...
@@ -527,7 +527,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
beYp5FqL5EsZyPxHeTq/4g
"
"fileId": "
62qiA4XkVOJ4hNlW+ETwwQ
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -537,7 +537,7 @@
"asset": {
"__id__": 0
},
"fileId": "
b7jXFvKU5AAo76fPG3S6Nu
",
"fileId": "
d3GFmJKmFG4aY55qvF/7tN
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -565,21 +565,21 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x":
174.06106567382812
,
"y":
-652.274414062
5,
"x":
2022.3475341796875
,
"y":
577.40429687
5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z":
0.9925461495209812
,
"w":
-0.12186936067393668
"z":
-0.30901689716391745
,
"w":
0.9510565478809264
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -
1.0000003168295257
,
"y":
1.0000003168295257
,
"x": -
0.9999998616199612
,
"y":
0.9999998616199612
,
"z": 1
},
"_mobility": 0,
...
...
@@ -618,7 +618,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
90jLYPkiRGUqpwNgkDq9Nd
"
"fileId": "
5fD6BwQmdJZatSAGrH8dOV
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -660,7 +660,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
74KKnzB/JC2ID5mLT7gZPh
"
"fileId": "
06D9UHjKRB2ZljxegBnGZm
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -670,7 +670,7 @@
"asset": {
"__id__": 0
},
"fileId": "
5e5+7ICkhDbZRPp6pXQctp
",
"fileId": "
ffctGUxYZMCJhJhHNbP5zZ
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -1755,7 +1755,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
50
"height": 7
49.9999999999999
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
assets/Scripts/Scenes/BlessingBagPage.ts
View file @
e6cbff6f
...
...
@@ -3,11 +3,9 @@ import Scene from "db://assets/Module/Scene";
import
{
observer
,
render
}
from
"../store/decorators"
;
import
{
sendWebNet
,
sendWebNetWithToken
,
WebNetName
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
import
{
changeScene
,
showPanel
,
showToast
}
from
"db://assets/Module/UIFast"
;
import
openSliverPop
from
"db://assets/Scripts/Panels/openSliverPop"
;
import
composedGoldPop
from
"db://assets/Scripts/Panels/composedGoldPop"
;
import
composedDiamondPop
from
"db://assets/Scripts/Panels/composedDiamondPop"
;
import
{
HomeScene
}
from
"db://assets/Scripts/Scenes/HomeScene"
;
import
{
getUrlParams
}
from
"../Utils/WebNet/web/webTools"
;
import
OpenLuckyPanel
from
"../Panels/OpenLuckyPanel"
;
const
{
ccclass
,
property
}
=
_decorator
;
...
...
@@ -272,18 +270,18 @@ export class BlessingBagPage extends Scene {
//银福袋开启一个
SliverOneBtn
()
{
showPanel
(
openSliverPop
,
1
)
showPanel
(
OpenLuckyPanel
,
{
num
:
1
,
type
:
"sliver"
});
}
//银福袋开启五个
SliverFiveBtn
()
{
showPanel
(
openSliverPop
,
5
)
showPanel
(
OpenLuckyPanel
,
{
num
:
5
,
type
:
"sliver"
});
}
//金福袋开启一个
GoldOneBtn
()
{
if
(
this
.
bagInfo
.
remainBagSilverNum
<
this
.
bagInfo
.
bagSilverToGold
)
{
showPanel
(
composedGoldPop
,
1
)
showPanel
(
OpenLuckyPanel
,
{
num
:
1
,
type
:
"gold"
}
)
}
else
{
showToast
(
"福袋数量不足"
)
}
...
...
@@ -292,7 +290,7 @@ export class BlessingBagPage extends Scene {
//金福袋开启五个
GoldFiveBtn
()
{
if
(
this
.
bagInfo
.
remainBagSilverNum
<
this
.
bagInfo
.
bagSilverToGold
*
5
)
{
showPanel
(
composedGoldPop
,
5
)
showPanel
(
OpenLuckyPanel
,
{
num
:
5
,
type
:
"gold"
}
)
}
else
{
showToast
(
"福袋数量不足"
)
}
...
...
@@ -301,7 +299,7 @@ export class BlessingBagPage extends Scene {
//钻石福袋开启五个
DiamondOneBtn
()
{
if
(
this
.
bagInfo
.
remainBagSilverNum
<
this
.
bagInfo
.
bagSilverToDiamond
)
{
showPanel
(
composedDiamondPop
,
1
)
showPanel
(
OpenLuckyPanel
,
{
num
:
1
,
type
:
"diamond"
});
}
else
{
showToast
(
"福袋数量不足"
)
}
...
...
@@ -310,7 +308,7 @@ export class BlessingBagPage extends Scene {
//钻石福袋开启一个
DiamondFiveBtn
()
{
if
(
this
.
bagInfo
.
remainBagSilverNum
<
this
.
bagInfo
.
bagSilverToDiamond
*
5
)
{
showPanel
(
composedDiamondPop
,
5
)
showPanel
(
OpenLuckyPanel
,
{
num
:
5
,
type
:
"diamond"
});
}
else
{
showToast
(
"福袋数量不足"
)
}
...
...
preview-template/mock/bag/index.do.json
View file @
e6cbff6f
{
"message"
:
"veniam fugiat sint Ut sunt"
,
"success"
:
"labore aute tempor Ut esse"
,
"code"
:
"elit reprehenderit in"
,
"code"
:
null
,
"data"
:
{
"bagSilverToDiamond"
:
-43082891
,
"bagSilverToGold"
:
-33470438
,
"remainBagSilverNum"
:
-37778703.650719695
,
"actEndTime"
:
-3326764.5917773396
,
"actStartTime"
:
22390905.8318343
,
"bagPopVO"
:
{
"bagNum"
:
71712725.90091795
,
"bagImg"
:
"aliqua dolore non"
,
"bagName"
:
"pariatur consequat in"
},
"actEndTime"
:
1764496289560
,
"actStartTime"
:
1732614686149
,
"bagPopVO"
:
null
,
"bagPrizeVO"
:
[
{
"type"
:
1
,
"prizeVOList"
:
[
{
"prizeName"
:
"aaa"
,
"prizeId"
:
"fugiat ad dolore"
,
"sendCount"
:
-74759803.69137178
,
"prizeImg"
:
"elit pariatur incididunt"
},
{
"prizeName"
:
"aute mollit dolor sed"
,
"prizeId"
:
"deserunt esse"
,
"sendCount"
:
18157974.72394727
,
"prizeImg"
:
"sed"
},
{
"prizeName"
:
"Duis sit ad cillum"
,
"prizeId"
:
"sint dolor proident esse cupidatat"
,
"sendCount"
:
3530971.0666639507
,
"prizeImg"
:
"aute eu"
},
{
"prizeName"
:
"in pariatur labore veniam"
,
"prizeId"
:
"voluptate ipsum ut commodo aliqua"
,
"sendCount"
:
-81552545.84234433
,
"prizeImg"
:
"velit sit"
},
{
"prizeName"
:
"sit ullamco"
,
"prizeId"
:
"minim in Duis"
,
"sendCount"
:
92453202.379067
,
"prizeImg"
:
"consectetur in"
"prizeId"
:
"o489d781c"
,
"prizeImg"
:
"//yun.dui88.com/images/202411/k4u20295lx.jpg"
,
"prizeName"
:
"鸣鸣很忙-商家自冲优惠券测试"
,
"sendCount"
:
1
}
]
},{
"type"
:
2
,
],
"type"
:
1
},
{
"prizeVOList"
:
[
{
"prizeName"
:
"bbb"
,
"prizeId"
:
"fugiat ad dolore"
,
"sendCount"
:
-74759803.69137178
,
"prizeImg"
:
"elit pariatur incididunt"
},
{
"prizeName"
:
"aute mollit dolor sed"
,
"prizeId"
:
"deserunt esse"
,
"sendCount"
:
18157974.72394727
,
"prizeImg"
:
"sed"
},
{
"prizeName"
:
"Duis sit ad cillum"
,
"prizeId"
:
"sint dolor proident esse cupidatat"
,
"sendCount"
:
3530971.0666639507
,
"prizeImg"
:
"aute eu"
},
{
"prizeName"
:
"in pariatur labore veniam"
,
"prizeId"
:
"voluptate ipsum ut commodo aliqua"
,
"sendCount"
:
-81552545.84234433
,
"prizeImg"
:
"velit sit"
},
{
"prizeName"
:
"sit ullamco"
,
"prizeId"
:
"minim in Duis"
,
"sendCount"
:
92453202.379067
,
"prizeImg"
:
"consectetur in"
"prizeId"
:
"o489d781c"
,
"prizeImg"
:
"//yun.dui88.com/images/202411/k4u20295lx.jpg"
,
"prizeName"
:
"鸣鸣很忙-商家自冲优惠券测试"
,
"sendCount"
:
1
}
]
},{
"type"
:
3
,
],
"type"
:
2
},
{
"prizeVOList"
:
[
{
"prizeName"
:
"ccc"
,
"prizeId"
:
"fugiat ad dolore"
,
"sendCount"
:
-74759803.69137178
,
"prizeImg"
:
"elit pariatur incididunt"
},
{
"prizeName"
:
"aute mollit dolor sed"
,
"prizeId"
:
"deserunt esse"
,
"sendCount"
:
18157974.72394727
,
"prizeImg"
:
"sed"
},
{
"prizeName"
:
"Duis sit ad cillum"
,
"prizeId"
:
"sint dolor proident esse cupidatat"
,
"sendCount"
:
3530971.0666639507
,
"prizeImg"
:
"aute eu"
},
{
"prizeName"
:
"in pariatur labore veniam"
,
"prizeId"
:
"voluptate ipsum ut commodo aliqua"
,
"sendCount"
:
-81552545.84234433
,
"prizeImg"
:
"velit sit"
},
{
"prizeName"
:
"sit ullamco"
,
"prizeId"
:
"minim in Duis"
,
"sendCount"
:
92453202.379067
,
"prizeImg"
:
"consectetur in"
"prizeId"
:
"o489d781c"
,
"prizeImg"
:
"//yun.dui88.com/images/202411/k4u20295lx.jpg"
,
"prizeName"
:
"鸣鸣很忙-商家自冲优惠券测试"
,
"sendCount"
:
1
}
]
],
"type"
:
3
}
]
}
],
"bagSilverToDiamond"
:
1
,
"bagSilverToGold"
:
5
,
"remainBagSilverNum"
:
0
},
"message"
:
null
,
"success"
:
true
,
"timeStamp"
:
1733810720821
}
\ No newline at end of file
preview-template/mock/inviteAssist_1/getInviteCode.do.json
View file @
e6cbff6f
...
...
@@ -5,7 +5,7 @@
"dueTime"
:
58641469.716245055
,
"extra"
:
"ea ullamco in"
},
"success"
:
fals
e
,
"success"
:
tru
e
,
"code"
:
null
,
"message"
:
null
}
\ No newline at end of file
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