Commit d46d2cb0 authored by mengcuiguang's avatar mengcuiguang

haipi首页添加客服入口

parent 0d15882b
......@@ -10,8 +10,8 @@ android {
applicationId "com.duben.happytheateru"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 720
versionName "7.2.0"
versionCode 721
versionName "7.2.1"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -151,6 +151,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
iv_main_watching_close.setOnClickListener(this)
tv_main_watching_goto.setOnClickListener(this)
ll_lucky.setOnClickListener(this)
iv_kefu_main.setOnClickListener(this)
}
override fun onClick(v: View?) {
......@@ -170,6 +171,9 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
R.id.ll_lucky -> {
readyGo(NineActivity::class.java)
}
R.id.iv_kefu_main -> {
(requireActivity() as MainActivity).backPhoneDialog()
}
}
}
......@@ -184,6 +188,15 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
}
}
}
context?.let {
GlideUtils.loadImageViewGifForCenterCrop(
it,
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_kefu_main.png",
iv_kefu_main,
1
)
}
}
private fun initVp() {
......
......@@ -243,6 +243,17 @@
</RelativeLayout>
</LinearLayout>
<ImageView
android:id="@+id/iv_kefu_main"
android:layout_width="80dp"
android:layout_height="88dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="90dp"
android:gravity="center"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<LinearLayout
android:id="@+id/ll_lucky"
android:layout_width="wrap_content"
......
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