Commit 13befde2 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent a18b73e4
......@@ -341,7 +341,8 @@ class SquareFragment : LazyLoadBaseFragment(), SquareView, View.OnClickListener
override fun getBaseMsgSuc(data: UserBean) {
this.idStatus = data.idcardStatus
if (data.planSex == 1) {
// 男链 或 女链选择男性用户
if (data.planSex == 1 || (data.planSex == 2 && data.sex == 1)) {
// if (false) {
// 男
ll_user_root.visibility = View.GONE
......@@ -350,7 +351,7 @@ class SquareFragment : LazyLoadBaseFragment(), SquareView, View.OnClickListener
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
startActivity(intent)
}
} else if (data.planSex == 2) {
} else {
// } else {
// 女
// 认证状态,0-未认证 1 已认证 2-认证中
......
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