Commit 6944f63c by 刘鹏

feat : 问诊人适配,消息空列表提示修改

parent ca1d57b5
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03",
"m-user" : "0.0.61.84",
"m-home" : "0.0.22.70",
"m-im" : "0.0.20.41",
"m-im" : "0.0.20.48",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10",
......@@ -33,7 +33,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.58",
"ydl-platform" : "0.0.40.59",
//第二步 若干
"ydl-webview" : "0.0.38.53",
......@@ -94,7 +94,7 @@ ext {
"m-fm" : "0.0.30.01",
"m-user" : "0.0.61.84",
"m-home" : "0.0.22.70",
"m-im" : "0.0.20.41",
"m-im" : "0.0.20.48",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8",
......@@ -116,7 +116,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.58",
"ydl-platform" : "0.0.40.59",
//第二步 若干
"ydl-webview" : "0.0.38.53",
......
......@@ -59,7 +59,7 @@ class ChatUnusualView constructor(private val mContext: Context, attrs: Attribut
// 没有私聊数据(服务中)
TYPE_CHAT_SERVICING_NO_DATA -> {
unusual_txt.text = "当前没有正在为您服务的咨询师"
unusual_btn.text = "去咨询"
unusual_btn.text = "找医生"
unusual_btn.visibility = View.VISIBLE
unusual_img.setImageResource(R.mipmap.im_default_siliao_none)
}
......
......@@ -192,7 +192,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
}
ServiceImpl.instance.createArchivesOrder(
"",
fileStrExtra,
isFirst,
stringExtra,
input_first_mit.text.toString(),
......
......@@ -5,6 +5,7 @@ import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
......@@ -78,6 +79,7 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
add_archives.setOnClickListener {
isFirstLoadData = false
//添加用户档案
MedicalAddNewArchivesActivity.start(this@MedicalArchivesListActivity)
}
......@@ -122,6 +124,8 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
} else {
mAdapter.loadMoreEnd(false)
var net_error= mEmptyView.findViewById<TextView>(R.id.net_error)
net_error.text="暂无数据"
mAdapter.emptyView = mEmptyView
}
......@@ -148,11 +152,14 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
} else {
doctor_swipe_refresh_layout.isRefreshing = false
mAdapter.loadMoreFail()
mAdapter.emptyView = mEmptyView
}
}, { e ->
doctor_swipe_refresh_layout.isRefreshing = false
mAdapter.loadMoreFail()
var net_error= mEmptyView.findViewById<TextView>(R.id.net_error)
net_error.text="网络异常,请稍后再试"
mAdapter.emptyView = mEmptyView
})
......
......@@ -3,9 +3,9 @@
android:shape="rectangle">
<gradient
android:endColor="@color/platform_main_theme"
android:startColor="@color/platform_main_theme_light"/>
android:endColor="#3464EC"
android:startColor="#3464EC"/>
<corners android:radius="14dp" />
<corners android:radius="8dp" />
</shape>
\ No newline at end of file
......@@ -27,8 +27,8 @@
android:gravity="center"
android:paddingLeft="22dp"
android:paddingRight="22dp"
android:text="去咨询"
android:textSize="12dp"
android:text="找医生"
android:textSize="14sp"
android:textColor="@color/platform_but_text_color"
android:layout_marginTop="20dp"
android:background="@drawable/im_chat_unusual_view_btn_bg"
......
......@@ -148,6 +148,7 @@
app:layout_constraintTop_toBottomOf="@id/dec_title" />
<androidx.recyclerview.widget.RecyclerView
android:layout_marginTop="8dp"
android:id="@+id/rv_people_list"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
......@@ -162,7 +163,7 @@
android:id="@+id/first_mit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginTop="24dp"
android:text="是否首次问诊"
android:textColor="#ff0c1d31"
android:textSize="14sp"
......
......@@ -7,6 +7,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="12dp"
android:minHeight="62dp"
android:background="@drawable/medical_bg_edit_f2f5f8"
tools:background="@drawable/medical_list_check_bg">
......
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:minWidth="300dp"
android:maxWidth="300dp"
android:layout_height="wrap_content"
android:layout_gravity="center" >
android:layout_gravity="center"
android:maxWidth="300dp"
android:minWidth="300dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="center">
android:layout_gravity="center"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:minWidth="300dp"
android:maxWidth="300dp"
android:background="@drawable/normaldialog_layout_bg"
android:maxWidth="300dp"
android:minWidth="300dp"
android:orientation="vertical"
android:scrollbars="vertical">
......@@ -26,63 +26,68 @@
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="10dp"
android:gravity="center"
android:text="提示"
android:textSize="18sp" />
<RelativeLayout
android:id="@+id/message_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:orientation="vertical" >
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/message"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:autoLink="all"
android:gravity="center"
android:textSize="18sp"
android:textColor="#10233A"
android:text="正文"
android:autoLink="all"/>
android:textColor="#10233A"
android:textSize="18sp" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_height="0.5dp"
android:background="#E7ECF0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="53dp"
android:orientation="horizontal" >
android:orientation="horizontal">
<Button
android:elevation="0dp"
android:id="@+id/cancel_btn"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:textColor="#8595A9"
android:textSize="18sp"
android:background="@drawable/normaldialog_left_btn_select"
android:text="取消"/>
android:text="取消"
android:textColor="#8595A9"
android:textSize="18sp" />
<View
android:layout_width="0.5dp"
android:layout_height="36dp"
android:background="#E7ECF0"
/>
android:background="#E7ECF0" />
<Button
android:elevation="0dp"
android:id="@+id/confirm_btn"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:textSize="18sp"
android:textColor="#3464EC"
android:background="@drawable/normaldialog_right_btn_select"
android:text="确定"/>
android:text="确定"
android:textColor="#3464EC"
android:textSize="18sp" />
</LinearLayout>
</LinearLayout>
......
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