fix(CourseDetailPage): 修复课程详情页日程展开按钮图标方向错误
修复了日程展开按钮图标方向错误的问题,确保图标在展开和收起时显示正确的方向
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -84,7 +84,7 @@ | ... | @@ -84,7 +84,7 @@ |
| 84 | </div> | 84 | </div> |
| 85 | <div v-if="course?.schedule?.length > 4" class="flex justify-center mt-4"> | 85 | <div v-if="course?.schedule?.length > 4" class="flex justify-center mt-4"> |
| 86 | <button @click="toggleSchedule" class="p-2 rounded-full hover:bg-green-50 text-green-600 hover:text-green-700 transition-all duration-300"> | 86 | <button @click="toggleSchedule" class="p-2 rounded-full hover:bg-green-50 text-green-600 hover:text-green-700 transition-all duration-300"> |
| 87 | - <van-icon :name="isScheduleExpanded ? 'arrow-down' : 'arrow-up'" class="text-xl transform transition-transform duration-300" /> | 87 | + <van-icon :name="isScheduleExpanded ? 'arrow-up' : 'arrow-down'" class="text-xl transform transition-transform duration-300" /> |
| 88 | </button> | 88 | </button> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> | ... | ... |
-
Please register or login to post a comment