当前位置: 首页 动作 刑事
手机观看

刑事 (2005)

2005/韩国/ 动作 悬疑

HD高清

剧情简介

"// let introHTML = try NSAttributedString(data: intro.data(using: .unicode)!, options: [NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType], documentAttributes: nil)// // let tableView = UITableView(frame: .zero, style: .plain)// tableView.register(___VARIABLE_cellReuseIdentifier___Cell.self, forCellReuseIdentifier: "Cell")// tableView.estimatedRowHeight = 44// tableView.rowHeight = UITableViewAutomaticDimension// tableView.tableHeaderView = header// tableView.tableFooterView = UIView()// tableView.delegate = self// tableView.dataSource = self// return tableView// }()//// //}//MARK: 大图class ___VARIABLE_className___: UIView { var model: ___VARIABLE_cellReuseIdentifier___Model? { didSet { guard let model = model else { return } image.kf.setImage(with: URL(string: model.url), placeholder: UIImage(named: "hh_doctor_photo_default")) title.text = model.title } } private lazy var image: UIImageView = { let image = UIImageView() image.isUserInteractionEnabled = true image.contentMode = .scaleAspectFit return image }() private lazy var title: UILabel = { let label = UILabel() label.font = UIFont.systemFont(ofSize: 14) label.textColor = UIColor.black label.numberOfLines = 2 return label }() override init(frame: CGRect) { super.init(frame: frame) addSubview(image) addSubview(title) image.snp.makeConstraints { (make) in make.top.left.right.equalToSuperview() make.height.equalTo(self.snp.width).multipliedBy(0.7) } title.snp.makeConstraints { (make) in make.top.equalTo(self.image.snp.bottom).offset(10) make.left.right.bottom.equalToSuperview() } } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }}//MARK: 纯文字class ___VARIABLE_className___: UIView { var model: ___VARIABLE_cellReuseIdentifier___Model? { didSet { guard let model = model else { return } title.text = model.title } } lazy var title: UILabel = { let label = UILabel() label.font = UIFont.systemFont(ofSize: 14) label.textColor = UIColor.black label.numberOfLines = 0 return label }() override init(frame: CGRect) { super.init(frame: frame) addSubview(title) title.snp.makeConstraints { (make) in make.top.left.right.equalToSuperview() make.bottom.equalToSuperview().offset(-10) } } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }}//MARK: 其他class ___VARIABLE_className___: UIView { }//MARK: 多图//class ___VARIABLE_className___: UIView {// // private var rowCount: Int {// get {// return CGFloat(images.count).square() / 3// }// }// // private lazy var images: [UIImageView] = {// var images = Array()// for _ in 0..<9 {// let image = UIImageView()// image.translatesAutoresizingMaskIntoConstraints = false// image.isUserInteractionEnabled = true// image.contentMode = .scaleAspectFill// images.append(image)// }// return images// }()// // var models = [___VARIABLE_cellReuseIdentifier___Model]() {// didSet {// guard models.count <= 9 else {// return// }// for i in 0..

本站所有视频和图片均来自互联网收集而来,本网站只提供web页面服务,并不提供资源存储,也不参与录制、上传
若本站收录的节目无意侵犯了贵司版权,请发邮件至123456@test.cn (我们会在3个工作日内删除侵权内容,谢谢。)

Copyright © 2019 火豆电影网 icp123