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
63f87c2c
Commit
63f87c2c
authored
Mar 10, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 文章主页返回按钮点击事件添加处理
parent
9a97b5d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
build.gradle
app/build.gradle
+3
-1
config.gradle
config.gradle
+4
-2
YDLCommonPlugin.kt
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
+4
-0
No files found.
app/build.gradle
View file @
63f87c2c
...
@@ -211,7 +211,8 @@ dependencies {
...
@@ -211,7 +211,8 @@ dependencies {
implementation
project
(
':m-im'
)
implementation
project
(
':m-im'
)
implementation
project
(
':m-dynamic'
)
implementation
project
(
':m-dynamic'
)
implementation
project
(
':m-audioim'
)
implementation
project
(
':m-audioim'
)
//文章模块
implementation
project
(
':m-article'
)
// api rootProject.ext.dependencies["ydl-m-fm-module-ydl"]
// api rootProject.ext.dependencies["ydl-m-fm-module-ydl"]
// api rootProject.ext.dependencies["ydl-m-fm-api"]
// api rootProject.ext.dependencies["ydl-m-fm-api"]
...
@@ -226,6 +227,7 @@ dependencies {
...
@@ -226,6 +227,7 @@ dependencies {
api
rootProject
.
ext
.
dependencies
[
"ydl-webview"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-webview"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-fm-api"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-fm-api"
]
api
rootProject
.
ext
.
dependencies
[
"m-article"
]
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
transitive
=
true
transitive
=
true
}
}
...
...
config.gradle
View file @
63f87c2c
...
@@ -40,7 +40,7 @@ ext {
...
@@ -40,7 +40,7 @@ ext {
"ydl-media"
:
"0.0.21.6"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.13"
,
"ydl-pay"
:
"0.0.18.13"
,
"m-audioim"
:
"0.0.49.29.22"
,
"m-audioim"
:
"0.0.49.29.22"
,
"ydl-flutter-base"
:
"0.0.14.2
0
"
,
"ydl-flutter-base"
:
"0.0.14.2
2
"
,
//以下 几乎不会动
//以下 几乎不会动
"router"
:
"0.0.1"
,
"router"
:
"0.0.1"
,
...
@@ -95,6 +95,8 @@ ext {
...
@@ -95,6 +95,8 @@ ext {
"m-home"
:
"0.0.22.54"
,
"m-home"
:
"0.0.22.54"
,
"m-im"
:
"0.0.18.34"
,
"m-im"
:
"0.0.18.34"
,
"m-dynamic"
:
"0.0.7.19"
,
"m-dynamic"
:
"0.0.7.19"
,
"m-article"
:
"0.0.0.6"
,
"m-muse"
:
"0.0.20.7"
,
"m-muse"
:
"0.0.20.7"
,
"m-tests"
:
"0.0.24.9"
,
"m-tests"
:
"0.0.24.9"
,
...
@@ -121,7 +123,7 @@ ext {
...
@@ -121,7 +123,7 @@ ext {
"ydl-media"
:
"0.0.21.6"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.11"
,
"ydl-pay"
:
"0.0.18.11"
,
"m-audioim"
:
"0.0.49.29.22"
,
"m-audioim"
:
"0.0.49.29.22"
,
"ydl-flutter-base"
:
"0.0.14.2
0
"
,
"ydl-flutter-base"
:
"0.0.14.2
2
"
,
//以下 几乎不会动
//以下 几乎不会动
"router"
:
"0.0.1"
,
"router"
:
"0.0.1"
,
...
...
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
View file @
63f87c2c
...
@@ -55,6 +55,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
...
@@ -55,6 +55,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
const
val
REQUESTMAINSCROLLFOCUS
:
String
=
"requestMainScrollFocus"
const
val
REQUESTMAINSCROLLFOCUS
:
String
=
"requestMainScrollFocus"
const
val
RELEASEMAINSCROLLFOCUS
:
String
=
"releaseMainScrollFocus"
const
val
RELEASEMAINSCROLLFOCUS
:
String
=
"releaseMainScrollFocus"
const
val
ACTION_HTTP_BURIED_POINT
:
String
=
"action_http_buried_point"
const
val
ACTION_HTTP_BURIED_POINT
:
String
=
"action_http_buried_point"
const
val
PAGE_GO_BACK
:
String
=
"pageGoBack"
//返回上一页
//activity注册
//activity注册
fun
activityRegister
(
activity
:
FlutterActivity
)
{
fun
activityRegister
(
activity
:
FlutterActivity
)
{
...
@@ -193,6 +194,9 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
...
@@ -193,6 +194,9 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
ActionCountUtils
.
count
(
"$partId|$position"
,
sign
)
ActionCountUtils
.
count
(
"$partId|$position"
,
sign
)
}
}
PAGE_GO_BACK
->{
mActivity
?.
finish
()
}
}
}
}
}
...
...
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