|  | @@ -80,6 +80,7 @@ import androidx.viewpager2.widget.ViewPager2;
 | 
	
		
			
				|  |  |  import static com.cooleshow.student.constants.CourseConstants.LIVE_COURSE;
 | 
	
		
			
				|  |  |  import static com.cooleshow.student.constants.CourseConstants.OTHER_COURSE;
 | 
	
		
			
				|  |  |  import static com.cooleshow.student.constants.CourseConstants.PIANO_ROOM_COURSE;
 | 
	
		
			
				|  |  | +import static com.cooleshow.student.constants.CourseConstants.VIP_COURSE;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * Author by pq, Date on 2022/8/29.
 | 
	
	
		
			
				|  | @@ -135,7 +136,7 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      protected void initData() {
 | 
	
		
			
				|  |  | -        UiUtils.setCustomFont_DIN_Alternate_Bold(getContext(),mViewBinding.tvPracticeMinutes,mViewBinding.tvPracticeSecond,mViewBinding.tvCourseInfo);
 | 
	
		
			
				|  |  | +        UiUtils.setCustomFont_DIN_Alternate_Bold(getContext(), mViewBinding.tvPracticeMinutes, mViewBinding.tvPracticeSecond, mViewBinding.tvCourseInfo);
 | 
	
		
			
				|  |  |          //推荐老师
 | 
	
		
			
				|  |  |          mRecommendTalentAdapter = new HomeRecommendTalentAdapter();
 | 
	
		
			
				|  |  |          CommonItemDecoration commonItemDecoration = new CommonItemDecoration(0, 0, 0, SizeUtils.dp2px(12), 0);
 | 
	
	
		
			
				|  | @@ -267,7 +268,6 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          mViewBinding.viewpagerMenu.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
 | 
	
		
			
				|  |  |              @Override
 | 
	
		
			
				|  |  |              public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
 | 
	
	
		
			
				|  | @@ -479,14 +479,16 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |                      "yyyy-MM-dd"
 | 
	
		
			
				|  |  |              );
 | 
	
		
			
				|  |  |              if (TextUtils.equals(currentTime, startTime)) {
 | 
	
		
			
				|  |  | -                String timeText =
 | 
	
		
			
				|  |  | -                        TimeUtils.date2String(TimeUtils.getDate(mRecentCourses.courseStartTime), "HH:mm");
 | 
	
		
			
				|  |  | -                mViewBinding.tvLiveTime.setText(String.format("今日 %s", timeText));
 | 
	
		
			
				|  |  | +                String timeText = TimeUtils.date2String(TimeUtils.getDate(mRecentCourses.courseStartTime), "HH:mm");
 | 
	
		
			
				|  |  | +                String endTimeText = TimeUtils.date2String(TimeUtils.getDate(mRecentCourses.courseEndTime), "HH:mm");
 | 
	
		
			
				|  |  | +                mViewBinding.tvLiveTime.setText(String.format("今日 %s-%s", timeText, endTimeText));
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  | -                mViewBinding.tvLiveTime.setText(TimeUtils.date2String(
 | 
	
		
			
				|  |  | +                String startTimeText = TimeUtils.date2String(
 | 
	
		
			
				|  |  |                          TimeUtils.getDate(mRecentCourses.courseStartTime),
 | 
	
		
			
				|  |  |                          "yyyy-MM-dd HH:mm"
 | 
	
		
			
				|  |  | -                ));
 | 
	
		
			
				|  |  | +                );
 | 
	
		
			
				|  |  | +                String endTimeText = TimeUtils.date2String(TimeUtils.getDate(mRecentCourses.courseEndTime), "yyyy-MM-dd HH:mm");
 | 
	
		
			
				|  |  | +                mViewBinding.tvLiveTime.setText(startTimeText + "-" + endTimeText);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -766,7 +768,8 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |                          .navigation();
 | 
	
		
			
				|  |  |                  break;
 | 
	
		
			
				|  |  |              case OTHER_COURSE:
 | 
	
		
			
				|  |  | -                //陪练课
 | 
	
		
			
				|  |  | +            case VIP_COURSE:
 | 
	
		
			
				|  |  | +                //趣纠课 VIP课
 | 
	
		
			
				|  |  |                  ARouter.getInstance().build(RouterPath.CourseCenter.SPARRING_COURSE_DETAIL)
 | 
	
		
			
				|  |  |                          .withString(CourseConstants.COURSE_ID, String.valueOf(bean.courseId))
 | 
	
		
			
				|  |  |                          .withString(CourseConstants.COURSE_GROUP_ID, String.valueOf(bean.courseGroupId))
 |