| | |
| | | |
| | | override func viewDidLoad() { |
| | | super.viewDidLoad() |
| | | title = "课程详情" |
| | | title = "运动营详情" |
| | | |
| | | if let m = detailModel{ |
| | | |
| | | view_banner.setImages(images: m.detailDrawing.components(separatedBy: ","), type: .URL) { index in |
| | | |
| | | } |
| | | |
| | | label_title.text = m.name |
| | | label_listenWeek.text = "每" + m.weeks.joined(separator: "、") |
| | | label_listenTime.text = m.times.joined(separator: "|") |
| | |
| | | cons_tableHei.constant = CGFloat(studentModels.count * 87) |
| | | tableView.reloadData() |
| | | changePrice(selectClassIndex) |
| | | |
| | | view_banner.setImages(images: m.detailDrawing.components(separatedBy: ","), type: .URL,fillBounds: CGRect(origin: .zero, size: CGSize(width: view.frame.width, height: view.frame.width * 0.564))) { index in |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | btn_handleBtn.setTitle("立即报名", for: .normal) |
| | | } |
| | | |
| | | viewDidLayoutSubviews() |
| | | |
| | | } |
| | | |
| | | override func setUI() { |