Commit 7d4512e8 authored by pete谢兆麟's avatar pete谢兆麟

香港生活 香港身份更多问题

parent 55ea0d18
......@@ -113,6 +113,7 @@ extension YHFourKingViewController {
self.tableFootView.myCollectView.es.stopLoadingMore()
if self.homeViewModel.hasMoreForHomeNews == false {
self.tableFootView.myCollectView.es.noticeNoMoreData()
self.tableFootView.myCollectView.footer?.alpha = 1
}
})
}
......
......@@ -70,7 +70,9 @@ extension YHServerHKLifeViewController {
guard let self = self else { return }
self.dataSouce = self.homeViewModel.arrHomeNewsData ?? []
if self.homeViewModel.hasMoreForHomeNews == false {
self.homeTableView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
}
}
......@@ -95,8 +97,10 @@ extension YHServerHKLifeViewController {
guard let self = self else { return }
self.dataSouce = self.homeViewModel.arrHomeNewsData ?? []
if self.homeViewModel.hasMoreForHomeNews == false {
self.homeTableView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
}
}
return view
......@@ -165,6 +169,7 @@ extension YHServerHKLifeViewController : UITableViewDelegate,UITableViewDataSour
self.cell.tableFootView.myCollectView.es.stopLoadingMore()
if self.homeViewModel.hasMoreForHomeNews == false {
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
})
}
......
......@@ -71,7 +71,8 @@ extension YHServiceListViewController {
guard let self = self else { return }
self.dataSouce = self.homeViewModel.arrHomeNewsData ?? []
if self.homeViewModel.hasMoreForHomeNews == false {
self.homeTableView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
}
}
......@@ -95,7 +96,8 @@ extension YHServiceListViewController {
guard let self = self else { return }
self.dataSouce = self.homeViewModel.arrHomeNewsData ?? []
if self.homeViewModel.hasMoreForHomeNews == false {
self.homeTableView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
}
}
......@@ -165,6 +167,7 @@ extension YHServiceListViewController : UITableViewDelegate,UITableViewDataSourc
self.cell.tableFootView.myCollectView.es.stopLoadingMore()
if self.homeViewModel.hasMoreForHomeNews == false {
self.cell.tableFootView.myCollectView.es.noticeNoMoreData()
self.cell.tableFootView.myCollectView.footer?.alpha = 1
}
})
}
......
......@@ -219,7 +219,6 @@ extension YHCertificateListVC {
}
// 数量统计
NotificationCenter.default.post(name: countStatisticsNotify, object: [self.status: items.count])
emptyDataTipsView.isHidden = items.count > 0
self.tableView.reloadData()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment