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
4d0d43fc
Commit
4d0d43fc
authored
Aug 23, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eb6a6711
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Alert.ts
egret/libs/new_wx/components/Alert.ts
+1
-1
MainScene.ts
egret/src/mainScene/MainScene.ts
+2
-1
No files found.
egret/libs/new_wx/components/Alert.ts
View file @
4d0d43fc
import
Panel
from
"./Panel"
;
import
Panel
from
"./Panel"
;
import
SceneCtrl
from
"../ctrls/sceneCtrl"
;
import
SceneCtrl
from
"../ctrls/sceneCtrl"
;
import
{
ModuleTypes
}
from
"../types/sceneTypes"
;
import
{
ModuleTypes
}
from
"../types/sceneTypes"
;
import
StartScene
from
"../../../src/startScene/StartScene"
;
import
StartScene
,
{
createData
}
from
"../../../src/startScene/StartScene"
;
export
default
class
Alert
extends
Panel
{
export
default
class
Alert
extends
Panel
{
start
(
data
)
{
start
(
data
)
{
super
.
start
(
data
);
super
.
start
(
data
);
...
...
egret/src/mainScene/MainScene.ts
View file @
4d0d43fc
...
@@ -45,6 +45,7 @@ import PropType from '../PropType';
...
@@ -45,6 +45,7 @@ import PropType from '../PropType';
import
{
PropNumShow
}
from
'../something/uis/PropNumShow'
;
import
{
PropNumShow
}
from
'../something/uis/PropNumShow'
;
import
SceneCtrl
from
'../../libs/new_wx/ctrls/sceneCtrl'
;
import
SceneCtrl
from
'../../libs/new_wx/ctrls/sceneCtrl'
;
import
{
PropGuide
}
from
'../something/uis/PropGuide'
;
import
{
PropGuide
}
from
'../something/uis/PropGuide'
;
import
{
createData
}
from
'../startScene/StartScene'
;
const
aniClass
=
{
const
aniClass
=
{
"BoomAni"
:
BoomAni
,
"BoomAni"
:
BoomAni
,
...
@@ -2090,7 +2091,7 @@ export default class MainScene extends Scene {
...
@@ -2090,7 +2091,7 @@ export default class MainScene extends Scene {
var
txt
=
codeMsgs
[
data
.
code
]
||
"活动太火爆了
\n
请稍后再来"
;
var
txt
=
codeMsgs
[
data
.
code
]
||
"活动太火爆了
\n
请稍后再来"
;
showToast
(
txt
);
showToast
(
txt
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
MAP_SCENE
);
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
MAP_SCENE
,
createData
()
);
},
1300
)
},
1300
)
}
}
}
}
...
...
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