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
07a59852
Commit
07a59852
authored
Feb 21, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
72651a60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
ShareCodePanel.ts
egret/src/panels/ShareCodePanel.ts
+2
-0
StartPanel.ts
egret/src/panels/StartPanel.ts
+7
-7
No files found.
egret/src/panels/ShareCodePanel.ts
View file @
07a59852
...
...
@@ -106,6 +106,8 @@ class ShareCodePanel extends ComponentBase {
}
onTouchClickBg
()
{
layers
.
shareLayer
.
visible
=
false
;
//关闭后要置null
this
.
code
=
null
}
private
codeOpr
()
{
...
...
egret/src/panels/StartPanel.ts
View file @
07a59852
...
...
@@ -85,10 +85,10 @@ export default class StartPanel extends Panel {
onTap_startBtn
()
{
const
homeData
=
getHomeData
();
//
if(homeData.remainEnargy <= 0) {
//
if(homeData.askForEnergy) {
//
PanelCtrl.instance.show('blood2Panel');
//
} else {
if
(
homeData
.
remainEnargy
<=
0
)
{
if
(
homeData
.
askForEnergy
)
{
PanelCtrl
.
instance
.
show
(
'blood2Panel'
);
}
else
{
if
(
iswx
())
{
getShareUrl
(
this
.
stage
);
}
else
...
...
@@ -101,9 +101,9 @@ export default class StartPanel extends Panel {
showToast
(
'分享成功~'
);
});
})
//
}
//
return;
//
}
}
return
;
}
// Loading.instace.show();
this
.
touchChildren
=
false
;
...
...
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