Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
yyh
Commits
9eeb7679
Commit
9eeb7679
authored
Dec 11, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
483e5151
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
12 deletions
+24
-12
RankPanel.ts
egret/src/rankPanel/RankPanel.ts
+5
-3
StartScene.ts
egret/src/startScene/StartScene.ts
+1
-0
PKScene.ts
egret/src/yazuwei/PKScene.ts
+12
-6
PKScorePanel.ts
egret/src/yazuwei/PKScorePanel.ts
+6
-3
No files found.
egret/src/rankPanel/RankPanel.ts
View file @
9eeb7679
...
...
@@ -27,9 +27,11 @@ export default class RankPanel extends Panel{
com
[
'ranklab'
].
text
=
data
.
list
[
i
].
rank
;
//没有手机号的情况下
if
(
data
.
list
[
i
].
phone
){
com
[
'rankid'
].
text
=
data
.
list
[
i
].
phone
;
}
else
if
(
data
.
list
[
i
].
phone
==
"null"
){
com
[
'rankid'
].
text
=
"未知号码"
if
(
data
.
list
[
i
].
phone
==
"null"
){
com
[
'rankid'
].
text
=
"未知号码"
}
else
{
com
[
'rankid'
].
text
=
data
.
list
[
i
].
phone
;
}
}
else
{
com
[
'rankid'
].
text
=
"未知号码"
}
...
...
egret/src/startScene/StartScene.ts
View file @
9eeb7679
...
...
@@ -132,6 +132,7 @@ export default class StartScene extends Scene {
if
(
data
.
currentLevel
>
0
){
this
.
needscore
.
visible
=
true
;
this
.
needscore
.
text
=
"需要达到"
+
data
.
nextLevelScore
+
"分数"
this
.
needscore
.
touchEnabled
=
true
;
if
(
data
.
nextLevelScore
>
data
.
currentScore
){
this
.
onTap
(
this
.
unlockBtn
,
this
.
noCredits
);
this
.
unlockBtn
.
icon
=
"lockBtn_png"
;
...
...
egret/src/yazuwei/PKScene.ts
View file @
9eeb7679
...
...
@@ -95,9 +95,12 @@ export default class PKScene extends Scene{
for
(
let
i
=
1
;
i
<
data
.
myTeamMembers
.
length
+
1
;
i
++
){
this
[
"team"
+
i
][
"onnum"
].
text
=
"+"
+
data
.
myTeamMembers
[
i
-
1
].
memberStepCounts
;
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
){
this
[
"team"
+
i
][
"onphone"
].
text
=
data
.
myTeamMembers
[
i
-
1
].
phone
;
}
else
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
this
[
"team"
+
i
][
"onphone"
].
text
=
"未知号码"
;
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
this
[
"team"
+
i
][
"onphone"
].
text
=
"未知号码"
;
}
else
{
this
[
"team"
+
i
][
"onphone"
].
text
=
data
.
myTeamMembers
[
i
-
1
].
phone
;
}
}
else
{
this
[
"team"
+
i
][
"onphone"
].
text
=
"未知号码"
;
}
...
...
@@ -124,9 +127,12 @@ export default class PKScene extends Scene{
this
[
"team"
+
i
][
"notGroup"
].
visible
=
true
;
this
.
setColor
(
this
[
"team"
+
i
][
"headimg"
]);
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
){
this
[
"team"
+
i
][
"notonphone"
].
text
=
data
.
myTeamMembers
[
i
-
1
].
phone
;
}
else
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
this
[
"team"
+
i
][
"notonphone"
].
text
=
"未知号码"
;
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
this
[
"team"
+
i
][
"notonphone"
].
text
=
"未知号码"
;
}
else
{
this
[
"team"
+
i
][
"notonphone"
].
text
=
data
.
myTeamMembers
[
i
-
1
].
phone
;
}
}
else
{
this
[
"team"
+
i
][
"notonphone"
].
text
=
"未知号码"
;
}
...
...
egret/src/yazuwei/PKScorePanel.ts
View file @
9eeb7679
...
...
@@ -83,9 +83,12 @@ export default class PKScorePanel extends Panel{
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
"我"
}
else
{
if
(
data
.
pkResult
.
myTeamMembers
[
i
].
phone
){
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
data
.
pkResult
.
myTeamMembers
[
i
].
phone
}
else
if
(
data
.
pkResult
.
myTeamMembers
[
i
].
phone
==
"null"
){
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
"未知号码"
if
(
data
.
pkResult
.
myTeamMembers
[
i
].
phone
==
"null"
){
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
"未知号码"
}
else
{
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
data
.
pkResult
.
myTeamMembers
[
i
].
phone
}
}
else
{
this
[
"team"
+
(
i
+
1
)][
"onphone"
].
text
=
"未知号码"
}
...
...
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