From 152da0e2d8cd3bd522fb04d1114f0930c33c9fdf Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 26 十月 2023 17:19:30 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/Root/Course/VC/CourseDetailApplyVC.swift |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/WanPai/Root/Course/VC/CourseDetailApplyVC.swift b/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
index 8477197..467e9be 100644
--- a/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
+++ b/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
@@ -52,14 +52,9 @@
     
     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: "|")
@@ -91,6 +86,10 @@
 			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
+
+			}
 		}
 
 
@@ -101,7 +100,7 @@
 			btn_handleBtn.setTitle("立即报名", for: .normal)
 		}
 
-		viewDidLayoutSubviews()
+
     }
     
     override func setUI() {

--
Gitblit v1.7.1