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
bd66a82e
Commit
bd66a82e
authored
May 31, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 评价跳转url修改
parent
b7e127a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
ItemIntroHolder.kt
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
+11
-7
No files found.
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
View file @
bd66a82e
...
@@ -21,6 +21,8 @@ import com.ydl.confide.home.ConfideBottomSheetDialogFragment
...
@@ -21,6 +21,8 @@ import com.ydl.confide.home.ConfideBottomSheetDialogFragment
import
com.ydl.confide.home.bean.ConfideHomeBodyBean
import
com.ydl.confide.home.bean.ConfideHomeBodyBean
import
com.ydl.confide.home.modular.service.ConfideWebServiceImpl
import
com.ydl.confide.home.modular.service.ConfideWebServiceImpl
import
com.ydl.confide.router.PhoneCallIn
import
com.ydl.confide.router.PhoneCallIn
import
com.ydl.webview.H5Params
import
com.ydl.webview.NewH5Activity
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.modular.findRouteService
import
com.ydl.ydlcommon.modular.findRouteService
import
com.ydl.ydlcommon.utils.LogUtil
import
com.ydl.ydlcommon.utils.LogUtil
...
@@ -97,12 +99,14 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
...
@@ -97,12 +99,14 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
if
(
item
.
isVideo
)
"1"
else
"2"
,
if
(
item
.
isVideo
)
"1"
else
"2"
,
"8"
"8"
)
)
ConfideBottomSheetDialogFragment
()
val
url
=
HttpConfig
.
MH5_URL
+
ConfideRoute
.
h5ExpertEval
(
it
,
item
.
confideId
?:
""
)
.
showBottomSheetDialog
(
NewH5Activity
.
start
(
itemView
.
context
,
H5Params
(
url
,
""
))
itemView
.
context
as
FragmentActivity
,
// ConfideBottomSheetDialogFragment()
HttpConfig
.
MH5_URL
+
ConfideRoute
.
h5ExpertEval
(
it
,
item
.
confideId
?:
""
),
// .showBottomSheetDialog(
it
,
uid
=
item
.
uid
// itemView.context as FragmentActivity,
)
// HttpConfig.MH5_URL + ConfideRoute.h5ExpertEval(it, item.confideId ?: ""),
// it, uid = item.uid
// )
}
}
}
}
binding
.
tvName
.
setOnClickListener
{
binding
.
tvName
.
setOnClickListener
{
...
@@ -345,7 +349,7 @@ internal fun VideoViewModel.mapOf(bean: ConfideHomeBodyBean): VideoViewModel {
...
@@ -345,7 +349,7 @@ internal fun VideoViewModel.mapOf(bean: ConfideHomeBodyBean): VideoViewModel {
name
.
set
(
bean
.
confidedName
)
name
.
set
(
bean
.
confidedName
)
avatar
.
set
(
bean
.
confidedIcon
)
avatar
.
set
(
bean
.
confidedIcon
)
val
num
=
bean
.
confideNum
?.
replace
(
"人"
,
""
)
?:
"0"
val
num
=
bean
.
confideNum
?.
replace
(
"人"
,
""
)
?:
"0"
count
.
set
(
"倾
听
人次 $num"
)
count
.
set
(
"倾
诉
人次 $num"
)
intro
.
set
(
bean
.
confideContent
)
intro
.
set
(
bean
.
confideContent
)
title
.
set
(
bean
.
title
)
title
.
set
(
bean
.
title
)
val
sb
=
StringBuilder
()
val
sb
=
StringBuilder
()
...
...
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