This commit is contained in:
haomingming
2023-03-14 14:09:21 +08:00
parent 14bcbf1673
commit 959bfc61b1
79 changed files with 1601 additions and 438 deletions
+11 -9
View File
@@ -110,6 +110,17 @@ Page({
},
onLoad(){
},
onShow: function () {
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
this.getTabBar().setData({
active: 0, //数字是当前页面在tabbar的索引,如我的查询页索引是2,因此这边为2,同理首页就为0,审批页面为1
})
}
this.getMenuButtonBound();
api.yiShiIndex().then(response => {
console.log(response);
let avatar = response.data.info.avatar;
@@ -180,15 +191,6 @@ Page({
})
},
onShow: function () {
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
this.getTabBar().setData({
currentTab: 0 //数字是当前页面在tabbar的索引,如我的查询页索引是2,因此这边为2,同理首页就为0,审批页面为1
})
}
this.getMenuButtonBound();
},
onADChange(){
// console.log("onADChange");
},