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
14d7b0f3
Commit
14d7b0f3
authored
May 24, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:组件升级
parent
8bd160a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
config.gradle
config.gradle
+10
-10
ConfideBottomSheetDialogFragment.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
+2
-2
ConfideHomeEventImpl.kt
m-confide/src/main/java/com/ydl/confide/home/event/ConfideHomeEventImpl.kt
+2
-4
Route.kt
m-confide/src/main/modular_api/com/ydl/confide/api/Route.kt
+4
-3
No files found.
config.gradle
View file @
14d7b0f3
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.7
5
"
,
"m-confide"
:
"0.0.49.7
7
"
,
"m-consultant"
:
"0.0.60.21"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
...
...
@@ -20,7 +20,7 @@ ext {
//-------------- 业务模块 API 层 --------------
"m-audioim-api"
:
"0.0.6"
,
"m-confide-api"
:
"0.0.2.1
1
"
,
"m-confide-api"
:
"0.0.2.1
2
"
,
"m-consultant-api"
:
"0.0.5.63"
,
"m-course-api"
:
"0.0.3.6"
,
"m-fm-api"
:
"0.0.3"
,
...
...
@@ -35,19 +35,19 @@ ext {
//mdt 组件
"ydl-tuicore"
:
"0.0.22"
,
//第一步
"ydl-platform"
:
"0.0.41.1"
,
"ydl-platform"
:
"0.0.41.1
0
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.62"
,
"ydl-media"
:
"0.0.21.45"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.
88
"
,
"m-audioim"
:
"0.0.49.29.
92
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.3.93"
,
"ydl-utils"
:
"0.0.3.
5
"
,
"ydl-utils"
:
"0.0.3.
6
"
,
]
ydl_app
=
[
appName
:
"壹点灵心理咨询"
,
...
...
@@ -91,7 +91,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.7
5
"
,
"m-confide"
:
"0.0.49.7
7
"
,
"m-consultant"
:
"0.0.60.21"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
...
...
@@ -105,7 +105,7 @@ ext {
"m-course"
:
"0.0.43.37"
,
//-------------- 业务模块 API 层 --------------
"m-audioim-api"
:
"0.0.6"
,
"m-confide-api"
:
"0.0.2.1
1
"
,
"m-confide-api"
:
"0.0.2.1
2
"
,
"m-consultant-api"
:
"0.0.5.63"
,
"m-course-api"
:
"0.0.3.6"
,
"m-fm-api"
:
"0.0.3"
,
...
...
@@ -119,19 +119,19 @@ ext {
//mdt组件
"ydl-tuicore"
:
"0.0.22"
,
//第一步
"ydl-platform"
:
"0.0.41.1"
,
"ydl-platform"
:
"0.0.41.1
0
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.62"
,
"ydl-media"
:
"0.0.21.45"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.
88
"
,
"m-audioim"
:
"0.0.49.29.
92
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
"router"
:
"0.0.1"
,
"ydl-net"
:
"0.0.3.93"
,
"ydl-utils"
:
"0.0.3.
5
"
,
"ydl-utils"
:
"0.0.3.
6
"
,
]
dependencies
=
[
...
...
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
View file @
14d7b0f3
...
...
@@ -60,7 +60,7 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
lateinit
var
jumpUrl
:
String
lateinit
var
doctorId
:
String
var
shouldShow
:
Boolean
?
=
false
lateinit
var
uid
:
String
var
uid
:
String
?=
"0"
fun
showBottomSheetDialog
(
activity
:
FragmentActivity
,
jumpUrl
:
String
,
...
...
@@ -265,7 +265,7 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
override
fun
onProgressChanged
(
view
:
WebView
,
newProgress
:
Int
)
{
if
(
newProgress
==
100
)
{
wv_content
.
progressbar
.
visibility
=
View
.
GONE
callJsFun
(
wv_content
,
"setUnRead(${
getUnReadByUid(uid =uid )
})"
)
callJsFun
(
wv_content
,
"setUnRead(${
uid?.let { getUnReadByUid(uid = it) }
})"
)
}
else
{
if
(
wv_content
.
progressbar
.
visibility
==
View
.
GONE
)
{
wv_content
.
progressbar
.
visibility
=
View
.
VISIBLE
...
...
m-confide/src/main/java/com/ydl/confide/home/event/ConfideHomeEventImpl.kt
View file @
14d7b0f3
...
...
@@ -31,6 +31,7 @@ import com.ydl.media.view.PlayerFloatView
import
com.ydl.ydl_router.manager.YDLRouterManager
import
com.ydl.ydl_router.manager.YDLRouterParams
import
com.ydl.ydlcommon.base.BaseActivity
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.modular.route
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.utils.remind.ToastHelper
...
...
@@ -132,11 +133,8 @@ class ConfideHomeEventImpl(context: Context, var confideHomeView: IConfideHomeCo
* @param linkUrl 跳转地址
*/
override
fun
consultantClick
(
linkUrl
:
String
?,
doctorId
:
String
?)
{
if
(
linkUrl
.
isNullOrBlank
())
return
ConfideBottomSheetDialogFragment
()
.
showBottomSheetDialog
(
mContext
as
FragmentActivity
,
linkUrl
,
doctorId
!!
)
// link(linkUrl)
.
showBottomSheetDialog
(
mContext
as
FragmentActivity
,
HttpConfig
.
MH5_URL
+
ConfideRoute
.
h5ConfideIntro
(
doctorId
.
toString
()),
doctorId
!!
)
}
...
...
m-confide/src/main/modular_api/com/ydl/confide/api/Route.kt
View file @
14d7b0f3
...
...
@@ -2,9 +2,9 @@ package com.ydl.confide.api
object
ConfideRoute
{
const
val
R_VIDEO_SHOW
=
"
/
confide/expert_video"
const
val
R_VIDEO_SHOW
=
"confide/expert_video"
fun
h5ConfideIntro
(
id
:
String
)
=
"
/
jy/listenMask?listenerId=${id}"
fun
h5ConfideIntro
(
id
:
String
)
=
"jy/listenMask?listenerId=${id}"
fun
h5ExpertEval
(
id
:
String
)
=
"
/
comment/evaList/${id}?listenerId=${id}"
fun
h5ExpertEval
(
id
:
String
)
=
"comment/evaList/${id}?listenerId=${id}"
}
\ 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