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
8120eee6
Commit
8120eee6
authored
May 18, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
课程首页 ui
parent
76f38c7f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
config.gradle
config.gradle
+3
-3
CourseActivity.java
m-course/src/main/java/com/yidianling/course/CourseActivity.java
+9
-0
FlutterCourseHomeFragment.kt
m-course/src/main/java/com/yidianling/course/FlutterCourseHomeFragment.kt
+1
-1
YDLCommonPlugin.kt
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
+1
-1
No files found.
config.gradle
View file @
8120eee6
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
...
...
@@ -40,7 +40,7 @@ ext {
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.9"
,
"m-audioim"
:
"0.0.49.29.4"
,
"ydl-flutter-base"
:
"0.0.14.1
5
"
,
"ydl-flutter-base"
:
"0.0.14.1
6
"
,
//以下 几乎不会动
"router"
:
"0.0.1"
,
...
...
@@ -271,7 +271,7 @@ ext {
//flutter功能组件升级===>发布ydl-flutter组件===>引用flutter相关的业务模块
"ydl-flutter-base"
:
"com.ydl:ydl-flutter-base:${ydlCompileVersion["
ydl
-
flutter
-
base
"]}"
,
//组件化项目中的flutter base模块
"ydl-flutter"
:
"com.ydl:ydl-flutter:0.0.
18.6
@aar"
,
//flutter aar
"ydl-flutter"
:
"com.ydl:ydl-flutter:0.0.
20
@aar"
,
//flutter aar
"ydl-flutter-sp"
:
"com.ydl:ydl-flutter-sp:0.0.2@aar"
,
//flutter 缓存 aar
//基础组件 <<--- 先发这个,发完改这里的版本号
...
...
m-course/src/main/java/com/yidianling/course/CourseActivity.java
View file @
8120eee6
...
...
@@ -5,8 +5,10 @@ import android.support.v4.app.Fragment;
import
com.alibaba.android.arouter.facade.annotation.Route
;
import
com.ydl.ydlcommon.base.BaseActivity
;
import
com.ydl.ydlcommon.bean.StatusBarOptions
;
import
com.ydl.ydlcommon.utils.StatusBarUtils
;
import
org.jetbrains.annotations.NotNull
;
import
org.jetbrains.annotations.Nullable
;
/**
...
...
@@ -34,6 +36,13 @@ public class CourseActivity extends BaseActivity {
}
@NotNull
@Override
public
StatusBarOptions
getStatusViewOptions
()
{
return
new
StatusBarOptions
(
false
,
true
);
}
/**
* 初始化tab
*/
...
...
m-course/src/main/java/com/yidianling/course/FlutterCourseHomeFragment.kt
View file @
8120eee6
...
...
@@ -69,7 +69,7 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() {
override
fun
getStatusViewOptions
():
StatusBarOptions
{
return
StatusBarOptions
(
tru
e
,
true
)
return
StatusBarOptions
(
fals
e
,
true
)
}
/**
...
...
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
View file @
8120eee6
...
...
@@ -86,7 +86,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
}
else
{
isDevelopment
=
YDLConstants
.
ENV_TEST
==
appEnv
||
YDLConstants
.
ENV_AUTO_TEST
==
appEnv
}
mMap
[
"isDevelopment"
]
=
i
sDevelopment
mMap
[
"isDevelopment"
]
=
i
f
(
isDevelopment
)
"1"
else
"0"
mMap
[
"uid"
]
=
if
(
TextUtils
.
isEmpty
(
uid
))
"0"
else
uid
mMap
[
"accessToken"
]
=
loginBean
?.
token
?:
""
...
...
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