WanPai/Root/Course/VC/CourseDetailApplyVC.swift
@@ -55,6 +55,7 @@ title = "课程详情" if let m = detailModel{ view_banner.setImages(images: m.detailDrawing.components(separatedBy: ","), type: .URL) { index in } @@ -99,6 +100,8 @@ }else{ btn_handleBtn.setTitle("立即报名", for: .normal) } viewDidLayoutSubviews() } override func setUI() { @@ -333,11 +336,10 @@ var price:Double? switch subM.payType{ case .cash: case .cash,.cashCoin: price = subM.originalPrice == 0 ? subM.vipPrice : subM.originalPrice case .coin: price = Double(subM.playPaiCoin) case .cashCoin:break } guard price != nil else {