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
37fc4209
Commit
37fc4209
authored
Dec 23, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级webview模块
parent
c5e2b42b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
WVClickAbstractListener.java
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
+4
-2
config.gradle
config.gradle
+1
-1
MoreClickView.kt
ydl-webview/src/main/java/com/ydl/view/MoreClickView.kt
+4
-0
No files found.
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
View file @
37fc4209
...
@@ -379,7 +379,9 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
...
@@ -379,7 +379,9 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
@Override
@Override
public
void
openRightTopMenu
()
{
public
void
openRightTopMenu
()
{
if
(
mContext
instanceof
NewH5Activity
)
{
((
NewH5Activity
)
mContext
).
openRightTopMenu
();
}
}
}
@Override
@Override
...
@@ -403,7 +405,7 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
...
@@ -403,7 +405,7 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
final
StringBuffer
sb
=
new
StringBuffer
();
final
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
callbackFuncName
);
sb
.
append
(
callbackFuncName
);
sb
.
append
(
"('"
);
sb
.
append
(
"('"
);
sb
.
append
(
"33
3
"
);
sb
.
append
(
"33
,125
"
);
sb
.
append
(
"')"
);
sb
.
append
(
"')"
);
if
(
mContext
instanceof
NewH5Activity
)
{
if
(
mContext
instanceof
NewH5Activity
)
{
((
NewH5Activity
)
mContext
).
callJSFunc
(
sb
.
toString
());
((
NewH5Activity
)
mContext
).
callJSFunc
(
sb
.
toString
());
...
...
config.gradle
View file @
37fc4209
...
@@ -74,7 +74,7 @@ ext {
...
@@ -74,7 +74,7 @@ ext {
"ydl-platform"
:
"0.0.29.3"
,
"ydl-platform"
:
"0.0.29.3"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.28.1
1
"
,
"ydl-webview"
:
"0.0.28.1
2
"
,
"ydl-media"
:
"0.0.14.4"
,
"ydl-media"
:
"0.0.14.4"
,
"ydl-pay"
:
"0.0.11.5"
,
"ydl-pay"
:
"0.0.11.5"
,
"m-audioim"
:
"0.0.40.4"
,
"m-audioim"
:
"0.0.40.4"
,
...
...
ydl-webview/src/main/java/com/ydl/view/MoreClickView.kt
View file @
37fc4209
...
@@ -50,8 +50,12 @@ class MoreClickView @JvmOverloads constructor(private val mContext: Context, att
...
@@ -50,8 +50,12 @@ class MoreClickView @JvmOverloads constructor(private val mContext: Context, att
un_read_num
.
visibility
=
View
.
GONE
un_read_num
.
visibility
=
View
.
GONE
}
}
else
{
else
{
if
(
unreadNum
>
99
)
{
un_read_num
.
text
=
"${unreadNum}+"
}
else
{
un_read_num
.
text
=
unreadNum
.
toString
()
un_read_num
.
text
=
unreadNum
.
toString
()
}
}
}
}
}
...
...
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