| 
					
				 | 
			
			
				@@ -24,6 +24,7 @@ class CourseTableListAdapter(layoutResId: Int) : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val LIVE_COURSE = "LIVE"//直播课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val OTHER_COURSE = "PRACTICE"//陪练课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val PIANO_ROOM_COURSE = "PIANO_ROOM_CLASS"//琴房课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const val VIP_COURSE = "VIP"//VIP课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val NOT_START = "NOT_START" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val ING = "ING" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const val COMPLETE = "COMPLETE" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -45,6 +46,7 @@ class CourseTableListAdapter(layoutResId: Int) : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         val ivAvatar = baseViewHolder.getView<ImageView>(R.id.iv_avatar) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         val viewLine2 = baseViewHolder.getView<View>(R.id.view_line2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         val tvBuyNum = baseViewHolder.getView<TextView>(R.id.tv_buy_num) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        val tv_vip_course_tag = baseViewHolder.getView<TextView>(R.id.tv_vip_course_tag) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         val tvCourseStatusBt = baseViewHolder.getView<TextView>(R.id.tv_course_status_bt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //开始时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         tvTime.text = UiUtils.getCourseTimeString(data?.startTime, data?.endTime); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -60,8 +62,10 @@ class CourseTableListAdapter(layoutResId: Int) : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ivAvatar, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 R.drawable.icon_teacher_default_head 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.text = "趣纠课" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             viewLine2.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tvBuyNum.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.setVisible(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else if (TextUtils.equals(PIANO_ROOM_COURSE, data?.courseType)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //琴房课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ivAvatar.setImageResource(R.drawable.icon_piano_room_course) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -69,7 +73,20 @@ class CourseTableListAdapter(layoutResId: Int) : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tvBuyNum.text = count + "人" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             viewLine2.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tvBuyNum.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }  else if (TextUtils.equals(VIP_COURSE, data?.courseType)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //VIP课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            GlideUtils.loadImage( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                context, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data!!.cover, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ivAvatar, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                R.drawable.icon_teacher_default_head 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.text = "VIP定制课" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            viewLine2.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tvBuyNum.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.setVisible(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //直播课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ivAvatar.setImageResource(R.drawable.icon_live_bg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var payCount = data?.payCount 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -77,6 +94,7 @@ class CourseTableListAdapter(layoutResId: Int) : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tvBuyNum.text = context.getString(R.string.pay_count_str, payCount) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             viewLine2.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             tvBuyNum.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tv_vip_course_tag.setVisible(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         when (data?.status) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             NOT_START -> { 
			 |