From d30a31e7c2a9acd08da8983e42e6fdf014707a04 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 26 九月 2025 15:39:47 +0800
Subject: [PATCH] 打包修改
---
src/pages_mine/pages/info/index.vue | 55 +++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 43 insertions(+), 12 deletions(-)
diff --git a/src/pages_mine/pages/info/index.vue b/src/pages_mine/pages/info/index.vue
index 287aa9f..e8fc081 100644
--- a/src/pages_mine/pages/info/index.vue
+++ b/src/pages_mine/pages/info/index.vue
@@ -1,17 +1,17 @@
<template>
<view class="container">
- <uni-list>
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'person-filled' }" title="鏄电О" :rightText="user.nickName" />
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'phone-filled' }" title="鎵嬫満鍙风爜"
- :rightText="user.phonenumber" />
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'email-filled' }" title="閭" :rightText="user.email" />
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'auth-filled' }" title="宀椾綅" :rightText="postGroup" />
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'staff-filled' }" title="瑙掕壊" :rightText="roleGroup" />
- <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'calendar-filled' }" title="鍒涘缓鏃ユ湡"
- :rightText="user.createTime" />
- </uni-list>
+ <view class="card">
+ <u-cell-group>
+ <u-cell icon="account" title="鏄电О" :value="user.nickName" />
+ <u-cell icon="phone" title="鎵嬫満鍙风爜" :value="user.phonenumber" />
+ <u-cell icon="email" title="閭" :value="user.email" />
+ <u-cell icon="order" title="宀椾綅" :value="postGroup" />
+ <u-cell icon="star" title="瑙掕壊" :value="roleGroup" />
+ <u-cell icon="calendar" title="鍒涘缓鏃ユ湡" :value="user.createTime" />
+ </u-cell-group>
+ </view>
- <u-button @click="register()">缁戝畾寰俊</u-button>
+ <!-- <u-button @click="register()">缁戝畾寰俊</u-button> -->
</view>
</template>
@@ -47,7 +47,38 @@
</script>
<style lang="scss">
+/* 鑳屾櫙鏇存煍鍜岋紝鍗$墖鏇寸獊鍑� */
page {
- background-color: #ffffff;
+ background-color: #f5f7fb;
}
+
+.container {
+ min-height: 100vh;
+ padding: 0; /* 24rpx -> 0.75rem */
+ 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 */
+ overflow: hidden;
+}
+
+/* 閫傞厤 Vant Cell */
+:deep(.van-cell) {
+ min-height: 3rem; /* 92rpx -> 2.875rem */
+ align-items: center;
+}
+
+:deep(.van-cell__title) {
+ font-weight: 500;
+ color: #1f2937; /* 娣辩伆 */
+}
+
+:deep(.van-cell__value) {
+ color: #6b7280; /* 娆¤鐏� */
+}
+
+/* 绉婚櫎涓嶅啀浣跨敤鐨� .cell-icon 鏍峰紡 */
</style>
--
Gitblit v1.9.3