Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
61440c4d
Commit
61440c4d
authored
Aug 09, 2022
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 患者报到消息样式修改,组件升级
parent
f7fffd3e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
6 deletions
+33
-6
config.gradle
config.gradle
+2
-2
CustomAttachmentPatientCheckIn.kt
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachmentPatientCheckIn.kt
+1
-2
MsgViewHolderPatientCheckIn.kt
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderPatientCheckIn.kt
+2
-2
im_nim_patient_check_in_layout.xml
m-im/src/main/res/layout/im_nim_patient_check_in_layout.xml
+28
-0
No files found.
config.gradle
View file @
61440c4d
...
...
@@ -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.4
4
"
,
"m-im-medical"
:
"0.0.21.4
7
"
,
"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.4
4
"
,
"m-im-medical"
:
"0.0.21.4
5
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachmentPatientCheckIn.kt
View file @
61440c4d
...
...
@@ -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"
...
...
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderPatientCheckIn.kt
View file @
61440c4d
...
...
@@ -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
()
{
...
...
m-im/src/main/res/layout/im_nim_patient_check_in_layout.xml
0 → 100644
View file @
61440c4d
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment