upload project
This commit is contained in:
commit
06961cae04
422 changed files with 110626 additions and 0 deletions
21
subpackages/settings/chat-settings/chat-settings.js
Normal file
21
subpackages/settings/chat-settings/chat-settings.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
Page({
|
||||
data: {
|
||||
// 系统信息
|
||||
statusBarHeight: 0,
|
||||
navBarHeight: 0
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
// 获取系统信息
|
||||
const systemInfo = wx.getSystemInfoSync();
|
||||
this.setData({
|
||||
statusBarHeight: systemInfo.statusBarHeight,
|
||||
navBarHeight: systemInfo.statusBarHeight + 44
|
||||
});
|
||||
},
|
||||
|
||||
// 返回上一页
|
||||
goBack() {
|
||||
wx.navigateBack();
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue