This commit is contained in:
2025-08-23 17:09:34 +08:00
parent 6678bce527
commit 1dde942ff1
5 changed files with 60 additions and 27 deletions
+9 -9
View File
@@ -1,5 +1,5 @@
<template>
<view class="profile-container page-container-with-bg">
<view class="profile-container page-container-unified">
<!-- 用户信息卡片 -->
<view class="user-info-card">
<view class="user-avatar-section" :class="{ 'logged-in': userInfo.nickName }" @click="handleUserAction">
@@ -690,14 +690,14 @@ export default {
<style lang="scss" scoped>
.profile-container {
padding-bottom: 40rpx;
/* 边距由外层page-container-unified统一管理 */
}
/* 用户信息卡片 */
.user-info-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20rpx);
margin: 0 30rpx 24rpx 30rpx;
margin: 0 0 24rpx 0;
border-radius: 24rpx;
padding: 32rpx;
display: flex;
@@ -837,7 +837,7 @@ export default {
.stats-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20rpx);
margin: 0 30rpx 24rpx 30rpx;
margin: 0 0 24rpx 0;
border-radius: 24rpx;
padding: 32rpx;
box-shadow: 0 8rpx 32rpx rgba(255, 138, 128, 0.2);
@@ -907,7 +907,7 @@ export default {
.family-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20rpx);
margin: 0 30rpx 24rpx 30rpx;
margin: 0 0 24rpx 0;
border-radius: 24rpx;
padding: 32rpx;
box-shadow: 0 8rpx 32rpx rgba(255, 138, 128, 0.2);
@@ -1025,7 +1025,7 @@ export default {
.adoption-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20rpx);
margin: 0 30rpx 24rpx 30rpx;
margin: 0 0 24rpx 0;
border-radius: 24rpx;
padding: 32rpx;
box-shadow: 0 8rpx 32rpx rgba(255, 138, 128, 0.2);
@@ -1122,7 +1122,7 @@ export default {
@media (max-width: 375px) {
.profile-container {
.user-info-card {
margin: 0 20rpx 20rpx 20rpx;
margin: 0 0 20rpx 0;
padding: 24rpx;
}
@@ -1130,7 +1130,7 @@ export default {
.family-card,
.adoption-card,
.settings-card {
margin: 0 20rpx 20rpx 20rpx;
margin: 0 0 20rpx 0;
padding: 24rpx;
}
@@ -1245,7 +1245,7 @@ export default {
.settings-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20rpx);
margin: 0 30rpx 24rpx 30rpx;
margin: 0 0 24rpx 0;
border-radius: 24rpx;
box-shadow: 0 8rpx 32rpx rgba(255, 138, 128, 0.2);
border: 1rpx solid rgba(255, 255, 255, 0.3);