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
24d01089
Commit
24d01089
authored
Dec 11, 2024
by
陈子煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成福袋任务弹窗
parent
4fa461c8
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5022 additions
and
2502 deletions
+5022
-2502
BlessingBagPage.scene
assets/Bundles/BlessingBagPage/BlessingBagPage.scene
+5012
-2500
BlessingBagPage.ts
assets/Scripts/Scenes/BlessingBagPage.ts
+9
-1
spark.config.json
spark.config.json
+1
-1
No files found.
assets/Bundles/BlessingBagPage/BlessingBagPage.scene
View file @
24d01089
This diff is collapsed.
Click to expand it.
assets/Scripts/Scenes/BlessingBagPage.ts
View file @
24d01089
import
{
_decorator
,
Button
,
instantiate
,
Label
,
Node
,
Prefab
,
Sprite
}
from
'cc'
;
import
{
_decorator
,
Button
,
instantiate
,
Label
,
math
,
Node
,
Prefab
,
Sprite
}
from
'cc'
;
import
Scene
from
"db://assets/Module/Scene"
;
import
{
observer
,
render
}
from
"../store/decorators"
;
import
{
sendWebNet
,
sendWebNetWithToken
,
WebNetName
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
...
...
@@ -94,6 +94,14 @@ export class BlessingBagPage extends Scene {
this
.
active_diamondBag
.
active
=
false
;
this
.
active_toEarn
.
active
=
false
;
// const content = this.node;
// let totalWidth = 0;
// for(let i=0; i<content.children.length;i++){
// let child = content.children[i];
// totalWidth += child.width;
// }
// scrollView.contentSize = size(totalWidth,scrollView.contentSize.height)
const
{
success
,
data
}
=
await
sendWebNet
(
WebNetName
.
bagPag
)
...
...
spark.config.json
View file @
24d01089
{
"proName"
:
"未命名项目"
,
"proDesc"
:
""
,
"proPath"
:
"
E:
\\
Duiba
\\
project
\\
简醇
\\
241106贪吃蛇
\\
241106_YOGURT_Snake
"
,
"createTime"
:
1705297760786
}
{
"proName"
:
"未命名项目"
,
"proDesc"
:
""
,
"proPath"
:
"
/Users/duibagroup/Documents/Duiba/鸣鸣很忙-贪吃蛇/mingsnake_241120
"
,
"createTime"
:
1705297760786
}
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