/* 会员查看页面专用样式 */ /* 筛选区域样式 */ .filter-section { background: #fff; padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .filter-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: end; } .filter-item { display: flex; flex-direction: column; min-width: 150px; } .filter-item label { color: #666; font-size: 14px; margin-bottom: 5px; font-weight: normal; } .filter-item select, .filter-item input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; min-height: 36px; } .filter-item input::placeholder { color: #999; } .filter-actions { margin-top: 15px; } .filter-actions .btn { background: #10b981; color: white; border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-size: 14px; } .filter-actions .btn:hover { background: #059669; } /* 统计信息样式 */ .stats-section { display: flex; gap: 20px; margin-bottom: 20px; } .stats-item { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; min-width: 200px; } .stats-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; } .member-icon { background: rgba(59, 130, 246, 0.1); } .member-icon::before { content: "👥"; font-size: 20px; } .new-member-icon { background: rgba(16, 185, 129, 0.1); } .new-member-icon::before { content: "✨"; font-size: 18px; } .stats-content { flex: 1; } .stats-label { color: #666; font-size: 14px; margin-bottom: 4px; } .stats-value { color: #333; font-size: 24px; font-weight: bold; } /* 表格容器样式 */ .table-container { background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); overflow: hidden; margin-bottom: 20px; } /* 会员表格样式 */ .member-table { width: 100%; border-collapse: collapse; font-size: 14px; } .member-table thead { background: #f8fafc; } .member-table th { padding: 12px 16px; text-align: left; font-weight: 500; color: #374151; border-bottom: 1px solid #e5e7eb; position: relative; } .member-table th:first-child { width: 40px; text-align: center; } .member-table td { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; } .member-table td:first-child { text-align: center; } .member-table tbody tr:hover { background-color: #f9fafb; } /* 排序图标样式 */ .sort-icon { color: #9ca3af; margin-left: 4px; cursor: pointer; user-select: none; } .sort-icon:hover { color: #374151; } /* 头像样式 */ .avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 500; font-size: 14px; } .green-avatar { background: #10b981; } .orange-avatar { background: #f59e0b; } .red-avatar { background: #ef4444; } .purple-avatar { background: #8b5cf6; } .pink-avatar { background: #ec4899; } .blue-avatar { background: #3b82f6; } /* 等级徽章样式 */ .level-badge { padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 500; text-align: center; min-width: 36px; display: inline-block; } .level-badge.lv1 { background: #fef3c7; color: #92400e; } .level-badge.lv2 { background: #ddd6fe; color: #6b21a8; } .level-badge.lv3 { background: #fecaca; color: #991b1b; } .level-badge.lv4 { background: #a7f3d0; color: #065f46; } /* 详情链接样式 */ .detail-link { color: #10b981; text-decoration: none; font-size: 14px; } .detail-link:hover { color: #059669; text-decoration: underline; } /* 分页样式 */ .pagination-section { background: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; } .pagination-info { color: #666; font-size: 14px; display: flex; align-items: center; gap: 8px; } .pagination-info select { padding: 4px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .pagination-controls { display: flex; align-items: center; gap: 12px; color: #666; font-size: 14px; } .pagination-controls span { cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background-color 0.2s; } .pagination-controls span:hover { background: #f3f4f6; color: #374151; } .pagination-controls input { width: 50px; padding: 4px 8px; border: 1px solid #ddd; border-radius: 4px; text-align: center; font-size: 14px; } /* 复选框样式优化 */ input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; } /* 响应式设计 */ @media (max-width: 1200px) { .filter-row { gap: 15px; } .filter-item { min-width: 120px; } .stats-section { flex-wrap: wrap; } .stats-item { min-width: 180px; } } @media (max-width: 768px) { .filter-row { flex-direction: column; gap: 15px; } .filter-item { min-width: auto; width: 100%; } .stats-section { flex-direction: column; } .stats-item { min-width: auto; } .member-table { font-size: 12px; } .member-table th, .member-table td { padding: 8px 12px; } .pagination-section { flex-direction: column; text-align: center; } }