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
f680020f
Commit
f680020f
authored
Dec 25, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
cf4e52f9
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
767 additions
and
100 deletions
+767
-100
ExchangeSuccess.prefab
assets/Bundles/ExchangeSuccess/ExchangeSuccess.prefab
+444
-47
兑换成功黄.png
assets/Bundles/ExchangeSuccess/png/兑换成功黄.png
+0
-0
兑换成功黄.png.meta
assets/Bundles/ExchangeSuccess/png/兑换成功黄.png.meta
+134
-0
返回商城.png
assets/Bundles/ExchangeSuccess/png/返回商城.png
+0
-0
返回商城.png.meta
assets/Bundles/ExchangeSuccess/png/返回商城.png.meta
+134
-0
黄色背景.png
assets/Bundles/FirstSkinPanel/png/黄色背景.png
+0
-0
黄色背景.png.meta
assets/Bundles/FirstSkinPanel/png/黄色背景.png.meta
+10
-10
GetPrize.prefab
assets/Bundles/GetPrize/GetPrize.prefab
+20
-22
prize.prefab
assets/Bundles/GetPrize/prize.prefab
+1
-1
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+1
-1
ExchangeSuccess.ts
assets/Scripts/Panels/ExchangeSuccess.ts
+4
-1
ProPop.ts
assets/Scripts/Panels/ProPop.ts
+1
-1
index.html
build/web-mobile/index.html
+12
-12
index.do.json
preview-template/mock/home/index.do.json
+3
-2
builder.json
profiles/v2/packages/builder.json
+3
-3
No files found.
assets/Bundles/ExchangeSuccess/ExchangeSuccess.prefab
View file @
f680020f
This diff is collapsed.
Click to expand it.
assets/Bundles/ExchangeSuccess/png/兑换成功黄.png
0 → 100644
View file @
f680020f
22.2 KB
assets/Bundles/ExchangeSuccess/png/兑换成功黄.png.meta
0 → 100644
View file @
f680020f
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5a236cdb-4e40-4569-866b-8f7bc43c7d95",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5a236cdb-4e40-4569-866b-8f7bc43c7d95@6c48a",
"displayName": "兑换成功黄",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5a236cdb-4e40-4569-866b-8f7bc43c7d95",
"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": "5a236cdb-4e40-4569-866b-8f7bc43c7d95@f9941",
"displayName": "兑换成功黄",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 454,
"rawWidth": 1624,
"rawHeight": 454,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-227,
0,
812,
-227,
0,
-812,
227,
0,
812,
227,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
454,
1624,
454,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-227,
0
],
"maxPos": [
812,
227,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5a236cdb-4e40-4569-866b-8f7bc43c7d95@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5a236cdb-4e40-4569-866b-8f7bc43c7d95@6c48a"
}
}
assets/Bundles/ExchangeSuccess/png/返回商城.png
0 → 100644
View file @
f680020f
4.37 KB
assets/Bundles/ExchangeSuccess/png/返回商城.png.meta
0 → 100644
View file @
f680020f
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e@6c48a",
"displayName": "返回商城",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e",
"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": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e@f9941",
"displayName": "返回商城",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 300,
"height": 98,
"rawWidth": 300,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-150,
-49,
0,
150,
-49,
0,
-150,
49,
0,
150,
49,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
98,
300,
98,
0,
0,
300,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-150,
-49,
0
],
"maxPos": [
150,
49,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "96cad1c6-0584-4424-a3b3-e61b2dbbc64e@6c48a"
}
}
assets/Bundles/FirstSkinPanel/png/黄色背景.png
View replaced file @
cf4e52f9
View file @
f680020f
20.1 KB
|
W:
|
H:
43.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/Bundles/FirstSkinPanel/png/黄色背景.png.meta
View file @
f680020f
...
...
@@ -47,9 +47,9 @@
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 45
5
,
"height": 45
4
,
"rawWidth": 1624,
"rawHeight": 45
5
,
"rawHeight": 45
4
,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
@@ -62,16 +62,16 @@
"vertices": {
"rawPosition": [
-812,
-227
.5
,
-227,
0,
812,
-227
.5
,
-227,
0,
-812,
227
.5
,
227,
0,
812,
227
.5
,
227,
0
],
"indexes": [
...
...
@@ -84,9 +84,9 @@
],
"uv": [
0,
45
5
,
45
4
,
1624,
45
5
,
45
4
,
0,
0,
1624,
...
...
@@ -104,12 +104,12 @@
],
"minPos": [
-812,
-227
.5
,
-227,
0
],
"maxPos": [
812,
227
.5
,
227,
0
]
},
...
...
assets/Bundles/GetPrize/GetPrize.prefab
View file @
f680020f
...
...
@@ -267,7 +267,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
506ZTHLC9ETpSRpP2UjH7B
"
"fileId": "
183DfUK3ZIfrYdbrN9rJyK
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -309,7 +309,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
55YXngkWVKFrhx5rIC3v/8
"
"fileId": "
04frkrKytK2r1cE3o6U8dS
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -319,7 +319,7 @@
"asset": {
"__id__": 0
},
"fileId": "
55abP80+ZDDq4HcbCVYknO
",
"fileId": "
167T+ueGhI1LmuIrIbkJlG
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -400,7 +400,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
feluDUZ05MLpOAb0g4ubLr
"
"fileId": "
ecu2RqN0RHRr4DsP2+bn6x
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -442,7 +442,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
0eeEkqXOxDSoJ4oCKqSczQ
"
"fileId": "
88pPqjZuFHhq8D0hJsYz2t
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -452,7 +452,7 @@
"asset": {
"__id__": 0
},
"fileId": "
fe+dPeo25CDomSAhK4JJ2P
",
"fileId": "
9a3gbJTclGl7UFSu4zDF1y
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -533,7 +533,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
11ul/ZiLJK17nESiysOvI8
"
"fileId": "
53F18c+txFH6enVb/ALany
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -575,7 +575,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
afWdsnM49IL72KH8FU4bUG
"
"fileId": "
cd4XuJYOlHWacR7NNnwdVk
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -585,7 +585,7 @@
"asset": {
"__id__": 0
},
"fileId": "
af6D45Ap1PnYQ3e0AcWvhk
",
"fileId": "
feWID39hVHkayj2+60fAS6
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -852,7 +852,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
9edvE7rVNE0pwtpPryZkfA
"
"fileId": "
abSwmJlslDRILGnK7YjaZI
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -894,7 +894,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
80oy100+ZIl63VXOpB4gzQ
"
"fileId": "
b8+62PUilMkYh1gSCFJ1TL
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -904,7 +904,7 @@
"asset": {
"__id__": 0
},
"fileId": "
8dka+QInhLZLM2P+BdAFzF
",
"fileId": "
d2eBT0dFdMzJxEAlNHYx5y
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -985,7 +985,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
ce76PQszBAV5heF6at//ju
"
"fileId": "
35SQjGHrdD0YsL8IQVbBnf
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -1027,7 +1027,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
e7n4l89HZATo/cvuaSoIi2
"
"fileId": "
8annRcEB5Ls6up+uXdQERw
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -1037,7 +1037,7 @@
"asset": {
"__id__": 0
},
"fileId": "
e9TtFBr7xJbL2Sg7pPVfG9
",
"fileId": "
a01ZE/JipK9pqC9EOwLeHP
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -1118,7 +1118,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6
9mIXqVfNC2oknPM/QjQ+U
"
"fileId": "6
7HDY+gCNBRoT9hGGDmjaQ
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -1160,7 +1160,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
1fSc3SqOZFIID0XYXBnPd
k"
"fileId": "
ee0eLKSAFD9q4PDvDwDv1
k"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -1170,7 +1170,7 @@
"asset": {
"__id__": 0
},
"fileId": "
da/utkEe5IdLUZZgQzEH7O
",
"fileId": "
88CjN/qFJONJunOxcVJ8Nk
",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -1627,7 +1627,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": -
3
0,
"width": -
8
0,
"height": 570
},
"_anchorPoint": {
...
...
@@ -1701,7 +1701,7 @@
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX":
3
0,
"_spacingX":
8
0,
"_spacingY": 30,
"_verticalDirection": 1,
"_horizontalDirection": 0,
...
...
@@ -1724,8 +1724,6 @@
"__id__": 0
},
"fileId": "ecey1hU/JDg6aDjG7EHPsg",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
...
...
assets/Bundles/GetPrize/prize.prefab
View file @
f680020f
...
...
@@ -130,7 +130,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2
0
0,
"width": 2
2
0,
"height": 55
},
"_anchorPoint": {
...
...
assets/Bundles/MainGame/MainGame.scene
View file @
f680020f
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_name": "
MainGame
",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
...
...
assets/Scripts/Panels/ExchangeSuccess.ts
View file @
f680020f
...
...
@@ -19,6 +19,7 @@ export default class ExchangeSuccess extends Panel {
@
property
(
Node
)
back
:
Node
=
null
;
@
property
(
Label
)
prizeName
:
Label
=
null
;
@
property
(
Sprite
)
prize
:
Sprite
=
null
;
@
property
(
Label
)
numTxt
:
Label
=
null
;
onLoad
()
{
this
.
look
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickLook
);
...
...
@@ -34,12 +35,14 @@ export default class ExchangeSuccess extends Panel {
prizeId
,
userLimitCount
,
alreadyUserCount
,
consumeCreditsNum
consumeCreditsNum
,
num
}
=
this
.
data
;
this
.
prizeName
.
string
=
optionName
;
this
.
prize
.
spriteFrame
=
optionImg
;
this
.
numTxt
.
string
=
`X
${
num
}
`
;
store
.
getExchangeInfo
();
}
...
...
assets/Scripts/Panels/ProPop.ts
View file @
f680020f
...
...
@@ -118,7 +118,7 @@ export default class ProPop extends Panel {
// if (conditionsItem.credits >= consumeSp.quantity) {
showPanel
(
ExchangeSuccess
,
this
.
data
);
showPanel
(
ExchangeSuccess
,
{
...
this
.
data
,
num
:
this
.
buyNum
}
);
this
.
hidePanel
();
// }
});
...
...
build/web-mobile/index.html
View file @
f680020f
...
...
@@ -98,14 +98,14 @@
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/assets/plugin/rem.min.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/17350
40671131
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
...
...
@@ -118,20 +118,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
40671131
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17350
93141923
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
preview-template/mock/home/index.do.json
View file @
f680020f
...
...
@@ -9,11 +9,12 @@
"bagImg"
:
"sunt esse ea Duis"
,
"bagName"
:
"sint"
},
"bagPopVO"
:
null
,
"benefitDesc"
:
"规则权益文案"
,
"continueSignDays"
:
1
,
"continueSignDays"
:
0
,
"creditsNum"
:
1011347
,
"currentTime"
:
1733984931891
,
"firstEntryFlag"
:
fals
e
,
"firstEntryFlag"
:
tru
e
,
"luckBenefitDesc"
:
"权益福袋权益"
,
"newGetSpId"
:
null
,
"newGetSpImage"
:
null
,
...
...
profiles/v2/packages/builder.json
View file @
f680020f
...
...
@@ -45,8 +45,8 @@
"progress"
:
1
,
"state"
:
"success"
,
"stage"
:
"build"
,
"message"
:
"2024-12-2
4 19:45:15 build success in 1 min 2
s!"
,
"detailMessage"
:
"
refresh db internal success
\r
"
,
"message"
:
"2024-12-2
5 10:19:58 build success in 56
s!"
,
"detailMessage"
:
"
builder:build-project-total (56357ms)
\r
"
,
"options"
:
{
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
...
...
@@ -109,7 +109,7 @@
"__version__"
:
"1.3.8"
,
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
},
"time"
:
"2024-12-2
4 19:44:13
"
,
"time"
:
"2024-12-2
5 10:19:01
"
,
"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