Commit 61440c4d by YKai

feat: 患者报到消息样式修改,组件升级

parent f7fffd3e
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03",
"m-user-medical" : "0.0.62.14",
"m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.44",
"m-im-medical" : "0.0.21.47",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10",
......@@ -94,7 +94,7 @@ ext {
"m-fm" : "0.0.30.01",
"m-user-medical" : "0.0.62.14",
"m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.44",
"m-im-medical" : "0.0.21.45",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8",
......
......@@ -7,8 +7,7 @@ import com.alibaba.fastjson.JSONObject
*
* 患者报道消息解析器
*/
class CustomAttachmentPatientCheckIn :
CustomAttachment(CustomAttachmentType.TYPE_PATIENT_CHECK_IN) {
class CustomAttachmentPatientCheckIn : CustomAttachment(CustomAttachmentType.TYPE_PATIENT_CHECK_IN) {
private val USER_CONTENT = "userContent"
......
......@@ -16,11 +16,11 @@ class MsgViewHolderPatientCheckIn(adapter: BaseMultiItemFetchLoadAdapter<*, *>)
private lateinit var tvContent: TextView
override fun getContentResId(): Int {
return R.layout.im_nim_inquiry_end_layout
return R.layout.im_nim_patient_check_in_layout
}
override fun inflateContentView() {
tvContent = findViewById(R.id.content)
tvContent = findViewById(R.id.tv_content)
}
override fun bindContentView() {
......
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="262dp"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:layout_marginTop="@dimen/platform_dp_12"
android:background="#e7ecf0"
android:elevation="0dp"
app:cardBackgroundColor="#e7ecf0"
app:cardCornerRadius="4dp"
app:cardElevation="0dp">
<TextView
android:id="@+id/tv_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="4dp"
android:lineSpacingMultiplier="1.1"
tools:text="本次诊断结束,如有问题可联系客服或再次向医生问诊"
android:textColor="@color/medical_color_0c1d31"
android:textSize="16sp" />
</androidx.cardview.widget.CardView>
\ No newline at end of file
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