Commit 10b6ab79 authored by mengcuiguang2's avatar mengcuiguang2

new pro

parent 42a9fb2e
......@@ -149,21 +149,11 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
private fun loginStatus(consumer: UserBean) {
// 1-匹配用户
if (consumer.activiteFlag == 1) {
// 匹配
ll_my_vip.visibility = View.VISIBLE
ll_my_payrecord.visibility = View.VISIBLE
ll_contactus.visibility = View.VISIBLE
line_my_payrecord.visibility = View.VISIBLE
line_my_contactus.visibility = View.VISIBLE
} else {
// 未匹配
ll_my_vip.visibility = View.GONE
ll_my_payrecord.visibility = View.GONE
ll_contactus.visibility = View.GONE
line_my_payrecord.visibility = View.GONE
line_my_contactus.visibility = View.GONE
}
// 2-是否有手机号
if (!TextUtils.isEmpty(userManager.mobile)) {
......
......@@ -95,8 +95,7 @@
android:layout_marginRight="10dp"
android:background="@mipmap/bg_my_vip"
android:orientation="vertical"
android:paddingLeft="24dp"
android:visibility="gone">
android:paddingLeft="24dp">
<TextView
android:id="@+id/tv_my_vip"
......@@ -241,8 +240,7 @@
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="15dp"
android:visibility="gone">
android:paddingEnd="15dp">
<TextView
android:layout_width="0dp"
......@@ -305,8 +303,7 @@
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="15dp"
android:visibility="gone">
android:paddingEnd="15dp">
<TextView
android:id="@+id/tv_contact"
......
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