From fe460485972623f9ffcd4d29cb956bfddf9c97e3 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期二, 09 九月 2025 11:28:35 +0800
Subject: [PATCH] 代码补交

---
 DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenGame_1_VC.swift |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenGame_1_VC.swift b/DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenGame_1_VC.swift
index 14d79df..fa5bbb7 100644
--- a/DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenGame_1_VC.swift
+++ b/DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenGame_1_VC.swift
@@ -238,8 +238,9 @@
         case .success:
             timer?.fireDate = .distantFuture
             viewModel.answerType.accept(.success)
-            collectionView.reloadData()
-            if let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "_ListenFight_Game_CCell", for: viewModel.selectIndex.value!) as? ListenFight_Game_CCell{
+//            collectionView.reloadData()
+
+            if let cell = collectionView.cellForItem(at: viewModel.selectIndex.value!) as? ListenFight_Game_CCell{
                 let newRect = cell.contentView.convert(cell.bounds, from: self.collectionView)
                 let x = abs(newRect.origin.x) + self.collectionView.contentInset.left + 5
                 let y = abs(newRect.origin.y) + 99 + 5

--
Gitblit v1.7.1