游戏界面标题栏颜色改为黑色
This commit is contained in:
parent
77d5dd6d88
commit
c7297d2025
@ -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');
|
||||
|
@ -1,4 +1,7 @@
|
||||
<style lang="less">
|
||||
.container{
|
||||
background-color: #000000;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<view class="container">
|
||||
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user