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
bfbf2cfd
Commit
bfbf2cfd
authored
Dec 12, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e25b3082
b2a35c2c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
977 additions
and
716 deletions
+977
-716
GetPrize.prefab
assets/Bundles/GetPrize/GetPrize.prefab
+929
-693
PropPop.prefab
assets/Bundles/PropPop/PropPop.prefab
+6
-4
ExchangeSuccess.ts
assets/Scripts/Panels/ExchangeSuccess.ts
+4
-1
GetPrize.ts
assets/Scripts/Panels/GetPrize.ts
+19
-3
BlessingBagPage.ts
assets/Scripts/Scenes/BlessingBagPage.ts
+4
-0
index.html
build/web-mobile/index.html
+12
-12
builder.json
profiles/v2/packages/builder.json
+3
-3
No files found.
assets/Bundles/GetPrize/GetPrize.prefab
View file @
bfbf2cfd
This diff is collapsed.
Click to expand it.
assets/Bundles/PropPop/PropPop.prefab
View file @
bfbf2cfd
...
@@ -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 @
bfbf2cfd
...
@@ -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
)
}
}
}
}
assets/Scripts/Panels/GetPrize.ts
View file @
bfbf2cfd
...
@@ -26,6 +26,9 @@ export default class GetPrize extends Panel {
...
@@ -26,6 +26,9 @@ export default class GetPrize extends Panel {
@
property
(
Node
)
content
:
Node
=
null
;
@
property
(
Node
)
content
:
Node
=
null
;
@
property
(
Node
)
svga
:
Node
=
null
;
@
property
(
Node
)
bg
:
Node
=
null
;
onLoad
()
{
onLoad
()
{
this
.
happy
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickHappy
,
this
);
this
.
happy
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickHappy
,
this
);
this
.
share
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickShare
,
this
);
this
.
share
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickShare
,
this
);
...
@@ -34,8 +37,8 @@ export default class GetPrize extends Panel {
...
@@ -34,8 +37,8 @@ export default class GetPrize extends Panel {
async
start
()
{
async
start
()
{
const
{
data
=
this
.
data
}
=
this
.
data
const
{
data
=
this
.
data
}
=
this
.
data
console
.
log
(
data
,
112233
)
console
.
log
(
data
,
112233
)
console
.
log
(
data
.
prizeName
,
22222
)
console
.
log
(
data
.
prizeName
,
22222
)
data
.
map
((
item
,
index
)
=>
{
data
.
map
((
item
,
index
)
=>
{
const
prize
=
instantiate
(
this
.
prizePrefab
)
const
prize
=
instantiate
(
this
.
prizePrefab
)
...
@@ -49,12 +52,25 @@ export default class GetPrize extends Panel {
...
@@ -49,12 +52,25 @@ export default class GetPrize extends Panel {
const
numBg
=
prize
.
getChildByName
(
"numBg"
)
const
numBg
=
prize
.
getChildByName
(
"numBg"
)
const
num
=
numBg
.
getChildByName
(
"num"
)
const
num
=
numBg
.
getChildByName
(
"num"
)
num
.
getComponent
(
Label
).
string
=
`X
${
item
.
sendCount
}
`
num
.
getComponent
(
Label
).
string
=
`X
${
item
.
sendCount
}
`
})
this
.
bg
.
active
=
false
;
this
.
svga
.
active
=
true
setTimeout
(()
=>
{
this
.
bg
.
active
=
true
this
.
svga
.
active
=
false
},
1000
)
})
}
}
change
(){
this
.
bg
.
active
=
true
this
.
svga
.
active
=
false
}
clickShare
()
{
clickShare
()
{
showPanel
(
SharePop
,
{
showPanel
(
SharePop
,
{
prizeName
:
this
.
data
[
0
].
prizeName
,
prizeName
:
this
.
data
[
0
].
prizeName
,
...
...
assets/Scripts/Scenes/BlessingBagPage.ts
View file @
bfbf2cfd
...
@@ -194,6 +194,10 @@ export class BlessingBagPage extends Scene {
...
@@ -194,6 +194,10 @@ export class BlessingBagPage extends Scene {
if
(
item
.
code
==
"task_invite"
){
if
(
item
.
code
==
"task_invite"
){
Label_task_name
.
getComponent
(
Label
).
string
=
item
.
title
Label_task_name
.
getComponent
(
Label
).
string
=
item
.
title
const
activeBtn
=
EarnList
.
getChildByName
(
"active_btn"
)
const
activeLabel
=
activeBtn
.
getChildByName
(
"ActiveLabel"
)
activeLabel
.
getComponent
(
Label
).
string
=
"去邀请"
}
else
{
}
else
{
Label_task_name
.
getComponent
(
Label
).
string
=
`
${
item
.
title
}
(
${
item
.
completedSize
}
/
${
item
.
intervalLimitSize
}
)`
Label_task_name
.
getComponent
(
Label
).
string
=
`
${
item
.
title
}
(
${
item
.
completedSize
}
/
${
item
.
intervalLimitSize
}
)`
}
}
...
...
build/web-mobile/index.html
View file @
bfbf2cfd
...
@@ -98,14 +98,14 @@
...
@@ -98,14 +98,14 @@
</style>
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
<!-- <script>eruda.init()</script>-->
...
@@ -118,20 +118,20 @@
...
@@ -118,20 +118,20 @@
</div>
</div>
<!-- Polyfills bundle. -->
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/cocos-js/cc.js"
}}
</script>
</script>
<script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
88264453
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17339
92156174
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
console
.
error
(
err
);
})
})
</script>
</script>
...
...
profiles/v2/packages/builder.json
View file @
bfbf2cfd
...
@@ -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
5:25:18 build success in 5
4 s!"
,
"message"
:
"2024-12-12 1
6:30:31 build success in 1 min 1
4 s!"
,
"detailMessage"
:
"
Asset DB is resume!
\r
"
,
"detailMessage"
:
"
%c兑吧发布插件 >> 版本号:1733992156174
\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
5:24:24
"
,
"time"
:
"2024-12-12 1
6:29:16
"
,
"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