播放地址

剧情简介

"// 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..

《刑事》由姜栋元 河智苑 安圣基 宋永彰 等主演,李明世 导演的动作,悬疑电影...

免責聲明:若本站收錄的資源侵犯了您的權益,我們會及時刪除侵權內容,謝謝合作!