You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
594 B
JavaScript

2 years ago
Page({
data: {
applyType: 0,
mainButton: {
buttonText: "主要操作"
}
},
onLoad(query) {
var that = this;
this.setData({
applyType: query.applyType
});
},
goBack() {
var that = this;
if (that.data.applyType == 0) {
wx.switchTab({
2 years ago
url: "../index/index"
});
} else {
wx.navigateBack(-2);
}
},
goIndex(){
var that = this;
wx.switchTab({
url: '../index/index',
})
}
});