| | |
| | | cell.view_bg1.isHidden = true |
| | | switch indexPath.row { |
| | | case 0: |
| | | cell.label_title.text = "自主学习1-听音选图" |
| | | cell.label_title.text = "听音选图" |
| | | cell.view_bg2.backgroundColor = UIColor(hexString: "#6EC3FF") |
| | | |
| | | if studyScheduleModel?.day == (page + 1){ |
| | |
| | | cell.setProgress(progress: 0) |
| | | } |
| | | case 1: |
| | | cell.label_title.text = "自主学习2-看图选音" |
| | | cell.label_title.text = "看图选音" |
| | | cell.view_bg2.backgroundColor = UIColor(hexString: "#FF9A85") |
| | | |
| | | if studyScheduleModel?.day == (page + 1){ |
| | |
| | | cell.setProgress(progress: 0) |
| | | } |
| | | case 2: |
| | | cell.label_title.text = "自主学习3-归纳排除" |
| | | cell.label_title.text = "归纳排除" |
| | | cell.view_bg2.backgroundColor = UIColor(hexString: "#28C8C5") |
| | | |
| | | |
| | |
| | | cell.setProgress(progress: 0) |
| | | } |
| | | case 3: |
| | | cell.label_title.text = "自主学习4-有问有答" |
| | | cell.label_title.text = "有问有答" |
| | | cell.view_bg2.backgroundColor = UIColor(hexString: "#F8A169") |
| | | |
| | | |
| | |
| | | cell.setProgress(progress: 0) |
| | | } |
| | | case 4: |
| | | cell.label_title.text = "自主学习5-音图相配" |
| | | cell.label_title.text = "音图相配" |
| | | cell.view_bg2.backgroundColor = UIColor(hexString: "#92CADB") |
| | | |
| | | if studyScheduleModel?.day == (page + 1){ |
| | |
| | | cell.view_state.isHidden = true |
| | | switch indexPath.row { |
| | | case 0: |
| | | cell.label_title.text = "自主游戏1-超级听力" |
| | | cell.label_title.text = "超级听力" |
| | | cell.view_bg1.backgroundColor = UIColor(hexString: "#6EC3FF") |
| | | case 1: |
| | | cell.label_title.text = "自主游戏2-超级记忆" |
| | | cell.label_title.text = "超级记忆" |
| | | cell.view_bg1.backgroundColor = UIColor(hexString: "#FF9A85") |
| | | default:break |
| | | } |
| | |
| | | cell.view_state.isHidden = true |
| | | switch indexPath.row { |
| | | case 0: |
| | | cell.label_title.text = "自主故事1-看图配音" |
| | | cell.label_title.text = "看图配音" |
| | | cell.view_bg1.backgroundColor = UIColor(hexString: "#6EC3FF") |
| | | case 1: |
| | | cell.label_title.text = "自主故事2-框架记忆" |
| | | cell.label_title.text = "框架记忆" |
| | | cell.view_bg1.backgroundColor = UIColor(hexString: "#FF9A85") |
| | | default:break |
| | | } |