| | |
| | | import RxSwift |
| | | import RxRelay |
| | | import JQTools |
| | | import FFPage |
| | | |
| | | let RefresgDetailAttach_Noti = Notification.Name.init("RefresgDetailAttach_Noti") |
| | | |
| | |
| | | public let refreshStatus = BehaviorSubject(value: RefreshStatus.others) |
| | | private var page = 1 |
| | | private var datas = [AttachmentRecordModel]() |
| | | var adapterViewController:FFAdapterViewController! |
| | | |
| | | struct AttachmentType:HandyJSON { |
| | | var orderId = "" |
| | |
| | | }.disposed(by: disposeBag) |
| | | } |
| | | |
| | | func scrollViewDidScroll(_ scrollView: UIScrollView) { |
| | | let offetY = -(scrollView.contentOffset.y - UIDevice.jq_safeEdges.top) + UIDevice.jq_safeEdges.top + 30 |
| | | if offetY >= 0 { |
| | | adapterViewController.scrollview.contentOffset = scrollView.contentOffset |
| | | } |
| | | } |
| | | |
| | | private func getData(_ isHeader:Bool = true){ |
| | | |
| | | if isHeader{ |