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
7e6a3f5e
Commit
7e6a3f5e
authored
Mar 22, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 信息收集卡UI 逻辑完成
parent
c40666c1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
13 deletions
+22
-13
config.gradle
config.gradle
+6
-6
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+1
-1
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+8
-2
QuestionAdapter.java
m-im/src/main/java/com/yidianling/uikit/business/session/view/question/QuestionAdapter.java
+1
-1
im_background_18dp_e8f5fe.xml
m-im/src/main/res/drawable/im_background_18dp_e8f5fe.xml
+5
-3
item_left_img_url_layout.xml
m-im/src/main/res/layout/item_left_img_url_layout.xml
+1
-0
No files found.
config.gradle
View file @
7e6a3f5e
...
...
@@ -5,12 +5,12 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.3
6
"
,
"m-confide"
:
"0.0.49.3
7
"
,
"m-consultant"
:
"0.0.60.03"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.84"
,
"m-im"
:
"0.0.20.9
3
"
,
"m-im"
:
"0.0.20.9
9
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -39,7 +39,7 @@ ext {
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.5
7
"
,
"m-audioim"
:
"0.0.49.29.5
8
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
@@ -88,12 +88,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.3
6
"
,
"m-confide"
:
"0.0.49.3
7
"
,
"m-consultant"
:
"0.0.60.03"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.83"
,
"m-im"
:
"0.0.20.9
3
"
,
"m-im"
:
"0.0.20.9
9
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
@@ -121,7 +121,7 @@ ext {
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.5
7
"
,
"m-audioim"
:
"0.0.49.29.5
8
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
7e6a3f5e
...
...
@@ -533,7 +533,7 @@ class AudioHomeActivity :
}
private
fun
initView
()
{
callEventSave
(
"
3
0"
,
"通话页面打开"
)
callEventSave
(
"
2
0"
,
"通话页面打开"
)
writeAgoraLog
(
"用户拨打电话界面开启"
)
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
AliYunLogConfig
.
AGORA
,
"用户拨打电话界面开启"
)
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
7e6a3f5e
...
...
@@ -419,6 +419,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
}
else
{
//没有下一题了,跳转按钮展示
tv_finish
.
visibility
=
View
.
VISIBLE
tv_skip
.
visibility
=
View
.
GONE
}
mQuestionAdapter
.
notifyDataSetChanged
()
recycle
.
scrollToPosition
(
mData
.
size
-
1
)
...
...
@@ -587,8 +588,13 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
)
{
val
questionsBean
=
mQuestionBean
!!
.
questionPaper
.
questions
[
questionChain
.
questionId
]
questionMultiItem2
.
questionsBean
=
questionsBean
if
(
"radio"
==
questionsBean
?.
type
)
{
questionMultiItem2
.
viewType
=
3
if
(
RADIO_KEY
==
questionsBean
?.
type
)
{
if
(!
questionsBean
.
image
.
isNullOrEmpty
()||!
questionsBean
.
url
.
isNullOrEmpty
()){
tv_skip
.
visibility
=
View
.
GONE
questionMultiItem2
.
viewType
=
7
}
else
{
questionMultiItem2
.
viewType
=
3
}
}
else
{
questionMultiItem2
.
viewType
=
4
questionMultiItem2
.
type4CanClick
=
true
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/view/question/QuestionAdapter.java
View file @
7e6a3f5e
...
...
@@ -116,7 +116,7 @@ public class QuestionAdapter extends BaseMultiItemQuickAdapter<QuestionMultiItem
jumpUrlView
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
ActionCountUtils
.
Companion
.
count
(
"daoyi_consult_assess_page|leave_click"
);
ActionCountUtils
.
Companion
.
count
(
"daoyi_consult_assess_page|leave_click"
,
item
.
questionsBean
.
questionPaperId
);
NewH5Activity
.
start
(
mContext
,
new
H5Params
(
item
.
questionsBean
.
url
,
""
));
}
});
...
...
m-im/src/main/res/drawable/im_background_18dp_e8f5fe.xml
View file @
7e6a3f5e
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#e8f5fe"
/>
<corners
android:radius=
"@dimen/platform_dp_18"
/>
<solid
android:color=
"@color/white"
/>
<corners
android:radius=
"@dimen/platform_dp_18"
/>
<stroke
android:width=
"1px"
android:color=
"@color/platform_color_1DA1F2"
/>
</shape>
m-im/src/main/res/layout/item_left_img_url_layout.xml
View file @
7e6a3f5e
...
...
@@ -51,6 +51,7 @@
android:layout_marginTop=
"12dp"
/>
<LinearLayout
android:layout_marginTop=
"12dp"
android:id=
"@+id/jump_url"
android:layout_width=
"match_parent"
android:layout_height=
"32dp"
...
...
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