Commit 874c069c authored by jyx's avatar jyx

代码优化

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