|  | @@ -4,20 +4,20 @@
 | 
											
												
													
														|  |      xmlns:tools="http://schemas.android.com/tools"
 |  |      xmlns:tools="http://schemas.android.com/tools"
 | 
											
												
													
														|  |      android:layout_width="match_parent"
 |  |      android:layout_width="match_parent"
 | 
											
												
													
														|  |      android:layout_height="wrap_content"
 |  |      android:layout_height="wrap_content"
 | 
											
												
													
														|  | -    android:layout_marginLeft="6dp"
 |  | 
 | 
											
												
													
														|  | -    android:layout_marginTop="12dp"
 |  | 
 | 
											
												
													
														|  | -    android:layout_marginRight="6dp"
 |  | 
 | 
											
												
													
														|  | -    android:paddingBottom="9dp"
 |  | 
 | 
											
												
													
														|  | -    android:background="@drawable/bg_white_10dp">
 |  | 
 | 
											
												
													
														|  | 
 |  | +    android:layout_marginBottom="12dp"
 | 
											
												
													
														|  | 
 |  | +    android:background="@drawable/bg_white_6dp"
 | 
											
												
													
														|  | 
 |  | +    android:paddingBottom="9dp">
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    <ImageView
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <com.cooleshow.base.widgets.QMUIRadiusImageView
 | 
											
												
													
														|  |          android:id="@+id/im_pic"
 |  |          android:id="@+id/im_pic"
 | 
											
												
													
														|  | -        android:layout_width="match_parent"
 |  | 
 | 
											
												
													
														|  | -        android:layout_height="@dimen/dp_95"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:layout_width="146dp"
 | 
											
												
													
														|  | 
 |  | +        android:layout_height="@dimen/dp_81"
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginStart="12dp"
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginTop="12dp"
 | 
											
												
													
														|  |          app:layout_constraintLeft_toLeftOf="parent"
 |  |          app:layout_constraintLeft_toLeftOf="parent"
 | 
											
												
													
														|  |          app:layout_constraintTop_toTopOf="parent"
 |  |          app:layout_constraintTop_toTopOf="parent"
 | 
											
												
													
														|  | -        app:qmui_corner_radius="5dp" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        app:qmui_corner_radius="6dp" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  |          android:id="@+id/tv_course_status_tip"
 |  |          android:id="@+id/tv_course_status_tip"
 | 
											
										
											
												
													
														|  | @@ -33,10 +33,10 @@
 | 
											
												
													
														|  |          android:text="已上架"
 |  |          android:text="已上架"
 | 
											
												
													
														|  |          android:textColor="@color/color_2dc7aa"
 |  |          android:textColor="@color/color_2dc7aa"
 | 
											
												
													
														|  |          android:textSize="@dimen/sp_10"
 |  |          android:textSize="@dimen/sp_10"
 | 
											
												
													
														|  | -        android:visibility="visible"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintLeft_toLeftOf="parent"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:visibility="gone"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintLeft_toLeftOf="@+id/im_pic"
 | 
											
												
													
														|  |          app:layout_constraintTop_toTopOf="@+id/im_pic"
 |  |          app:layout_constraintTop_toTopOf="@+id/im_pic"
 | 
											
												
													
														|  | -        tools:visibility="visible" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        tools:visibility="gone" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  |          android:id="@+id/course_name"
 |  |          android:id="@+id/course_name"
 | 
											
										
											
												
													
														|  | @@ -44,7 +44,7 @@
 | 
											
												
													
														|  |          android:layout_height="@dimen/dp_13"
 |  |          android:layout_height="@dimen/dp_13"
 | 
											
												
													
														|  |          android:layout_marginEnd="@dimen/dp_5"
 |  |          android:layout_marginEnd="@dimen/dp_5"
 | 
											
												
													
														|  |          android:layout_marginBottom="@dimen/dp_7"
 |  |          android:layout_marginBottom="@dimen/dp_7"
 | 
											
												
													
														|  | -        android:background="@drawable/gray_1_radius_bg"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:background="@drawable/shape_66000000_3dp"
 | 
											
												
													
														|  |          android:gravity="center"
 |  |          android:gravity="center"
 | 
											
												
													
														|  |          android:paddingLeft="@dimen/dp_4"
 |  |          android:paddingLeft="@dimen/dp_4"
 | 
											
												
													
														|  |          android:paddingRight="@dimen/dp_4"
 |  |          android:paddingRight="@dimen/dp_4"
 | 
											
										
											
												
													
														|  | @@ -54,73 +54,110 @@
 | 
											
												
													
														|  |          app:layout_constraintRight_toRightOf="@+id/im_pic" />
 |  |          app:layout_constraintRight_toRightOf="@+id/im_pic" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  | -        android:lines="2"
 |  | 
 | 
											
												
													
														|  |          android:id="@+id/tv_title"
 |  |          android:id="@+id/tv_title"
 | 
											
												
													
														|  |          android:layout_width="0dp"
 |  |          android:layout_width="0dp"
 | 
											
												
													
														|  |          android:layout_height="wrap_content"
 |  |          android:layout_height="wrap_content"
 | 
											
												
													
														|  | -        android:layout_marginLeft="11dp"
 |  | 
 | 
											
												
													
														|  | -        android:layout_marginTop="5dp"
 |  | 
 | 
											
												
													
														|  | -        android:layout_marginEnd="11dp"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginLeft="12dp"
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginEnd="5dp"
 | 
											
												
													
														|  |          android:ellipsize="end"
 |  |          android:ellipsize="end"
 | 
											
												
													
														|  |          android:includeFontPadding="false"
 |  |          android:includeFontPadding="false"
 | 
											
												
													
														|  | -        android:maxLines="2"
 |  | 
 | 
											
												
													
														|  | -        android:text="从零开始学竖笛视频课"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:maxLines="1"
 | 
											
												
													
														|  |          android:textColor="@color/color_1a1a1a"
 |  |          android:textColor="@color/color_1a1a1a"
 | 
											
												
													
														|  | -        android:textSize="@dimen/sp_14"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintLeft_toLeftOf="parent"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:textSize="@dimen/sp_15"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintBottom_toTopOf="@+id/ll_tag"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintLeft_toRightOf="@+id/im_pic"
 | 
											
												
													
														|  |          app:layout_constraintRight_toRightOf="parent"
 |  |          app:layout_constraintRight_toRightOf="parent"
 | 
											
												
													
														|  | -        app:layout_constraintTop_toBottomOf="@+id/im_pic" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintTop_toTopOf="@+id/im_pic"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintVertical_chainStyle="packed"
 | 
											
												
													
														|  | 
 |  | +        tools:text="从零开始学竖笛视频课从零开始学竖笛视频课从零开始学竖笛视频课" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    <LinearLayout
 | 
											
												
													
														|  | 
 |  | +        android:id="@+id/ll_tag"
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginTop="8dp"
 | 
											
												
													
														|  | 
 |  | +        android:orientation="horizontal"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintBottom_toTopOf="@+id/tv_buy_num"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintLeft_toLeftOf="@+id/tv_title"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintTop_toBottomOf="@+id/tv_title"
 | 
											
												
													
														|  | 
 |  | +        android:layout_width="wrap_content"
 | 
											
												
													
														|  | 
 |  | +        android:layout_height="wrap_content">
 | 
											
												
													
														|  | 
 |  | +        <TextView
 | 
											
												
													
														|  | 
 |  | +            android:visibility="gone"
 | 
											
												
													
														|  | 
 |  | +            android:id="@+id/tv_music_num"
 | 
											
												
													
														|  | 
 |  | +            android:layout_width="wrap_content"
 | 
											
												
													
														|  | 
 |  | +            android:layout_height="wrap_content"
 | 
											
												
													
														|  | 
 |  | +            android:background="@drawable/shape_f5f6fa_3dp"
 | 
											
												
													
														|  | 
 |  | +            android:gravity="center"
 | 
											
												
													
														|  | 
 |  | +            android:includeFontPadding="false"
 | 
											
												
													
														|  | 
 |  | +            android:paddingStart="6dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingTop="1dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingEnd="6dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingBottom="1dp"
 | 
											
												
													
														|  | 
 |  | +            android:textColor="@color/color_777777"
 | 
											
												
													
														|  | 
 |  | +            android:textSize="@dimen/sp_11"
 | 
											
												
													
														|  | 
 |  | +            tools:text="3首曲目" />
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        <TextView
 | 
											
												
													
														|  | 
 |  | +            android:id="@+id/tv_price_unit"
 | 
											
												
													
														|  | 
 |  | +            android:layout_width="wrap_content"
 | 
											
												
													
														|  | 
 |  | +            android:layout_height="wrap_content"
 | 
											
												
													
														|  | 
 |  | +            android:layout_marginStart="4dp"
 | 
											
												
													
														|  | 
 |  | +            android:background="@drawable/shape_f5f6fa_3dp"
 | 
											
												
													
														|  | 
 |  | +            android:gravity="center"
 | 
											
												
													
														|  | 
 |  | +            android:includeFontPadding="false"
 | 
											
												
													
														|  | 
 |  | +            android:paddingStart="6dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingTop="1dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingEnd="6dp"
 | 
											
												
													
														|  | 
 |  | +            android:paddingBottom="1dp"
 | 
											
												
													
														|  | 
 |  | +            android:textColor="@color/color_777777"
 | 
											
												
													
														|  | 
 |  | +            android:textSize="@dimen/sp_11"
 | 
											
												
													
														|  | 
 |  | +            app:layout_constraintBaseline_toBaselineOf="@+id/tv_music_num"
 | 
											
												
													
														|  | 
 |  | +            app:layout_constraintLeft_toRightOf="@+id/tv_music_num"
 | 
											
												
													
														|  | 
 |  | +            tools:text="4课时" />
 | 
											
												
													
														|  | 
 |  | +    </LinearLayout>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  | -        android:id="@+id/tv_price"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:id="@+id/tv_buy_num"
 | 
											
												
													
														|  |          android:layout_width="wrap_content"
 |  |          android:layout_width="wrap_content"
 | 
											
												
													
														|  |          android:layout_height="wrap_content"
 |  |          android:layout_height="wrap_content"
 | 
											
												
													
														|  | -        android:layout_marginLeft="11dp"
 |  | 
 | 
											
												
													
														|  | -        android:layout_marginTop="6dp"
 |  | 
 | 
											
												
													
														|  | -        android:text="¥120"
 |  | 
 | 
											
												
													
														|  | -        android:textColor="@color/color_ff0000"
 |  | 
 | 
											
												
													
														|  | -        android:textSize="@dimen/sp_16"
 |  | 
 | 
											
												
													
														|  | -        android:textStyle="bold"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintLeft_toLeftOf="parent"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintTop_toBottomOf="@+id/tv_title" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginTop="8dp"
 | 
											
												
													
														|  | 
 |  | +        android:background="@drawable/shape_12ff802c_2dp"
 | 
											
												
													
														|  | 
 |  | +        android:includeFontPadding="false"
 | 
											
												
													
														|  | 
 |  | +        android:paddingStart="4dp"
 | 
											
												
													
														|  | 
 |  | +        android:paddingTop="3dp"
 | 
											
												
													
														|  | 
 |  | +        android:paddingEnd="4dp"
 | 
											
												
													
														|  | 
 |  | +        android:paddingBottom="3dp"
 | 
											
												
													
														|  | 
 |  | +        android:textColor="@color/color_ff6827"
 | 
											
												
													
														|  | 
 |  | +        android:textSize="@dimen/sp_12"
 | 
											
												
													
														|  | 
 |  | +        android:visibility="visible"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintBottom_toBottomOf="@+id/im_pic"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintLeft_toLeftOf="@+id/tv_title"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintTop_toBottomOf="@+id/ll_tag"
 | 
											
												
													
														|  | 
 |  | +        tools:text="6人已购买" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  | -        android:id="@+id/tv_price_symbol"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:visibility="gone"
 | 
											
												
													
														|  | 
 |  | +        android:id="@+id/tv_price"
 | 
											
												
													
														|  |          android:layout_width="wrap_content"
 |  |          android:layout_width="wrap_content"
 | 
											
												
													
														|  |          android:layout_height="wrap_content"
 |  |          android:layout_height="wrap_content"
 | 
											
												
													
														|  | -        android:text="¥"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:layout_marginEnd="12dp"
 | 
											
												
													
														|  | 
 |  | +        android:text="120"
 | 
											
												
													
														|  |          android:textColor="@color/color_f44541"
 |  |          android:textColor="@color/color_f44541"
 | 
											
												
													
														|  | -        android:textSize="@dimen/sp_14"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:textSize="@dimen/sp_18"
 | 
											
												
													
														|  |          android:textStyle="bold"
 |  |          android:textStyle="bold"
 | 
											
												
													
														|  | -        app:layout_constraintRight_toLeftOf="@+id/tv_price"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintBaseline_toBaselineOf="@+id/tv_price" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintTop_toTopOf="@+id/tv_buy_num"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintBottom_toBottomOf="@+id/tv_buy_num"
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintRight_toRightOf="parent" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <TextView
 |  |      <TextView
 | 
											
												
													
														|  | -        android:id="@+id/tv_price_unit"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:visibility="gone"
 | 
											
												
													
														|  | 
 |  | +        android:id="@+id/tv_price_symbol"
 | 
											
												
													
														|  |          android:layout_width="wrap_content"
 |  |          android:layout_width="wrap_content"
 | 
											
												
													
														|  |          android:layout_height="wrap_content"
 |  |          android:layout_height="wrap_content"
 | 
											
												
													
														|  | -        android:layout_marginRight="11dp"
 |  | 
 | 
											
												
													
														|  | -        android:paddingStart="5dp"
 |  | 
 | 
											
												
													
														|  | -        android:text="/4课时"
 |  | 
 | 
											
												
													
														|  | -        android:textColor="@color/color_999999"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        android:text="¥"
 | 
											
												
													
														|  | 
 |  | +        android:textColor="@color/color_f44541"
 | 
											
												
													
														|  |          android:textSize="@dimen/sp_14"
 |  |          android:textSize="@dimen/sp_14"
 | 
											
												
													
														|  | 
 |  | +        android:textStyle="bold"
 | 
											
												
													
														|  |          app:layout_constraintBaseline_toBaselineOf="@+id/tv_price"
 |  |          app:layout_constraintBaseline_toBaselineOf="@+id/tv_price"
 | 
											
												
													
														|  | -        app:layout_constraintLeft_toRightOf="@+id/tv_price" />
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    <TextView
 |  | 
 | 
											
												
													
														|  | -        android:id="@+id/tv_buy_num"
 |  | 
 | 
											
												
													
														|  | -        android:layout_width="0dp"
 |  | 
 | 
											
												
													
														|  | -        android:layout_height="wrap_content"
 |  | 
 | 
											
												
													
														|  | -        android:layout_marginLeft="11dp"
 |  | 
 | 
											
												
													
														|  | -        android:layout_marginTop="5dp"
 |  | 
 | 
											
												
													
														|  | -        android:includeFontPadding="false"
 |  | 
 | 
											
												
													
														|  | -        android:text="0人已购买"
 |  | 
 | 
											
												
													
														|  | -        android:textColor="@color/color_ff802c"
 |  | 
 | 
											
												
													
														|  | -        android:textSize="@dimen/sp_11"
 |  | 
 | 
											
												
													
														|  | -        android:visibility="visible"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintLeft_toLeftOf="parent"
 |  | 
 | 
											
												
													
														|  | -        app:layout_constraintTop_toBottomOf="@+id/tv_price"
 |  | 
 | 
											
												
													
														|  | -        tools:text="6人已购买" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        app:layout_constraintRight_toLeftOf="@+id/tv_price" />
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  </androidx.constraintlayout.widget.ConstraintLayout>
 |  |  </androidx.constraintlayout.widget.ConstraintLayout>
 |