         
     }
     
+    // UIScrollDelegate
     func scrollViewDidEndDragging(scrollView: UIScrollView, willDecelerate decelerate: Bool) {
         let offSetY = scrollView.contentOffset.y
         if (-offSetY <= 60 && -offSetY >= 40 ) {

    var isNight : Bool = false
    var tapGesture : UITapGestureRecognizer!
    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        }
        zanBtn.dk_backgroundColorPicker = BG_COLOR
    }
    
    // MARK: - 配置header 和 footerview
    
    func configHederAndFooterView() {
        // 配置header
        headerView.configTintColor(hasPic)
        
        if viewModel.hasPrevious {
            headerView.hasHeaderData()
        }else {
            headerView.notiNoHeaderData()
        }
        
        if viewModel.hasNext {
            footerView.hasMoreData()
            nextNewsBtn.enabled = true
        }else {
            footerView.notiNoMoreData()
            nextNewsBtn.enabled = false
        }
    }
    
    // MARK: - Networking
    
    func getNewsWithId(newsId : String!) {

