Commit 9185435e authored by mengcuiguang's avatar mengcuiguang

代码优化

parent c9ee7189
......@@ -149,11 +149,17 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
homePresenter.topTabs()
homePresenter.orders()
TrackManager.getInstance().getMyInfo()
getData()
// showRecommendAct()
}
AppConfig.showVipAdDialog = false
if (userManager.vipFlag) {
iv_sign_main.visibility = View.VISIBLE
getData()
} else {
iv_sign_main.visibility = View.GONE
}
}
}
......@@ -263,9 +269,16 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
DialogUtils.showDialog(
requireActivity(),
SpanUtils()
.append("如有问题请联系客服\n" +
"4000969950")
.setForegroundColor(ContextCompat.getColor(requireContext(), R.color.tv_message_recente_money))
.append(
"如有问题请联系客服\n" +
"4000969950"
)
.setForegroundColor(
ContextCompat.getColor(
requireContext(),
R.color.tv_message_recente_money
)
)
.create(),
"提示",
"确定",
......
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