Commit 9185435e authored by mengcuiguang's avatar mengcuiguang

代码优化

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