From ef4ad6195ba5cf2e61e50c86b735a65aec63b4e9 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期五, 28 三月 2025 15:00:21 +0800
Subject: [PATCH] 1.vip续费页面-会员权益 2.vip续费页面-更多权益 3.vip续费页面-付费面板

---
 app/src/main/res/layout/fragment_member_info_card.xml |   84 +++++++++++++++++++++++------------------
 1 files changed, 47 insertions(+), 37 deletions(-)

diff --git a/app/src/main/res/layout/fragment_member_info_card.xml b/app/src/main/res/layout/fragment_member_info_card.xml
index d42005b..5f2d2a6 100644
--- a/app/src/main/res/layout/fragment_member_info_card.xml
+++ b/app/src/main/res/layout/fragment_member_info_card.xml
@@ -16,51 +16,61 @@
         <!-- CardView 内部的内容 -->
         <androidx.cardview.widget.CardView
             android:layout_width="match_parent"
-            android:layout_height="100dp"
-            android:layout_marginTop="20dp"
+            android:layout_height="wrap_content"
             android:layout_marginLeft="15dp"
+            android:layout_marginTop="10dp"
             android:layout_marginRight="15dp"
-            app:cardCornerRadius="30dp"
-            android:elevation="2dp">  <!-- 设置CardView的elevation -->
+            android:elevation="2dp"
+            app:cardCornerRadius="10dp">  <!-- 设置CardView的elevation -->
 
 
-                <androidx.constraintlayout.widget.ConstraintLayout
-                    android:id="@+id/memberCard"
-                    android:layout_width="match_parent"
-                    android:layout_height="80dp"
-                    android:layout_marginTop="10dp"
-                    tools:ignore="MissingConstraints">
+            <androidx.constraintlayout.widget.ConstraintLayout
+                android:id="@+id/memberCard"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="10dp"
+                tools:ignore="MissingConstraints">
 
-                    <ImageView
-                        android:id="@+id/memberAvatarView"
-                        android:layout_width="60dp"
-                        android:layout_height="60dp"
-                        android:layout_marginLeft="10dp"
-                        android:layout_marginRight="10dp"
-                        android:scaleType="centerCrop"
-                        app:layout_constraintTop_toTopOf="parent"
-                        app:layout_constraintStart_toStartOf="parent" />
+                <ImageView
+                    android:id="@+id/memberAvatarView"
+                    android:layout_width="40dp"
+                    android:layout_height="40dp"
+                    android:layout_marginLeft="10dp"
+                    android:layout_marginRight="10dp"
+                    android:scaleType="centerCrop"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toTopOf="parent" />
 
-                    <TextView
-                        android:id="@+id/phoneNumberText"
-                        android:layout_width="120dp"
-                        android:layout_height="60dp"
-                        android:gravity="center"
-                        android:text="@{viewModel.phoneNumber}"
-                        app:layout_constraintTop_toTopOf="parent"
-                        app:layout_constraintStart_toEndOf="@id/memberAvatarView" />
+                <TextView
+                    android:id="@+id/phoneNumberText"
+                    android:layout_width="120dp"
+                    android:layout_height="40dp"
+                    android:gravity="center"
+                    android:text="@{viewModel.phoneNumber}"
+                    app:layout_constraintStart_toEndOf="@id/memberAvatarView"
+                    app:layout_constraintTop_toTopOf="parent" />
 
-                    <TextView
-                        android:layout_width="match_parent"
-                        android:layout_height="match_parent"
-                        android:layout_marginLeft="15dp"
-                        android:layout_marginTop="60dp"
-                        android:gravity="start"
-                        android:text="@{viewModel.memberStatus}" />
+<!--                <TextView-->
+<!--                    android:id="@+id/memberStatus"-->
+<!--                    android:layout_width="match_parent"-->
+<!--                    android:layout_height="wrap_content"-->
+<!--                    android:gravity="start"-->
+<!--                    android:text="@{viewModel.memberStatus}"-->
+<!--                    app:layout_constraintStart_toEndOf="@id/memberCard"-->
+<!--                    app:layout_constraintTop_toTopOf="parent" />-->
 
-                </androidx.constraintlayout.widget.ConstraintLayout>
+                <TextView
+                    android:id="@+id/memberStatus"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:gravity="start"
+                    android:text="@{viewModel.memberStatus}"
+                    android:layout_marginLeft="8dp"
+                    android:padding="2dp"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toBottomOf="@id/memberAvatarView" />
 
-
+            </androidx.constraintlayout.widget.ConstraintLayout>
 
 
         </androidx.cardview.widget.CardView>
@@ -70,7 +80,7 @@
             android:id="@+id/memberImageView"
             android:layout_width="80dp"
             android:layout_height="80dp"
-            android:layout_marginTop="0dp"
+            android:layout_marginTop="-10dp"
             android:layout_marginRight="40dp"
             android:scaleType="centerCrop"
             android:layout_gravity="end|top"

--
Gitblit v1.9.3