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
cbb6b083
Commit
cbb6b083
authored
Mar 28, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 信息收集卡问题修复
parent
bf46ed07
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
+19
-9
config.gradle
config.gradle
+2
-2
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+16
-6
QuestionAdapter.java
m-im/src/main/java/com/yidianling/uikit/business/session/view/question/QuestionAdapter.java
+1
-1
No files found.
config.gradle
View file @
cbb6b083
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.92"
,
"m-im"
:
"0.0.21.1
1
"
,
"m-im"
:
"0.0.21.1
3
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.92"
,
"m-im"
:
"0.0.21.1
1
"
,
"m-im"
:
"0.0.21.1
3
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
cbb6b083
...
...
@@ -87,8 +87,9 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
private
var
location
:
Int
=
0
private
var
ffrom2
:
String
?
=
null
/**单选类型*/
private
const
val
RADIO_KEY
=
"radio"
private
const
val
RADIO_KEY
=
"radio"
@JvmStatic
fun
start
(
context
:
Context
,
toUid
:
String
,
expertInfo
:
IMExpertBuild
,
isFromQingShu
:
Int
)
{
...
...
@@ -98,7 +99,10 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
this
.
isFromQingShu
=
isFromQingShu
context
.
startActivity
(
starter
)
val
activity
=
context
as
Activity
activity
.
overridePendingTransition
(
R
.
anim
.
platform_activity_anim_in
,
R
.
anim
.
platform_activity_anim_in
)
activity
.
overridePendingTransition
(
R
.
anim
.
platform_activity_anim_in
,
R
.
anim
.
platform_activity_anim_in
)
}
@JvmStatic
...
...
@@ -325,6 +329,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
}
}
}
/**
* 最后一题
* */
...
...
@@ -351,6 +356,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
mData
[
index
].
type5CanClick
=
false
}
}
/**
* 隐藏输入框
* */
...
...
@@ -408,7 +414,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
//还有下一题
questionMultiItem2
.
questionsBean
=
questionsBean
if
(
RADIO_KEY
==
questionsBean
.
type
)
{
if
(!
questionsBean
.
image
.
isNullOrEmpty
()
||
!
questionsBean
.
url
.
isNullOrEmpty
(
))
{
if
(!
TextUtils
.
isEmpty
(
questionsBean
.
image
)
||
!
TextUtils
.
isEmpty
(
questionsBean
.
url
))
{
tv_skip
.
visibility
=
View
.
GONE
questionMultiItem2
.
viewType
=
7
}
else
{
...
...
@@ -593,10 +599,10 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
val
questionsBean
=
mQuestionBean
!!
.
questionPaper
.
questions
[
questionChain
.
questionId
]
questionMultiItem2
.
questionsBean
=
questionsBean
if
(
RADIO_KEY
==
questionsBean
?.
type
)
{
if
(!
questionsBean
.
image
.
isNullOrEmpty
()||!
questionsBean
.
url
.
isNullOrEmpty
())
{
if
(!
TextUtils
.
isEmpty
(
questionsBean
.
image
)
||
!
TextUtils
.
isEmpty
(
questionsBean
.
url
))
{
tv_skip
.
visibility
=
View
.
GONE
questionMultiItem2
.
viewType
=
7
}
else
{
}
else
{
questionMultiItem2
.
viewType
=
3
}
}
else
{
...
...
@@ -899,7 +905,10 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
override
fun
finish
()
{
super
.
finish
()
overridePendingTransition
(
R
.
anim
.
platform_activity_anim_in
,
R
.
anim
.
platform_activity_anim_in
)
overridePendingTransition
(
R
.
anim
.
platform_activity_anim_in
,
R
.
anim
.
platform_activity_anim_in
)
}
}
\ No newline at end of file
m-im/src/main/java/com/yidianling/uikit/business/session/view/question/QuestionAdapter.java
View file @
cbb6b083
...
...
@@ -99,7 +99,7 @@ public class QuestionAdapter extends BaseMultiItemQuickAdapter<QuestionMultiItem
break
;
case
6
:
convertType6
(
helper
,
item
);
break
;
case
7
:
helper
.
setText
(
R
.
id
.
multiple_type7_title
,
item
.
questionsBean
.
name
);
ImageView
image
=
helper
.
getView
(
R
.
id
.
image
);
...
...
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