Commit 97d27c3a authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 344fe796
......@@ -90,7 +90,7 @@ public interface LoanService {
/**
* 查询vip产品
*/
@POST("vip/getVipProducts")
@POST("vip/vedioV1/getVipProducts")
Observable<BaseResponse<VipBean>> getVipProducts(@Body Map<String, Object> vo);
/**
......
......@@ -174,16 +174,12 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
// 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
}
......
......@@ -96,8 +96,7 @@
android:layout_marginRight="10dp"
android:background="@mipmap/bg_my_vip"
android:orientation="vertical"
android:paddingStart="24dp"
android:visibility="visible">
android:paddingStart="24dp">
<TextView
android:id="@+id/tv_my_vip"
......
......@@ -3,19 +3,17 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/shape_banner_write"
android:paddingLeft="5dp"
android:paddingRight="5dp">
android:layout_margin="5dp"
android:background="@drawable/shape_bg_write">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="180dp">
android:layout_height="200dp">
<ImageView
android:id="@+id/ivVedioItem"
android:layout_width="match_parent"
android:layout_height="180dp"
android:minWidth="106dp"
android:layout_height="200dp"
android:scaleType="fitXY" />
<RelativeLayout
......@@ -61,10 +59,11 @@
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:singleLine="true"
android:layout_marginLeft="4dp"
android:text="我去平行时空"
android:layout_marginBottom="6dp"
android:textColor="@color/black"
android:textSize="13sp" />
android:textSize="14sp" />
<TextView
android:id="@+id/tvVedioItemText"
......
......@@ -10,6 +10,7 @@
android:id="@+id/item1"
layout="@layout/item_hot_style"
android:layout_width="0dp"
android:layout_marginRight="4dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
......@@ -18,6 +19,7 @@
android:id="@+id/item2"
layout="@layout/item_hot_style"
android:layout_width="0dp"
android:layout_marginLeft="4dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
......
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