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
10f8e48e
Commit
10f8e48e
authored
Dec 13, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
8ba07105
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
27 deletions
+32
-27
joinshare_bg.jpg
egret/resource/assets/joinshare/joinshare_bg.jpg
+0
-0
mrbg.jpg
egret/resource/assets/myrecord/mrbg.jpg
+0
-0
pkBG.jpg
egret/resource/assets/pk/pkBG.jpg
+0
-0
teamshare_bg.jpg
egret/resource/assets/teamshare/teamshare_bg.jpg
+0
-0
default.res.json
egret/resource/default.res.json
+23
-23
PKPrizeSkin.exml
egret/resource/skins/PKPrizeSkin.exml
+2
-2
PKScene.ts
egret/src/yazuwei/PKScene.ts
+7
-2
No files found.
egret/resource/assets/joinshare/joinshare_bg.jpg
View replaced file @
8ba07105
View file @
10f8e48e
212 KB
|
W:
|
H:
777 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/myrecord/mrbg.jpg
View replaced file @
8ba07105
View file @
10f8e48e
This diff is collapsed.
Click to expand it.
egret/resource/assets/pk/pkBG.jpg
View replaced file @
8ba07105
View file @
10f8e48e
This diff is collapsed.
Click to expand it.
egret/resource/assets/teamshare/teamshare_bg.jpg
View replaced file @
8ba07105
View file @
10f8e48e
175 KB
|
W:
|
H:
774 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/default.res.json
View file @
10f8e48e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"name"
:
"Preload"
"name"
:
"Preload"
},
},
{
{
"keys"
:
"certificate_btn_png,certificate_cover_png,certificate_jpg,joinshare_btn_png,
joinshare_bg_jpg,sharestarter_bg_jpg,sharestarter_btn_png,sharestarter_sharebtn_png,share2mask_png,share2btn_png,share2bg_jpg,confirm_btn_png,confirm_bg_png,transfer _toast3_png,transfer _toast2_png,transfer _toast1_png,transfer _title_png,transfer _btn_png,trans_bg_jpg,teamshare_bg_jpg,teamshare_btn_png,transferrecord_bg_png,transferrecord_item_bg_png,关闭按钮 _pn
g"
,
"keys"
:
"certificate_btn_png,certificate_cover_png,certificate_jpg,joinshare_btn_png,
sharestarter_bg_jpg,sharestarter_btn_png,sharestarter_sharebtn_png,share2mask_png,share2btn_png,share2bg_jpg,confirm_btn_png,confirm_bg_png,transfer _toast3_png,transfer _toast2_png,transfer _toast1_png,transfer _title_png,transfer _btn_png,trans_bg_jpg,teamshare_btn_png,transferrecord_bg_png,transferrecord_item_bg_png,关闭按钮 _png,teamshare_bg_jpg,joinshare_bg_jp
g"
,
"name"
:
"Normal"
"name"
:
"Normal"
},
},
{
{
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"name"
:
"Garbage"
"name"
:
"Garbage"
},
},
{
{
"keys"
:
"pkwinlogo_png,pkwinlight_png,pkwinBtn_png,pkwinbg_png,pkscorebg2_png,pkscorebg_png,pkrulebtn_png,pkrulebg_png,pkprizeBtn_png,pkprizebg_png,pkpeacelogo_png,pkpeacelight_png,pkotherline2_png,pknoton_png,pkmyline2_png,pkloselogo_png,pkloselight_png,pkfinishbg_png,pkendbg_png,pkcirle_png,pkBtn_png,pk
BG_jpg,pk
askBtn_png,pkagainBtn_png,pkadd_png,head1_png,box_png"
,
"keys"
:
"pkwinlogo_png,pkwinlight_png,pkwinBtn_png,pkwinbg_png,pkscorebg2_png,pkscorebg_png,pkrulebtn_png,pkrulebg_png,pkprizeBtn_png,pkprizebg_png,pkpeacelogo_png,pkpeacelight_png,pkotherline2_png,pknoton_png,pkmyline2_png,pkloselogo_png,pkloselight_png,pkfinishbg_png,pkendbg_png,pkcirle_png,pkBtn_png,pkaskBtn_png,pkagainBtn_png,pkadd_png,head1_png,box_png"
,
"name"
:
"Delay"
"name"
:
"Delay"
},
},
{
{
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
"name"
:
"Map"
"name"
:
"Map"
},
},
{
{
"keys"
:
"mrxg_png,mrtitle_png,mrtb_png,mrrb_png,mrmg_png,mrhz_png,mrhg_png,mrcx_png,mr
bg_jpg,mram_pn
g"
,
"keys"
:
"mrxg_png,mrtitle_png,mrtb_png,mrrb_png,mrmg_png,mrhz_png,mrhg_png,mrcx_png,mr
am_png,mrbg_jpg,pkBG_jp
g"
,
"name"
:
"Record"
"name"
:
"Record"
}
}
],
],
...
@@ -76,11 +76,6 @@
...
@@ -76,11 +76,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"ydline_png"
"name"
:
"ydline_png"
},
},
{
"url"
:
"assets/joinshare/joinshare_bg.jpg"
,
"type"
:
"image"
,
"name"
:
"joinshare_bg_jpg"
},
{
{
"url"
:
"assets/joinshare/joinshare_btn.png"
,
"url"
:
"assets/joinshare/joinshare_btn.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -106,11 +101,6 @@
...
@@ -106,11 +101,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"mram_png"
"name"
:
"mram_png"
},
},
{
"url"
:
"assets/myrecord/mrbg.jpg"
,
"type"
:
"image"
,
"name"
:
"mrbg_jpg"
},
{
{
"url"
:
"assets/myrecord/mrcx.png"
,
"url"
:
"assets/myrecord/mrcx.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -176,11 +166,6 @@
...
@@ -176,11 +166,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"pkaskBtn_png"
"name"
:
"pkaskBtn_png"
},
},
{
"url"
:
"assets/pk/pkBG.jpg"
,
"type"
:
"image"
,
"name"
:
"pkBG_jpg"
},
{
{
"url"
:
"assets/pk/pkBtn.png"
,
"url"
:
"assets/pk/pkBtn.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -541,11 +526,6 @@
...
@@ -541,11 +526,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"yylogo_png"
"name"
:
"yylogo_png"
},
},
{
"url"
:
"assets/teamshare/teamshare_bg.jpg"
,
"type"
:
"image"
,
"name"
:
"teamshare_bg_jpg"
},
{
{
"url"
:
"assets/teamshare/teamshare_btn.png"
,
"url"
:
"assets/teamshare/teamshare_btn.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -675,6 +655,26 @@
...
@@ -675,6 +655,26 @@
"url"
:
"assets/certificate/certificate.jpg"
,
"url"
:
"assets/certificate/certificate.jpg"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"certificate_jpg"
"name"
:
"certificate_jpg"
},
{
"url"
:
"assets/pk/pkBG.jpg"
,
"type"
:
"image"
,
"name"
:
"pkBG_jpg"
},
{
"url"
:
"assets/myrecord/mrbg.jpg"
,
"type"
:
"image"
,
"name"
:
"mrbg_jpg"
},
{
"url"
:
"assets/joinshare/joinshare_bg.jpg"
,
"type"
:
"image"
,
"name"
:
"joinshare_bg_jpg"
},
{
"url"
:
"assets/teamshare/teamshare_bg.jpg"
,
"type"
:
"image"
,
"name"
:
"teamshare_bg_jpg"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/PKPrizeSkin.exml
View file @
10f8e48e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<e:Group
width=
"694"
height=
"758"
anchorOffsetY=
"0"
horizontalCenter=
"-1"
verticalCenter=
"-190"
>
<e:Group
width=
"694"
height=
"758"
anchorOffsetY=
"0"
horizontalCenter=
"-1"
verticalCenter=
"-190"
>
<e:Image
width=
"693"
height=
"689"
x=
"0"
y=
"0"
scaleX=
"1"
scaleY=
"1"
source=
"ranklight_png"
/>
<e:Image
width=
"693"
height=
"689"
x=
"0"
y=
"0"
scaleX=
"1"
scaleY=
"1"
source=
"ranklight_png"
/>
<e:Image
width=
"638"
height=
"554"
x=
"30"
y=
"204"
source=
"pkprizebg_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
width=
"638"
height=
"554"
x=
"30"
y=
"204"
source=
"pkprizebg_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Label
id=
"energy"
text=
"30"
x=
"
243"
y=
"416"
size=
"125"
fontFamily=
"Arial"
scaleX=
"1"
scaleY=
"1
"
/>
<e:Label
id=
"energy"
text=
"30"
x=
"
56"
y=
"416"
size=
"125"
fontFamily=
"Arial"
scaleX=
"1"
scaleY=
"1"
anchorOffsetX=
"0"
width=
"327"
textAlign=
"right
"
/>
<e:Label
text=
"能量"
x=
"393"
y=
"476"
size=
"32"
scaleX=
"1"
scaleY=
"1"
/>
<e:Label
id=
"enerlab"
text=
"能量"
x=
"393"
y=
"476"
size=
"32"
scaleX=
"1"
scaleY=
"1"
/>
<e:Button
id=
"prizeBtn"
label=
"Button"
icon=
"pkprizeBtn_png"
skinName=
"ui.IconButtonSkin"
scaleX=
"1"
scaleY=
"1"
width=
"291"
height=
"82"
anchorOffsetX=
"145.5"
anchorOffsetY=
"41"
x=
"348.5"
y=
"624"
/>
<e:Button
id=
"prizeBtn"
label=
"Button"
icon=
"pkprizeBtn_png"
skinName=
"ui.IconButtonSkin"
scaleX=
"1"
scaleY=
"1"
width=
"291"
height=
"82"
anchorOffsetX=
"145.5"
anchorOffsetY=
"41"
x=
"348.5"
y=
"624"
/>
<e:Button
id=
"closeBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"closeBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"48"
height=
"48"
anchorOffsetX=
"24"
anchorOffsetY=
"24"
x=
"670"
y=
"133"
/>
<e:Button
id=
"closeBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"closeBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"48"
height=
"48"
anchorOffsetX=
"24"
anchorOffsetY=
"24"
x=
"670"
y=
"133"
/>
</e:Group>
</e:Group>
...
...
egret/src/yazuwei/PKScene.ts
View file @
10f8e48e
...
@@ -144,7 +144,7 @@ export default class PKScene extends Scene{
...
@@ -144,7 +144,7 @@ export default class PKScene extends Scene{
this
[
"team"
+
i
][
"notonline"
].
visible
=
true
;
this
[
"team"
+
i
][
"notonline"
].
visible
=
true
;
this
[
"team"
+
i
][
"onGroup"
].
visible
=
false
;
this
[
"team"
+
i
][
"onGroup"
].
visible
=
false
;
this
[
"team"
+
i
][
"notGroup"
].
visible
=
true
;
this
[
"team"
+
i
][
"notGroup"
].
visible
=
true
;
this
.
setColor
(
this
[
"team"
+
i
][
"
headimg
"
]);
this
.
setColor
(
this
[
"team"
+
i
][
"
avatar
"
]);
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
){
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
){
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
if
(
data
.
myTeamMembers
[
i
-
1
].
phone
==
"null"
){
this
[
"team"
+
i
][
"notonphone"
].
text
=
"未知号码"
;
this
[
"team"
+
i
][
"notonphone"
].
text
=
"未知号码"
;
...
@@ -211,7 +211,12 @@ export default class PKScene extends Scene{
...
@@ -211,7 +211,12 @@ export default class PKScene extends Scene{
let
data
=
DataManager
.
ins
.
getData
(
"getTreasureBox"
).
data
;
let
data
=
DataManager
.
ins
.
getData
(
"getTreasureBox"
).
data
;
this
.
setColor
(
this
.
box
)
this
.
setColor
(
this
.
box
)
this
.
clearTap
(
this
.
box
,
this
.
onTap_OpenBox
);
this
.
clearTap
(
this
.
box
,
this
.
onTap_OpenBox
);
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
PKPRIZE_PANEL
,
data
)
if
(
data
.
prizeType
==
"0"
){
ToastCtrl
.
instance
.
show
(
"啊哦,什么也没有~"
)
}
else
{
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
PKPRIZE_PANEL
,
data
)
}
},
window
[
'projectId'
])
},
window
[
'projectId'
])
}
}
setColor
(
group
)
{
setColor
(
group
)
{
...
...
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