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
5e3d19bc
Commit
5e3d19bc
authored
Nov 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b19c448b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
Toast2.ts
egret/libs/new_wx/components/Toast2.ts
+1
-1
闯关失败.png
egret/resource/assets/faild/闯关失败.png
+0
-0
FailSkin.exml
egret/resource/skins/FailSkin.exml
+1
-0
No files found.
egret/libs/new_wx/components/Toast2.ts
View file @
5e3d19bc
...
@@ -12,7 +12,7 @@ export default class Toast2 extends ComponentBase {
...
@@ -12,7 +12,7 @@ export default class Toast2 extends ComponentBase {
toastLabel
:
eui
.
Label
;
toastLabel
:
eui
.
Label
;
start
()
{
start
()
{
this
.
touchEnabled
=
false
;
this
.
touchEnabled
=
false
;
this
.
touchChildren
=
false
;
//
this.touchChildren=false;
this
.
toastLabel
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
'<u>继续闯关赢好礼</u>'
);
this
.
toastLabel
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
'<u>继续闯关赢好礼</u>'
);
this
.
toastLabel
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,()
=>
{
this
.
toastLabel
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,()
=>
{
if
(
SceneCtrl
.
instance
.
currentScene
instanceof
MainScene
){
if
(
SceneCtrl
.
instance
.
currentScene
instanceof
MainScene
){
...
...
egret/resource/assets/faild/闯关失败.png
View replaced file @
b19c448b
View file @
5e3d19bc
288 KB
|
W:
|
H:
238 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/FailSkin.exml
View file @
5e3d19bc
...
@@ -18,4 +18,5 @@
...
@@ -18,4 +18,5 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Label
text=
"闯关成功即可获得现金券、\n游戏道具等更多好礼哦~"
y=
"477.24"
anchorOffsetX=
"0"
width=
"578.54"
anchorOffsetY=
"0"
height=
"81.52"
horizontalCenter=
"0"
textAlign=
"center"
verticalAlign=
"middle"
textColor=
"0xf54501"
size=
"25"
lineSpacing=
"15"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
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