黄沙武士

最后更新于 2023年09月11日

地区: 新西兰/韩国 年份:2010 

类型:动作 西部 奇幻

状态:HD高清

导演:李升茂 

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

又名:黄沙剑影(台)/沙漠战士/武士之路/워리어스웨이/LaundryWarrior

2010/新西兰/韩国/动作,西部,奇幻

豆瓣评分:5.4分

聚合云播

排序

黄沙武士剧情简介

" 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)

猜你喜欢

扎职2

2023/香港/动作,犯罪

杀手的祷告

2017/美国/西班牙/德国/动作,惊悚

顶级较量

2014/韩国/剧情,动作

雷神2:黑暗世界

2013/美国/动作,奇幻,冒险

不平静社区

2015/巴巴多斯/剧情,动作

新大小不良

1994/香港/动作