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
60ba0a8c
Commit
60ba0a8c
authored
Nov 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c5f48176
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
MainBase.ts
egret/libs/new_wx/MainBase.ts
+24
-0
No files found.
egret/libs/new_wx/MainBase.ts
View file @
60ba0a8c
...
@@ -70,6 +70,7 @@ import getRedBombAward from "../../src/getRedBombAward";
...
@@ -70,6 +70,7 @@ import getRedBombAward from "../../src/getRedBombAward";
import
BombTipsPanel
from
"../../src/panels/BombTipsPanel"
;
import
BombTipsPanel
from
"../../src/panels/BombTipsPanel"
;
import
RedBombRule
from
"../../src/panels/RedBombRule"
;
import
RedBombRule
from
"../../src/panels/RedBombRule"
;
import
RedBombAlertPanel
from
"../../src/panels/RedBombAlertPanel"
;
import
RedBombAlertPanel
from
"../../src/panels/RedBombAlertPanel"
;
import
{
GFun
}
from
"../tc/util/GFun"
;
export
default
class
MainBase
extends
eui
.
UILayer
{
export
default
class
MainBase
extends
eui
.
UILayer
{
constructor
()
{
constructor
()
{
...
@@ -78,6 +79,29 @@ export default class MainBase extends eui.UILayer {
...
@@ -78,6 +79,29 @@ export default class MainBase extends eui.UILayer {
Loading2
.
instace
.
loadImage
();
Loading2
.
instace
.
loadImage
();
DataManager
.
ins
.
customCfgData
=
window
[
'CFG'
];
DataManager
.
ins
.
customCfgData
=
window
[
'CFG'
];
this
.
getData
();
this
.
getData
();
try
{
if
(
GFun
.
isIOS
)
{
// 通过window.SNNativeClient. setNavigationHiden (0)调用客户端隐藏WebView原生导航栏
// 功能。
// 0:隐藏
// 1:不隐藏
window
[
'SNNativeClient'
].
setNavigationHiden
(
0
);
}
else
{
// 1.页面引入
// http://res.suning.cn/project/mvs/RES/common/script/android/sneapp.js
// 2.
// document.addEventListener("deviceready", function() {
// baseApi.enableTitleShow(false);
// }, false);
document
.
addEventListener
(
"deviceready"
,
()
=>
{
window
[
'baseApi'
].
enableTitleShow
(
false
);
},
false
);
}
}
catch
(
error
)
{
console
.
log
(
error
)
}
}
}
protected
registerModules
()
{
protected
registerModules
()
{
...
...
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