From 5c48ef2b8267c38bae717202615e1618074ee31c Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 29 八月 2025 15:25:05 +0800
Subject: [PATCH] 修改组件

---
 src/pages_mine/pages/info/index.vue |   60 +++++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 41 insertions(+), 19 deletions(-)

diff --git a/src/pages_mine/pages/info/index.vue b/src/pages_mine/pages/info/index.vue
index 6fb2356..dfdae6b 100644
--- a/src/pages_mine/pages/info/index.vue
+++ b/src/pages_mine/pages/info/index.vue
@@ -1,14 +1,38 @@
 <template>
   <view class="container">
     <view class="card">
-      <van-cell-group>
-        <van-cell icon="user" title="鏄电О" :value="user.nickName" />
-        <van-cell icon="phone" title="鎵嬫満鍙风爜" :value="user.phonenumber" />
-        <van-cell icon="invitation" title="閭" :value="user.email" />
-        <van-cell icon="medal" title="宀椾綅" :value="postGroup" />
-        <van-cell icon="friends" title="瑙掕壊" :value="roleGroup" />
-        <van-cell icon="notes" title="鍒涘缓鏃ユ湡" :value="user.createTime" />
-      </van-cell-group>
+      <u-cell-group>
+        <u-cell title="鏄电О" :value="user.nickName">
+          <template #icon>
+            <u-icon name="account" size="18" />
+          </template>
+        </u-cell>
+        <u-cell title="鎵嬫満鍙风爜" :value="user.phonenumber">
+          <template #icon>
+            <u-icon name="phone" size="18" />
+          </template>
+        </u-cell>
+        <u-cell title="閭" :value="user.email">
+          <template #icon>
+            <u-icon name="email" size="18" />
+          </template>
+        </u-cell>
+        <u-cell title="宀椾綅" :value="postGroup">
+          <template #icon>
+            <u-icon name="star" size="18" />
+          </template>
+        </u-cell>
+        <u-cell title="瑙掕壊" :value="roleGroup">
+          <template #icon>
+            <u-icon name="account-circle" size="18" />
+          </template>
+        </u-cell>
+        <u-cell title="鍒涘缓鏃ユ湡" :value="user.createTime">
+          <template #icon>
+            <u-icon name="calendar" size="18" />
+          </template>
+        </u-cell>
+      </u-cell-group>
     </view>
 
     <!-- <u-button @click="register()">缁戝畾寰俊</u-button> -->
@@ -54,31 +78,29 @@
 
 .container {
   min-height: 100vh;
-  padding: 0; /* 24rpx -> 0.75rem */
+  padding: 0;
   box-sizing: border-box;
 }
 
 /* 鍒楄〃鍗$墖瀹瑰櫒 */
 .card {
   background-color: #ffffff;
-  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.06); /* 0 12rpx 32rpx -> 0 0.375rem 1rem */
+  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.06);
   overflow: hidden;
 }
 
-/* 閫傞厤 Vant Cell */
-:deep(.van-cell) {
-  min-height: 3rem; /* 92rpx -> 2.875rem */
+/* 閫傞厤 uview-plus Cell */
+:deep(.u-cell) {
+  min-height: 3rem;
 	align-items: center;
 }
 
-:deep(.van-cell__title) {
+:deep(.u-cell__title) {
   font-weight: 500;
-  color: #1f2937; /* 娣辩伆 */
+  color: #1f2937;
 }
 
-:deep(.van-cell__value) {
-  color: #6b7280; /* 娆¤鐏� */
+:deep(.u-cell__value) {
+  color: #6b7280;
 }
-
-/* 绉婚櫎涓嶅啀浣跨敤鐨� .cell-icon 鏍峰紡 */
 </style>

--
Gitblit v1.9.3