游戏界面标题栏颜色改为黑色
This commit is contained in:
parent
77d5dd6d88
commit
c7297d2025
@ -56,7 +56,7 @@ export default class extends wepy.app {
|
|||||||
super();
|
super();
|
||||||
this.use('requestfix');
|
this.use('requestfix');
|
||||||
this.use('promisify');
|
this.use('promisify');
|
||||||
(g.env === 'test') && hookConsoleLog();
|
// (g.env === 'test') && hookConsoleLog();
|
||||||
sdkManage.init();
|
sdkManage.init();
|
||||||
sdkManage.Login(() => {
|
sdkManage.Login(() => {
|
||||||
let account = wepy.getStorageSync('account');
|
let account = wepy.getStorageSync('account');
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
.container{
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
@ -13,6 +16,13 @@
|
|||||||
|
|
||||||
export default class GameWebPage extends wepy.page {
|
export default class GameWebPage extends wepy.page {
|
||||||
components = {};
|
components = {};
|
||||||
|
config = {
|
||||||
|
// navigationStyle: 'custom'
|
||||||
|
navigationBarBackgroundColor: '#000',
|
||||||
|
navigationBarTextStyle: 'white',
|
||||||
|
backgroundColor: '#000',
|
||||||
|
backgroundColorTop: '#000',
|
||||||
|
};
|
||||||
data = {
|
data = {
|
||||||
link: '',
|
link: '',
|
||||||
roomId: '',
|
roomId: '',
|
||||||
@ -50,6 +60,9 @@
|
|||||||
title: this.name
|
title: this.name
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
wepy.setNavigationBarTitle({
|
||||||
|
title: ''
|
||||||
|
});
|
||||||
this.share_image = decodeURIComponent(params.share_image);
|
this.share_image = decodeURIComponent(params.share_image);
|
||||||
this.$apply();
|
this.$apply();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user