Commit 9b22465e by 严久程

flutter页面适配

parent cc25e78b
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.29.9", "m-fm" : "0.0.29.9",
"m-user" : "0.0.60.11", "m-user" : "0.0.60.11",
"m-home" : "0.0.22.3", "m-home" : "0.0.22.3",
"m-im" : "0.0.18.9", "m-im" : "0.0.18.10",
"m-dynamic" : "0.0.7.7", "m-dynamic" : "0.0.7.7",
"m-article" : "0.0.0.5", "m-article" : "0.0.0.5",
......
...@@ -8,6 +8,7 @@ import com.alibaba.android.arouter.facade.annotation.Route ...@@ -8,6 +8,7 @@ import com.alibaba.android.arouter.facade.annotation.Route
import com.channel.ydl_flutter_base.base.BaseFlutterFragment import com.channel.ydl_flutter_base.base.BaseFlutterFragment
import com.google.gson.Gson import com.google.gson.Gson
import com.ydl.ydl_router.manager.YDLRouterManager import com.ydl.ydl_router.manager.YDLRouterManager
import com.ydl.ydlcommon.bean.StatusBarOptions
import com.ydl.ydlcommon.data.http.BaseResponse import com.ydl.ydlcommon.data.http.BaseResponse
import com.ydl.ydlcommon.data.http.RxUtils import com.ydl.ydlcommon.data.http.RxUtils
import com.ydl.ydlcommon.data.http.ThrowableConsumer import com.ydl.ydlcommon.data.http.ThrowableConsumer
...@@ -66,6 +67,11 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() { ...@@ -66,6 +67,11 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() {
} }
} }
override fun getStatusViewOptions(): StatusBarOptions {
return StatusBarOptions(true, true)
}
/** /**
* 获取优惠券信息 * 获取优惠券信息
*/ */
......
...@@ -11,7 +11,7 @@ import org.json.JSONObject ...@@ -11,7 +11,7 @@ import org.json.JSONObject
* flutter版测评首页 * flutter版测评首页
* Created by xj on 2019/11/19. * Created by xj on 2019/11/19.
*/ */
@Route(path = "/tests/home") @Route(path = "/ceshi/home")
class NewTestHomeActivity : BaseFlutterActivity() { class NewTestHomeActivity : BaseFlutterActivity() {
override fun initialRoute(): String { override fun initialRoute(): String {
return "test/home" return "test/home"
......
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