|
|
|
@ -42,10 +42,13 @@ class DialogActivities (context:Context,var bannerBean: BannerBean?): BaseDialog
|
|
|
|
|
|
|
|
|
|
binding.imgActivies.setOnClickListener {
|
|
|
|
|
bannerBean?.let {
|
|
|
|
|
var bundle = Bundle()
|
|
|
|
|
bundle.putString("title", it.title)
|
|
|
|
|
bundle.putString("url", it.linkAddress)
|
|
|
|
|
RouteManager.goAct(ARouterUrl.WEB_ACT, bundle)
|
|
|
|
|
if(it.bannerType != 5 &&it.linkAddress.startsWith("http")){
|
|
|
|
|
var bundle = Bundle()
|
|
|
|
|
bundle.putString("title", it.title)
|
|
|
|
|
bundle.putString("url", it.linkAddress)
|
|
|
|
|
RouteManager.goAct(ARouterUrl.WEB_ACT, bundle)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|