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
463b89e1
Commit
463b89e1
authored
2 years ago
by
范玉宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add article title for writedata
parent
693e5fca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
WVClickAbstractListener.java
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
+1
-1
config.gradle
config.gradle
+1
-1
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+3
-2
No files found.
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
View file @
463b89e1
...
...
@@ -532,7 +532,7 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
@Override
public
void
showCommentArticleDialog
(
H5JsBean
.
H5JsCmd
.
Params
params
)
{
if
(
mContext
instanceof
NewH5Activity
){
((
NewH5Activity
)
mContext
).
showCommentArticleDialog
();
((
NewH5Activity
)
mContext
).
showCommentArticleDialog
(
params
.
getTitle
()
);
}
}
...
...
This diff is collapsed.
Click to expand it.
config.gradle
View file @
463b89e1
ext
{
dev_mode
=
false
//组件发布的时候需要设置为false
ydl2PublishVersion
=
"0.2.0.1
5-lo
"
ydl2PublishVersion
=
"0.2.0.1
8-local
"
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
463b89e1
...
...
@@ -1545,9 +1545,10 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
public
void
showCommentArticleDialog
(){
public
void
showCommentArticleDialog
(
String
title
){
if
(
commentArticleDialog
==
null
)
{
commentArticleDialog
=
ArticleDialogFragment
.
newInstance
(
wv_content
.
getTitle
());
String
titleStr
=
title
==
null
?
wv_content
.
getTitle
():
title
;
commentArticleDialog
=
ArticleDialogFragment
.
newInstance
(
titleStr
);
commentArticleDialog
.
setOnPublishListener
(
comment
->
{
callJSFunc
(
"sendComment('"
+
comment
+
"')"
);
});
...
...
This diff is collapsed.
Click to expand it.
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