Commit af57d6e8 authored by jyx's avatar jyx

签约时不展示微信支付

parent b011a6df
...@@ -296,6 +296,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On ...@@ -296,6 +296,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
if (!TextUtils.isEmpty(bean.remarks)) { if (!TextUtils.isEmpty(bean.remarks)) {
tv_vip_hint.text = bean.remarks tv_vip_hint.text = bean.remarks
tv_vip_hint.visibility = View.VISIBLE tv_vip_hint.visibility = View.VISIBLE
ll_vip_wx.visibility = View.GONE
if (bean.isShowCycTips) { if (bean.isShowCycTips) {
tv_vip_hint.setTextColor(Color.parseColor("#FFAC5E")) tv_vip_hint.setTextColor(Color.parseColor("#FFAC5E"))
tv_vip_hint.textSize = 12f tv_vip_hint.textSize = 12f
...@@ -304,6 +305,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On ...@@ -304,6 +305,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
tv_vip_hint.textSize = 10f tv_vip_hint.textSize = 10f
} }
} else { } else {
ll_vip_wx.visibility = View.VISIBLE
tv_vip_hint.visibility = View.GONE tv_vip_hint.visibility = View.GONE
} }
if (bean.isShowCycTips) { if (bean.isShowCycTips) {
...@@ -538,6 +540,8 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On ...@@ -538,6 +540,8 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
val linearLayoutManager = LinearLayoutManager(this) val linearLayoutManager = LinearLayoutManager(this)
linearLayoutManager.orientation = LinearLayoutManager.HORIZONTAL linearLayoutManager.orientation = LinearLayoutManager.HORIZONTAL
rvVip.layoutManager = linearLayoutManager rvVip.layoutManager = linearLayoutManager
rvVip.setItemViewCacheSize(0)
rvVip.isDrawingCacheEnabled = false
vipAdapter = VipAdapter(vipList) vipAdapter = VipAdapter(vipList)
rvVip.adapter = vipAdapter rvVip.adapter = vipAdapter
vipAdapter.setOnItemClickListener(this) vipAdapter.setOnItemClickListener(this)
......
...@@ -181,8 +181,8 @@ ...@@ -181,8 +181,8 @@
android:gravity="center_vertical"> android:gravity="center_vertical">
<ImageView <ImageView
android:layout_width="12dp" android:layout_width="match_parent"
android:layout_height="12dp" android:layout_height="16dp"
android:src="@mipmap/ic_square_position" /> android:src="@mipmap/ic_square_position" />
<TextView <TextView
......
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