/* pages/user/index.wxss */ .container { background: #f5f5f5; min-height: 100vh; } .user-card { background: linear-gradient(135deg, #ff4d4f, #ff7875); padding: 30rpx; display: flex; align-items: center; margin-bottom: 20rpx; color: #fff; } .user-avatar { width: 120rpx; height: 120rpx; border-radius: 50%; overflow: hidden; margin-right: 30rpx; border: 4rpx solid rgba(255, 255, 255, 0.3); } .user-info { flex: 1; } .user-name { font-size: 32rpx; font-weight: bold; margin-bottom: 10rpx; } .user-level { font-size: 24rpx; background: rgba(255, 255, 255, 0.2); padding: 4rpx 16rpx; border-radius: 20rpx; display: inline-block; } /* 收益概览 */ .earnings-panel { background: #fff; margin-bottom: 20rpx; padding: 20rpx; } .earnings-header { display: flex; justify-content: space-between; align-items: center; padding: 0 10rpx 20rpx; border-bottom: 1rpx solid #eee; } .earnings-header text { font-size: 28rpx; color: #333; } .view-all { display: flex; align-items: center; color: #999; font-size: 24rpx; } .view-all .icon-right { font-size: 24rpx; margin-left: 4rpx; } .earnings-grid { display: flex; padding: 30rpx 0 10rpx; } .earnings-item { flex: 1; display: flex; flex-direction: column; align-items: center; } .earnings-item .amount { font-size: 36rpx; color: #ff4d4f; font-weight: bold; margin-bottom: 10rpx; } .earnings-item .label { font-size: 24rpx; color: #666; } /* 菜单组 */ .menu-group { background: #fff; margin-bottom: 20rpx; } .menu-item { display: flex; align-items: center; padding: 30rpx 20rpx; border-bottom: 1rpx solid #eee; } .menu-item:last-child { border-bottom: none; } .menu-item .iconfont { font-size: 40rpx; margin-right: 20rpx; color: #333; } .menu-text { flex: 1; font-size: 28rpx; color: #333; } .menu-item .icon-right { font-size: 24rpx; color: #999; } /* 绑定机构按钮 */ .bind-institution { background-color: #fff; } .bind-institution .icon-bind { color: #ff7a45; } /* 图标颜色 */ .icon-distribution { color: #1890ff; } .icon-order { color: #fa8c16; } .icon-team { color: #52c41a; } .icon-withdraw { color: #722ed1; } .icon-bank { color: #13c2c2; } .icon-invite { color: #2f54eb; } .icon-promotion { color: #f5222d; } .icon-qrcode { color: #1890ff; } .icon-service { color: #fa8c16; } .icon-settings { color: #8c8c8c; }