调整首页

This commit is contained in:
2024-03-26 17:38:31 +08:00
parent 756f567dba
commit 3b5525a2a2
18 changed files with 247 additions and 34 deletions

View File

@@ -0,0 +1,31 @@
// components/customStatusBar/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
height: 0,
},
lifetimes: {
attached() {
const { statusBarHeight } = wx.getSystemInfoSync();
this.setData({
height: statusBarHeight
})
}
},
/**
* 组件的方法列表
*/
methods: {
}
})