/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .profile-page.data-v-dd383ca2 { min-height: 100vh; background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); padding-bottom: 120rpx; /* 为tabBar留出空间 */ } .status-bar.data-v-dd383ca2 { display: flex; justify-content: space-between; align-items: center; padding: 20rpx 40rpx; color: #fff; font-size: 28rpx; } .status-bar .status-icons.data-v-dd383ca2 { display: flex; gap: 10rpx; } .user-header.data-v-dd383ca2 { display: flex; justify-content: space-between; align-items: center; padding: 40rpx; color: #fff; } .user-header .user-info.data-v-dd383ca2 { display: flex; align-items: center; } .user-header .user-info .avatar.data-v-dd383ca2 { width: 120rpx; height: 120rpx; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 30rpx; } .user-header .user-info .avatar .avatar-text.data-v-dd383ca2 { font-size: 48rpx; font-weight: bold; color: #fff; } .user-header .user-info .user-details .user-name.data-v-dd383ca2 { display: block; font-size: 36rpx; font-weight: bold; margin-bottom: 10rpx; } .user-header .user-info .user-details .user-phone.data-v-dd383ca2 { font-size: 28rpx; opacity: 0.8; } .user-header .edit-btn.data-v-dd383ca2 { width: 60rpx; height: 60rpx; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; } .user-header .edit-btn .edit-icon.data-v-dd383ca2 { font-size: 32rpx; } .stats-section.data-v-dd383ca2 { background: #fff; margin: 0 40rpx; border-radius: 20rpx; padding: 40rpx; display: flex; justify-content: space-around; box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1); } .stats-section .stat-item.data-v-dd383ca2 { display: flex; flex-direction: column; align-items: center; } .stats-section .stat-item .stat-number.data-v-dd383ca2 { font-size: 36rpx; font-weight: bold; color: #ff9a9e; margin-bottom: 10rpx; } .stats-section .stat-item .stat-label.data-v-dd383ca2 { font-size: 24rpx; color: #666; } .menu-section.data-v-dd383ca2 { margin: 40rpx; } .menu-section .menu-group.data-v-dd383ca2 { background: #fff; border-radius: 20rpx; margin-bottom: 30rpx; overflow: hidden; box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.05); } .menu-section .menu-group .menu-item.data-v-dd383ca2 { display: flex; justify-content: space-between; align-items: center; padding: 30rpx 40rpx; border-bottom: 2rpx solid #f5f5f5; } .menu-section .menu-group .menu-item.data-v-dd383ca2:last-child { border-bottom: none; } .menu-section .menu-group .menu-item .menu-left.data-v-dd383ca2 { display: flex; align-items: center; } .menu-section .menu-group .menu-item .menu-left .menu-icon.data-v-dd383ca2 { font-size: 40rpx; margin-right: 30rpx; } .menu-section .menu-group .menu-item .menu-left .menu-title.data-v-dd383ca2 { font-size: 32rpx; color: #333; } .menu-section .menu-group .menu-item .menu-arrow.data-v-dd383ca2 { font-size: 28rpx; color: #999; } .menu-section .menu-group .menu-item.data-v-dd383ca2:active { background: #f8f9fa; } .logout-section.data-v-dd383ca2 { margin: 40rpx; } .logout-section .logout-btn.data-v-dd383ca2 { width: 100%; height: 100rpx; background: #fff; color: #ff4757; border: 2rpx solid #ff4757; border-radius: 50rpx; font-size: 32rpx; font-weight: bold; } .logout-section .logout-btn.data-v-dd383ca2:active { background: #ff4757; color: #fff; }