Commit 8120eee6 by 严久程

课程首页 ui

parent 76f38c7f
ext {
kotlin_version = "1.3.21"
dev_mode = false
dev_mode = true
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.15",
"ydl-flutter-base": "0.0.14.16",
//以下 几乎不会动
"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
//基础组件 <<--- 先发这个,发完改这里的版本号
......
......@@ -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
*/
......
......@@ -69,7 +69,7 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() {
override fun getStatusViewOptions(): StatusBarOptions {
return StatusBarOptions(true, true)
return StatusBarOptions(false, true)
}
/**
......
......@@ -86,7 +86,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
} else {
isDevelopment = YDLConstants.ENV_TEST == appEnv || YDLConstants.ENV_AUTO_TEST == appEnv
}
mMap["isDevelopment"] = isDevelopment
mMap["isDevelopment"] = if(isDevelopment) "1" else "0"
mMap["uid"] = if (TextUtils.isEmpty(uid)) "0" else uid
mMap["accessToken"] = loginBean?.token ?: ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment