Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
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
TNGD_CaveCruiser
Commits
1d2a9126
Commit
1d2a9126
authored
Sep 26, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
9efc4adc
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
12 deletions
+23
-12
RankPanel.prefab
assets/Bundles/RankPanel/RankPanel.prefab
+2
-2
PrizePanel.ts
assets/Scripts/Panels/PrizePanel.ts
+1
-1
RankPanel.ts
assets/Scripts/Panels/RankPanel.ts
+10
-2
WebNet.ts
assets/Scripts/Utils/WebNet/WebNet.ts
+1
-1
Start.ts
assets/Start/Start.ts
+5
-2
UICanvas.prefab
assets/Start/UICanvas.prefab
+1
-1
duiba-publish.json
profiles/v2/packages/duiba-publish.json
+2
-2
reference-image.json
profiles/v2/packages/reference-image.json
+1
-1
No files found.
assets/Bundles/RankPanel/RankPanel.prefab
View file @
1d2a9126
...
@@ -2131,7 +2131,7 @@
...
@@ -2131,7 +2131,7 @@
"__id__": 72
"__id__": 72
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 101
"__id__": 101
...
@@ -2770,7 +2770,7 @@
...
@@ -2770,7 +2770,7 @@
"__id__": 109
"__id__": 109
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 137
"__id__": 137
...
...
assets/Scripts/Panels/PrizePanel.ts
View file @
1d2a9126
...
@@ -47,7 +47,7 @@ export default class PrizePanel extends Panel {
...
@@ -47,7 +47,7 @@ export default class PrizePanel extends Panel {
this
.
highestLabel
.
string
=
highest
;
this
.
highestLabel
.
string
=
highest
;
this
.
scoreLabel
.
string
=
score
;
this
.
scoreLabel
.
string
=
score
;
this
.
prizeName
.
string
=
strFormat
(
optionName
,
20
)
;
this
.
prizeName
.
string
=
optionName
;
this
.
img
.
spriteFrame
=
optionImg
;
this
.
img
.
spriteFrame
=
optionImg
;
}
}
...
...
assets/Scripts/Panels/RankPanel.ts
View file @
1d2a9126
...
@@ -12,6 +12,7 @@ const {ccclass, property} = _decorator;
...
@@ -12,6 +12,7 @@ const {ccclass, property} = _decorator;
import
{
YXCollectionView
,
YXFlowLayout
,
YXIndexPath
}
from
"../../Component/YXList/lib"
;
import
{
YXCollectionView
,
YXFlowLayout
,
YXIndexPath
}
from
"../../Component/YXList/lib"
;
import
{
sendWebNet
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
sendWebNet
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
popWindow
}
from
"../AppTool"
;
import
{
popWindow
}
from
"../AppTool"
;
import
{
hidePanel
,
hideWaiting
,
showWaiting
}
from
"../../Module/UIFast"
;
enum
TAB
{
enum
TAB
{
...
@@ -93,8 +94,15 @@ export default class RankPanel extends Panel {
...
@@ -93,8 +94,15 @@ export default class RankPanel extends Panel {
this
.
monthlyList
.
layout
=
monthlyLayout
;
this
.
monthlyList
.
layout
=
monthlyLayout
;
this
.
monthlyList
.
reloadData
();
this
.
monthlyList
.
reloadData
();
await
this
.
updateDaily
();
await
this
.
updateMonthly
();
showWaiting
(
true
);
await
Promise
.
all
([
this
.
updateDaily
(),
this
.
updateMonthly
(),
]);
hideWaiting
();
// await this.updateDaily();
// await this.updateMonthly();
}
}
clickDaily
()
{
clickDaily
()
{
...
...
assets/Scripts/Utils/WebNet/WebNet.ts
View file @
1d2a9126
...
@@ -224,7 +224,7 @@ export function sendWebNetWithToken(
...
@@ -224,7 +224,7 @@ export function sendWebNetWithToken(
try
{
try
{
const
token
=
await
getPxTokenSave
();
const
token
=
await
getPxTokenSave
();
if
(
!
token
)
{
if
(
!
token
)
{
showToast
(
'
网络异常,请稍后重试
'
);
showToast
(
'
Network error, please try again later.
'
);
r
({
success
:
false
})
r
({
success
:
false
})
return
;
return
;
}
}
...
...
assets/Start/Start.ts
View file @
1d2a9126
...
@@ -20,7 +20,7 @@ import { getUrlParams } from "../Scripts/Utils/WebNet/web/webTools";
...
@@ -20,7 +20,7 @@ import { getUrlParams } from "../Scripts/Utils/WebNet/web/webTools";
import
store
from
"../Scripts/store/store"
;
import
store
from
"../Scripts/store/store"
;
import
{
AudioMgr
}
from
"../core_tgx/base/AudioMgr"
;
import
{
AudioMgr
}
from
"../core_tgx/base/AudioMgr"
;
import
{
MusicBtn
}
from
"../Component/MusicBtn/MusicBtn"
;
import
{
MusicBtn
}
from
"../Component/MusicBtn/MusicBtn"
;
import
{
gameId
}
from
"../Scripts/AppTool"
;
import
{
gameId
,
popWindow
}
from
"../Scripts/AppTool"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
...
@@ -94,6 +94,9 @@ export class Start extends Component {
...
@@ -94,6 +94,9 @@ export class Start extends Component {
if
(
!
success
)
{
if
(
!
success
)
{
showToast
(
"Authorization failure"
);
showToast
(
"Authorization failure"
);
this
.
scheduleOnce
(()
=>
{
popWindow
();
},
2
);
return
;
return
;
}
}
...
@@ -182,7 +185,7 @@ export class Start extends Component {
...
@@ -182,7 +185,7 @@ export class Start extends Component {
async
(
error
)
=>
{
async
(
error
)
=>
{
if
(
error
)
{
if
(
error
)
{
console
.
error
(
error
);
console
.
error
(
error
);
showToast
(
"
活动太火爆啦,请稍后再试~
"
);
showToast
(
"
Network error, please try again later.
"
);
}
}
// onComplete();
// onComplete();
resolve
();
resolve
();
...
...
assets/Start/UICanvas.prefab
View file @
1d2a9126
...
@@ -1310,7 +1310,7 @@
...
@@ -1310,7 +1310,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 750
.0000000000001
,
"width": 750,
"height": 1624
"height": 1624
},
},
"_anchorPoint": {
"_anchorPoint": {
...
...
profiles/v2/packages/duiba-publish.json
View file @
1d2a9126
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
"bucket"
:
"sbx-gamification-tngd"
,
"bucket"
:
"sbx-gamification-tngd"
,
"accessKeyId"
:
"LTAI5tApBGwYWaj6zLmKUaTJ"
,
"accessKeyId"
:
"LTAI5tApBGwYWaj6zLmKUaTJ"
,
"accessKeySecret"
:
"W3OvCDpbE3ywMaQnTNWzySnhPRK1We"
,
"accessKeySecret"
:
"W3OvCDpbE3ywMaQnTNWzySnhPRK1We"
,
"cdnDomain"
:
"//gamification-sbx.tngdigital.com.my"
"cdnDomain"
:
"//gamification-
cdn-
sbx.tngdigital.com.my"
}
}
},
},
"__version__"
:
"1.3.8"
,
"__version__"
:
"1.3.8"
,
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
"bucket"
:
"sbx-gamification-tngd"
,
"bucket"
:
"sbx-gamification-tngd"
,
"accessKeyId"
:
"LTAI5tApBGwYWaj6zLmKUaTJ"
,
"accessKeyId"
:
"LTAI5tApBGwYWaj6zLmKUaTJ"
,
"accessKeySecret"
:
"W3OvCDpbE3ywMaQnTNWzySnhPRK1We"
,
"accessKeySecret"
:
"W3OvCDpbE3ywMaQnTNWzySnhPRK1We"
,
"cdnDomain"
:
"//gamification-sbx.tngdigital.com.my"
"cdnDomain"
:
"//gamification-
cdn-
sbx.tngdigital.com.my"
}
}
}
}
}
}
...
...
profiles/v2/packages/reference-image.json
View file @
1d2a9126
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"config"
:
{
"config"
:
{
"images"
:
[],
"images"
:
[],
"sceneUUID"
:
{},
"sceneUUID"
:
{},
"scene"
:
"0
4224ebd-adcd-4112-8010-da14ed5ea48a
"
"scene"
:
"0
63b0464-e893-46fd-95f9-73a41f19fd25
"
},
},
"show"
:
false
"show"
:
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