|  | @@ -10,6 +10,7 @@ import com.bumptech.glide.Glide;
 | 
	
		
			
				|  |  |  import com.chad.library.adapter.base.BaseQuickAdapter;
 | 
	
		
			
				|  |  |  import com.chad.library.adapter.base.listener.OnItemClickListener;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.common.WebConstants;
 | 
	
		
			
				|  |  | +import com.cooleshow.base.constanst.CourseStatusType;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.constanst.EVipType;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.constanst.EventConstants;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.event.RefreshUserStatusEvent;
 | 
	
	
		
			
				|  | @@ -308,6 +309,9 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |          presenter.helpCenterContentList();
 | 
	
		
			
				|  |  |          mViewBinding.flCourseEnter.setVisibility(mRecentCourses != null ? View.VISIBLE : View.GONE);
 | 
	
		
			
				|  |  |          if (mRecentCourses != null) {
 | 
	
		
			
				|  |  | +            boolean isIng = TextUtils.equals(mRecentCourses.status, CourseStatusType.ING.getId());
 | 
	
		
			
				|  |  | +            mViewBinding.tvEnterRoom.setText(getString(isIng ? R.string.enter_room_tip_str : R.string.will_start_tip_str));
 | 
	
		
			
				|  |  | +            mViewBinding.tvEnterRoom.setBackgroundResource(isIng ? com.cooleshow.base.R.drawable.shape_2dc7aa_13dp: com.cooleshow.base.R.drawable.shape_13dp_border_2dc7aa_1dp);
 | 
	
		
			
				|  |  |              mViewBinding.tvLiveTitle.setText(mRecentCourses.courseGroupName);
 | 
	
		
			
				|  |  |              String currentTime = TimeUtils.date2String(new Date(System.currentTimeMillis()), "yyyy-MM-dd");
 | 
	
		
			
				|  |  |              String startTime = TimeUtils.date2String(
 | 
	
	
		
			
				|  | @@ -353,8 +357,9 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
 | 
	
		
			
				|  |  |                      .navigation();
 | 
	
		
			
				|  |  |              return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if (TextUtils.equals(bean.courseType, CourseConstants.OTHER_COURSE)) {
 | 
	
		
			
				|  |  | -            //陪练课
 | 
	
		
			
				|  |  | +        if (TextUtils.equals(bean.courseType, CourseConstants.OTHER_COURSE) ||
 | 
	
		
			
				|  |  | +                TextUtils.equals(bean.courseType, CourseConstants.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))
 |