黄沙武士

最后更新于 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)

猜你喜欢

回到野人沙滩

1998/美国/动作,犯罪

蜘蛛侠2

2004/美国/动作,科幻,冒险

逆谋:叛乱的时代

2017/韩国/剧情,动作,历史

敌营芳翠

2009/挪威/动作

谎言之躯

2008/美国/剧情,动作,惊悚

割草者

1992/英国/美国/日本/动作,科幻,恐怖