You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
531 B
34 lines
531 B
5 years ago
|
const App = getApp();
|
||
|
Component({
|
||
|
properties: {
|
||
|
title: {
|
||
|
type:String,
|
||
|
value:'设置'
|
||
|
},
|
||
|
navName: {
|
||
|
type:String,
|
||
|
value: '跳转'
|
||
|
},
|
||
|
navUrl: {
|
||
|
type: String,
|
||
|
value: ''
|
||
|
}
|
||
|
},
|
||
|
data: {
|
||
|
},
|
||
|
lifetimes: {
|
||
|
attached() {
|
||
|
this.setData({
|
||
|
navHeight: App.globalData.navHeight,
|
||
|
navTop: App.globalData.navTop
|
||
|
});
|
||
|
}
|
||
|
},
|
||
|
methods:{
|
||
|
navTo() {
|
||
|
console.log('navTo')
|
||
|
this.triggerEvent('toOutCallBack')
|
||
|
}
|
||
|
}
|
||
|
})
|