| | |
| | | import FFPage |
| | | import SPPageMenu |
| | | |
| | | let Shrink_Noti = Notification.Name.init("Shrink_Noti") |
| | | |
| | | class HomeDetailVC: BaseViewController { |
| | | |
| | | private(set) var orderId:String! |
| | |
| | | menuViewController.pageMenu.delegate = self |
| | | menuViewController.pageMenu.bridgeScrollView = pageViewController.scrollview |
| | | } |
| | | |
| | | override func setRx() { |
| | | NotificationCenter.default.rx.notification(Shrink_Noti).take(until: self.rx.deallocated).subscribe(onNext: {[weak self] noti in |
| | | if let obj = noti.object as? Bool{ |
| | | let headHei = obj ? JQ_ScreenW * 0.6 : JQ_ScreenH |
| | | self?.adapterViewController.headHeight = headHei |
| | | self?.adapterViewController.updateHeight(withAnimation: true) |
| | | } |
| | | }).disposed(by: disposeBag) |
| | | } |
| | | } |
| | | |
| | | |