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
a231a39b
Commit
a231a39b
authored
Jun 28, 2022
by
fengquan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/d/v4.3.99' into fix/fq/fq_fix_4.3.99
parents
12c03c1b
f7157301
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
JsMethod.kt
app/src/main/java/com/ydl/component/service/web/JsMethod.kt
+3
-3
config.gradle
config.gradle
+2
-2
ConfideBottomSheetDialogFragment.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
+8
-1
No files found.
app/src/main/java/com/ydl/component/service/web/JsMethod.kt
View file @
a231a39b
...
...
@@ -36,12 +36,12 @@ class JsMethod {
return
true
}
"show_loading"
->
{
val
topActivity
=
BaseActivityMgr
.
INST
.
getTopActivity
()
Loading
.
show
(
topActivity
)
//
val topActivity = BaseActivityMgr.INST.getTopActivity()
//
Loading.show(topActivity)
return
true
}
"close_loading"
->
{
Loading
.
close
()
//
Loading.close()
return
true
}
"open_app_eval_list"
->{
...
...
config.gradle
View file @
a231a39b
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.4
2
"
,
"m-confide"
:
"0.0.50.4
3
"
,
"m-consultant"
:
"0.0.60.70"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.55"
,
...
...
@@ -91,7 +91,7 @@ ext {
ydlCompileVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.4
2
"
,
"m-confide"
:
"0.0.50.4
3
"
,
"m-consultant"
:
"0.0.60.70"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.55"
,
...
...
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
View file @
a231a39b
...
...
@@ -145,7 +145,6 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
uid
=
arguments
?.
getString
(
KEY_UID
)
listen_free
=
arguments
?.
getBoolean
(
KEY_LISTEN_FREE
)
?:
false
onLoadDialStatus
(
doctorId
)
// +
wv_content
=
view
.
findViewById
<
ProgressWebView
>(
com
.
ydl
.
webview
.
R
.
id
.
wv_content
)
wv_content
.
progressbar
.
visibility
=
View
.
GONE
close_webview_Icon
=
view
.
findViewById
<
View
>(
R
.
id
.
close_webview_Icon
)
...
...
@@ -449,6 +448,14 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
override
fun
onProgressChanged
(
view
:
WebView
,
newProgress
:
Int
)
{
if
(
newProgress
==
100
)
{
wv_content
.
progressbar
.
visibility
=
View
.
GONE
}
else
{
if
(
wv_content
.
progressbar
.
visibility
==
View
.
GONE
)
{
wv_content
.
progressbar
.
visibility
=
View
.
VISIBLE
}
wv_content
.
progressbar
.
progress
=
newProgress
}
if
(
newProgress
==
100
)
{
callJsFun
(
wv_content
,
"setUnRead(${uid?.let { getUnReadByUid(uid = it) }})"
)
}
super
.
onProgressChanged
(
view
,
newProgress
)
...
...
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