Commit af57d6e8 authored by jyx's avatar jyx

签约时不展示微信支付

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