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
695d689c
Commit
695d689c
authored
Dec 23, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 2.0.1UI验收完毕
parent
152c449b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
19 deletions
+25
-19
config.gradle
config.gradle
+2
-2
MedicalAddNewArchivesActivity.kt
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
+12
-8
im_nim_inquiry_end_layout.xml
m-im/src/main/res/layout/im_nim_inquiry_end_layout.xml
+2
-2
im_nim_inquiry_receive_layout.xml
m-im/src/main/res/layout/im_nim_inquiry_receive_layout.xml
+2
-2
medical_im_chat_item_view.xml
m-im/src/main/res/layout/medical_im_chat_item_view.xml
+5
-3
im_nim_chat_input_edit_background.xml
m-im/src/main/res_uikit/drawable/im_nim_chat_input_edit_background.xml
+1
-1
im_nim_message_activity_text_layout.xml
m-im/src/main/res_uikit/layout/im_nim_message_activity_text_layout.xml
+1
-1
No files found.
config.gradle
View file @
695d689c
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.89"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.
68
"
,
"m-im"
:
"0.0.20.
71
"
,
"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"
:
"0.0.61.89"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.
68
"
,
"m-im"
:
"0.0.20.
71
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
View file @
695d689c
...
...
@@ -3,7 +3,6 @@ package com.yidianling.medical.archives
import
android.annotation.SuppressLint
import
android.content.Context
import
android.content.Intent
import
android.view.View
import
com.ydl.ydlcommon.base.BaseActivity
import
com.ydl.ydlcommon.utils.StatusBarUtils
import
com.ydl.ydlcommon.view.dialog.NormalDialog
...
...
@@ -107,29 +106,34 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
showDialogTip
()
}
private
fun
showDialogTip
()
{
val
builder
=
NormalDialog
.
Builder
(
this
@MedicalAddNewArchivesActivity
,
"center"
,
false
)
builder
.
setTitle
(
""
)
builder
.
setMessage
(
"\n为向您添加的就诊人提供问诊服务,您需要向我们提供该就诊人的身份证号码,并确保在提供前已取得该就诊人的授权同意;若该就诊人为儿童的,您需要在提供前征得该儿童监护人的同意。\n"
)
builder
.
setMessageEndBold
(
"\n为向您添加的就诊人提供问诊服务,您需要向我们提供该"
,
"就诊人的身份证号码,并确保在提供前已取得该就诊人的授权同意;若该就诊人为儿童的,您需要在提供前征得该儿童监护人的同意。\n"
)
builder
.
setMessageEndBold
(
"\n为向您添加的就诊人提供问诊服务,您需要向我们提供该"
,
"就诊人的身份证号码,并确保在提供前已取得该就诊人的授权同意;若该就诊人为儿童的,您需要在提供前征得该儿童监护人的同意。\n"
)
builder
.
setPositiveButton
(
"
不
同意"
"同意"
)
{
dialog
,
which
->
//关闭页面
finish
()
dialog
.
dismiss
()
}.
setNegativeButton
(
"同意"
"
不
同意"
)
{
dialog
,
which
->
//关闭页面
finish
()
dialog
.
dismiss
()
}
builder
.
setRight_color
(
"#3464EC"
)
builder
.
setLeft_color
(
"#
3464EC
"
)
builder
.
setLeft_color
(
"#
8595A9
"
)
builder
.
setContent_color
(
"#10233A"
)
builder
.
create
().
show
()
}
@SuppressLint
(
"CheckResult"
)
private
fun
checkInfo
()
{
if
(
et_name
.
text
.
isNullOrEmpty
())
{
...
...
m-im/src/main/res/layout/im_nim_inquiry_end_layout.xml
View file @
695d689c
...
...
@@ -5,8 +5,8 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/platform_dp_12"
android:background=
"#
80d7dfea
"
app:cardBackgroundColor=
"#
80d7dfea
"
android:background=
"#
cce7ecf0
"
app:cardBackgroundColor=
"#
cce7ecf0
"
android:elevation=
"0dp"
android:maxWidth=
"263dp"
android:minWidth=
"263dp"
...
...
m-im/src/main/res/layout/im_nim_inquiry_receive_layout.xml
View file @
695d689c
...
...
@@ -128,7 +128,7 @@
android:layout_width=
"0dp"
android:layout_height=
"1px"
android:layout_marginTop=
"12dp"
android:background=
"@color/medical_color_
c0c9d4
"
android:background=
"@color/medical_color_
e7ecf0
"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
...
...
@@ -142,7 +142,7 @@
android:layout_marginTop=
"12dp"
android:text=
"问诊详情"
android:textColor=
"#ff8595a9"
android:textSize=
"1
6
sp"
android:textSize=
"1
4
sp"
app:layout_constraintLeft_toLeftOf=
"@id/tv_title"
app:layout_constraintTop_toBottomOf=
"@id/line_center"
/>
...
...
m-im/src/main/res/layout/medical_im_chat_item_view.xml
View file @
695d689c
...
...
@@ -63,12 +63,13 @@
android:textStyle=
"bold"
app:layout_constraintLeft_toRightOf=
"@id/card_img"
app:layout_constraintTop_toTopOf=
"@id/card_img"
tools:text=
"林小丽"
/>
tools:text=
"林小丽林小"
/>
<TextView
android:id=
"@+id/chat_message_tab"
android:layout_width=
"wrap_content"
android:layout_width=
"0dp"
app:layout_constraintHorizontal_weight=
"1"
android:gravity=
"left"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"6dp"
android:layout_marginRight=
"8dp"
...
...
@@ -79,6 +80,7 @@
android:visibility=
"gone"
app:layout_constraintBaseline_toBaselineOf=
"@id/chat_message_name"
app:layout_constraintLeft_toRightOf=
"@id/chat_message_name"
app:layout_constraintRight_toLeftOf=
"@id/chat_message_time"
tools:text=
"高级心理咨询师"
tools:visibility=
"visible"
/>
...
...
m-im/src/main/res_uikit/drawable/im_nim_chat_input_edit_background.xml
View file @
695d689c
...
...
@@ -4,6 +4,6 @@
<corners
android:radius=
"8dp"
/>
<solid
android:color=
"#F6F
AFF
"
/>
<solid
android:color=
"#F6F
7F9
"
/>
</shape>
m-im/src/main/res_uikit/layout/im_nim_message_activity_text_layout.xml
View file @
695d689c
...
...
@@ -78,7 +78,7 @@
android:hint=
"隐私保密,安心咨询"
android:layout_weight=
"1"
android:autoLink=
"all"
android:background=
"#F6F
AFF
"
android:background=
"#F6F
7F9
"
android:maxHeight=
"72dp"
android:maxLines=
"4"
android:textColorHint=
"#CCCCCC"
...
...
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