From 0c89e362069e2f97d18a01a3a82835ef37a34d18 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 20 六月 2024 14:23:59 +0800
Subject: [PATCH] fix

---
 DolphinEnglishLearnStudent/Moudle/Home/Listen/TCell/HomeListen_process_TCell.swift |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/DolphinEnglishLearnStudent/Moudle/Home/Listen/TCell/HomeListen_process_TCell.swift b/DolphinEnglishLearnStudent/Moudle/Home/Listen/TCell/HomeListen_process_TCell.swift
index ef44c0b..0c478e4 100644
--- a/DolphinEnglishLearnStudent/Moudle/Home/Listen/TCell/HomeListen_process_TCell.swift
+++ b/DolphinEnglishLearnStudent/Moudle/Home/Listen/TCell/HomeListen_process_TCell.swift
@@ -17,14 +17,12 @@
 				var studyScheduleModel:StudyScheduleModel?{
 								didSet{
 												if let m = studyScheduleModel{
-																label_currentWeek.text = "当前周目:\(studyScheduleModel?.week.jq_cn ?? "")周目"
+//																label_currentWeek.text = "当前周目:\(studyScheduleModel?.week.jq_cn ?? "")周目"
 
 																label_info.attributedText	 = AttributedStringbuilder.build().add(string: "学习总时长:", withFont: .systemFont(ofSize: 16), withColor: UIColor(hexString: "#2B3648")!)
 																				.add(string: "\(m.totalStudy)小时", withFont: .systemFont(ofSize: 16, weight: .medium), withColor: UIColor(hexString: "#2B3648")!)
 																				.add(string: "|今日学习", withFont: .systemFont(ofSize: 16), withColor: UIColor(hexString: "#2B3648")!)
 																				.add(string: "\(m.todayStudy)小时", withFont: .systemFont(ofSize: 16, weight: .medium), withColor: UIColor(hexString: "#2B3648")!).mutableAttributedString
-
-
 																cons_progress.constant = ((JQ_ScreenW - 234 * 2 - 44) / 100) * Double(m.computeSchedule)
 																label_completeProgress.text = "已完成:\(m.computeSchedule)%"
 												}
@@ -35,6 +33,11 @@
         super.awakeFromNib()
 								backgroundColor = .clear
 								selectionStyle = .none
+
+								label_info.attributedText	 = AttributedStringbuilder.build().add(string: "学习总时长:", withFont: .systemFont(ofSize: 16), withColor: UIColor(hexString: "#2B3648")!)
+												.add(string: "\(0)小时", withFont: .systemFont(ofSize: 16, weight: .medium), withColor: UIColor(hexString: "#2B3648")!)
+												.add(string: "|今日学习", withFont: .systemFont(ofSize: 16), withColor: UIColor(hexString: "#2B3648")!)
+												.add(string: "\(0)小时", withFont: .systemFont(ofSize: 16, weight: .medium), withColor: UIColor(hexString: "#2B3648")!).mutableAttributedString
     }
 
 }

--
Gitblit v1.7.1