 class DetailsViewController: UIViewController {   
     var id : Int! 
     
-    var scrollView : UIScrollView!
+    lazy var scrollView : UIScrollView = {
+        return UIScrollView.init()
+    }()
+
     
-    var titleLabel : UILabel! 
-    var contentLabel : UILabel!
+    lazy var titleLabel : UILabel = {
+        let titleLabel=UILabel.init()
+        titleLabel.backgroundColor=UIColor.groupTableViewBackground
+        titleLabel.numberOfLines=0
+        return titleLabel
+    }() 
+    
+    lazy var contentLabel : UILabel = {
+        let label = UILabel.init()
+        label.backgroundColor=UIColor.white
+        label.numberOfLines=0
+        return label
+    }()
     
     
     

//            make.height.equalTo(60)
            make.bottom.equalToSuperview()
        }
        
        self.contentLabel=label
    }

}

        self.navigationItem.title="详情"
        self.view.backgroundColor = UIColor.white  
        
        
        
        self.view.addSubview(self.scrollView)
        self.scrollView.snp.makeConstraints { (make) in
            make.top.equalTo(self.view).offset(0);
            make.left.right.equalTo(self.view);
