/* 基础样式 */ .container { padding: 20rpx; background-color: #f7f7f7; min-height: 100vh; } /* 用户卡片样式 */ .user-card { display: flex; align-items: center; background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); border-radius: 20rpx; padding: 40rpx 30rpx; margin-bottom: 30rpx; box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.1); } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; border: 4rpx solid rgba(255, 255, 255, 0.3); } .user-meta { margin-left: 30rpx; color: white; } .nickname { font-size: 36rpx; font-weight: bold; display: block; margin-bottom: 10rpx; } .user-id { font-size: 24rpx; opacity: 0.8; } /* 表格样式 */ .info-table { background-color: #fff; border-radius: 20rpx; overflow: hidden; box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.05); margin-bottom: 40rpx; } .table-header { background-color: #f8f9fa; padding: 25rpx 30rpx; border-bottom: 1rpx solid #eee; } .header-text { font-size: 30rpx; font-weight: bold; color: #333; } .table-row { display: flex; justify-content: space-between; padding: 30rpx; border-bottom: 1rpx solid #f5f5f5; } .last-row { border-bottom: none; } .row-label { font-size: 28rpx; color: #666; } .row-value { font-size: 28rpx; color: #333; font-weight: 500; } .status-active { color: #52c41a; background-color: rgba(82, 196, 26, 0.1); padding: 5rpx 15rpx; border-radius: 30rpx; font-size: 24rpx; } /* 按钮样式 */ .logout-btn { margin-top: 40rpx; background-color: #fff; color: #ff4d4f; border: 1rpx solid #ff4d4f; border-radius: 50rpx; font-size: 30rpx; height: 90rpx; line-height: 90rpx; } .logout-btn::after { border: none; } /* 未登录提示样式 */ .login-prompt { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80vh; padding: 0 60rpx; } .prompt-image { width: 300rpx; height: 300rpx; margin-bottom: 40rpx; } .prompt-text { font-size: 32rpx; color: #666; text-align: center; margin-bottom: 50rpx; line-height: 1.6; } .login-btn { width: 100%; background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); color: white; border-radius: 50rpx; font-size: 32rpx; height: 90rpx; line-height: 90rpx; } .login-btn::after { border: none; } /* 新增编辑相关样式 */ .row-value-edit { display: flex; align-items: center; } .edit-icon { margin-left: 10rpx; font-size: 24rpx; color: #999; } /* 编辑弹窗样式 */ .edit-dialog-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 999; } .edit-dialog { width: 80%; background-color: #fff; border-radius: 16rpx; overflow: hidden; } .edit-header { padding: 30rpx; font-size: 32rpx; font-weight: bold; text-align: center; position: relative; border-bottom: 1rpx solid #eee; } .close-icon { position: absolute; right: 30rpx; top: 30rpx; } .edit-body { padding: 30rpx; } .edit-input { width: 100%; padding: 20rpx; border: 1rpx solid #ddd; border-radius: 8rpx; font-size: 28rpx; } .edit-footer { display: flex; border-top: 1rpx solid #eee; } .edit-btn { flex: 1; margin: 0; border-radius: 0; background-color: #fff; color: #333; font-size: 30rpx; height: 90rpx; line-height: 90rpx; } .edit-btn::after { border: none; } .edit-btn.cancel { border-right: 1rpx solid #eee; } .edit-btn.confirm { color: #2575fc; font-weight: bold; }