| | |
| | | |
| | | var signUpCourseItemModel:SignUpCourseItemModel!{ |
| | | didSet{ |
| | | img_cover.sd_setImage(with: URL(string: signUpCourseItemModel.packageImg),placeholderImage: UIImage(named: "placeholder_1")) |
| | | img_cover.sd_setImage(with: URL(string: signUpCourseItemModel.packageImg),placeholderImage: nil) |
| | | label_title.text = signUpCourseItemModel.courseNameStore |
| | | label_enrollTime.text = "报名时间:" + signUpCourseItemModel.courseTime |
| | | label_teachNum.attributedText = AttributedStringbuilder.build().add(string: "已上课课时数:", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#737373")).add(string: "\(signUpCourseItemModel.courseNums)课时", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#EA0C0C")).mutableAttributedString |