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

            let imgURL = String(format: "document.elementFromPoint(%f, %f).src", arguments: [point.x,point.y])
            let urlToShow = self.webView.stringByEvaluatingJavaScriptFromString(imgURL)
            if let url = urlToShow {
                
                print("=======\(url)")
                var images = [SKPhoto]()
                let photo = SKPhoto.photoWithImageURL(url)
                photo.shouldCachePhotoURLImage = true

        }
    }
    
    // 下一条新闻
    func getNextNews() {
        UIView.animateWithDuration(0.3, delay: 0.0, options: .CurveLinear, animations: { () -> Void in
            self.containerView.frame = CGRectMake(0, -ScreenHeight, ScreenWidth, ScreenHeight);
            self.getNewsWithId(self.viewModel.nextId)
            }) { (finished) -> Void in
                if !self.hasPic {
                    if self.isNight {
                        LightStatusBar()
                    }else {
                        BlackStatusBar()
                    }
                }
                let delay = dispatch_time(DISPATCH_TIME_NOW, Int64(0.3 * Double(NSEC_PER_SEC)))
                dispatch_after(delay, dispatch_get_main_queue()) {
                    self.containerView.frame = CGRectMake(0, 0, ScreenWidth, ScreenHeight);
                }
        }
    }
    
    // 上一条新闻
    func getPreviousNews() {
        UIView.animateWithDuration(0.3, delay: 0.0, options: .CurveLinear, animations: { () -> Void in
            self.containerView.frame = CGRectMake(0, ScreenHeight, ScreenWidth, ScreenHeight);
