Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
ZheShangBank_TaoQuan_20240612
Commits
cb19fc2f
Commit
cb19fc2f
authored
Jun 28, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
8bee5db4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
PrizeItem.ts
assets/Scripts/Scenes/PrizeScene/PrizeItem.ts
+9
-5
No files found.
assets/Scripts/Scenes/PrizeScene/PrizeItem.ts
View file @
cb19fc2f
import
{
_decorator
,
Component
,
Node
,
Label
,
Sprite
,
Button
}
from
'cc'
;
import
{
_decorator
,
Component
,
Node
,
Label
,
Sprite
,
Button
}
from
'cc'
;
import
{
dateFormatter
,
strFormat
}
from
'../../Utils/Utils'
;
import
{
dateFormatter
,
strFormat
}
from
'../../Utils/Utils'
;
import
{
ScrollListItem
}
from
"../../ScrollList/ScrollListItem"
;
import
{
ScrollListItem
}
from
"../../ScrollList/ScrollListItem"
;
import
{
appJump
}
from
"../../../AppTool"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
...
@@ -22,12 +23,15 @@ export class PrizeItem extends ScrollListItem {
...
@@ -22,12 +23,15 @@ export class PrizeItem extends ScrollListItem {
clickItem
()
{
clickItem
()
{
const
{
id
,
url
,
boolBankPrize
,
prizeId
}
=
this
.
data
;
const
{
id
,
url
,
boolBankPrize
,
prizeId
}
=
this
.
data
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// 苏银豆
// if (prizeId == "sp_syd") {
if
(
prizeId
.
indexOf
(
"third"
)
==
0
)
{
// onToAppMall();
appJump
(
"https://mobapp.czbank.com/ life/voucherPack.html"
);
// return;
return
;
// }
}
// 行方奖品
// 行方奖品
if
(
boolBankPrize
)
{
if
(
boolBankPrize
)
{
// 行方商城奖品详情页:jfscddlb
// 行方商城奖品详情页:jfscddlb
...
...
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