Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
23e42a3b
Commit
23e42a3b
authored
Apr 02, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
0a66bd0a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
166 additions
and
4 deletions
+166
-4
BloodSkin.exml
egret/resource/skins/BloodSkin.exml
+3
-3
BloodPanel.ts
egret/src/panels/BloodPanel.ts
+4
-1
Chapter23.ts
egret/src/something/chapters/Chapter23.ts
+159
-0
No files found.
egret/resource/skins/BloodSkin.exml
View file @
23e42a3b
...
...
@@ -23,7 +23,7 @@
<e:Group
id=
"selbox"
width=
"531"
y=
"427.37"
horizontalCenter=
"
0
.5"
>
<e:Group
id=
"selbox"
width=
"531"
y=
"427.37"
horizontalCenter=
"
6
.5"
>
<e:Group
id=
"zhuanpan"
width=
"531"
height=
"121"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
top=
"0"
>
<e:Image
source=
"itembg_png"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Image
source=
"bloodhert_png"
x=
"12"
verticalCenter=
"6.5"
/>
...
...
@@ -78,8 +78,8 @@
</e:Group>
</e:Group>
<e:Group
id=
"botinfo"
width=
"750"
height=
"170"
y=
"846.45"
horizontalCenter=
"0"
>
<e:Image
id=
"countheart"
source=
"bloodhert_png"
x=
"2
73.28
"
scaleX=
"0.4"
scaleY=
"0.4"
y=
"11"
/>
<e:Label
id=
"countdownTxt"
text=
"恢复
:00:32:41"
size=
"24"
width=
"509"
verticalAlign=
"middle"
textAlign=
"left"
x=
"314
"
scaleX=
"1"
scaleY=
"1"
y=
"13"
textColor=
"0xc17343"
fontFamily=
"FZY3JW"
bold=
"false"
/>
<e:Image
id=
"countheart"
source=
"bloodhert_png"
x=
"2
57.3
"
scaleX=
"0.4"
scaleY=
"0.4"
y=
"11"
/>
<e:Label
id=
"countdownTxt"
text=
"恢复
: 00 : 32 : 41"
size=
"24"
width=
"509"
verticalAlign=
"middle"
textAlign=
"left"
x=
"298.02
"
scaleX=
"1"
scaleY=
"1"
y=
"13"
textColor=
"0xc17343"
fontFamily=
"FZY3JW"
bold=
"false"
/>
<e:Button
id=
"resumeBtn"
label=
""
y=
"50"
horizontalCenter=
"0"
x=
"189"
scaleX=
"1"
scaleY=
"1"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/src/panels/BloodPanel.ts
View file @
23e42a3b
...
...
@@ -46,7 +46,10 @@ export default class BloodPanel extends Panel {
//是否显示抽奖得体力
var
showcj
:
boolean
=
false
;
if
(
res
&&
res
.
data
&&
res
.
data
.
luckyDrawConf
&&
res
.
data
.
luckyDrawConf
.
enable
){
showcj
=
true
;
var
bloodadd
=
res
.
data
.
luckyDrawConf
.
prizeList
.
filter
(
item
=>
item
.
categoryType
==
2
);
if
(
bloodadd
.
length
>
0
){
showcj
=
true
;
}
}
//显示条数
var
tipnum
:
number
=
3
;
...
...
egret/src/something/chapters/Chapter23.ts
View file @
23e42a3b
This diff is collapsed.
Click to expand it.
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