Commit cc2481b1 by 刘鹏

feat: 分享图片问题修复,文案修复、跳转修复、UI还原

parent 4f795005
......@@ -5,6 +5,6 @@
<solid android:color="@color/platform_white" />
<stroke
android:width="0.5dp"
android:color="@color/color_1c1f28_20" />
android:color="@color/color_1c1f28_10" />
</shape>
\ No newline at end of file
......@@ -30,6 +30,7 @@
<color name="color_1c1f28_50">#801c1f28</color>
<color name="color_1c1f28_40">#661c1f28</color>
<color name="color_1c1f28_20">#331c1f28</color>
<color name="color_1c1f28_10">#1a1c1f28</color>
<color name="color_ef8a4a">#EF8A4A</color>
<color name="color_f6f6f7">#f6f6f7</color>
<color name="color_6ec8f9">#6ec8f9</color>
......
......@@ -43,10 +43,10 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
homeEvent?.reservationExpertsClick()
}
dataBinding?.homeModuleButtonBannerSecond?.setOnClickListener {
homeEvent?.askMoreClick()
homeEvent?.nowConfideClick(false)
}
dataBinding?.homeModuleButtonBannerThird?.setOnClickListener {
homeEvent?.nowConfideClick(false)
homeEvent?.psychologyClassClick()
}
dataBinding?.homeModuleButtonBannerFourth?.setOnClickListener {
homeEvent?.psychologyTestClick()
......
......@@ -65,61 +65,6 @@
android:layout_width="45dp"
app:layout_constraintHorizontal_weight="1"
android:layout_height="20dp" />
<!-- <ImageView-->
<!-- android:id="@+id/header1"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:visibility="visible"-->
<!-- android:src="@mipmap/home_banner_header1"-->
<!-- app:layout_constraintTop_toBottomOf="@id/homeModuleFirstDec"-->
<!-- app:layout_constraintLeft_toLeftOf="@id/homeModuleButtonBannerFirstTitle"-->
<!-- android:layout_width="18dp"-->
<!-- android:layout_height="18dp"/>-->
<!-- <ImageView-->
<!-- android:id="@+id/header2"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:src="@mipmap/home_banner_header1"-->
<!-- android:layout_marginLeft="14dp"-->
<!-- android:visibility="visible"-->
<!-- app:layout_constraintTop_toBottomOf="@id/homeModuleFirstDec"-->
<!-- app:layout_constraintLeft_toLeftOf="@id/header1"-->
<!-- android:layout_width="18dp"-->
<!-- android:layout_height="18dp" />-->
<!-- <ImageView-->
<!-- android:id="@+id/header3"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:src="@mipmap/home_banner_header2"-->
<!-- android:layout_marginLeft="14dp"-->
<!-- android:visibility="visible"-->
<!-- app:layout_constraintTop_toBottomOf="@id/homeModuleFirstDec"-->
<!-- app:layout_constraintLeft_toLeftOf="@id/header2"-->
<!-- android:layout_width="18dp"-->
<!-- android:layout_height="18dp" />-->
<!-- <ImageView-->
<!-- android:id="@+id/header4"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:src="@mipmap/home_banner_header1"-->
<!-- android:layout_marginLeft="14dp"-->
<!-- android:visibility="gone"-->
<!-- app:layout_constraintTop_toBottomOf="@id/homeModuleFirstDec"-->
<!-- app:layout_constraintLeft_toLeftOf="@id/header3"-->
<!-- android:layout_width="18dp"-->
<!-- android:layout_height="18dp" />-->
<!-- <ImageView-->
<!-- android:id="@+id/header5"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:src="@mipmap/home_banner_header2"-->
<!-- android:layout_marginLeft="12dp"-->
<!-- android:visibility="gone"-->
<!-- app:layout_constraintTop_toBottomOf="@id/homeModuleFirstDec"-->
<!-- app:layout_constraintLeft_toLeftOf="@id/header4"-->
<!-- android:layout_width="18dp"-->
<!-- android:layout_height="18dp" />-->
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
......@@ -209,7 +154,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="心理课堂"
android:text="倾诉热线"
android:textColor="@color/white"
android:textSize="16dp"
android:textStyle="bold"
......@@ -222,7 +167,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="学习与成长"
android:text="24小时在线"
android:textColor="@color/white"
android:textSize="11dp"
app:layout_constraintLeft_toLeftOf="@id/homeModuleButtonBannerSecondTitle"
......
......@@ -31,7 +31,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:scaleType="fitXY"
android:scaleType="fitCenter"
tools:layout_height="100dp" />
<TextView
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment