Commit ad762e19 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

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