Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
b2541cd1
Commit
b2541cd1
authored
Mar 15, 2021
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序直接单独处理
parent
a552722b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
StartScene.ts
egret/src/Scene/StartScene.ts
+6
-5
No files found.
egret/src/Scene/StartScene.ts
View file @
b2541cd1
...
@@ -114,7 +114,8 @@ export default class StartScene extends Scene {
...
@@ -114,7 +114,8 @@ export default class StartScene extends Scene {
});
});
this
.
btnTask
.
visible
=
window
[
'channel'
]
==
"app"
;
// this.btnTask.visible = window['channel']=="app";
this
.
btnTask
.
visible
=
false
;
Buried
.
doShowBuried
(
4
);
Buried
.
doShowBuried
(
4
);
this
.
btnTask
.
onTap
(
this
,
()
=>
{
this
.
btnTask
.
onTap
(
this
,
()
=>
{
PanelCtrl
.
instance
.
show
<
TaskPanel
>
(
TaskPanel
).
onCompleteTask
=
()
=>
{
PanelCtrl
.
instance
.
show
<
TaskPanel
>
(
TaskPanel
).
onCompleteTask
=
()
=>
{
...
@@ -147,11 +148,11 @@ export default class StartScene extends Scene {
...
@@ -147,11 +148,11 @@ export default class StartScene extends Scene {
Buried
.
doShowBuried
(
1
);
Buried
.
doShowBuried
(
1
);
this
.
btnShare
.
onTap
(
this
,
()
=>
{
this
.
btnShare
.
onTap
(
this
,
()
=>
{
//端内分享
//端内分享
if
(
window
[
"channel"
]
==
"app"
){
//
if(window["channel"]=="app"){
window
[
"share"
]();
//
window["share"]();
}
else
{
//
}else{
PanelCtrl
.
instance
.
show
(
SharePanel
);
PanelCtrl
.
instance
.
show
(
SharePanel
);
}
//
}
Buried
.
doClickBuried
(
1
);
Buried
.
doClickBuried
(
1
);
});
});
this
.
refresh
();
this
.
refresh
();
...
...
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