Commit eb0fd85b authored by lujunye's avatar lujunye

调整显示bug

parent 019ff640
......@@ -1103,7 +1103,15 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
@objc func huoLLAdrAction(sender:UIButton){
if sender.tag == 0 {
tempadrArr = adrArr
var btnH = 49
var h = CGFloat(adrArr.count + 2)*49
if IS_IPHONE_X {
btnH = 83
h = h + 34
}
if h > CGFloat(fullScreenHeight) * 0.65 {
h = CGFloat(fullScreenHeight) * 0.65
}
......@@ -1126,10 +1134,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
changeCellSortView?.frame = CGRect(x: 0, y: fullScreenHeight - CGFloat(h), width: fullScreenWidth, height: CGFloat(h))
var btnH = 49
if IS_IPHONE_X {
btnH = 83
}
let leftBtn = UIButton()
leftBtn.addTarget(self, action: #selector(changeCellSortAc(sender:)), for: .touchUpInside)
......
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