From de8c7d970e38e4389e4cdadf2ca5b98ccea51eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <> Date: Sat, 23 May 2026 19:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weihu/pages/user/list.vue | 229 ++++++---------------- weihu/unpackage/dist/build/web/index.html | 2 +- 2 files changed, 64 insertions(+), 167 deletions(-) diff --git a/weihu/pages/user/list.vue b/weihu/pages/user/list.vue index 6e4b395..61d80c4 100644 --- a/weihu/pages/user/list.vue +++ b/weihu/pages/user/list.vue @@ -1,13 +1,10 @@ @@ -146,21 +95,27 @@ .person_item_wrapper { width: 690rpx; - height: 166rpx; + min-height: 166rpx; background: #ffffff; box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.04); border-radius: 15rpx; position: relative; + margin: 20rpx auto 0; + padding: 20rpx; + box-sizing: border-box; + } + + .person_item_inner { display: flex; align-items: center; - margin: 20rpx auto 0; - padding-right: 20rpx; + padding-right: 120rpx; } .person_avatar_wrapper { width: 105rpx; height: 105rpx; margin-left: 16rpx; + flex-shrink: 0; } .person_avatar_wrapper image { @@ -203,100 +158,42 @@ margin-top: 20rpx; } - .person_type_wrapper { + /* 右上角标签 */ + .item_top_right { position: absolute; - width: 100rpx; - height: 46rpx; - background: #c0c0c0; - border-radius: 0rpx 15rpx 0rpx 15rpx; right: 0; top: 0; - font-weight: 500; - font-size: 24rpx; - color: #ffffff; - line-height: 46rpx; - text-align: center; - } - - .list_left { - color: #333; - width: 280rpx; display: flex; - font-size: 34rpx; - - } - - .name {} - - .tel { - color: #999; - font-size: 26rpx; - margin-top: 10rpx; } - .yue { - height: 100rpx; - line-height: 100rpx; - font-size: 34rpx; - margin-left: 20rpx; - color: #FF8A5B; - } - - .tags { - height: 100rpx; - line-height: 100rpx; - font-size: 34rpx; - margin-left: 20rpx; + .tag-chip { + height: 40rpx; + line-height: 40rpx; + padding: 0 14rpx; + font-size: 22rpx; + font-weight: 500; + color: #ffffff; + text-align: center; + border-radius: 0 12rpx 0 12rpx; + white-space: nowrap; } - .search_input { - background-color: #fff; - border-radius: 20rpx; - height: 80rpx; - margin: 10rpx 0rpx 10rpx 20rpx; - padding-left: 30rpx; - width: 500rpx; + /* 右侧垂直居中 */ + .item_right_center { + position: absolute; + right: 10rpx; + top: 50%; + transform: translateY(-50%); } - .search_button { - height: 80rpx; - line-height: 80rpx; - margin: 10rpx 20rpx 10rpx 0rpx; - background-color: #79e8e3; - text-align: center; - width: 180rpx; - border-radius: 20rpx; - } - .add_button_text_wrapper { - font-size: 31rpx; - font-weight: 500; - color: #F6FDFD; - text-align: center; - } - - - .add_button_wrapper { - position: fixed; + .tools_row { display: flex; - justify-content: center; align-items: center; - z-index: 1; - width: 580rpx; - height: 90rpx; - background: linear-gradient(-90deg, #23D3AF, #0DC5CF); - border-radius: 45rpx; - bottom: 60rpx; - left: 50%; - transform: translateX(-50%); } - .tools{ - + + .tools { font-size: 28rpx; width: 60rpx; - color:#666; - } - .tools_row{ - margin-left: 20rpx; - display: flex; + color: #666; } \ No newline at end of file diff --git a/weihu/unpackage/dist/build/web/index.html b/weihu/unpackage/dist/build/web/index.html index 3e7379f..e25be96 100644 --- a/weihu/unpackage/dist/build/web/index.html +++ b/weihu/unpackage/dist/build/web/index.html @@ -14,7 +14,7 @@ MemberMngr - +