diff --git a/src/app.wpy b/src/app.wpy
index 60da0d0..291694a 100644
--- a/src/app.wpy
+++ b/src/app.wpy
@@ -56,7 +56,7 @@ export default class extends wepy.app {
super();
this.use('requestfix');
this.use('promisify');
- (g.env === 'test') && hookConsoleLog();
+ // (g.env === 'test') && hookConsoleLog();
sdkManage.init();
sdkManage.Login(() => {
let account = wepy.getStorageSync('account');
diff --git a/src/pages/game.wpy b/src/pages/game.wpy
index 2ab5e38..32866a3 100644
--- a/src/pages/game.wpy
+++ b/src/pages/game.wpy
@@ -1,4 +1,7 @@
@@ -13,6 +16,13 @@
export default class GameWebPage extends wepy.page {
components = {};
+ config = {
+ // navigationStyle: 'custom'
+ navigationBarBackgroundColor: '#000',
+ navigationBarTextStyle: 'white',
+ backgroundColor: '#000',
+ backgroundColorTop: '#000',
+ };
data = {
link: '',
roomId: '',
@@ -50,6 +60,9 @@
title: this.name
});
}
+ wepy.setNavigationBarTitle({
+ title: ''
+ });
this.share_image = decodeURIComponent(params.share_image);
this.$apply();
}