Commit 2109f749 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 96419938
......@@ -185,13 +185,13 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
tv_vip_hint.visibility = View.INVISIBLE
}
if (!TextUtils.isEmpty(bean.buttonText)) {
tvVipPay.text = bean.buttonText
tvVipAgreement.text = "点击购买即表示您同意《自动续费协议》"
} else {
// if (!TextUtils.isEmpty(bean.buttonText)) {
// tvVipPay.text = bean.buttonText
// tvVipAgreement.text = "点击购买即表示您同意《自动续费协议》"
// } else {
tvVipPay.text = "立即开通"
tvVipAgreement.text = "点击购买即表示您同意《会员付费协议》"
}
// }
if (bean.title.contains("日") || bean.title.contains("周")) {
iv_vip_pic.setImageResource(R.mipmap.bg_vip3)
......
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