| | |
| | | hud.hide(animated: true, afterDelay: 1.7) |
| | | } |
| | | |
| | | // MARK: -- Key |
| | | |
| | | //extension UICollectionView{ |
| | | // public func jq_setEmptyView( _ noticeStr:String? = nil,image:UIImage? = UIImage(named: "icon_empty"),foregroundColor:UIColor = UIColor.gray,clouse:((EmptyDataSetView)->Void)? = nil) { |
| | | // self.emptyDataSetView { (emptyDataSetView) in |
| | | // emptyDataSetView.titleLabelString(NSAttributedString.init(string: (noticeStr != nil) ? noticeStr! : Localized("暂无数据"), attributes: [.font:UIFont.systemFont(ofSize: 16,weight: .medium), .foregroundColor:foregroundColor as Any])) |
| | | // .image(image) |
| | | // .dataSetBackgroundColor(UIColor.white) |
| | | // .verticalOffset(-50) |
| | | // .verticalSpace(0) |
| | | // .shouldDisplay(true) |
| | | // .shouldFadeIn(true) |
| | | // .isTouchAllowed(true) |
| | | // .isScrollAllowed(true) |
| | | // .didTapContentView { |
| | | // |
| | | // } |
| | | // clouse?(emptyDataSetView) |
| | | // } |
| | | // } |
| | | //} |
| | | let GoogleAppKey = "AIzaSyBBW0XxW1FK7IXmmS7KFtAjX3o99eFPsss" |