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
c333a428
Commit
c333a428
authored
Jul 31, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码1
parent
d64234b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
TaskItem.ts
assets/Scripts/Panels/TaskPanel/TaskItem.ts
+5
-6
No files found.
assets/Scripts/Panels/TaskPanel/TaskItem.ts
View file @
c333a428
...
@@ -78,12 +78,6 @@ export class TaskItem extends ScrollListItem {
...
@@ -78,12 +78,6 @@ export class TaskItem extends ScrollListItem {
switch
(
+
taskStatus
)
{
switch
(
+
taskStatus
)
{
case
0
:
{
case
0
:
{
if
(
!
haveJump
){
btnSp
.
spriteFrame
=
this
.
noJumpSf
;
break
;
}
if
(
code
?.
startsWith
(
"it"
))
{
if
(
code
?.
startsWith
(
"it"
))
{
btnSp
.
spriteFrame
=
this
.
inviteSf
;
btnSp
.
spriteFrame
=
this
.
inviteSf
;
}
else
if
(
code
?.
startsWith
(
"tt"
)
&&
(
extra
==
0
||
!!!
extra
))
{
}
else
if
(
code
?.
startsWith
(
"tt"
)
&&
(
extra
==
0
||
!!!
extra
))
{
...
@@ -91,6 +85,11 @@ export class TaskItem extends ScrollListItem {
...
@@ -91,6 +85,11 @@ export class TaskItem extends ScrollListItem {
}
else
if
(
code
?.
startsWith
(
"bt"
))
{
}
else
if
(
code
?.
startsWith
(
"bt"
))
{
btnSp
.
spriteFrame
=
this
.
doSf
;
btnSp
.
spriteFrame
=
this
.
doSf
;
}
else
{
}
else
{
if
(
!
haveJump
){
btnSp
.
spriteFrame
=
this
.
noJumpSf
;
break
;
}
if
(
code
===
"bank_2202"
)
{
// 特殊任务
if
(
code
===
"bank_2202"
)
{
// 特殊任务
// hasReceivedNum 特殊任务的已领奖次数
// hasReceivedNum 特殊任务的已领奖次数
if
(
completedSize
>=
1
)
{
if
(
completedSize
>=
1
)
{
...
...
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