.personal-center{ min-height: 100vh; background: linear-gradient(180deg, #86D8D0 0%, #a9dfda 30%, #cfe9e7 60%, #ECF8F7 90%); } /* 淡入动画 */ .fade-in { animation: fadeIn 0.6s ease forwards; opacity: 0; transform: translateY(20rpx); } .fade-in-delay-1 { animation: fadeIn 0.6s 0.2s ease forwards; opacity: 0; transform: translateY(20rpx); } .fade-in-delay-2 { animation: fadeIn 0.6s 0.4s ease forwards; opacity: 0; transform: translateY(20rpx); } .fade-in-delay-3 { animation: fadeIn 0.6s 0.6s ease forwards; opacity: 0; transform: translateY(20rpx); } @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } } /* 用户信息区域 */ .user-section { padding: 40rpx 30rpx 30rpx; } .user-card { background: white; border-radius: 24rpx; padding: 40rpx 30rpx; box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.08); display: flex; align-items: center; transition: all 0.3s ease; } .user-card:active { transform: scale(0.99); box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.05); } .avatar-btn { position: relative; width: 120rpx; height: 120rpx; margin-right: 30rpx; flex-shrink: 0; padding: 0; background: transparent; border: none; border-radius: 50%; } .avatar-btn::after { border: none; } .avatar { width: 100%; height: 100%; border-radius: 50%; border: 4rpx solid white; box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1); } .user-info { flex: 1; } .nickname-section { display: flex; align-items: center; margin-bottom: 16rpx; } .nickname { font-size: 36rpx; font-weight: 700; color: #1e293b; margin-right: 20rpx; max-width: 300rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nickname-section image { width: 26rpx; height: 26rpx; opacity: 0.6; } .user-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16rpx; } .auth-tag { display: flex; align-items: center; padding: 6rpx 12rpx; background: #fef3c7; border-radius: 16rpx; transition: all 0.3s ease; } .auth-tag.verified { background: #d1fae5; } .auth-tag:active { transform: scale(0.95); } .auth-tag image { width: 20rpx; height: 20rpx; margin-right: 6rpx; } .auth-tag text { font-size: 22rpx; color: #92400e; } .auth-tag.verified text { color: #065f46; } /* 卡片样式 */ .section-card { background: white; margin: 0 30rpx 30rpx; border-radius: 20rpx; overflow: hidden; box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05); } .section-header { padding: 30rpx 30rpx 20rpx; border-bottom: 1rpx solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; } .section-title { font-size: 32rpx; font-weight: 600; color: #1e293b; position: relative; padding-left: 20rpx; } .section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6rpx; height: 24rpx; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 3rpx; } /* 消息行 */ .message-row { display: flex; align-items: center; padding: 30rpx; } .message-item { flex: 1; display: flex; flex-direction: column; align-items: center; transition: all 0.3s ease; } .message-item:active { transform: scale(0.95); } .message-icon-wrapper { position: relative; width: 80rpx; height: 80rpx; margin-bottom: 16rpx; display: flex; align-items: center; justify-content: center; background: #f8fafc; border-radius: 50%; border: 1rpx solid #e2e8f0; } .message-icon { width: 60rpx; height: 60rpx; } .message-label { font-size: 26rpx; color: #475569; font-weight: 500; } .divider { width: 1rpx; height: 60rpx; background: #e2e8f0; margin: 0 40rpx; } /* 功能列表 */ .function-list { padding: 0 30rpx 20rpx; } .function-item { display: flex; align-items: center; justify-content: space-between; padding: 30rpx 0; border-bottom: 1rpx solid #f1f5f9; transition: all 0.3s ease; } .function-item:last-child { border-bottom: none; } .function-item:active { background: #f8fafc; border-radius: 12rpx; } .item-left { display: flex; align-items: center; } .item-icon { width: 32rpx; height: 32rpx; margin-right: 20rpx; opacity: 0.8; } .item-title { font-size: 30rpx; color: #1e293b; font-weight: 500; } .item-status { font-size: 26rpx; color: #f59e0b; font-weight: 500; } .item-status.verified { color: #10b981; } .function-item:active .arrow { opacity: 0.8; transform: translateX(4rpx); } /* 反馈弹窗 */ .feedback-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .feedback-modal.show { opacity: 1; visibility: visible; } .modal-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4rpx); } .modal-content { position: relative; width: 90%; max-width: 660rpx; background: white; border-radius: 24rpx; overflow: hidden; box-shadow: 0 30rpx 80rpx rgba(0, 0, 0, 0.2); transform: translateY(100rpx); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .feedback-modal.show .modal-content { transform: translateY(0); } .modal-header { padding: 40rpx 40rpx 20rpx; border-bottom: 1rpx solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; } .modal-title { font-size: 36rpx; font-weight: 700; color: #1e293b; } .modal-close { display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .modal-close:active { background: #e2e8f0; transform: scale(0.9); } .modal-close image { width: 36rpx; height: 36rpx; opacity: 0.5; } /* 反馈输入框 */ .modal-body { padding: 40rpx; } .feedback-input { width: 100%; min-height: 240rpx; padding: 24rpx; box-sizing: border-box; background: #f8fafc; border: 2rpx solid #e2e8f0; border-radius: 16rpx; font-size: 28rpx; line-height: 1.5; color: #1e293b; transition: all 0.3s ease; } .feedback-input:focus { border-color: #667eea; background: white; box-shadow: 0 0 0 4rpx rgba(102, 126, 234, 0.1); } .placeholder { color: #94a3b8; } .char-count { text-align: right; margin-top: 12rpx; font-size: 24rpx; display: flex; justify-content: flex-end; align-items: baseline; gap: 4rpx; } .char-count .current { color: #1e293b; font-weight: 500; } .char-count .total { color: #94a3b8; } .modal-footer { padding: 0 40rpx 40rpx; } .submit-btn { width: 100%; height: 88rpx; background: #e2e8f0; border-radius: 44rpx; font-size: 32rpx; font-weight: 600; color: #94a3b8; border: none; transition: all 0.3s ease; } .submit-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.3); } .submit-btn.active:active { transform: scale(0.98); opacity: 0.9; } .submit-btn[disabled] { opacity: 0.6; } /* 昵称修改弹窗 */ .nickname-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .nickname-modal.show { opacity: 1; visibility: visible; } .nickname-modal .modal-content { width: 600rpx; background: white; border-radius: 20rpx; overflow: hidden; box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.2); transform: scale(0.8); transition: all 0.3s ease; } .nickname-modal.show .modal-content { transform: scale(1); } .nickname-modal .modal-header { padding: 40rpx 40rpx 20rpx; border-bottom: 1rpx solid #f1f5f9; } .nickname-modal .modal-body { padding: 40rpx; } .nickname-input { width: 100%; height: 80rpx; background: #f8fafc; border: 2rpx solid #e2e8f0; border-radius: 12rpx; font-size: 28rpx; color: #1e293b; text-align: center; transition: all 0.3s ease; } .nickname-input:focus { border-color: #667eea; background: white; box-shadow: 0 0 0 4rpx rgba(102, 126, 234, 0.1); } .input-tip { display: block; font-size: 24rpx; color: #94a3b8; text-align: center; margin-top: 16rpx; } .nickname-modal .modal-footer { padding: 0 40rpx 40rpx; display: flex; gap: 20rpx; } .cancel-btn, .confirm-btn { flex: 1; height: 80rpx; border-radius: 40rpx; font-size: 28rpx; font-weight: 500; transition: all 0.3s ease; border: none; } .cancel-btn { background: #f1f5f9; color: #64748b; } .cancel-btn:active { background: #e2e8f0; } .confirm-btn { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3); } .confirm-btn:active { transform: scale(0.98); opacity: 0.9; } /* 提示信息 */ .toast { position: fixed; top: 150rpx; left: 50%; transform: translateX(-50%) translateY(-100rpx); background: rgba(30, 41, 59, 0.9); backdrop-filter: blur(20rpx); color: white; padding: 20rpx 40rpx; border-radius: 12rpx; font-size: 28rpx; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1001; box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.2); } .toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }