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
059db176
Commit
059db176
authored
Mar 05, 2020
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测评频道页返回按钮显示逻辑
parent
ace085a8
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
12 deletions
+9
-12
config.gradle
config.gradle
+1
-1
TestPlugin.kt
m-tests/src/main/java/com/yidianling/tests/home/plugin/TestPlugin.kt
+5
-8
user_activity_check_password.xml
m-user/src/main/res/layout/user_activity_check_password.xml
+1
-1
user_activity_finger_print_set.xml
m-user/src/main/res/layout/user_activity_finger_print_set.xml
+1
-1
user_activity_hand_unlock_set.xml
m-user/src/main/res/layout/user_activity_hand_unlock_set.xml
+1
-1
No files found.
config.gradle
View file @
059db176
...
@@ -51,7 +51,7 @@ ext {
...
@@ -51,7 +51,7 @@ ext {
"m-dynamic"
:
"0.0.7.3"
,
"m-dynamic"
:
"0.0.7.3"
,
"m-muse"
:
"0.0.28.8"
,
"m-muse"
:
"0.0.28.8"
,
"m-tests"
:
"0.0.23.
8
"
,
"m-tests"
:
"0.0.23.
9
"
,
"m-course"
:
"0.0.41.9"
,
"m-course"
:
"0.0.41.9"
,
//-------------- 业务模块 API 层 --------------
//-------------- 业务模块 API 层 --------------
...
...
m-tests/src/main/java/com/yidianling/tests/home/plugin/TestPlugin.kt
View file @
059db176
...
@@ -9,7 +9,6 @@ import com.ydl.ydl_router.manager.YDLRouterManager
...
@@ -9,7 +9,6 @@ import com.ydl.ydl_router.manager.YDLRouterManager
import
com.ydl.ydl_router.manager.YDLRouterParams
import
com.ydl.ydl_router.manager.YDLRouterParams
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.utils.LogUtil
import
com.yidianling.tests.list.view.TestCategoryListActivity
import
com.yidianling.tests.list.view.TestCategoryListActivity
import
com.yidianling.tests.router.TestsIn
import
com.yidianling.tests.router.TestsIn
import
com.yidianling.tests.search.TestSearchActivity
import
com.yidianling.tests.search.TestSearchActivity
...
@@ -38,13 +37,16 @@ class TestPlugin : MethodChannel.MethodCallHandler {
...
@@ -38,13 +37,16 @@ class TestPlugin : MethodChannel.MethodCallHandler {
const
val
TEST_LIST_ITEM_CLICK
=
"testListItemClick"
// 测评列表点击
const
val
TEST_LIST_ITEM_CLICK
=
"testListItemClick"
// 测评列表点击
const
val
LOOK_ALL_TEST
=
"lookAllTest"
// 查看全部测评
const
val
LOOK_ALL_TEST
=
"lookAllTest"
// 查看全部测评
const
val
IS_HIDE_LEFT_BACK
=
"hideLeftBackLL"
// 是否隐藏标题左侧布局
const
val
IS_HIDE_LEFT_BACK
=
"hideLeftBackLL"
// 是否隐藏标题左侧布局
public
var
testDelegate
:
TestPluginDelegate
?=
null
var
isHideLeftBack
=
false
// 是否隐藏标题左侧布局
fun
register
(
activity
:
FlutterActivity
)
{
fun
register
(
activity
:
FlutterActivity
)
{
isHideLeftBack
=
false
MethodChannel
(
activity
.
flutterView
,
CHANNEL
).
setMethodCallHandler
(
TestPlugin
(
activity
))
MethodChannel
(
activity
.
flutterView
,
CHANNEL
).
setMethodCallHandler
(
TestPlugin
(
activity
))
}
}
fun
register
(
fragment
:
BaseFlutterFragment
,
flutterView
:
FlutterView
)
{
fun
register
(
fragment
:
BaseFlutterFragment
,
flutterView
:
FlutterView
)
{
isHideLeftBack
=
true
MethodChannel
(
flutterView
,
CHANNEL
).
setMethodCallHandler
(
TestPlugin
(
fragment
.
activity
))
MethodChannel
(
flutterView
,
CHANNEL
).
setMethodCallHandler
(
TestPlugin
(
fragment
.
activity
))
}
}
}
}
...
@@ -100,12 +102,7 @@ class TestPlugin : MethodChannel.MethodCallHandler {
...
@@ -100,12 +102,7 @@ class TestPlugin : MethodChannel.MethodCallHandler {
}
}
}
}
IS_HIDE_LEFT_BACK
->
{
IS_HIDE_LEFT_BACK
->
{
var
hideBack
=
false
result
.
success
(
isHideLeftBack
)
if
(
testDelegate
!=
null
){
hideBack
=
testDelegate
?.
getHideBack
()
?:
false
}
LogUtil
.
i
(
"hideBack:$hideBack"
)
result
.
success
(
hideBack
)
}
}
}
}
}
}
...
...
m-user/src/main/res/layout/user_activity_check_password.xml
View file @
059db176
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
android:background=
"@color/platform_white"
android:background=
"@color/platform_white"
app:pa_left_start_icon=
"@drawable/
user_nav_close_green
"
app:pa_left_start_icon=
"@drawable/
platform_common_back
"
app:pa_title_text=
"登录验证"
/>
app:pa_title_text=
"登录验证"
/>
<TextView
<TextView
...
...
m-user/src/main/res/layout/user_activity_finger_print_set.xml
View file @
059db176
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
android:layout_height=
"50dp"
android:layout_height=
"50dp"
app:pa_title_text=
"开启指纹解锁"
app:pa_title_text=
"开启指纹解锁"
android:background=
"@color/platform_white"
android:background=
"@color/platform_white"
app:pa_left_start_icon=
"@drawable/
user_nav_close_green
"
>
app:pa_left_start_icon=
"@drawable/
platform_common_back
"
>
</com.ydl.ydlcommon.view.TitleBar>
</com.ydl.ydlcommon.view.TitleBar>
<TextView
<TextView
...
...
m-user/src/main/res/layout/user_activity_hand_unlock_set.xml
View file @
059db176
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
app:pa_title_text=
"设置手势解锁"
app:pa_title_text=
"设置手势解锁"
app:pa_left_start_icon=
"@drawable/
user_nav_close_green
"
app:pa_left_start_icon=
"@drawable/
platform_common_back
"
app:pa_right_text=
"重设"
>
app:pa_right_text=
"重设"
>
</com.ydl.ydlcommon.view.TitleBar>
</com.ydl.ydlcommon.view.TitleBar>
...
...
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