Commit 51a605af authored by 刘俊宏's avatar 刘俊宏

同上+点动画

parent 56009bcf
......@@ -19,6 +19,12 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
var dataArr:Array<Any> = [] {
didSet{
tableV.reloadData()
tableV.performBatchUpdates({
UIView.animate(views: self.tableV!.visibleCells,
animations: self.animations, completion: {
})
}, completion: nil)
}
}
override func viewDidLoad() {
......@@ -55,12 +61,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
tableV.dataSource = self
tableV.separatorStyle = .none
tableV?.register(UINib(nibName: "DaiQueRenCell", bundle: nil), forCellReuseIdentifier: "DaiQueRenCell")
tableV.performBatchUpdates({
UIView.animate(views: self.tableV!.visibleCells,
animations: self.animations, completion: {
})
}, completion: nil)
let footerTbV = UIView(frame: CGRect(x: 0, y: 0, width: view.frame.size.width, height: 15*glscale))
footerTbV.backgroundColor = UIColor.init(named: "app底色")
tableV.tableFooterView = footerTbV
......
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