init
This commit is contained in:
29
components/index-nav-bar/index-nav-bar.js
Normal file
29
components/index-nav-bar/index-nav-bar.js
Normal file
@@ -0,0 +1,29 @@
|
||||
// components/index-nav-bar/index-nav-bar.js
|
||||
const app = getApp()
|
||||
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
navBarHeight: app.globalData.navBarHeight+20,
|
||||
menuRight: app.globalData.menuRight,
|
||||
menuTop: app.globalData.menuTop,
|
||||
menuHeight: app.globalData.menuHeight,
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user