123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244 |
- /* 基础样式 */
- .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;
- }
|