/* 上传记录表格样式 */ | |
.uploads-table { | |
width: 100%; | |
border-collapse: collapse; | |
margin-top: 20px; | |
} | |
.uploads-table th, .uploads-table td { | |
padding: 12px 15px; | |
text-align: left; | |
border-bottom: 1px solid #e0e0e0; | |
} | |
.uploads-table th { | |
background-color: #f5f5f5; | |
font-weight: 600; | |
} | |
.list-item:hover { | |
background-color: #f9f9f9; | |
} | |
/* 操作按钮样式 */ | |
.action-btn { | |
padding: 6px 12px; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
font-size: 14px; | |
transition: background-color 0.2s; | |
} | |
.delete-btn { | |
background-color: #ff4d4f; | |
color: white; | |
} | |
.delete-btn:hover { | |
background-color: #ff7875; | |
} | |
/* 分页控件样式 */ | |
.pagination { | |
margin-top: 20px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
gap: 15px; | |
} | |
.pagination button { | |
padding: 6px 12px; | |
border: 1px solid #d9d9d9; | |
background-color: #fff; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
.pagination button:disabled { | |
color: #d9d9d9; | |
cursor: not-allowed; | |
} | |
.pagination button:not(:disabled):hover { | |
border-color: #1890ff; | |
color: #1890ff; | |
} | |
/* 分页控件样式 */ | |
.pagination { | |
margin-top: 20px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
gap: 8px; | |
flex-wrap: wrap; | |
} | |
.page-nav, .page-number { | |
padding: 6px 12px; | |
border: 1px solid #d9d9d9; | |
background-color: #fff; | |
border-radius: 4px; | |
cursor: pointer; | |
min-width: 32px; | |
text-align: center; | |
} | |
.page-nav:disabled, .page-number:disabled { | |
color: #d9d9d9; | |
cursor: not-allowed; | |
} | |
.page-nav:not(:disabled):hover, | |
.page-number:not(:disabled):hover { | |
border-color: #1890ff; | |
color: #1890ff; | |
} | |
.page-number.active { | |
background-color: #1890ff; | |
color: white; | |
border-color: #1890ff; | |
} | |
.ellipsis { | |
padding: 0 8px; | |
} | |
.page-info { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
margin-left: 15px; | |
} | |
.page-info input { | |
width: 50px; | |
padding: 4px; | |
border: 1px solid #d9d9d9; | |
border-radius: 4px; | |
text-align: center; | |
} | |
.page-info input:focus { | |
outline: none; | |
border-color: #1890ff; | |
} | |
/* 调整表格列宽 */ | |
.uploads-table th:nth-child(1), | |
.uploads-table td:nth-child(1) { | |
width: 30%; | |
} | |
.uploads-table th:nth-child(2), | |
.uploads-table td:nth-child(2) { | |
width: 15%; | |
} | |
.uploads-table th:nth-child(3), | |
.uploads-table td:nth-child(3) { | |
width: 20%; | |
} | |
.uploads-table th:nth-child(4), | |
.uploads-table td:nth-child(4) { | |
width: 15%; | |
text-align: center; | |
} | |
.uploads-table th:nth-child(5), | |
.uploads-table td:nth-child(5) { | |
width: 20%; | |
text-align: center; | |
} | |
/* 兑换区样式 */ | |
.exchange-section { | |
margin-top: 20px; | |
padding: 20px; | |
background-color: #f9f9f9; | |
border-radius: 8px; | |
} | |
.exchange-card { | |
margin-bottom: 20px; | |
padding: 15px; | |
background-color: white; | |
border-radius: 6px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
} | |
.exchange-card h4 { | |
margin-top: 0; | |
color: #333; | |
} | |
.exchange-card p { | |
color: #666; | |
margin-bottom: 15px; | |
} | |
.exchange-btn { | |
padding: 8px 16px; | |
background-color: #1890ff; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
} | |
.exchange-btn:hover { | |
background-color: #40a9ff; | |
} | |
.exchange-btn:disabled { | |
background-color: #d9d9d9; | |
cursor: not-allowed; | |
} | |
.exchange-input-group { | |
display: flex; | |
gap: 10px; | |
margin-top: 10px; | |
} | |
.exchange-input-group input { | |
flex: 1; | |
padding: 8px; | |
border: 1px solid #d9d9d9; | |
border-radius: 4px; | |
} | |
.invite-code-list { | |
margin-top: 20px; | |
} | |
.invite-code-list ul { | |
list-style: none; | |
padding: 0; | |
} | |
.invite-code-list li { | |
display: flex; | |
justify-content: space-between; | |
padding: 10px; | |
border-bottom: 1px solid #eee; | |
} | |
.invite-code-list .code { | |
font-family: monospace; | |
} | |
.invite-code-list .status { | |
padding: 2px 6px; | |
border-radius: 3px; | |
font-size: 12px; | |
} | |
.invite-code-list .status.available { | |
background-color: #f6ffed; | |
color: #52c41a; | |
border: 1px solid #b7eb8f; | |
} | |
.invite-code-list .status.used { | |
background-color: #fff2f0; | |
color: #ff4d4f; | |
border: 1px solid #ffccc7; | |
} | |
/* personalSubpage.css 中添加以下样式 */ | |
.setting-section { | |
max-width: 600px; | |
margin: 0 auto; | |
padding: 20px; | |
} | |
.user-info-card, .password-form-card { | |
background: #fff; | |
border-radius: 8px; | |
padding: 20px; | |
margin-bottom: 20px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
} | |
.info-item { | |
display: flex; | |
margin-bottom: 10px; | |
} | |
.info-item label { | |
font-weight: bold; | |
width: 100px; | |
} | |
.info-item span { | |
flex: 1; | |
} | |
.info-note { | |
color: #666; | |
font-size: 0.9em; | |
margin-top: 10px; | |
} | |
.form-group { | |
margin-bottom: 15px; | |
} | |
.form-group label { | |
display: block; | |
margin-bottom: 5px; | |
font-weight: bold; | |
} | |
.form-group input { | |
width: 100%; | |
padding: 8px; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
box-sizing: border-box; | |
} | |
.submit-button { | |
background-color: #4CAF50; | |
color: white; | |
padding: 10px 15px; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
font-size: 16px; | |
} | |
.submit-button:hover { | |
background-color: #45a049; | |
} | |
.submit-button:disabled { | |
background-color: #cccccc; | |
cursor: not-allowed; | |
} | |
.error-message { | |
color: #f44336; | |
margin-bottom: 15px; | |
} | |
.success-message { | |
color: #4CAF50; | |
margin-bottom: 15px; | |
} |