[1.0.9]首页添加员工心理帮助banner
This commit is contained in:
@@ -9,7 +9,6 @@ import androidx.recyclerview.widget.LinearLayoutManager
|
|||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||||
import com.sw.healthyclients.data.local.DataStoreManager
|
import com.sw.healthyclients.data.local.DataStoreManager
|
||||||
import com.sw.healthyclients.utils.StatusbarUtil
|
|
||||||
import com.tencent.qcloud.tuikit.tuichat.bean.WorkBean
|
import com.tencent.qcloud.tuikit.tuichat.bean.WorkBean
|
||||||
import com.xjjk.healthyclients.R
|
import com.xjjk.healthyclients.R
|
||||||
import com.xjjk.healthyclients.adapter.common.MultiItemTypeAdapter
|
import com.xjjk.healthyclients.adapter.common.MultiItemTypeAdapter
|
||||||
@@ -24,6 +23,7 @@ import com.xjjk.healthyclients.superfuntion.startGroupChat
|
|||||||
import com.xjjk.healthyclients.superfuntion.startLoginActivity
|
import com.xjjk.healthyclients.superfuntion.startLoginActivity
|
||||||
import com.xjjk.healthyclients.superfuntion.startMyGuidanceActivity
|
import com.xjjk.healthyclients.superfuntion.startMyGuidanceActivity
|
||||||
import com.xjjk.healthyclients.ui.activity.guidance.adapter.GuidanceFragmentDoctorAdapter
|
import com.xjjk.healthyclients.ui.activity.guidance.adapter.GuidanceFragmentDoctorAdapter
|
||||||
|
import com.xjjk.healthyclients.ui.activity.home.HomeBannerDetailActivity
|
||||||
import com.xjjk.healthyclients.ui.viewmodel.GuidanceFragmentViewModel
|
import com.xjjk.healthyclients.ui.viewmodel.GuidanceFragmentViewModel
|
||||||
import com.xjjk.healthyclients.utils.ConstantUtils
|
import com.xjjk.healthyclients.utils.ConstantUtils
|
||||||
import com.xjjk.healthyclients.utils.IMInputActionSettingUtils
|
import com.xjjk.healthyclients.utils.IMInputActionSettingUtils
|
||||||
@@ -197,6 +197,9 @@ class GuidanceFragment :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
R.id.banner->{
|
||||||
|
toActivity(HomeBannerDetailActivity::class.java)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,14 +209,11 @@ class GuidanceFragment :
|
|||||||
ivLeft?.setOnClickListener(this@GuidanceFragment)
|
ivLeft?.setOnClickListener(this@GuidanceFragment)
|
||||||
ivRight?.setOnClickListener(this@GuidanceFragment)
|
ivRight?.setOnClickListener(this@GuidanceFragment)
|
||||||
tvDoctorMore?.setOnClickListener(this@GuidanceFragment)
|
tvDoctorMore?.setOnClickListener(this@GuidanceFragment)
|
||||||
|
banner?.setOnClickListener(this@GuidanceFragment)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getStatusbarStyle(): Int {
|
|
||||||
activity?.let { StatusbarUtil.customColorMode(it, "#2dcac1", false) }
|
|
||||||
return 2
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onRefresh() {
|
override fun onRefresh() {
|
||||||
mBinding.swipeRefresh.isRefreshing = false
|
mBinding.swipeRefresh.isRefreshing = false
|
||||||
|
|||||||
@@ -59,6 +59,13 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/banner"
|
||||||
|
android:layout_marginHorizontal="12dp"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:background="@mipmap/ic_home_banner"
|
||||||
|
android:layout_height="120dp"/>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 218 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
@@ -24,6 +24,8 @@
|
|||||||
<string name="title_register_info">预约信息</string>
|
<string name="title_register_info">预约信息</string>
|
||||||
<string name="title_retrieve_password">找回密码</string>
|
<string name="title_retrieve_password">找回密码</string>
|
||||||
<string name="title_change_password">修改密码</string>
|
<string name="title_change_password">修改密码</string>
|
||||||
|
<string name="title_user_banner">员工心理帮助计划</string>
|
||||||
|
<string name="title_home_notice">我的消息通知</string>
|
||||||
<string name="title_check_up_detail">体检信息</string>
|
<string name="title_check_up_detail">体检信息</string>
|
||||||
<string name="title_check_record_list">历年体检报告</string>
|
<string name="title_check_record_list">历年体检报告</string>
|
||||||
<string name="title_check_up_consult">一键咨询</string>
|
<string name="title_check_up_consult">一键咨询</string>
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@ ext {
|
|||||||
minSdkVersion = 26
|
minSdkVersion = 26
|
||||||
targetSdkVersion = 32
|
targetSdkVersion = 32
|
||||||
compileSdkVersion = 33
|
compileSdkVersion = 33
|
||||||
versionCode = 108
|
versionCode = 109
|
||||||
versionName = "1.0.8"
|
versionName = "1.0.9"
|
||||||
//Dependencies
|
//Dependencies
|
||||||
junitVersion = "4.12"
|
junitVersion = "4.12"
|
||||||
lifecycleVersion = "2.6.0-alpha01"
|
lifecycleVersion = "2.6.0-alpha01"
|
||||||
|
|||||||
Reference in New Issue
Block a user