Commit 755b1ba4 authored by jyx's avatar jyx

代码优化

parent b4569a21
......@@ -151,7 +151,13 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
override fun getVipProductSuc(data: VipBean) {
if (!isFinishing) {
if (data.list != null && data.list.size > 0) {
vipList = data.list
vipList = if (data.list[0].trial != 0) {
val list = data.list
list.removeAt(0)
list
} else {
data.list
}
//设置content样式
if (vipList != null && vipList!!.size > 0) {
......@@ -315,7 +321,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
// }
// backPayYesDialog(vipBean)
// } else {
finish()
finish()
// }
}
R.id.tvVipPay -> {
......
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