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
de81b511
Commit
de81b511
authored
Dec 12, 2024
by
陈子煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4b5b2ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
PropPop.prefab
assets/Bundles/PropPop/PropPop.prefab
+6
-4
ExchangeSuccess.ts
assets/Scripts/Panels/ExchangeSuccess.ts
+4
-1
No files found.
assets/Bundles/PropPop/PropPop.prefab
View file @
de81b511
...
@@ -434,8 +434,8 @@
...
@@ -434,8 +434,8 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x":
2.5470000000000255
,
"x":
15.000999999999976
,
"y": 0.47
900000000004184
,
"y": 0.47
8999999999985
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -475,7 +475,7 @@
...
@@ -475,7 +475,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
35.593
75,
"width":
17.7968
75,
"height": 50.4
"height": 50.4
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -511,7 +511,7 @@
...
@@ -511,7 +511,7 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_string": "
25
",
"_string": "
0
",
"_horizontalAlign": 1,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 32,
"_actualFontSize": 32,
...
@@ -1221,6 +1221,8 @@
...
@@ -1221,6 +1221,8 @@
"__id__": 0
"__id__": 0
},
},
"fileId": "aflVw5/2dP+rzU7TMNhCDd",
"fileId": "aflVw5/2dP+rzU7TMNhCDd",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"nestedPrefabInstanceRoots": null
},
},
{
{
...
...
assets/Scripts/Panels/ExchangeSuccess.ts
View file @
de81b511
...
@@ -30,6 +30,9 @@ export default class ExchangeSuccess extends Panel {
...
@@ -30,6 +30,9 @@ export default class ExchangeSuccess extends Panel {
this
.
prizeName
.
string
=
item
.
optionName
;
this
.
prizeName
.
string
=
item
.
optionName
;
this
.
prize
.
spriteFrame
=
item
.
optionImg
;
this
.
prize
.
spriteFrame
=
item
.
optionImg
;
await
sendWebNetWithToken
(
WebNetName
.
propExchange
)
}
}
clickLook
()
{
clickLook
()
{
...
@@ -40,7 +43,7 @@ export default class ExchangeSuccess extends Panel {
...
@@ -40,7 +43,7 @@ export default class ExchangeSuccess extends Panel {
clickClose
=
async
()
=>
{
clickClose
=
async
()
=>
{
this
.
hidePanel
()
this
.
hidePanel
()
await
sendWebNetWithToken
(
WebNetName
.
propExchange
)
}
}
}
}
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