当前位置 首页 动作 《黄沙武士》

黄沙武士

状态:已完结

类型:动作 西部 奇幻  新西兰/韩国 2010

主演:张东健,凯特·波茨沃斯,杰弗里·拉什,丹尼·赫斯顿,托尼·考克斯

导演:李升茂

播放地址

剧情简介

" return annotation }() fileprivate lazy var movieDetails: MovieDetail = { let details = MovieDetail() return details }() lazy var annotationView: MAPinAnnotationView = { let view = MAPinAnnotationView(annotation: self.pointAnnotation, reuseIdentifier: "annotationView") self.view.addSubview(view) view.translatesAutoresizingMaskIntoConstraints = false return view }() lazy var movieDetailsView: DetailView = { let view = DetailView(movieDetails: self.movieDetails) self.view.addSubview(view) view.translatesAutoresizingMaskIntoConstraints = false return view }() override func viewDidLoad() { super.viewDidLoad() self.setView() view.setNeedsLayout() } func setView() { self.title = "卫子夫" self.view.snp.makeConstraints { (make) in make.size.equalTo((self.navigationController?.view)!) } self.annotationView.snp.makeConstraints { (make) in make.bottom.equalTo(-50) make.leading.equalTo(20) make.trailing.equalTo(-20) make.height.equalTo(280) } self.movieDetailsView.snp.makeConstraints { (make) in make.leading.trailing.equalTo(0) make.bottom.equalTo((self.annotationView.snp.top)) } movieDetailsView.dataBind() let maskView = UIView() self.view.addSubview(maskView) maskView.backgroundColor = UIColor.black maskView.snp.makeConstraints { (make) in make.top.bottom.equalTo(self.view) make.width.equalTo(150) } } override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) let coordinateRegion = MACoordinateRegionMakeWithDistance(CLLocationCoordinate2D(latitude: 39.803562, longitude: 116.388707), 2000, 2000) self.mapView.setRegion(coordinateRegion, animated: false) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() }}class MovieDetail{ var address = "中国北京" var director = "成龙" var ranking = "9.8" var actors = "成龙,吴京,杨幂,杜小宇,王大锤,清风,明知,众生,黑山" var movieName = "卫子夫" var shortIntroduce = "这是一部很棒很棒的电影。" var introduce = "《卫子夫》是由成龙自编自导自演的古装武侠电影,改编自金庸的同名武侠小说。影片讲述武林大家卫青在武林中闯荡、逐鹿中原的故事。影片于2016年12月22日在中国大陆上映。卫青(Yan Shen)的童年梦想就是出人头地,但他却一直无法理解他的夙愿与现实的冲突。每当夜幕降临时,他总会来到家旁的石碑前坐着,沉思着他的身份到底该如何认定。同卫青一起长大的卫青瑜(Jun Hong)两者背景不同,同时也是邻居,父母也是好友,但卫青瑜非常讨厌卫青,因为他认为卫青出生在一家武林世家,未来肯定有出息。"}class DetailView: UIView{ var movieDetail: MovieDetail! var addressLabel: UILabel! var rankingLabel: UILabel! var directorName: UILabel! var actors: UILabel! var movieName: UILabel! var shortIntroduce: UILabel! var introduce: UILabel! init(movieDetails: MovieDetail) { movieDetail = movieDetails super.init(frame: CGRect.zero) } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } public func dataBind() { addressLabel = UILabel() addressLabel.text = movieDetail.address "(" movieDetail.movieName ")" addressLabel.textColor = UIColor.lightGray self.addSubview(addressLabel) addressLabel.snp.makeConstraints { (make) in make.leading.top.trailing.equalTo(0) make.height.equalTo(30) } rankingLabel = UILabel() rankingLabel.text = movieDetail.ranking "分" rankingLabel.textColor = UIColor.white rankingLabel.backgroundColor = UIColor.orange self.addSubview(rankingLabel) rankingLabel.snp.makeConstraints { (make) in make.top.equalTo(addressLabel.snp.bottom) make.leading.equalTo(0) make.height.equalTo(40) make.width.equalTo(60) } directorName = UILabel() directorName.text = "导演:" movieDetail.director directorName.textColor = UIColor.lightGray self.addSubview(directorName) directorName.snp.makeConstraints { (make) in make.left.equalTo(10)

《黄沙武士》由张东健 凯特·波茨沃斯 杰弗里·拉什 丹尼·赫斯顿 托尼·考克斯 等主演,李升茂 导演的动作,西部,奇幻电影...

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