From fe04012057d024770e0180543483d393281a542f Mon Sep 17 00:00:00 2001
From: zhujie <leon.zhu@cloudroam.com.cn>
Date: 星期四, 03 四月 2025 09:18:16 +0800
Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2

---
 app/src/main/res/layout/fragment_notifications.xml |   94 ++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 84 insertions(+), 10 deletions(-)

diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml
index a6a983e..e176684 100644
--- a/app/src/main/res/layout/fragment_notifications.xml
+++ b/app/src/main/res/layout/fragment_notifications.xml
@@ -33,6 +33,16 @@
                 android:scaleType="centerCrop"
                 app:shapeAppearanceOverlay="@style/CircleImageView" />
 
+            <ImageView
+                android:id="@+id/iv_vip"
+                android:layout_width="24dp"
+                android:layout_height="24dp"
+                android:layout_alignBottom="@id/tv_nickname"
+                android:layout_marginStart="8dp"
+                android:layout_toEndOf="@id/tv_nickname"
+                android:contentDescription="VIP标识"
+                android:src="@drawable/me_vip" />
+
             <TextView
                 android:id="@+id/tv_nickname"
                 android:layout_width="wrap_content"
@@ -66,6 +76,7 @@
             app:cardElevation="4dp">
 
             <LinearLayout
+                android:id="@+id/linearVipContainer"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:background="@android:color/black"
@@ -78,21 +89,40 @@
                     android:layout_weight="1"
                     android:orientation="vertical">
 
-                    <TextView
-                        android:layout_width="wrap_content"
+                    <!-- 第一行:VIP标题 + 有效期 -->
+                    <LinearLayout
+                        android:layout_width="match_parent"
                         android:layout_height="wrap_content"
-                        android:text="VIP会员"
-                        android:textColor="#B8741A"
-                        android:textSize="18sp"
-                        android:textStyle="bold" />
+                        android:orientation="horizontal"
+                        android:gravity="center_vertical">
 
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:text="VIP会员  "
+                            android:textColor="#B8741A"
+                            android:textSize="18sp"
+                            android:textStyle="bold"/>
+
+                        <!-- 添加间隔 -->
+
+                        <TextView
+                            android:id="@+id/tv_vip_expire"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:textColor="#F2F2F2"
+                            android:textSize="14sp"/>
+                    </LinearLayout>
+
+                    <!-- 第二行:续费提示(上移调整) -->
                     <TextView
-                        android:id="@+id/tv_vip_expire"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:layout_marginTop="4dp"
-                        android:textColor="#FFD700"
-                        android:textSize="14sp" />
+                        android:text="续费畅享更多会员权益"
+                        android:textColor="#F0DCBF"
+                        android:textSize="12sp"
+                        android:textStyle="bold"/>
                 </LinearLayout>
 
                 <Button
@@ -101,7 +131,7 @@
                     android:layout_height="wrap_content"
                     android:backgroundTint="#7A441E"
                     android:text="立即续费"
-                    android:textColor="#FFFFFF" />
+                    android:textColor="#F0DCBF" />
             </LinearLayout>
         </androidx.cardview.widget.CardView>
 
@@ -126,6 +156,50 @@
             android:paddingHorizontal="8dp"
             android:paddingVertical="4dp">
 
+<!--            &lt;!&ndash; 会员 &ndash;&gt;-->
+<!--            <RelativeLayout-->
+<!--                android:id="@+id/memberVip"-->
+<!--                style="@style/PluginPay"-->
+<!--                android:padding="16dp">-->
+
+<!--                <TextView-->
+<!--                    android:layout_width="wrap_content"-->
+<!--                    android:layout_height="wrap_content"-->
+<!--                    android:layout_centerVertical="true"-->
+<!--                    android:text="会员"-->
+<!--                    android:textColor="@android:color/black"-->
+<!--                    android:textSize="16sp" />-->
+
+<!--                <ImageView-->
+<!--                    android:layout_width="24dp"-->
+<!--                    android:layout_height="24dp"-->
+<!--                    android:layout_alignParentEnd="true"-->
+<!--                    android:layout_centerVertical="true"-->
+<!--                    android:src="@drawable/right_forward" />-->
+<!--            </RelativeLayout>-->
+
+<!--            &lt;!&ndash; 支付 &ndash;&gt;-->
+<!--            <RelativeLayout-->
+<!--                android:id="@+id/payPlugin"-->
+<!--                style="@style/PluginPay"-->
+<!--                android:padding="16dp">-->
+
+<!--                <TextView-->
+<!--                    android:layout_width="wrap_content"-->
+<!--                    android:layout_height="wrap_content"-->
+<!--                    android:layout_centerVertical="true"-->
+<!--                    android:text="支付"-->
+<!--                    android:textColor="@android:color/black"-->
+<!--                    android:textSize="16sp" />-->
+
+<!--                <ImageView-->
+<!--                    android:layout_width="24dp"-->
+<!--                    android:layout_height="24dp"-->
+<!--                    android:layout_alignParentEnd="true"-->
+<!--                    android:layout_centerVertical="true"-->
+<!--                    android:src="@drawable/right_forward" />-->
+<!--            </RelativeLayout>-->
+
             <!-- 设置提醒 -->
             <LinearLayout
                 android:id="@+id/layout_reminder"

--
Gitblit v1.9.3