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
6901cf50
Commit
6901cf50
authored
Nov 01, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
757f6d6a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
Toast2.ts
egret/libs/new_wx/components/Toast2.ts
+2
-1
Buy1Panel.ts
egret/src/panels/Buy1Panel.ts
+1
-1
Buy2Panel.ts
egret/src/panels/Buy2Panel.ts
+1
-1
Buy3Panel.ts
egret/src/panels/Buy3Panel.ts
+1
-1
ExchangePanel.ts
egret/src/panels/ExchangePanel.ts
+1
-1
No files found.
egret/libs/new_wx/components/Toast2.ts
View file @
6901cf50
...
...
@@ -11,7 +11,8 @@ export default class Toast2 extends ComponentBase {
get
skinKey
():
string
{
return
'Toast2'
}
toastLabel
:
eui
.
Label
;
start
()
{
this
.
touchEnabled
=
false
;
this
.
touchChildren
=
false
;
this
.
toastLabel
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
'<u>继续闯关赢好礼</u>'
);
this
.
toastLabel
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,()
=>
{
if
(
SceneCtrl
.
instance
.
currentScene
instanceof
MainScene
){
...
...
egret/src/panels/Buy1Panel.ts
View file @
6901cf50
...
...
@@ -44,7 +44,7 @@ export default class Buy1Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
HAMMER
);
//兑换道具
}
...
...
egret/src/panels/Buy2Panel.ts
View file @
6901cf50
...
...
@@ -39,7 +39,7 @@ export default class Buy2Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
BOOM
);
//兑换道具
}
...
...
egret/src/panels/Buy3Panel.ts
View file @
6901cf50
...
...
@@ -40,7 +40,7 @@ export default class Buy3Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
CHANCE_NUM
);
//兑换道具
}
...
...
egret/src/panels/ExchangePanel.ts
View file @
6901cf50
...
...
@@ -40,7 +40,7 @@ export default class ExchangePanel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
CASH_NUM
);
//兑换道具
}
...
...
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