| | |
| | | didSet{ |
| | | label_title.text = studentAppointModel.coursePackageName |
| | | label_courseNum.text = "\(studentAppointModel.courseHours)课时" |
| | | view_courseNum.isHidden = studentAppointModel.courseHours == 0 |
| | | label_address.text = studentAppointModel.storeNameAddr |
| | | label_datetime.text = studentAppointModel.timeFrame |
| | | label_status.text = studentAppointModel.status.strTitle |
| | |
| | | |
| | | @IBOutlet weak var label_title: UILabel! |
| | | @IBOutlet weak var label_courseNum: UILabel! |
| | | @IBOutlet weak var label_address: UILabel! |
| | | @IBOutlet weak var view_courseNum: UIView! |
| | | @IBOutlet weak var label_address: UILabel! |
| | | @IBOutlet weak var label_datetime: UILabel! |
| | | @IBOutlet weak var btn_exercise: UIButton! |
| | | @IBOutlet weak var label_status: UILabel! |
| | |
| | | |
| | | var times = [OpenDoorTimeModel]() |
| | | for (index,v) in a1.enumerated(){ |
| | | let startTime = Date.jq_StringToTimeInterval(String(format: "%@ %@", date!,v), "yyyy.MM.dd HH:mm:ss") - 15 * 3600 |
| | | let startTime = Date.jq_StringToTimeInterval(String(format: "%@ %@", date!,v), "yyyy.MM.dd HH:mm:ss") |
| | | let endTime = Date.jq_StringToTimeInterval(String(format: "%@ %@", date!,b1[index]),"yyyy.MM.dd HH:mm:ss") |
| | | times.append(OpenDoorTimeModel(start_time: startTime, end_time: endTime)) |
| | | } |