/* 全局样式重置 */
|
* {
|
margin: 0;
|
padding: 0;
|
box-sizing: border-box;
|
}
|
|
body {
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
background-color: #F8F9FA;
|
color: #333333;
|
line-height: 1.6;
|
font-size: 14px;
|
overflow-x: hidden;
|
}
|
|
/* 主色调定义 */
|
:root {
|
--primary-color: #FF6B6B;
|
--secondary-color: #4ECDC4;
|
--warning-color: #FFE66D;
|
--success-color: #95E1D3;
|
--text-color: #333333;
|
--text-light: #666666;
|
--background-color: #F8F9FA;
|
--white: #ffffff;
|
--border-color: #E9ECEF;
|
--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
--border-radius: 8px;
|
--spacing-xs: 4px;
|
--spacing-sm: 8px;
|
--spacing-md: 16px;
|
--spacing-lg: 24px;
|
}
|
|
/* 页面容器 */
|
.app {
|
max-width: 414px;
|
margin: 0 auto;
|
background: white;
|
min-height: 100vh;
|
position: relative;
|
overflow-x: hidden;
|
}
|
|
/* 页面切换 */
|
.page {
|
display: block;
|
padding-bottom: 80px;
|
}
|
|
/* 旋转动画 */
|
@keyframes spin {
|
0% { transform: rotate(0deg); }
|
100% { transform: rotate(360deg); }
|
}
|
|
/* 积分申报页面特殊样式(无底部导航栏) */
|
.points-declaration-page {
|
padding-bottom: 20px;
|
}
|
|
/* 页面头部 */
|
.page-header {
|
display: flex;
|
align-items: center;
|
padding: var(--spacing-md);
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: #fff;
|
border-bottom: 1px solid var(--border-color);
|
position: sticky;
|
top: 0;
|
z-index: 100;
|
border-radius: 0 0 24px 24px;
|
box-shadow: 0 4px 16px rgba(255,107,107,0.08);
|
}
|
|
.back-btn {
|
background: none;
|
border: none;
|
font-size: 18px;
|
color: #fff;
|
padding: var(--spacing-sm);
|
margin-right: var(--spacing-sm);
|
cursor: pointer;
|
border-radius: 50%;
|
transition: background-color 0.3s;
|
}
|
|
.back-btn:hover {
|
background-color: rgba(255, 255, 255, 0.2);
|
}
|
|
.page-header h2 {
|
font-size: 18px;
|
font-weight: 600;
|
color: #fff;
|
}
|
|
/* 轮播图样式 */
|
.carousel-container {
|
position: relative;
|
height: 200px;
|
overflow: hidden;
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: #fff;
|
}
|
|
.carousel-wrapper {
|
display: flex;
|
transition: transform 0.5s ease-in-out;
|
height: 100%;
|
}
|
|
.carousel-slide {
|
min-width: 100%;
|
height: 100%;
|
position: relative;
|
}
|
|
.carousel-slide img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.carousel-dots {
|
position: absolute;
|
bottom: 16px;
|
left: 50%;
|
transform: translateX(-50%);
|
display: flex;
|
gap: 8px;
|
}
|
|
.dot {
|
width: 8px;
|
height: 8px;
|
border-radius: 50%;
|
background: rgba(255, 255, 255, 0.5);
|
cursor: pointer;
|
transition: background-color 0.3s;
|
}
|
|
.dot.active {
|
background: #fff;
|
}
|
|
/* 消息通知条 */
|
.notice-bar {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
padding: 12px 16px;
|
margin: 16px;
|
border-radius: var(--border-radius);
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-size: 14px;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.2);
|
}
|
|
.notice-bar i {
|
font-size: 16px;
|
}
|
|
/* 功能按钮区域 */
|
.function-buttons {
|
display: flex;
|
gap: var(--spacing-md);
|
padding: 16px;
|
justify-content: space-around;
|
}
|
|
.function-btn {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
background: none;
|
border: none;
|
box-shadow: none;
|
cursor: pointer;
|
transition: transform 0.2s, box-shadow 0.2s;
|
}
|
|
.function-btn:active, .function-btn:hover {
|
transform: translateY(-2px) scale(1.05);
|
}
|
|
.function-btn i {
|
width: 48px;
|
height: 48px;
|
border-radius: 50%;
|
background: linear-gradient(135deg, #ffb199 0%, #ff6b6b 100%);
|
color: #fff;
|
font-size: 24px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: 8px;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.15);
|
}
|
|
.function-btn:nth-child(2) i {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
}
|
|
.function-btn:nth-child(3) i {
|
background: linear-gradient(135deg, #ffe66d 0%, #f6d365 100%);
|
color: #ff6b6b;
|
}
|
|
.function-btn:nth-child(4) i {
|
background: linear-gradient(135deg, #95e1d3 0%, #4ecdc4 100%);
|
}
|
|
.function-btn span {
|
font-size: 13px;
|
color: #333;
|
margin-top: 2px;
|
}
|
|
/* 活动列表样式 */
|
.activity-list {
|
padding: 16px;
|
}
|
|
.activity-item {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: 16px;
|
margin-bottom: 16px;
|
box-shadow: var(--shadow);
|
border: 1px solid var(--border-color);
|
}
|
|
.activity-header {
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
margin-bottom: 12px;
|
}
|
|
.activity-avatar {
|
width: 48px;
|
height: 48px;
|
border-radius: 50%;
|
object-fit: cover;
|
}
|
|
.activity-info h3 {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 4px;
|
}
|
|
.activity-meta {
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
.activity-content {
|
color: var(--text-color);
|
font-size: 14px;
|
line-height: 1.5;
|
margin-bottom: 12px;
|
}
|
|
.activity-footer {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.activity-points {
|
color: var(--primary-color);
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
.activity-status {
|
padding: 4px 12px;
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
.activity-status.ongoing {
|
background: var(--warning-color);
|
color: #856404;
|
}
|
|
.activity-status.upcoming {
|
background: var(--secondary-color);
|
color: white;
|
}
|
|
.activity-status.completed {
|
background: var(--success-color);
|
color: #155724;
|
}
|
|
/* 搜索框样式 */
|
.search-box {
|
background: #f8f9fa;
|
border: none;
|
border-radius: 20px;
|
padding: var(--spacing-sm) var(--spacing-md);
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin: 0;
|
}
|
|
.search-box input {
|
flex: 1;
|
border: none;
|
outline: none;
|
font-size: 14px;
|
background: none;
|
color: var(--text-color);
|
}
|
|
.search-box input::placeholder {
|
color: var(--text-light);
|
}
|
|
.search-box i {
|
color: var(--text-light);
|
margin-right: var(--spacing-sm);
|
}
|
|
/* Tab切换样式 */
|
.declaration-tabs {
|
display: flex;
|
background: white;
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.declaration-tab {
|
flex: 1;
|
padding: 20px 16px;
|
background: none;
|
border: none;
|
font-size: 17px;
|
color: var(--text-light);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border-bottom: 2px solid transparent;
|
font-weight: 500;
|
}
|
|
.declaration-tab.active {
|
color: var(--primary-color);
|
border-bottom-color: var(--primary-color);
|
font-weight: 600;
|
}
|
|
.declaration-tab:hover {
|
color: var(--primary-color);
|
}
|
|
/* 申报列表样式 */
|
.declaration-list {
|
padding: var(--spacing-md);
|
background: #fff;
|
}
|
|
.declaration-item {
|
background: white;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
border: 1px solid rgba(255,107,107,0.08);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.declaration-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
border-color: rgba(255,107,107,0.2);
|
}
|
|
.declaration-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 8px;
|
}
|
|
.declaration-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.declaration-status {
|
padding: 6px 14px;
|
border-radius: 16px;
|
font-size: 12px;
|
font-weight: 600;
|
text-align: center;
|
min-width: 60px;
|
display: inline-block;
|
border: 1px solid transparent;
|
transition: all 0.2s ease;
|
}
|
|
.declaration-status.approved {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border-color: rgba(76, 175, 80, 0.3);
|
}
|
|
.declaration-status.pending {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border-color: rgba(255, 152, 0, 0.3);
|
}
|
|
.declaration-status.rejected {
|
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
|
color: #c62828;
|
border-color: rgba(244, 67, 54, 0.3);
|
}
|
|
/* 数字状态码样式 */
|
.declaration-status[class*="0"] {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border-color: rgba(255, 152, 0, 0.3);
|
}
|
|
.declaration-status[class*="1"] {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border-color: rgba(76, 175, 80, 0.3);
|
}
|
|
.declaration-status[class*="2"] {
|
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
|
color: #c62828;
|
border-color: rgba(244, 67, 54, 0.3);
|
}
|
|
.declaration-meta {
|
font-size: 12px;
|
color: var(--text-light);
|
margin-bottom: 8px;
|
}
|
|
.declaration-content {
|
color: var(--text-color);
|
font-size: 14px;
|
line-height: 1.5;
|
margin-bottom: 8px;
|
}
|
|
.declaration-info {
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.declaration-info-row {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin-bottom: 4px;
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.declaration-info-row i {
|
width: 16px;
|
color: var(--primary-color);
|
}
|
|
/* 悬浮申报按钮 */
|
.floating-declaration-btn {
|
position: fixed;
|
bottom: 50px;
|
right: 30px;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
border: none;
|
border-radius: 50px;
|
padding: 12px 20px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-size: 14px;
|
font-weight: 500;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
z-index: 1000;
|
}
|
|
.floating-declaration-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
.floating-declaration-btn i {
|
font-size: 16px;
|
}
|
|
/* 扫码签到页面样式 */
|
.scan-container {
|
padding: var(--spacing-md);
|
display: flex;
|
flex-direction: column;
|
gap: var(--spacing-md);
|
}
|
|
/* 位置信息样式 */
|
.location-info {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
}
|
|
.location-header {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: 12px;
|
color: var(--text-color);
|
font-weight: 600;
|
}
|
|
.location-header i {
|
color: #4ecdc4;
|
font-size: 16px;
|
}
|
|
.location-content {
|
margin-bottom: 12px;
|
}
|
|
.location-address {
|
font-size: 14px;
|
color: var(--text-color);
|
margin-bottom: 4px;
|
font-weight: 500;
|
}
|
|
.location-coordinates {
|
font-size: 12px;
|
color: var(--text-light);
|
font-family: monospace;
|
}
|
|
.refresh-location-btn {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
color: white;
|
border: none;
|
border-radius: 8px;
|
padding: 8px 16px;
|
font-size: 14px;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
transition: all 0.3s ease;
|
width: fit-content;
|
}
|
|
.refresh-location-btn:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
|
}
|
|
.refresh-location-btn i {
|
font-size: 12px;
|
}
|
|
/* 扫码区域样式 */
|
.scan-area {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: var(--spacing-md);
|
padding: var(--spacing-lg);
|
background: white;
|
border-radius: 16px;
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
}
|
|
.scan-frame {
|
position: relative;
|
width: 250px;
|
height: 250px;
|
border: 2px solid rgba(255, 107, 107, 0.3);
|
border-radius: 16px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background: rgba(255, 107, 107, 0.05);
|
}
|
|
.scan-corner {
|
position: absolute;
|
width: 20px;
|
height: 20px;
|
border: 3px solid var(--primary-color);
|
}
|
|
.scan-corner.top-left {
|
top: -3px;
|
left: -3px;
|
border-right: none;
|
border-bottom: none;
|
border-radius: 8px 0 0 0;
|
}
|
|
.scan-corner.top-right {
|
top: -3px;
|
right: -3px;
|
border-left: none;
|
border-bottom: none;
|
border-radius: 0 8px 0 0;
|
}
|
|
.scan-corner.bottom-left {
|
bottom: -3px;
|
left: -3px;
|
border-right: none;
|
border-top: none;
|
border-radius: 0 0 0 8px;
|
}
|
|
.scan-corner.bottom-right {
|
bottom: -3px;
|
right: -3px;
|
border-left: none;
|
border-top: none;
|
border-radius: 0 0 8px 0;
|
}
|
|
.scan-line {
|
position: absolute;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 2px;
|
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
|
animation: scanMove 2s linear infinite;
|
}
|
|
@keyframes scanMove {
|
0% { top: 0; }
|
100% { top: calc(100% - 2px); }
|
}
|
|
.scan-tip {
|
text-align: center;
|
color: var(--text-light);
|
}
|
|
.scan-tip i {
|
font-size: 24px;
|
color: var(--primary-color);
|
margin-bottom: 8px;
|
}
|
|
.scan-tip p {
|
font-size: 14px;
|
margin: 0;
|
}
|
|
/* 扫码说明样式 */
|
.scan-tips {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
}
|
|
.tip-item {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 8px 0;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.tip-item i {
|
color: var(--primary-color);
|
font-size: 16px;
|
width: 16px;
|
}
|
|
/* 手动输入样式 */
|
.manual-input {
|
display: flex;
|
justify-content: center;
|
}
|
|
.manual-btn {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
border: none;
|
border-radius: 12px;
|
padding: 12px 24px;
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
}
|
|
.manual-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
/* 签到页面样式 */
|
.checkin-container {
|
padding: 16px;
|
}
|
|
.checkin-form {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
margin-bottom: 16px;
|
box-shadow: var(--shadow);
|
}
|
|
.form-group {
|
margin-bottom: 16px;
|
}
|
|
.form-group label {
|
display: block;
|
margin-bottom: 8px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.form-group input,
|
.form-group textarea {
|
width: 100%;
|
padding: 12px;
|
border: 1px solid var(--border-color);
|
border-radius: var(--border-radius);
|
font-size: 14px;
|
}
|
|
.form-group textarea {
|
resize: vertical;
|
min-height: 80px;
|
}
|
|
.submit-btn {
|
width: 100%;
|
background: var(--primary-color);
|
color: white;
|
border: none;
|
border-radius: var(--border-radius);
|
padding: 14px;
|
font-size: 16px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: background-color 0.3s;
|
}
|
|
.submit-btn:hover {
|
background: #e55a5a;
|
}
|
|
/* 积分核销页面样式 */
|
.redemption-summary {
|
padding: var(--spacing-md);
|
}
|
|
.summary-card {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
color: white;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.2);
|
}
|
|
.summary-header {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
gap: 8px;
|
margin-bottom: var(--spacing-md);
|
font-size: 16px;
|
font-weight: 600;
|
}
|
|
.summary-header i {
|
font-size: 20px;
|
}
|
|
.summary-content {
|
display: grid;
|
grid-template-columns: repeat(3, 1fr);
|
gap: var(--spacing-md);
|
}
|
|
.summary-item {
|
text-align: center;
|
}
|
|
.summary-label {
|
font-size: 12px;
|
opacity: 0.9;
|
margin-bottom: 4px;
|
}
|
|
.summary-value {
|
font-size: 20px;
|
font-weight: 700;
|
line-height: 1;
|
}
|
|
.redemption-section {
|
padding: 0 var(--spacing-md);
|
}
|
|
.redemption-card {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
border: 1px solid rgba(255, 107, 107, 0.1);
|
}
|
|
.qr-container {
|
display: flex;
|
justify-content: center;
|
margin: var(--spacing-md) 0;
|
}
|
|
.qr-code {
|
background: #f8f9fa;
|
border: 2px dashed #e9ecef;
|
border-radius: 16px;
|
padding: var(--spacing-lg);
|
text-align: center;
|
min-width: 300px;
|
min-height: 300px;
|
transition: all 0.3s ease;
|
}
|
|
.qr-code:hover {
|
border-color: var(--primary-color);
|
background: rgba(255, 107, 107, 0.05);
|
}
|
|
.qr-icon {
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.qr-icon i {
|
font-size: 158px;
|
color: var(--primary-color);
|
}
|
|
.qr-text h4 {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0 0 4px 0;
|
}
|
|
.qr-text p {
|
font-size: 12px;
|
color: var(--text-light);
|
margin: 0;
|
}
|
|
.redemption-tips {
|
margin-top: var(--spacing-md);
|
padding-top: var(--spacing-md);
|
border-top: 1px solid #f0f0f0;
|
}
|
|
.redemption-tips .tip-item {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: 8px;
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.redemption-tips .tip-item:last-child {
|
margin-bottom: 0;
|
}
|
|
.redemption-tips .tip-item i {
|
color: var(--primary-color);
|
width: 16px;
|
text-align: center;
|
}
|
|
.redemption-actions {
|
display: flex;
|
gap: var(--spacing-md);
|
padding: var(--spacing-md);
|
margin-top: var(--spacing-md);
|
}
|
|
.redemption-actions .action-btn {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 6px;
|
background: white;
|
border: 1px solid #e9ecef;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
color: var(--text-color);
|
font-size: 13px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.redemption-actions .action-btn:hover {
|
border-color: var(--primary-color);
|
background: rgba(255, 107, 107, 0.05);
|
transform: translateY(-2px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
|
}
|
|
.redemption-actions .action-btn i {
|
font-size: 20px;
|
color: var(--primary-color);
|
}
|
|
.redemption-container {
|
padding: 16px;
|
}
|
|
.redemption-form {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
margin-bottom: 16px;
|
box-shadow: var(--shadow);
|
}
|
|
.qr-code-container {
|
text-align: center;
|
padding: 40px 20px;
|
background: #f8f9fa;
|
border-radius: var(--border-radius);
|
margin-bottom: 20px;
|
}
|
|
.qr-code-placeholder {
|
width: 200px;
|
height: 200px;
|
background: #e9ecef;
|
border: 2px dashed #ced4da;
|
border-radius: var(--border-radius);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin: 0 auto;
|
color: var(--text-light);
|
font-size: 14px;
|
}
|
|
/* 签到成功页面样式 */
|
.success-container {
|
padding: var(--spacing-md);
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: var(--spacing-lg);
|
}
|
|
.success-icon {
|
margin-top: var(--spacing-lg);
|
}
|
|
.success-icon i {
|
font-size: 80px;
|
color: #4CAF50;
|
animation: successPulse 1s ease-out;
|
}
|
|
@keyframes successPulse {
|
0% { transform: scale(0.5); opacity: 0; }
|
50% { transform: scale(1.2); }
|
100% { transform: scale(1); opacity: 1; }
|
}
|
|
.success-info {
|
text-align: center;
|
}
|
|
.success-info h3 {
|
font-size: 24px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0 0 8px 0;
|
}
|
|
.success-info p {
|
font-size: 16px;
|
color: var(--text-light);
|
margin: 0;
|
}
|
|
.activity-info-card {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
width: 100%;
|
max-width: 320px;
|
}
|
|
.info-item {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 12px 0;
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.info-item:last-child {
|
border-bottom: none;
|
}
|
|
.info-item label {
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.info-item span {
|
font-size: 14px;
|
font-weight: 500;
|
color: var(--text-color);
|
}
|
|
.info-item span[id="checkin-points"] {
|
color: #4CAF50;
|
font-weight: 600;
|
}
|
|
.success-actions {
|
display: flex;
|
gap: var(--spacing-md);
|
width: 100%;
|
max-width: 320px;
|
}
|
|
.action-btn {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 6px;
|
padding: 16px;
|
border-radius: 12px;
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border: none;
|
}
|
|
.action-btn.primary {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
}
|
|
.action-btn.primary:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
.action-btn.secondary {
|
background: white;
|
color: var(--text-color);
|
border: 1px solid #e9ecef;
|
}
|
|
.action-btn.secondary:hover {
|
border-color: var(--primary-color);
|
background: rgba(255, 107, 107, 0.05);
|
transform: translateY(-2px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
|
}
|
|
.action-btn i {
|
font-size: 18px;
|
}
|
|
/* 成功页面样式 */
|
.success-container {
|
text-align: center;
|
padding: 60px 20px;
|
}
|
|
.success-icon {
|
font-size: 80px;
|
color: var(--success-color);
|
margin-bottom: 24px;
|
}
|
|
.success-title {
|
font-size: 24px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 16px;
|
}
|
|
.success-message {
|
font-size: 16px;
|
color: var(--text-light);
|
margin-bottom: 32px;
|
line-height: 1.6;
|
}
|
|
.success-actions {
|
display: flex;
|
gap: 16px;
|
justify-content: center;
|
}
|
|
.success-btn {
|
padding: 12px 24px;
|
border: none;
|
border-radius: var(--border-radius);
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
}
|
|
.success-btn.primary {
|
background: var(--primary-color);
|
color: white;
|
}
|
|
.success-btn.secondary {
|
background: var(--background-color);
|
color: var(--text-color);
|
border: 1px solid var(--border-color);
|
}
|
|
.success-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: var(--shadow);
|
}
|
|
/* 响应式设计 */
|
@media (max-width: 375px) {
|
.function-buttons {
|
grid-template-columns: 1fr;
|
}
|
|
.carousel-container {
|
height: 250px;
|
}
|
|
.page-header {
|
padding: 12px 16px;
|
}
|
}
|
|
/* 动画效果 */
|
@keyframes fadeIn {
|
from {
|
opacity: 0;
|
transform: translateY(20px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
/* 签到二维码按钮样式 */
|
.checkin-qr-section {
|
/* padding: var(--spacing-md); */
|
display: flex;
|
justify-content: center;
|
}
|
|
.checkin-qr-btn {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
color: white;
|
border: none;
|
border-radius: 12px;
|
padding: 12px 24px;
|
font-size: 14px;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
|
}
|
|
.checkin-qr-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
|
}
|
|
.checkin-qr-btn i {
|
font-size: 16px;
|
}
|
|
.page {
|
animation: fadeIn 0.3s ease-out;
|
}
|
|
/* 加载状态 */
|
.loading {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
padding: 40px;
|
color: var(--text-light);
|
}
|
|
.loading::after {
|
content: '';
|
width: 20px;
|
height: 20px;
|
border: 2px solid var(--border-color);
|
border-top: 2px solid var(--primary-color);
|
border-radius: 50%;
|
animation: spin 1s linear infinite;
|
margin-left: 8px;
|
}
|
|
@keyframes spin {
|
0% { transform: rotate(0deg); }
|
100% { transform: rotate(360deg); }
|
}
|
|
/* 底部导航样式 */
|
.bottom-nav {
|
position: fixed;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
width: 100%;
|
max-width: 100vw;
|
background: #fff;
|
border-radius: 24px 24px 0 0;
|
box-shadow: 0 -2px 24px rgba(255,107,107,0.12);
|
display: flex;
|
justify-content: space-around;
|
align-items: center;
|
padding: 6px 0 8px 0;
|
z-index: 100;
|
border-top: 1px solid #f5eaea;
|
}
|
|
.nav-item {
|
flex: 1;
|
text-align: center;
|
color: #bbb;
|
font-size: 12px;
|
border-radius: 16px;
|
padding: 6px 12px 4px 12px;
|
margin: 2px 8px;
|
transition: color 0.2s, background 0.2s;
|
cursor: pointer;
|
}
|
|
.nav-item.active {
|
color: #ff6b6b;
|
background: #ffe6e6;
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15);
|
}
|
|
.nav-item i {
|
font-size: 18px;
|
display: block;
|
margin-bottom: 3px;
|
}
|
|
.nav-item span {
|
font-size: 10px;
|
font-weight: 500;
|
}
|
|
/* 个人中心页面样式 */
|
.profile-page-header {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding: 32px 0 20px 0;
|
position: relative;
|
}
|
|
.user-top-row {
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
width: 100%;
|
padding: 0 16px;
|
margin-bottom: 20px;
|
}
|
|
.user-left-space {
|
flex: 1;
|
}
|
|
.user-avatar {
|
width: 72px;
|
height: 72px;
|
border-radius: 50%;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.15);
|
}
|
|
.user-actions {
|
display: flex;
|
flex-direction: column;
|
gap: 8px;
|
align-items: flex-end;
|
}
|
|
.volunteer-register-btn {
|
background: rgba(255, 255, 255, 0.2);
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
color: #fff;
|
padding: 8px 16px;
|
border-radius: 20px;
|
font-size: 12px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
}
|
|
.volunteer-register-btn:hover {
|
background: rgba(255, 255, 255, 0.3);
|
border-color: rgba(255, 255, 255, 0.5);
|
}
|
|
.verified-badge {
|
background: rgba(76, 175, 80, 0.9);
|
color: #fff;
|
padding: 6px 12px;
|
border-radius: 16px;
|
font-size: 11px;
|
display: flex;
|
align-items: center;
|
gap: 4px;
|
}
|
|
.verified-badge.hidden {
|
display: none;
|
}
|
|
.user-text-info {
|
display: flex;
|
flex-direction: column;
|
gap: 4px;
|
text-align: center;
|
}
|
|
.user-name {
|
font-size: 18px;
|
font-weight: 600;
|
color: #fff;
|
}
|
|
.user-community {
|
font-size: 13px;
|
color: #fff;
|
opacity: 0.85;
|
}
|
|
/* 服务时长统计卡片样式 */
|
.service-stats-card {
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 2px 12px rgba(255,107,107,0.08);
|
margin: 16px 12px;
|
padding: var(--spacing-md);
|
border: 1px solid rgba(255,107,107,0.12);
|
}
|
|
.stats-header {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin-bottom: var(--spacing-md);
|
padding-bottom: var(--spacing-sm);
|
border-bottom: 1px solid rgba(255,107,107,0.1);
|
}
|
|
.stats-header i {
|
width: 32px;
|
height: 32px;
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
color: white;
|
font-size: 16px;
|
}
|
|
.stats-header span {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.stats-content {
|
display: flex;
|
justify-content: space-between;
|
gap: var(--spacing-md);
|
}
|
|
.stats-item {
|
flex: 1;
|
text-align: center;
|
padding: var(--spacing-sm);
|
background: #f8f9fa;
|
border-radius: 12px;
|
border: 1px solid rgba(255,107,107,0.08);
|
transition: all 0.3s ease;
|
}
|
|
.stats-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 12px rgba(255,107,107,0.15);
|
border-color: rgba(255,107,107,0.2);
|
}
|
|
.stats-label {
|
font-size: 12px;
|
color: var(--text-light);
|
margin-bottom: var(--spacing-sm);
|
font-weight: 500;
|
}
|
|
.stats-value {
|
font-size: 20px;
|
font-weight: 700;
|
color: var(--primary-color);
|
margin-bottom: 2px;
|
line-height: 1;
|
}
|
|
.stats-unit {
|
font-size: 11px;
|
color: var(--text-light);
|
font-weight: 500;
|
}
|
|
/* 功能按钮样式 */
|
.function-row {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
gap: 20px;
|
padding: 12px 0;
|
}
|
|
.function-row-left {
|
display: flex;
|
justify-content: flex-start;
|
gap: 20px;
|
padding: 16px 0;
|
}
|
|
.function-btn-flex {
|
flex: 1;
|
}
|
|
.function-btn-width {
|
width: 150px;
|
}
|
|
.function-btn {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
background: none;
|
border: none;
|
box-shadow: none;
|
cursor: pointer;
|
transition: transform 0.2s, box-shadow 0.2s;
|
padding: 16px 8px;
|
}
|
|
.function-btn:active, .function-btn:hover {
|
transform: translateY(-2px) scale(1.05);
|
}
|
|
.function-btn i {
|
width: 48px;
|
height: 48px;
|
border-radius: 50%;
|
color: #fff;
|
font-size: 24px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: 8px;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.15);
|
}
|
|
.function-btn span {
|
font-size: 13px;
|
color: #333;
|
margin-top: 2px;
|
text-align: center;
|
}
|
|
/* 图标渐变背景样式 */
|
.icon-heart {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
|
}
|
|
.icon-clock {
|
background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
|
}
|
|
.icon-clipboard {
|
background: linear-gradient(135deg, #ffb199 0%, #ff6b6b 100%);
|
}
|
|
.icon-coins {
|
background: linear-gradient(135deg, #ffe66d 0%, #f6d365 100%);
|
color: #ff6b6b;
|
}
|
|
.icon-comment {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
}
|
|
.icon-shield {
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
}
|
|
.icon-signout {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
|
}
|
|
/* 活动列表容器样式 */
|
.activity-list {
|
padding: 0 var(--spacing-md);
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 2px 12px rgba(255,107,107,0.08);
|
/* margin: 16px 12px; */
|
padding: 0 0 4px 0;
|
}
|
|
/* 区域头部样式 */
|
.section-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 16px 16px 0 16px;
|
margin-bottom: 16px;
|
}
|
|
.section-header .section-title {
|
margin-bottom: 0;
|
padding: 0;
|
font-size: 18px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
/* 更多按钮样式 */
|
.more-btn {
|
display: flex;
|
align-items: center;
|
gap: 4px;
|
background: none;
|
border: none;
|
color: var(--primary-color);
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
padding: 8px 0 8px 12px;
|
border-radius: var(--border-radius);
|
transition: all 0.3s ease;
|
}
|
|
.more-btn:hover {
|
background: rgba(255, 107, 107, 0.1);
|
transform: translateX(2px);
|
}
|
|
.more-btn i {
|
font-size: 12px;
|
transition: transform 0.3s ease;
|
}
|
|
.more-btn:hover i {
|
transform: translateX(2px);
|
}
|
|
/* 消息列表页面样式 */
|
.message-list {
|
padding: var(--spacing-md);
|
display: flex;
|
flex-direction: column;
|
gap: var(--spacing-md);
|
}
|
|
.message-item {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
cursor: pointer;
|
transition: all 0.2s ease;
|
border-left: 4px solid transparent;
|
}
|
|
.message-item:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
}
|
|
.message-item.unread {
|
border-left-color: var(--primary-color);
|
background: linear-gradient(135deg, rgba(255, 107, 107, 0.02), rgba(255, 107, 107, 0.01));
|
}
|
|
.message-item.read {
|
opacity: 0.8;
|
}
|
|
.message-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.message-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
flex: 1;
|
margin-right: var(--spacing-sm);
|
line-height: 1.4;
|
}
|
|
.message-status {
|
padding: 2px 8px;
|
border-radius: 12px;
|
font-size: 11px;
|
font-weight: 500;
|
white-space: nowrap;
|
}
|
|
.message-status.read {
|
background: rgba(158, 158, 158, 0.1);
|
color: #666;
|
}
|
|
.message-status.unread {
|
background: rgba(255, 107, 107, 0.1);
|
color: var(--primary-color);
|
}
|
|
.message-preview {
|
font-size: 14px;
|
color: var(--text-light);
|
line-height: 1.5;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.message-meta {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
.message-time {
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
.message-type {
|
padding: 2px 6px;
|
background: rgba(78, 205, 196, 0.1);
|
color: var(--secondary-color);
|
border-radius: 8px;
|
font-size: 11px;
|
}
|
|
.empty-state {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding: var(--spacing-lg) * 2;
|
color: var(--text-light);
|
}
|
|
.empty-state i {
|
font-size: 48px;
|
margin-bottom: var(--spacing-md);
|
opacity: 0.5;
|
}
|
|
.empty-state p {
|
font-size: 16px;
|
}
|
|
/* 消息详情页面样式 */
|
.message-detail-content {
|
padding: var(--spacing-md);
|
background: #fff;
|
min-height: calc(100vh - 60px);
|
}
|
|
.message-header {
|
margin-bottom: var(--spacing-lg);
|
padding-bottom: var(--spacing-md);
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.message-detail-title {
|
font-size: 20px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: var(--spacing-sm);
|
line-height: 1.4;
|
}
|
|
.message-meta {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.message-detail-time {
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.message-detail-type {
|
padding: 4px 8px;
|
background: rgba(78, 205, 196, 0.1);
|
color: var(--secondary-color);
|
border-radius: 12px;
|
font-size: 12px;
|
}
|
|
.message-body {
|
margin-bottom: var(--spacing-lg);
|
}
|
|
.message-detail-content-text {
|
font-size: 16px;
|
line-height: 1.6;
|
color: var(--text-color);
|
white-space: pre-wrap;
|
word-break: break-word;
|
}
|
|
.message-actions {
|
display: flex;
|
gap: var(--spacing-md);
|
padding-top: var(--spacing-md);
|
border-top: 1px solid #f0f0f0;
|
}
|
|
.action-btn {
|
flex: 1;
|
padding: var(--spacing-md);
|
border: none;
|
border-radius: var(--border-radius);
|
font-size: 16px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.2s ease;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.action-btn.primary {
|
background: var(--primary-color);
|
color: #fff;
|
}
|
|
.action-btn.primary:hover {
|
background: #e74c3c;
|
transform: translateY(-1px);
|
}
|
|
.action-btn.secondary {
|
background: #f8f9fa;
|
color: var(--text-color);
|
border: 1px solid #e9ecef;
|
}
|
|
.action-btn.secondary:hover {
|
background: #e9ecef;
|
transform: translateY(-1px);
|
}
|
|
.error-state {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding: var(--spacing-lg) * 2;
|
color: var(--text-light);
|
}
|
|
.error-state i {
|
font-size: 48px;
|
margin-bottom: var(--spacing-md);
|
color: #e74c3c;
|
opacity: 0.7;
|
}
|
|
.error-state p {
|
font-size: 16px;
|
margin-bottom: var(--spacing-lg);
|
}
|
|
.loading-container {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding: var(--spacing-lg) * 2;
|
color: var(--text-light);
|
}
|
|
.loading-spinner {
|
width: 40px;
|
height: 40px;
|
border: 3px solid #f3f3f3;
|
border-top: 3px solid var(--primary-color);
|
border-radius: 50%;
|
animation: spin 1s linear infinite;
|
margin-bottom: var(--spacing-md);
|
}
|
|
@keyframes spin {
|
0% { transform: rotate(0deg); }
|
100% { transform: rotate(360deg); }
|
}
|
|
/* 积分查询详情页面样式 */
|
.points-overview {
|
padding: var(--spacing-md);
|
}
|
|
.overview-card {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
border-radius: 16px;
|
padding: var(--spacing-lg);
|
box-shadow: 0 4px 20px rgba(255, 107, 107, 0.2);
|
color: white;
|
}
|
|
.overview-header {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: var(--spacing-lg);
|
font-size: 16px;
|
font-weight: 600;
|
}
|
|
.overview-header i {
|
font-size: 20px;
|
}
|
|
.overview-header span {
|
font-size: 16px;
|
font-weight: 600;
|
color: white;
|
}
|
|
.overview-content {
|
display: flex;
|
gap: var(--spacing-md);
|
}
|
|
.overview-item {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
text-align: center;
|
position: relative;
|
}
|
|
.overview-label {
|
font-size: 12px;
|
opacity: 0.9;
|
margin-bottom: 4px;
|
color: white;
|
}
|
|
.overview-value {
|
font-size: 24px;
|
font-weight: 700;
|
margin-bottom: 8px;
|
color: white;
|
}
|
|
.overview-icon {
|
width: 32px;
|
height: 32px;
|
background: rgba(255, 255, 255, 0.2);
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.overview-icon i {
|
font-size: 16px;
|
color: white;
|
}
|
|
/* 积分操作按钮样式 */
|
.points-actions {
|
display: flex;
|
gap: var(--spacing-md);
|
padding: 0 var(--spacing-md) var(--spacing-md);
|
}
|
|
.action-card {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
background: #fff;
|
border: 1px solid rgba(255,107,107,0.12);
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.08);
|
}
|
|
.action-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(255,107,107,0.15);
|
border-color: rgba(255,107,107,0.3);
|
}
|
|
.action-card i {
|
width: 40px;
|
height: 40px;
|
border-radius: 50%;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: #fff;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: var(--spacing-sm);
|
font-size: 18px;
|
}
|
|
.action-card span {
|
font-size: 13px;
|
color: var(--text-color);
|
font-weight: 500;
|
}
|
|
/* 积分记录样式 */
|
.points-records {
|
background: white;
|
border-radius: 16px 16px 0 0;
|
margin-top: var(--spacing-md);
|
padding: var(--spacing-md);
|
box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
|
}
|
|
.records-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: var(--spacing-md);
|
}
|
|
.records-header h3 {
|
font-size: 18px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0;
|
}
|
|
.tab-section {
|
display: flex;
|
gap: var(--spacing-sm);
|
margin-bottom: var(--spacing-md);
|
}
|
|
.tab-btn {
|
flex: 1;
|
padding: var(--spacing-sm) var(--spacing-md);
|
background: #f8f9fa;
|
border: 1px solid rgba(255,107,107,0.08);
|
border-radius: 20px;
|
color: var(--text-light);
|
font-size: 14px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.tab-btn.active {
|
background: var(--primary-color);
|
color: #fff;
|
border-color: var(--primary-color);
|
}
|
|
.list-content {
|
min-height: 200px;
|
}
|
|
.list-tab {
|
display: none;
|
}
|
|
.list-tab.active {
|
display: block;
|
}
|
|
.list-item {
|
background: #f8f9fa;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-sm);
|
border: 1px solid rgba(255,107,107,0.08);
|
}
|
|
.item-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.item-header h4 {
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0;
|
}
|
|
.status {
|
font-size: 12px;
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-weight: 500;
|
}
|
|
.status.approved {
|
background: rgba(76, 175, 80, 0.1);
|
color: #4caf50;
|
}
|
|
.status.pending {
|
background: rgba(255, 152, 0, 0.1);
|
color: #ff9800;
|
}
|
|
.status.rejected {
|
background: rgba(244, 67, 54, 0.1);
|
color: #f44336;
|
}
|
|
.status.completed {
|
background: rgba(76, 175, 80, 0.1);
|
color: #4caf50;
|
}
|
|
.item-content p {
|
font-size: 13px;
|
color: var(--text-light);
|
margin: 0 0 var(--spacing-sm) 0;
|
line-height: 1.4;
|
}
|
|
.item-meta {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 12px;
|
}
|
|
.time {
|
color: var(--text-light);
|
}
|
|
.points {
|
font-weight: 600;
|
color: var(--primary-color);
|
}
|
|
/* 我的报名页面样式 */
|
.declaration-search-bar {
|
padding: 16px 12px;
|
background: #fff;
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.search-filter-row {
|
display: flex;
|
gap: 12px;
|
align-items: center;
|
}
|
|
.declaration-search {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
|
border: 2px solid var(--border-color);
|
border-radius: 22px;
|
padding: 8px 60px 8px 16px;
|
transition: all 0.3s;
|
min-width: 180px;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
position: relative;
|
overflow: visible;
|
height: 44px;
|
}
|
|
.declaration-search:focus-within {
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15), 0 4px 12px rgba(255, 107, 107, 0.1);
|
transform: translateY(-1px);
|
}
|
|
.declaration-search::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: -100%;
|
width: 100%;
|
height: 100%;
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
transition: left 0.5s;
|
}
|
|
.declaration-search:hover::before {
|
left: 100%;
|
}
|
|
.declaration-search i {
|
color: var(--primary-color);
|
margin-right: 10px;
|
font-size: 16px;
|
opacity: 0.8;
|
transition: all 0.3s;
|
}
|
|
.declaration-search:focus-within i {
|
opacity: 1;
|
transform: scale(1.1);
|
}
|
|
.declaration-search input {
|
flex: 1;
|
border: none;
|
background: none;
|
outline: none;
|
font-size: 14px;
|
color: var(--text-color);
|
padding: 0;
|
font-weight: 500;
|
position: relative;
|
z-index: 1;
|
line-height: 1.4;
|
padding-right: 55px;
|
}
|
|
.declaration-search input::placeholder {
|
color: var(--text-light);
|
font-weight: 400;
|
opacity: 0.8;
|
}
|
|
.declaration-search-btn {
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
color: #fff;
|
border: none;
|
border-radius: 18px;
|
padding: 8px 12px;
|
font-size: 12px;
|
cursor: pointer;
|
transition: all 0.3s;
|
font-weight: 600;
|
box-shadow: 0 3px 8px rgba(255, 107, 107, 0.25);
|
position: absolute;
|
right: 8px;
|
top: 50%;
|
transform: translateY(-50%);
|
z-index: 2;
|
letter-spacing: 0.5px;
|
height: 28px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
flex-shrink: 0;
|
white-space: nowrap;
|
}
|
|
.declaration-search-btn:hover {
|
transform: translateY(-50%) translateY(-2px) scale(1.05);
|
box-shadow: 0 6px 16px rgba(255, 107, 107, 0.35);
|
}
|
|
.declaration-search-btn:active {
|
transform: translateY(-50%) translateY(0) scale(0.98);
|
box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 更多筛选按钮 */
|
.filter-more-btn {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 4px;
|
padding: 8px 12px;
|
border: 2px solid transparent;
|
border-radius: 22px;
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
font-size: 13px;
|
color: #fff;
|
cursor: pointer;
|
transition: all 0.3s;
|
min-width: 70px;
|
white-space: nowrap;
|
font-weight: 600;
|
flex-shrink: 0;
|
box-shadow: 0 3px 8px rgba(255, 107, 107, 0.25);
|
position: relative;
|
overflow: hidden;
|
letter-spacing: 0.3px;
|
height: 37px;
|
}
|
|
.filter-more-btn::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: -100%;
|
width: 100%;
|
height: 100%;
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
transition: left 0.5s;
|
}
|
|
.filter-more-btn:hover::before {
|
left: 100%;
|
}
|
|
.filter-more-btn:hover {
|
transform: translateY(-2px) scale(1.05);
|
box-shadow: 0 6px 16px rgba(255, 107, 107, 0.35);
|
}
|
|
.filter-more-btn:active {
|
transform: translateY(0) scale(0.98);
|
box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
|
}
|
|
.filter-more-btn i {
|
font-size: 16px;
|
position: relative;
|
z-index: 1;
|
transition: all 0.3s;
|
}
|
|
.filter-more-btn:hover i {
|
transform: rotate(180deg);
|
}
|
|
.declaration-select:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
/* 筛选弹窗样式 */
|
.filter-modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.5);
|
z-index: 1000;
|
display: flex;
|
justify-content: center;
|
align-items: flex-start;
|
padding-top: 80px;
|
}
|
|
.filter-modal {
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
|
width: 90%;
|
max-width: 400px;
|
max-height: 80vh;
|
overflow: hidden;
|
animation: slideDown 0.3s ease-out;
|
}
|
|
@keyframes slideDown {
|
from {
|
opacity: 0;
|
transform: translateY(-20px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
.filter-modal-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 20px;
|
border-bottom: 1px solid var(--border-color);
|
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
|
}
|
|
.filter-modal-header h3 {
|
font-size: 18px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0;
|
}
|
|
.filter-close-btn {
|
width: 32px;
|
height: 32px;
|
border: none;
|
border-radius: 50%;
|
background: #f0f0f0;
|
color: var(--text-light);
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
transition: all 0.3s;
|
}
|
|
.filter-close-btn:hover {
|
background: var(--primary-color);
|
color: #fff;
|
}
|
|
.filter-modal-content {
|
padding: 20px;
|
max-height: 60vh;
|
overflow-y: auto;
|
}
|
|
.filter-group {
|
margin-bottom: 20px;
|
}
|
|
.filter-group:last-child {
|
margin-bottom: 0;
|
}
|
|
.filter-group label {
|
display: block;
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 8px;
|
}
|
|
.filter-select {
|
width: 100%;
|
padding: 12px 16px;
|
border: 2px solid var(--border-color);
|
border-radius: 12px;
|
background: #f8f9fa;
|
font-size: 14px;
|
color: var(--text-color);
|
cursor: pointer;
|
transition: all 0.3s;
|
appearance: none;
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
|
background-repeat: no-repeat;
|
background-position: right 16px center;
|
background-size: 16px;
|
padding-right: 48px;
|
}
|
|
.filter-select:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
.filter-modal-actions {
|
display: flex;
|
gap: 12px;
|
padding: 20px;
|
border-top: 1px solid var(--border-color);
|
background: #f8f9fa;
|
}
|
|
.filter-reset-btn,
|
.filter-confirm-btn {
|
flex: 1;
|
padding: 12px 24px;
|
border: none;
|
border-radius: 25px;
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
}
|
|
.filter-reset-btn {
|
background: #f0f0f0;
|
color: var(--text-color);
|
}
|
|
.filter-reset-btn:hover {
|
background: #e0e0e0;
|
}
|
|
.filter-confirm-btn {
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
color: #fff;
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
|
}
|
|
.filter-confirm-btn:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
|
}
|
|
/* 响应式优化 - 搜索筛选区域 */
|
@media (max-width: 480px) {
|
.declaration-search-bar {
|
padding: 12px 8px;
|
}
|
|
.search-filter-row {
|
gap: 8px;
|
}
|
|
.declaration-search {
|
/* min-width: auto; */
|
padding: 8px 50px 8px 12px;
|
}
|
|
.filter-more-btn {
|
min-width: 60px;
|
padding: 8px 10px;
|
font-size: 12px;
|
gap: 3px;
|
}
|
|
.filter-modal {
|
width: 95%;
|
margin: 0 auto;
|
}
|
|
.filter-modal-overlay {
|
padding-top: 60px;
|
}
|
}
|
|
.declaration-tabs {
|
display: flex;
|
background: #fff;
|
/* padding: 0 var(--spacing-md); */
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.declaration-tab {
|
flex: 1;
|
padding: var(--spacing-md);
|
background: none;
|
border: none;
|
color: var(--text-light);
|
font-size: 17px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border-bottom: 2px solid transparent;
|
}
|
|
.declaration-tab.active {
|
color: var(--primary-color);
|
border-bottom-color: var(--primary-color);
|
}
|
|
.community-filter {
|
display: flex;
|
gap: var(--spacing-sm);
|
padding: var(--spacing-md);
|
background: #fff;
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.community-btn {
|
padding: var(--spacing-sm) var(--spacing-md);
|
background: #f8f9fa;
|
border: 1px solid var(--border-color);
|
border-radius: 20px;
|
color: var(--text-light);
|
font-size: 13px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.community-btn.active {
|
background: var(--primary-color);
|
color: #fff;
|
border-color: var(--primary-color);
|
}
|
|
.activity-grid {
|
padding: var(--spacing-md);
|
display: grid;
|
gap: var(--spacing-md);
|
}
|
|
.activity-card {
|
background: #fff;
|
border-radius: 12px;
|
overflow: hidden;
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.activity-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
}
|
|
.activity-cover {
|
position: relative;
|
height: 160px;
|
overflow: hidden;
|
}
|
|
.activity-cover img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.activity-status {
|
position: absolute;
|
right: var(--spacing-sm);
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-size: 11px;
|
font-weight: 500;
|
color: #fff;
|
}
|
|
.activity-status.ongoing {
|
background: rgba(76, 175, 80, 0.9);
|
}
|
|
.activity-status.upcoming {
|
background: rgba(255, 152, 0, 0.9);
|
}
|
|
.activity-status.completed {
|
background: rgba(158, 158, 158, 0.9);
|
}
|
|
|
.activity-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0 0 var(--spacing-sm) 0;
|
line-height: 1.3;
|
}
|
|
.activity-meta {
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.meta-item {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin-bottom: 4px;
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.meta-item i {
|
width: 16px;
|
color: var(--primary-color);
|
}
|
|
.activity-participants {
|
font-size: 12px;
|
color: var(--text-light);
|
text-align: right;
|
}
|
|
/* 活动列表页面样式 */
|
.activity-grid {
|
padding: var(--spacing-md);
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 2px 12px rgba(255,107,107,0.08);
|
margin: 0px 12px;
|
padding: 12px 0 4px 0;
|
}
|
|
/* 活动项样式(volunteer1风格) */
|
.activity-item {
|
display: flex;
|
align-items: center;
|
background: #fff;
|
border-radius: 16px;
|
border: 1px solid rgba(255,107,107,0.12);
|
box-shadow: 0 4px 16px rgba(255,107,107,0.12), 0 2px 8px rgba(0,0,0,0.08);
|
margin-bottom: 10px;
|
padding: 16px 20px 16px 18px;
|
position: relative;
|
min-height: 100px;
|
transition: all 0.3s ease;
|
cursor: pointer;
|
}
|
|
.activity-item:hover {
|
box-shadow: 0 6px 20px rgba(255,107,107,0.18), 0 4px 12px rgba(0,0,0,0.12);
|
transform: translateY(-2px);
|
}
|
|
.activity-item .cover {
|
width: 80px;
|
height: 80px;
|
border-radius: 10px;
|
object-fit: cover;
|
margin-right: 16px;
|
background: #f5f5f5;
|
flex-shrink: 0;
|
}
|
|
.activity-info {
|
flex: 1;
|
min-width: 0;
|
display: flex;
|
flex-direction: column;
|
gap: 6px;
|
justify-content: center;
|
}
|
|
.activity-info-row {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
}
|
|
.activity-info h4 {
|
font-size: 15px;
|
color: #222;
|
font-weight: 600;
|
margin: 0;
|
line-height: 1.2;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
}
|
|
.activity-status {
|
font-size: 11px;
|
border-radius: 8px;
|
padding: 2px 14px;
|
background: #ffe6e6;
|
color: #ffb347;
|
font-weight: 500;
|
margin-left: 8px;
|
white-space: nowrap;
|
line-height: 1.2;
|
}
|
|
.activity-status.ongoing {
|
background: #ffe6e6;
|
color: #ffb347;
|
}
|
|
.activity-status.upcoming {
|
background: #e6fff6;
|
color: #38b2ac;
|
}
|
|
.activity-status.completed {
|
background: #e6e6e6;
|
color: #aaa;
|
}
|
|
.activity-info-detail {
|
font-size: 12px;
|
color: #888;
|
display: flex;
|
align-items: center;
|
line-height: 1.3;
|
}
|
|
.activity-info-detail i {
|
margin-right: 6px;
|
width: 14px;
|
text-align: center;
|
}
|
|
.category-tag {
|
background: rgba(255, 107, 107, 0.1);
|
color: var(--primary-color);
|
padding: 2px 6px;
|
border-radius: 8px;
|
font-size: 11px;
|
font-weight: 500;
|
margin-left: 4px;
|
}
|
|
/* 活动卡片样式 */
|
.activity-card {
|
background: white;
|
border-radius: var(--border-radius);
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
box-shadow: var(--shadow);
|
border: 1px solid rgba(255,107,107,0.08);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.activity-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
border-color: rgba(255,107,107,0.2);
|
}
|
|
.activity-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: var(--spacing-md);
|
}
|
|
.activity-header h4 {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0;
|
}
|
|
.category-tag {
|
padding: var(--spacing-xs) var(--spacing-sm);
|
border-radius: 12px;
|
font-size: 10px;
|
font-weight: 500;
|
}
|
|
.category-tag.party {
|
background-color: #ff6b6b;
|
color: white;
|
}
|
|
.category-tag.economy {
|
background-color: #4ecdc4;
|
color: white;
|
}
|
|
.category-tag.security {
|
background-color: #ffe66d;
|
color: #856404;
|
}
|
|
.category-tag.service {
|
background-color: #95e1d3;
|
color: white;
|
}
|
|
.category-tag.illegal {
|
background-color: #ff8a8a;
|
color: white;
|
}
|
|
.activity-details p {
|
font-size: 12px;
|
color: var(--text-light);
|
margin-bottom: var(--spacing-xs);
|
display: flex;
|
align-items: center;
|
}
|
|
.activity-details i {
|
margin-right: var(--spacing-xs);
|
color: var(--primary-color);
|
width: 12px;
|
text-align: center;
|
}
|
|
.join-btn {
|
width: 100%;
|
padding: var(--spacing-sm);
|
background-color: var(--primary-color);
|
color: white;
|
border: none;
|
border-radius: var(--border-radius);
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: background-color 0.3s;
|
margin-top: var(--spacing-md);
|
}
|
|
.join-btn:hover {
|
background-color: #ff5252;
|
}
|
|
/* 无数据状态 */
|
.no-data {
|
text-align: center;
|
padding: var(--spacing-lg);
|
color: var(--text-light);
|
}
|
|
.no-data i {
|
font-size: 48px;
|
margin-bottom: var(--spacing-md);
|
opacity: 0.5;
|
}
|
|
.no-data p {
|
font-size: 14px;
|
margin: 0;
|
}
|
|
/* 活动项样式(volunteer1风格) */
|
.activity-grid {
|
display: flex;
|
flex-direction: column;
|
gap: 10px;
|
}
|
|
.activity-item {
|
display: flex;
|
align-items: center;
|
background: #fff;
|
border-radius: 16px;
|
border: 1px solid rgba(255,107,107,0.12);
|
box-shadow: 0 4px 16px rgba(255,107,107,0.12), 0 2px 8px rgba(0,0,0,0.08);
|
margin-bottom: 10px;
|
padding: 16px 20px 16px 18px;
|
position: relative;
|
min-height: 100px;
|
transition: all 0.3s ease;
|
cursor: pointer;
|
}
|
|
.activity-item:hover {
|
box-shadow: 0 6px 20px rgba(255,107,107,0.18), 0 4px 12px rgba(0,0,0,0.12);
|
transform: translateY(-2px);
|
}
|
|
.activity-item .cover {
|
width: 80px;
|
height: 80px;
|
border-radius: 10px;
|
object-fit: cover;
|
margin-right: 16px;
|
background: #f5f5f5;
|
flex-shrink: 0;
|
}
|
|
.activity-info {
|
flex: 1;
|
min-width: 0;
|
display: flex;
|
flex-direction: column;
|
gap: 6px;
|
justify-content: center;
|
}
|
|
.activity-info-row {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
}
|
|
.activity-info h4 {
|
font-size: 15px;
|
color: #222;
|
font-weight: 600;
|
margin: 0;
|
line-height: 1.2;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
}
|
|
.activity-status {
|
font-size: 11px;
|
border-radius: 8px;
|
padding: 2px 14px;
|
background: #ffe6e6;
|
color: #ffb347;
|
font-weight: 500;
|
margin-left: 8px;
|
white-space: nowrap;
|
line-height: 1.2;
|
}
|
|
.activity-status.ongoing {
|
background: #ffe6e6;
|
color: #ffb347;
|
}
|
|
.activity-status.upcoming {
|
background: #e6fff6;
|
color: #38b2ac;
|
}
|
|
.activity-status.completed {
|
background: #e6e6e6;
|
color: #aaa;
|
}
|
|
.activity-info-detail {
|
font-size: 12px;
|
color: #888;
|
display: flex;
|
align-items: center;
|
line-height: 1.3;
|
}
|
|
.activity-info-detail i {
|
margin-right: 6px;
|
width: 14px;
|
text-align: center;
|
}
|
|
.category-tag {
|
background: rgba(255, 107, 107, 0.1);
|
color: var(--primary-color);
|
padding: 2px 6px;
|
border-radius: 8px;
|
font-size: 11px;
|
font-weight: 500;
|
margin-left: 4px;
|
}
|
|
/* 申报卡片样式 */
|
.declaration-card {
|
background: #fff;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-sm);
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border: 1px solid rgba(255,107,107,0.08);
|
}
|
|
.declaration-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
border-color: rgba(255,107,107,0.2);
|
}
|
|
.declaration-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.declaration-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.declaration-status {
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-size: 11px;
|
font-weight: 500;
|
}
|
|
.declaration-status.approved {
|
background: rgba(76, 175, 80, 0.1);
|
color: #4caf50;
|
}
|
|
.declaration-status.pending {
|
background: rgba(255, 152, 0, 0.1);
|
color: #ff9800;
|
}
|
|
.declaration-status.rejected {
|
background: rgba(244, 67, 54, 0.1);
|
color: #f44336;
|
}
|
|
.declaration-info {
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.declaration-info-row {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin-bottom: 4px;
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.declaration-info-row i {
|
width: 16px;
|
color: var(--primary-color);
|
}
|
|
.declaration-content {
|
font-size: 14px;
|
color: var(--text-color);
|
line-height: 1.4;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.declaration-footer {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.points-info {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--primary-color);
|
}
|
|
.points-info i {
|
color: var(--primary-color);
|
}
|
|
.declaration-arrow {
|
color: var(--text-light);
|
font-size: 14px;
|
}
|
|
/* 核销卡片样式 */
|
.redemption-card {
|
background: #fff;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-sm);
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border: 1px solid rgba(255,107,107,0.08);
|
}
|
|
.redemption-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
border-color: rgba(255,107,107,0.2);
|
}
|
|
.redemption-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.redemption-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.redemption-status {
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-size: 11px;
|
font-weight: 500;
|
}
|
|
.redemption-status.completed {
|
background: rgba(76, 175, 80, 0.1);
|
color: #4caf50;
|
}
|
|
.redemption-info {
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.redemption-info-row {
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-sm);
|
margin-bottom: 4px;
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.redemption-info-row i {
|
width: 16px;
|
color: var(--primary-color);
|
}
|
|
.redemption-content {
|
font-size: 14px;
|
color: var(--text-color);
|
line-height: 1.4;
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.redemption-footer {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.redemption-arrow {
|
color: var(--text-light);
|
font-size: 14px;
|
}
|
|
/* 申报表单样式 */
|
.declaration-form {
|
padding: var(--spacing-md);
|
}
|
|
.form-section {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
}
|
|
.form-section .section-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: var(--spacing-md);
|
padding-bottom: var(--spacing-sm);
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.form-group {
|
margin-bottom: var(--spacing-md);
|
}
|
|
.form-group label {
|
display: block;
|
font-size: 14px;
|
font-weight: 500;
|
color: var(--text-color);
|
margin-bottom: var(--spacing-sm);
|
}
|
|
.form-input {
|
width: 100%;
|
padding: 12px 16px;
|
border: 1px solid var(--border-color);
|
border-radius: var(--border-radius);
|
font-size: 14px;
|
background: #fff;
|
transition: border-color 0.3s ease;
|
}
|
|
.form-input:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
.form-select {
|
width: 100%;
|
padding: 12px 16px;
|
border: 1px solid var(--border-color);
|
border-radius: var(--border-radius);
|
font-size: 14px;
|
background: #fff;
|
transition: border-color 0.3s ease;
|
cursor: pointer;
|
}
|
|
.form-select:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
.form-input[readonly] {
|
background-color: #f8f9fa;
|
color: var(--text-light);
|
cursor: not-allowed;
|
}
|
|
.points-display {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 12px 16px;
|
background: #f8f9fa;
|
border: 2px solid #ff6b6b;
|
border-radius: var(--border-radius);
|
color: #ff6b6b;
|
}
|
|
.points-value {
|
font-size: 24px;
|
font-weight: 700;
|
color: #ff6b6b;
|
}
|
|
.points-unit {
|
font-size: 14px;
|
color: #ff6b6b;
|
opacity: 0.9;
|
}
|
|
.time-range-container {
|
display: flex;
|
flex-direction: column;
|
gap: 12px;
|
}
|
|
.time-input-group {
|
display: flex;
|
flex-direction: column;
|
gap: 8px;
|
}
|
|
.time-label {
|
font-size: 12px;
|
color: var(--text-light);
|
font-weight: 500;
|
}
|
|
.time-input {
|
width: 100%;
|
}
|
|
.service-hours-display {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 12px 16px;
|
background: #f8f9fa;
|
border: 2px solid var(--secondary-color);
|
border-radius: var(--border-radius);
|
color: var(--secondary-color);
|
}
|
|
.hours-value {
|
font-size: 24px;
|
font-weight: 700;
|
color: var(--secondary-color);
|
}
|
|
.hours-unit {
|
font-size: 14px;
|
color: var(--secondary-color);
|
opacity: 0.9;
|
}
|
|
.file-upload {
|
margin-top: var(--spacing-sm);
|
}
|
|
.file-input-hidden {
|
display: none;
|
}
|
|
.upload-btn {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 12px 16px;
|
background: #f8f9fa;
|
border: 2px dashed var(--border-color);
|
border-radius: var(--border-radius);
|
color: var(--text-light);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
width: 100%;
|
justify-content: center;
|
}
|
|
.upload-btn:hover {
|
border-color: var(--primary-color);
|
color: var(--primary-color);
|
background: rgba(255, 107, 107, 0.05);
|
}
|
|
.form-actions {
|
padding: var(--spacing-md) 0;
|
text-align: center;
|
}
|
|
.submit-btn {
|
display: inline-flex;
|
align-items: center;
|
gap: 8px;
|
padding: 14px 32px;
|
background: var(--primary-color);
|
color: white;
|
border: none;
|
border-radius: var(--border-radius);
|
font-size: 16px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
|
}
|
|
.submit-btn:hover {
|
background: #ff5252;
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 活动详情页面样式 */
|
.activity-detail-content {
|
padding-bottom: 100px;
|
}
|
|
.activity-cover {
|
width: 100%;
|
height: 200px;
|
overflow: hidden;
|
position: relative;
|
}
|
|
.activity-cover img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.detail-section {
|
background: #fff;
|
margin: var(--spacing-md);
|
border-radius: var(--border-radius);
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
}
|
|
.detail-section .section-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: var(--spacing-md);
|
padding-bottom: var(--spacing-sm);
|
border-bottom: 1px solid var(--border-color);
|
}
|
|
.detail-info {
|
display: flex;
|
flex-direction: column;
|
gap: var(--spacing-md);
|
}
|
|
.detail-item {
|
display: flex;
|
flex-direction: column;
|
gap: var(--spacing-sm);
|
}
|
|
.detail-item label {
|
font-size: 14px;
|
font-weight: 500;
|
color: var(--text-light);
|
}
|
|
.detail-item span,
|
.detail-item p {
|
font-size: 14px;
|
/* color: var(--text-color); */
|
line-height: 1.5;
|
}
|
|
.detail-item p {
|
margin: 0;
|
padding: var(--spacing-sm);
|
background: #f8f9fa;
|
border-radius: var(--border-radius);
|
border-left: 3px solid var(--primary-color);
|
}
|
|
/* 签到二维码按钮 */
|
.checkin-qr-section {
|
/* padding: var(--spacing-md); */
|
display: flex;
|
justify-content: center;
|
}
|
|
.checkin-qr-btn {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
color: white;
|
border: none;
|
border-radius: 12px;
|
padding: 12px 24px;
|
font-size: 14px;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
|
}
|
|
.checkin-qr-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
|
}
|
|
.checkin-qr-btn i {
|
font-size: 16px;
|
}
|
|
/* 活动轮播样式 */
|
.activity-carousel-container {
|
position: relative;
|
width: 100%;
|
height: 200px;
|
overflow: hidden;
|
border-radius: 0 0 12px 12px;
|
}
|
|
.activity-carousel-wrapper {
|
display: flex;
|
width: 300%;
|
height: 100%;
|
transition: transform 0.3s ease;
|
}
|
|
.activity-carousel-slide {
|
width: 33.333%;
|
height: 100%;
|
}
|
|
.activity-carousel-slide img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.activity-carousel-dots {
|
position: absolute;
|
bottom: 12px;
|
left: 50%;
|
transform: translateX(-50%);
|
display: flex;
|
gap: 8px;
|
z-index: 2;
|
}
|
|
.activity-dot {
|
width: 8px;
|
height: 8px;
|
border-radius: 50%;
|
background: rgba(255, 255, 255, 0.5);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.activity-dot.active {
|
background: #fff;
|
transform: scale(1.2);
|
}
|
|
.activity-carousel-btn {
|
position: absolute;
|
top: 50%;
|
transform: translateY(-50%);
|
background: rgba(0, 0, 0, 0.5);
|
color: white;
|
border: none;
|
width: 40px;
|
height: 40px;
|
border-radius: 50%;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
transition: all 0.3s ease;
|
z-index: 2;
|
}
|
|
.activity-carousel-btn:hover {
|
background: rgba(0, 0, 0, 0.7);
|
transform: translateY(-50%) scale(1.1);
|
}
|
|
.activity-carousel-btn.prev-btn {
|
left: 12px;
|
}
|
|
.activity-carousel-btn.next-btn {
|
right: 12px;
|
}
|
|
/* 签到签退信息卡片 */
|
.checkin-info-card,
|
.checkout-info-card {
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
padding: 12px;
|
border-radius: 8px;
|
border: 1px solid var(--border-color);
|
background: #f8f9fa;
|
}
|
|
.checkin-info-card.no-checkin,
|
.checkout-info-card.no-checkout {
|
border-color: #dee2e6;
|
background: #f8f9fa;
|
}
|
|
/* 有签到数据时的醒目样式 */
|
.checkin-info-card.has-checkin {
|
border-color: #28a745;
|
background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
|
box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
|
transform: translateY(-1px);
|
transition: all 0.3s ease;
|
}
|
|
.checkin-info-card.has-checkin .checkin-icon {
|
background: #28a745;
|
color: white;
|
box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
|
}
|
|
.checkin-info-card.has-checkin .checkin-content .checkin-time {
|
color: #155724;
|
font-weight: 600;
|
}
|
|
.checkin-info-card.has-checkin .checkin-content .checkin-location {
|
color: #28a745;
|
font-weight: 500;
|
}
|
|
/* 有签退数据时的醒目样式 */
|
.checkout-info-card.has-checkout {
|
border-color: #fd7e14;
|
background: linear-gradient(135deg, rgba(253, 126, 20, 0.1), rgba(253, 126, 20, 0.05));
|
box-shadow: 0 2px 8px rgba(253, 126, 20, 0.15);
|
transform: translateY(-1px);
|
transition: all 0.3s ease;
|
}
|
|
.checkout-info-card.has-checkout .checkout-icon {
|
background: #fd7e14;
|
color: white;
|
box-shadow: 0 2px 4px rgba(253, 126, 20, 0.3);
|
}
|
|
.checkout-info-card.has-checkout .checkout-content .checkout-time {
|
color: #e65100;
|
font-weight: 600;
|
}
|
|
.checkout-info-card.has-checkout .checkout-content .checkout-location {
|
color: #fd7e14;
|
font-weight: 500;
|
}
|
|
/* 服务时长醒目样式 */
|
.service-hours.has-service {
|
color: #17a2b8;
|
font-weight: 600;
|
font-size: 16px;
|
background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(23, 162, 184, 0.05));
|
padding: 6px 12px;
|
border-radius: 12px;
|
border: 1px solid rgba(23, 162, 184, 0.3);
|
display: inline-block;
|
box-shadow: 0 2px 4px rgba(23, 162, 184, 0.15);
|
}
|
|
/* 获得积分醒目样式 */
|
.earned-points.has-points {
|
color: #ffc107;
|
font-weight: 600;
|
font-size: 16px;
|
background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
|
padding: 6px 12px;
|
border-radius: 12px;
|
border: 1px solid rgba(255, 193, 7, 0.4);
|
display: inline-block;
|
box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
|
position: relative;
|
}
|
|
.earned-points.has-points::before {
|
content: "⭐";
|
margin-right: 4px;
|
font-size: 14px;
|
}
|
|
.checkin-icon,
|
.checkout-icon {
|
width: 40px;
|
height: 40px;
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background: var(--border-color);
|
color: var(--text-light);
|
}
|
|
.checkin-content,
|
.checkout-content {
|
flex: 1;
|
}
|
|
.checkin-time,
|
.checkout-time {
|
font-size: 14px;
|
font-weight: 500;
|
color: var(--text-color);
|
margin-bottom: 4px;
|
}
|
|
.checkin-location,
|
.checkout-location {
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
/* 报名按钮 */
|
.detail-actions {
|
position: fixed;
|
bottom: 0;
|
left: 50%;
|
transform: translateX(-50%);
|
width: 100%;
|
max-width: 414px;
|
background: #fff;
|
padding: 16px;
|
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
|
z-index: 10;
|
}
|
|
.signup-btn {
|
width: 100%;
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
color: white;
|
border: none;
|
border-radius: 12px;
|
padding: 14px 20px;
|
font-size: 16px;
|
font-weight: 600;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
.signup-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
.signup-btn:active {
|
transform: translateY(0);
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
|
}
|
|
.signup-btn:disabled {
|
background: #dee2e6;
|
color: var(--text-light);
|
cursor: not-allowed;
|
box-shadow: none;
|
}
|
|
.signup-btn:disabled:hover {
|
transform: none;
|
box-shadow: none;
|
}
|
|
.signup-btn.secondary {
|
background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
|
color: white;
|
box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
|
}
|
|
.signup-btn.secondary:hover:not(:disabled) {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
|
}
|
|
.signup-btn i {
|
font-size: 18px;
|
}
|
|
/* 参与人员列表样式 */
|
.participants-list {
|
display: flex;
|
flex-direction: column;
|
gap: var(--spacing-md);
|
}
|
|
.participant-item {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-md);
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
transition: all 0.3s ease;
|
position: relative;
|
}
|
|
.participant-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
|
}
|
|
.participant-info {
|
flex: 1;
|
min-width: 0;
|
}
|
|
.participant-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 8px;
|
}
|
|
.participant-name {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.participant-status {
|
font-size: 12px;
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-weight: 500;
|
display: inline-block;
|
}
|
|
.participant-status.checked {
|
background: #d4edda;
|
color: #155724;
|
}
|
|
.participant-status.not-checked {
|
background: #f8d7da;
|
color: #721c24;
|
}
|
|
/* 新的状态样式 */
|
.participant-status.status-registered {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border: 1px solid rgba(255, 152, 0, 0.3);
|
}
|
|
.participant-status.status-checked-in {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
}
|
|
.participant-status.status-checked-out {
|
background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
|
color: #1565c0;
|
border: 1px solid rgba(33, 150, 243, 0.3);
|
}
|
|
.participant-status.status-unknown {
|
background: linear-gradient(135deg, rgba(158, 158, 158, 0.15), rgba(158, 158, 158, 0.05));
|
color: #424242;
|
border: 1px solid rgba(158, 158, 158, 0.3);
|
}
|
|
/* 用户报名状态样式 */
|
.user-status {
|
font-size: 14px;
|
padding: 6px 12px;
|
border-radius: 16px;
|
font-weight: 500;
|
display: inline-block;
|
border: 1px solid;
|
}
|
|
.user-status.status-not-registered {
|
background: linear-gradient(135deg, rgba(158, 158, 158, 0.15), rgba(158, 158, 158, 0.05));
|
color: #616161;
|
border-color: rgba(158, 158, 158, 0.3);
|
}
|
|
.user-status.status-registered {
|
background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
|
color: #1565c0;
|
border-color: rgba(33, 150, 243, 0.3);
|
}
|
|
.user-status.status-checked-in {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border-color: rgba(76, 175, 80, 0.3);
|
}
|
|
.user-status.status-checked-out {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border-color: rgba(255, 152, 0, 0.3);
|
}
|
|
.participant-details {
|
display: flex;
|
flex-direction: column;
|
gap: 6px;
|
}
|
|
.participant-phone,
|
.participant-location,
|
.checkin-time,
|
.checkout-time {
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
font-size: 13px;
|
color: var(--text-light);
|
padding-top: 12px;
|
}
|
|
.participant-phone i,
|
.participant-location i,
|
.checkin-time i,
|
.checkout-time i {
|
width: 14px;
|
color: #4ecdc4;
|
}
|
|
.participant-actions {
|
position: absolute;
|
bottom: var(--spacing-md);
|
right: var(--spacing-md);
|
}
|
|
.remove-btn {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ff8a8a 100%);
|
color: white;
|
border: none;
|
border-radius: 8px;
|
padding: 6px 10px;
|
font-size: 12px;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
gap: 4px;
|
transition: all 0.3s ease;
|
}
|
|
.remove-btn:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 二维码弹窗样式 */
|
.modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.5);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 1000;
|
}
|
|
.qr-code-modal {
|
background: white;
|
border-radius: 16px;
|
padding: var(--spacing-lg);
|
max-width: 300px;
|
width: 90%;
|
text-align: center;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
}
|
|
.qr-code-modal h3 {
|
font-size: 18px;
|
color: var(--text-color);
|
margin-bottom: var(--spacing-md);
|
}
|
|
.qr-code-modal img {
|
width: 150px;
|
height: 150px;
|
margin: var(--spacing-md) 0;
|
border-radius: 8px;
|
}
|
|
.qr-code-modal p {
|
font-size: 14px;
|
color: var(--text-light);
|
margin-bottom: var(--spacing-md);
|
}
|
|
.close-modal-btn {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ff8a8a 100%);
|
color: white;
|
border: none;
|
border-radius: 8px;
|
padding: 10px 20px;
|
font-size: 14px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
}
|
|
.close-modal-btn:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 无数据状态 */
|
.no-data {
|
text-align: center;
|
padding: var(--spacing-lg);
|
color: var(--text-light);
|
}
|
|
.no-data i {
|
font-size: 48px;
|
margin-bottom: var(--spacing-md);
|
opacity: 0.5;
|
}
|
|
.no-data p {
|
font-size: 14px;
|
margin: 0;
|
}
|
|
/* 管理端功能按钮区域样式 */
|
.admin-function-buttons {
|
display: grid;
|
grid-template-columns: repeat(3, 1fr);
|
gap: 16px;
|
padding: 20px 16px 8px 16px;
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 2px 12px rgba(255,107,107,0.08);
|
position: relative;
|
z-index: 2;
|
}
|
|
.admin-function-btn {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
background: none;
|
border: none;
|
box-shadow: none;
|
cursor: pointer;
|
transition: transform 0.2s, box-shadow 0.2s;
|
}
|
|
.admin-function-btn:active, .admin-function-btn:hover {
|
transform: translateY(-2px) scale(1.05);
|
}
|
|
.admin-function-btn i {
|
width: 48px;
|
height: 48px;
|
border-radius: 50%;
|
color: #fff;
|
font-size: 24px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: 8px;
|
box-shadow: 0 2px 8px rgba(255,107,107,0.15);
|
}
|
|
.admin-function-btn:nth-child(1) i { background: linear-gradient(135deg, #ffb199 0%, #ff6b6b 100%); }
|
.admin-function-btn:nth-child(2) i { background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%); }
|
.admin-function-btn:nth-child(3) i { background: linear-gradient(135deg, #ffe66d 0%, #f6d365 100%); color: #ff6b6b; }
|
.admin-function-btn:nth-child(4) i { background: linear-gradient(135deg, #95e1d3 0%, #4ecdc4 100%); }
|
.admin-function-btn:nth-child(5) i { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
|
.admin-function-btn:nth-child(6) i { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
|
|
.admin-function-btn span {
|
font-size: 13px;
|
color: #333;
|
margin-top: 2px;
|
text-align: center;
|
}
|
|
/* ==================== 管理端积分审核页面样式 ==================== */
|
|
/* 审核页面容器 */
|
.admin-points-review-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
/* Tab切换样式 */
|
.declaration-tabs {
|
display: flex;
|
background: #fff;
|
border-bottom: 1px solid var(--border-color);
|
position: sticky;
|
top: 72px;
|
z-index: 99;
|
}
|
|
/* 全选区域样式 */
|
.batch-select-only {
|
background: #fff;
|
padding: 16px;
|
border-bottom: 1px solid var(--border-color);
|
position: sticky;
|
top: 130px; /* 72px (page-header) + 58px (declaration-tabs) */
|
z-index: 98;
|
}
|
|
.declaration-tab {
|
flex: 1;
|
padding: 16px;
|
background: none;
|
border: none;
|
font-size: 17px;
|
font-weight: 500;
|
color: var(--text-light);
|
cursor: pointer;
|
transition: all 0.3s;
|
position: relative;
|
}
|
|
.declaration-tab.active {
|
color: var(--primary-color);
|
font-weight: 600;
|
}
|
|
.declaration-tab.active::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 50%;
|
transform: translateX(-50%);
|
width: 30px;
|
height: 3px;
|
background: linear-gradient(90deg, var(--primary-color), #ffb199);
|
border-radius: 2px;
|
}
|
|
/* 批量操作区域 */
|
.batch-actions {
|
background: #fff;
|
padding: 16px;
|
border-bottom: 1px solid var(--border-color);
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.batch-select {
|
display: flex;
|
align-items: center;
|
}
|
|
.checkbox-label {
|
display: flex;
|
align-items: center;
|
cursor: pointer;
|
font-size: 14px;
|
color: var(--text-color);
|
}
|
|
.checkbox-label input[type="checkbox"] {
|
display: none;
|
}
|
|
.checkmark {
|
width: 20px;
|
height: 20px;
|
border: 2px solid var(--border-color);
|
border-radius: 4px;
|
margin-right: 8px;
|
position: relative;
|
transition: all 0.3s;
|
}
|
|
.checkbox-label input[type="checkbox"]:checked + .checkmark {
|
background: var(--primary-color);
|
border-color: var(--primary-color);
|
}
|
|
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
|
content: '';
|
position: absolute;
|
left: 6px;
|
top: 2px;
|
width: 6px;
|
height: 10px;
|
border: solid white;
|
border-width: 0 2px 2px 0;
|
transform: rotate(45deg);
|
}
|
|
.batch-buttons {
|
display: flex;
|
gap: 12px;
|
}
|
|
.batch-btn {
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
padding: 8px 16px;
|
border: none;
|
border-radius: 20px;
|
font-size: 13px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s;
|
}
|
|
.batch-btn:disabled {
|
opacity: 0.5;
|
cursor: not-allowed;
|
}
|
|
.batch-btn.approve {
|
background: linear-gradient(135deg, var(--success-color), #4ecdc4);
|
color: #fff;
|
}
|
|
.batch-btn.approve:not(:disabled):hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(76, 205, 196, 0.3);
|
}
|
|
.batch-btn.reject {
|
background: linear-gradient(135deg, #ff9999, var(--primary-color));
|
color: #fff;
|
}
|
|
.batch-btn.reject:not(:disabled):hover {
|
transform: translateY(-1px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 成功弹框样式 */
|
.success-dialog-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.5);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 9999;
|
padding: 16px;
|
animation: fadeIn 0.3s ease-out;
|
}
|
|
.success-dialog {
|
background: white;
|
border-radius: 16px;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
|
max-width: 320px;
|
width: 100%;
|
animation: slideUp 0.3s ease-out;
|
overflow: hidden;
|
}
|
|
.success-dialog-header {
|
text-align: center;
|
padding: 24px 24px 16px 24px;
|
background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
|
color: white;
|
}
|
|
.success-dialog-icon {
|
width: 48px;
|
height: 48px;
|
background: rgba(255, 255, 255, 0.2);
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin: 0 auto 12px auto;
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
}
|
|
.success-dialog-icon i {
|
font-size: 20px;
|
color: white;
|
}
|
|
.success-dialog-title {
|
font-size: 18px;
|
font-weight: 600;
|
margin: 0;
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
}
|
|
.success-dialog-content {
|
padding: 20px 24px;
|
text-align: center;
|
}
|
|
.success-dialog-content p {
|
margin: 0;
|
font-size: 16px;
|
color: #333333;
|
font-weight: 500;
|
line-height: 1.4;
|
}
|
|
.success-dialog-actions {
|
display: flex;
|
gap: 12px;
|
padding: 0 24px 24px 24px;
|
}
|
|
.success-dialog-btn {
|
flex: 1;
|
padding: 12px 16px;
|
border: none;
|
border-radius: 8px;
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 6px;
|
}
|
|
.success-dialog-btn-confirm {
|
background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
|
color: white;
|
box-shadow: 0 4px 16px rgba(78, 205, 196, 0.3);
|
}
|
|
.success-dialog-btn-confirm:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
|
}
|
|
.success-dialog-btn-confirm:active {
|
transform: translateY(0);
|
}
|
|
/* 动画效果 */
|
@keyframes fadeIn {
|
from {
|
opacity: 0;
|
}
|
to {
|
opacity: 1;
|
}
|
}
|
|
@keyframes slideUp {
|
from {
|
opacity: 0;
|
transform: translateY(30px) scale(0.95);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0) scale(1);
|
}
|
}
|
|
/* 移动端适配 */
|
@media (max-width: 480px) {
|
.success-dialog-overlay {
|
padding: 12px;
|
}
|
|
.success-dialog {
|
max-width: 100%;
|
border-radius: 12px;
|
}
|
|
.success-dialog-header {
|
padding: 20px 20px 12px 20px;
|
}
|
|
.success-dialog-icon {
|
width: 40px;
|
height: 40px;
|
}
|
|
.success-dialog-icon i {
|
font-size: 18px;
|
}
|
|
.success-dialog-title {
|
font-size: 16px;
|
}
|
|
.success-dialog-content {
|
padding: 16px 20px;
|
}
|
|
.success-dialog-content p {
|
font-size: 15px;
|
}
|
|
.success-dialog-actions {
|
padding: 0 20px 20px 20px;
|
gap: 10px;
|
}
|
|
.success-dialog-btn {
|
padding: 10px 14px;
|
font-size: 13px;
|
}
|
}
|
|
/* 超小屏幕适配 */
|
@media (max-width: 360px) {
|
.success-dialog-overlay {
|
padding: 8px;
|
}
|
|
.success-dialog-header {
|
padding: 16px 16px 10px 16px;
|
}
|
|
.success-dialog-icon {
|
width: 36px;
|
height: 36px;
|
}
|
|
.success-dialog-icon i {
|
font-size: 16px;
|
}
|
|
.success-dialog-title {
|
font-size: 15px;
|
}
|
|
.success-dialog-content {
|
padding: 14px 16px;
|
}
|
|
.success-dialog-content p {
|
font-size: 14px;
|
}
|
|
.success-dialog-actions {
|
padding: 0 16px 16px 16px;
|
gap: 8px;
|
}
|
|
.success-dialog-btn {
|
padding: 8px 12px;
|
font-size: 12px;
|
}
|
}
|
|
/* 审核记录列表 */
|
.review-list {
|
padding: 16px;
|
padding-bottom: 100px; /* 为底部固定的批量操作按钮留出空间 */
|
}
|
|
.review-item {
|
background: #fff;
|
border-radius: var(--border-radius);
|
margin-bottom: 16px;
|
box-shadow: var(--shadow);
|
overflow: hidden;
|
display: flex;
|
transition: all 0.3s;
|
}
|
|
.review-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 20px rgba(255, 107, 107, 0.1);
|
}
|
|
.review-checkbox {
|
display: flex;
|
align-items: center;
|
padding: 16px 12px;
|
background: #f8f9fa;
|
}
|
|
.review-content {
|
flex: 1;
|
padding: 16px;
|
cursor: pointer;
|
}
|
|
.review-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 12px;
|
}
|
|
.review-name {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.review-status {
|
padding: 4px 12px;
|
border-radius: 16px;
|
font-size: 12px;
|
font-weight: 500;
|
text-align: center;
|
min-width: 60px;
|
}
|
|
.review-status.pending {
|
background: #fff3cd;
|
color: #856404;
|
border: 1px solid #ffeaa7;
|
}
|
|
.review-status.approved {
|
background: #d1edff;
|
color: #0c5460;
|
border: 1px solid #bee5eb;
|
}
|
|
.review-status.rejected {
|
background: #f8d7da;
|
color: #721c24;
|
border: 1px solid #f5c6cb;
|
}
|
|
.review-info {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 8px;
|
}
|
|
.review-title {
|
font-size: 14px;
|
color: var(--text-color);
|
font-weight: 500;
|
}
|
|
.review-points {
|
font-size: 14px;
|
color: var(--primary-color);
|
font-weight: 600;
|
}
|
|
.review-time {
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
/* ==================== 审核详情页面样式 ==================== */
|
|
.admin-review-detail-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
.review-detail-content {
|
padding: 16px;
|
display: flex;
|
flex-direction: column;
|
gap: 24px;
|
}
|
|
.detail-section {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
box-shadow: var(--shadow);
|
}
|
|
.section-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 16px;
|
padding-bottom: 8px;
|
border-bottom: 2px solid var(--border-color);
|
position: relative;
|
}
|
|
.section-title::after {
|
content: '';
|
position: absolute;
|
bottom: -2px;
|
left: 0;
|
width: 30px;
|
height: 2px;
|
background: linear-gradient(90deg, var(--primary-color), #ffb199);
|
}
|
|
.detail-info {
|
display: flex;
|
flex-direction: column;
|
gap: 16px;
|
}
|
|
.detail-item {
|
display: flex;
|
flex-direction: column;
|
gap: 6px;
|
}
|
|
.detail-item label {
|
font-size: 13px;
|
color: var(--text-light);
|
font-weight: 500;
|
}
|
|
.detail-item span {
|
font-size: 14px;
|
/* color: var(--text-color); */
|
}
|
|
.content-text {
|
font-size: 14px;
|
color: var(--text-color);
|
line-height: 1.6;
|
padding: 12px;
|
background: #f8f9fa;
|
border-radius: 6px;
|
border-left: 3px solid var(--primary-color);
|
margin: 0;
|
}
|
|
.points-value {
|
color: var(--primary-color);
|
font-weight: 600;
|
font-size: 16px;
|
}
|
|
/* 状态标签样式 */
|
.status-badge {
|
display: inline-block;
|
padding: 6px 16px;
|
border-radius: 20px;
|
font-size: 13px;
|
font-weight: 500;
|
text-align: center;
|
min-width: 80px;
|
}
|
|
.status-badge.pending {
|
background: linear-gradient(135deg, #fff3cd, #ffeaa7);
|
color: #856404;
|
border: 1px solid #ffeaa7;
|
}
|
|
.status-badge.approved {
|
background: linear-gradient(135deg, #d1edff, #bee5eb);
|
color: #0c5460;
|
border: 1px solid #bee5eb;
|
}
|
|
.status-badge.rejected {
|
background: linear-gradient(135deg, #f8d7da, #f5c6cb);
|
color: #721c24;
|
border: 1px solid #f5c6cb;
|
}
|
|
/* 数字状态码样式 */
|
.status-badge[class*="0"] {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border: 1px solid rgba(255, 152, 0, 0.3);
|
}
|
|
.status-badge[class*="1"] {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
}
|
|
.status-badge[class*="2"] {
|
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
|
color: #c62828;
|
border: 1px solid rgba(244, 67, 54, 0.3);
|
}
|
|
/* 审核操作按钮 */
|
.review-actions {
|
display: flex;
|
gap: 16px;
|
}
|
|
.review-btn {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
padding: 14px 24px;
|
border: none;
|
border-radius: 25px;
|
font-size: 15px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
}
|
|
.review-btn i {
|
font-size: 16px;
|
}
|
|
.review-btn.approve {
|
background: linear-gradient(135deg, var(--success-color), #4ecdc4);
|
color: #fff;
|
}
|
|
.review-btn.approve:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(76, 205, 196, 0.3);
|
}
|
|
.review-btn.reject {
|
background: linear-gradient(135deg, #ff9999, var(--primary-color));
|
color: #fff;
|
}
|
|
.review-btn.reject:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
|
}
|
|
/* 加载和空状态样式 */
|
.loading-state, .empty-state {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding: 60px 20px;
|
text-align: center;
|
}
|
|
.loading-state i, .empty-state i {
|
font-size: 48px;
|
color: var(--text-light);
|
margin-bottom: 16px;
|
opacity: 0.6;
|
}
|
|
.loading-state i.fa-spinner {
|
color: var(--primary-color);
|
opacity: 1;
|
}
|
|
.loading-state p, .empty-state p {
|
font-size: 14px;
|
color: var(--text-light);
|
margin: 0;
|
}
|
|
/* 响应式优化 */
|
@media (max-width: 375px) {
|
.batch-actions {
|
flex-direction: column;
|
gap: 12px;
|
align-items: stretch;
|
}
|
|
.batch-buttons {
|
justify-content: center;
|
}
|
|
.review-actions {
|
flex-direction: column;
|
}
|
|
.review-btn {
|
padding: 12px 20px;
|
}
|
}
|
|
/* ==================== 管理端志愿者审核页面样式 ==================== */
|
|
/* 志愿者审核页面容器 */
|
.admin-volunteer-review-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
/* 志愿者审核记录列表 */
|
.volunteer-review-list {
|
padding: 16px;
|
}
|
|
.volunteer-review-item {
|
background: #fff;
|
border-radius: var(--border-radius);
|
margin-bottom: 16px;
|
box-shadow: var(--shadow);
|
overflow: hidden;
|
display: flex;
|
transition: all 0.3s;
|
}
|
|
.volunteer-review-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 20px rgba(255, 107, 107, 0.1);
|
}
|
|
.volunteer-review-content {
|
flex: 1;
|
padding: 16px;
|
cursor: pointer;
|
}
|
|
.volunteer-review-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 12px;
|
}
|
|
.volunteer-name {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
}
|
|
.volunteer-status {
|
padding: 4px 12px;
|
border-radius: 16px;
|
font-size: 12px;
|
font-weight: 500;
|
text-align: center;
|
min-width: 60px;
|
}
|
|
.volunteer-status.pending {
|
background: #fff3cd;
|
color: #856404;
|
border: 1px solid #ffeaa7;
|
}
|
|
.volunteer-status.approved {
|
background: #d1edff;
|
color: #0c5460;
|
border: 1px solid #bee5eb;
|
}
|
|
.volunteer-status.rejected {
|
background: #f8d7da;
|
color: #721c24;
|
border: 1px solid #f5c6cb;
|
}
|
|
/* 数字状态码样式 */
|
.volunteer-status[class*="0"] {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border: 1px solid rgba(255, 152, 0, 0.3);
|
}
|
|
.volunteer-status[class*="1"] {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
}
|
|
.volunteer-status[class*="2"] {
|
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
|
color: #c62828;
|
border: 1px solid rgba(244, 67, 54, 0.3);
|
}
|
|
.volunteer-info {
|
display: flex;
|
flex-direction: column;
|
gap: 4px;
|
margin-bottom: 8px;
|
}
|
|
.volunteer-phone {
|
font-size: 14px;
|
color: var(--text-color);
|
font-weight: 500;
|
}
|
|
.volunteer-id {
|
font-size: 13px;
|
color: var(--text-light);
|
}
|
|
.volunteer-time {
|
font-size: 12px;
|
color: var(--text-light);
|
}
|
|
/* ==================== 志愿者审核详情页面样式 ==================== */
|
|
.admin-volunteer-review-detail-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
/* 志愿者信息卡片特殊样式 */
|
.admin-volunteer-review-detail-page .detail-section:first-child {
|
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
|
border: 2px solid #e9ecef;
|
}
|
|
.admin-volunteer-review-detail-page .detail-section:first-child .section-title {
|
color: var(--primary-color);
|
}
|
|
.admin-volunteer-review-detail-page .detail-section:first-child .section-title::after {
|
background: linear-gradient(90deg, var(--secondary-color), #4ecdc4);
|
}
|
|
/* 证件信息特殊样式 */
|
.volunteer-id-info {
|
background: #f8f9fa;
|
padding: 12px;
|
border-radius: 6px;
|
border-left: 3px solid var(--secondary-color);
|
margin-top: 8px;
|
}
|
|
.volunteer-id-info span {
|
font-family: 'Courier New', monospace;
|
font-weight: 600;
|
letter-spacing: 1px;
|
}
|
|
/* 社区信息特殊样式 */
|
.community-info {
|
display: inline-flex;
|
align-items: center;
|
gap: 6px;
|
background: linear-gradient(135deg, var(--secondary-color), #4ecdc4);
|
color: #fff;
|
padding: 6px 12px;
|
border-radius: 16px;
|
font-size: 13px;
|
font-weight: 500;
|
}
|
|
.community-info i {
|
font-size: 12px;
|
}
|
|
/* 响应式优化 - 志愿者审核页面 */
|
@media (max-width: 375px) {
|
.volunteer-review-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 12px;
|
}
|
|
.volunteer-name {
|
font-size: 15px;
|
flex: 1;
|
margin-right: 8px;
|
}
|
|
.volunteer-status {
|
flex-shrink: 0;
|
}
|
}
|
|
/* ==================== 管理端积分核销页面样式 ==================== */
|
|
/* 积分核销页面容器 */
|
.admin-points-redemption-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
.admin-redemption-container {
|
padding: 20px;
|
display: flex;
|
flex-direction: column;
|
gap: 24px;
|
}
|
|
/* 扫码区域 */
|
.scan-area {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: 24px;
|
text-align: center;
|
box-shadow: var(--shadow);
|
}
|
|
.scan-frame {
|
position: relative;
|
width: 200px;
|
height: 200px;
|
margin: 0 auto 20px;
|
background: #f8f9fa;
|
border-radius: 12px;
|
overflow: hidden;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.scan-frame.scanning {
|
border: 2px solid var(--primary-color);
|
animation: scanPulse 2s infinite;
|
}
|
|
.scan-frame.scanned {
|
background: linear-gradient(135deg, #d1edff, #95e1d3);
|
border: 2px solid var(--success-color);
|
}
|
|
@keyframes scanPulse {
|
0%, 100% {
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
|
}
|
50% {
|
border-color: #ffb199;
|
box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
|
}
|
}
|
|
/* 扫码框角标 */
|
.scan-corner {
|
position: absolute;
|
width: 20px;
|
height: 20px;
|
border: 3px solid var(--primary-color);
|
}
|
|
.scan-corner.top-left {
|
top: 10px;
|
left: 10px;
|
border-right: none;
|
border-bottom: none;
|
}
|
|
.scan-corner.top-right {
|
top: 10px;
|
right: 10px;
|
border-left: none;
|
border-bottom: none;
|
}
|
|
.scan-corner.bottom-left {
|
bottom: 10px;
|
left: 10px;
|
border-right: none;
|
border-top: none;
|
}
|
|
.scan-corner.bottom-right {
|
bottom: 10px;
|
right: 10px;
|
border-left: none;
|
border-top: none;
|
}
|
|
/* 扫描线 */
|
.scan-line {
|
position: absolute;
|
top: 0;
|
left: 10px;
|
right: 10px;
|
height: 2px;
|
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
|
opacity: 0;
|
}
|
|
.scan-line.scanning {
|
opacity: 1;
|
animation: scanLineMove 2s linear infinite;
|
}
|
|
@keyframes scanLineMove {
|
0% { transform: translateY(0); }
|
100% { transform: translateY(190px); }
|
}
|
|
/* 扫码成功标识 */
|
.scan-success {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 8px;
|
color: var(--success-color);
|
}
|
|
.scan-success i {
|
font-size: 48px;
|
color: #4ecdc4;
|
}
|
|
.scan-success span {
|
font-size: 14px;
|
font-weight: 600;
|
color: #4ecdc4;
|
}
|
|
/* 扫码提示 */
|
.scan-tip {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: 20px;
|
}
|
|
.scan-tip i {
|
font-size: 24px;
|
color: var(--primary-color);
|
}
|
|
.scan-tip p {
|
font-size: 14px;
|
color: var(--text-light);
|
margin: 0;
|
}
|
|
/* 扫码按钮 */
|
.scan-buttons {
|
display: flex;
|
justify-content: center;
|
gap: 16px;
|
}
|
|
.scan-btn {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 12px 24px;
|
border: none;
|
border-radius: 25px;
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
}
|
|
.scan-btn.start {
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
color: #fff;
|
}
|
|
.scan-btn.start:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
|
}
|
|
.scan-btn.reset {
|
background: linear-gradient(135deg, var(--text-light), #999);
|
color: #fff;
|
}
|
|
.scan-btn.reset:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(102, 102, 102, 0.3);
|
}
|
|
/* 核销设置 */
|
.redemption-settings {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
box-shadow: var(--shadow);
|
}
|
|
.setting-item {
|
margin-bottom: 20px;
|
}
|
|
.setting-item:last-child {
|
margin-bottom: 0;
|
}
|
|
.setting-item label {
|
display: block;
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 8px;
|
}
|
|
.setting-item input {
|
width: 100%;
|
padding: 12px 16px;
|
border: 2px solid var(--border-color);
|
border-radius: 8px;
|
font-size: 14px;
|
transition: all 0.3s;
|
box-sizing: border-box;
|
}
|
|
.setting-item input:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
/* .setting-item input[type="number"] {
|
text-align: center;
|
font-weight: 600;
|
font-size: 16px;
|
} */
|
|
/* 核销操作 */
|
.redemption-actions {
|
display: flex;
|
justify-content: center;
|
}
|
|
.redemption-btn {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 10px;
|
padding: 16px 32px;
|
border: none;
|
border-radius: 30px;
|
font-size: 16px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
min-width: 160px;
|
background: linear-gradient(135deg, var(--success-color), #4ecdc4);
|
color: #fff;
|
box-shadow: 0 4px 16px rgba(76, 205, 196, 0.3);
|
}
|
|
.redemption-btn:hover:not(.disabled) {
|
transform: translateY(-3px);
|
box-shadow: 0 8px 25px rgba(76, 205, 196, 0.4);
|
}
|
|
.redemption-btn.disabled {
|
opacity: 0.5;
|
cursor: not-allowed;
|
background: #ccc;
|
box-shadow: none;
|
}
|
|
.redemption-btn i {
|
font-size: 18px;
|
}
|
|
|
|
/* 响应式优化 - 积分核销页面 */
|
@media (max-width: 375px) {
|
.admin-redemption-container {
|
padding: 16px;
|
gap: 20px;
|
}
|
|
.scan-frame {
|
width: 160px;
|
height: 160px;
|
}
|
|
.scan-corner {
|
width: 16px;
|
height: 16px;
|
}
|
|
.redemption-btn {
|
padding: 14px 28px;
|
font-size: 15px;
|
min-width: 140px;
|
}
|
}
|
|
/* ==================== 管理端发布活动页面样式 ==================== */
|
|
/* 发布活动页面容器 */
|
.admin-activity-create-page {
|
background: var(--background-color);
|
min-height: 100vh;
|
}
|
|
.activity-create-form {
|
padding: 20px;
|
display: flex;
|
flex-direction: column;
|
gap: 24px;
|
}
|
|
/* 表单区域 */
|
.form-section {
|
background: #fff;
|
border-radius: var(--border-radius);
|
padding: 20px;
|
box-shadow: var(--shadow);
|
}
|
|
.section-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 20px;
|
padding-bottom: 10px;
|
border-bottom: 2px solid var(--border-color);
|
position: relative;
|
}
|
|
.section-title::after {
|
content: '';
|
position: absolute;
|
bottom: -2px;
|
left: 0;
|
width: 30px;
|
height: 2px;
|
background: linear-gradient(90deg, var(--primary-color), #ffb199);
|
}
|
|
/* 表单组 */
|
.form-group {
|
margin-bottom: 20px;
|
}
|
|
.form-group:last-child {
|
margin-bottom: 0;
|
}
|
|
.form-group label {
|
display: block;
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 8px;
|
}
|
|
/* 表单输入框 */
|
.form-input {
|
width: 100%;
|
padding: 12px 16px;
|
border: 2px solid var(--border-color);
|
border-radius: 8px;
|
font-size: 14px;
|
transition: all 0.3s;
|
box-sizing: border-box;
|
font-family: inherit;
|
}
|
|
.form-input:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
.form-input::placeholder {
|
color: #999;
|
}
|
|
/* 下拉选择框 */
|
.form-select {
|
width: 100%;
|
padding: 12px 16px;
|
border: 2px solid var(--border-color);
|
border-radius: 8px;
|
font-size: 14px;
|
background: #fff;
|
cursor: pointer;
|
transition: all 0.3s;
|
box-sizing: border-box;
|
}
|
|
.form-select:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
|
}
|
|
/* 时间范围容器 */
|
.time-range-container {
|
display: flex;
|
gap: 16px;
|
}
|
|
.time-input-group {
|
flex: 1;
|
}
|
|
.time-label {
|
display: block;
|
font-size: 13px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin-bottom: 8px;
|
}
|
|
.time-input {
|
font-size: 13px;
|
}
|
|
/* 文件上传 */
|
.file-upload {
|
display: flex;
|
flex-direction: column;
|
gap: 16px;
|
}
|
|
.file-input-hidden {
|
display: none;
|
}
|
|
.upload-btn {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 10px;
|
padding: 16px 24px;
|
border: 2px dashed var(--border-color);
|
border-radius: 8px;
|
background: #f8f9fa;
|
cursor: pointer;
|
transition: all 0.3s;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.upload-btn:hover {
|
border-color: var(--primary-color);
|
background: rgba(255, 107, 107, 0.05);
|
color: var(--primary-color);
|
}
|
|
.upload-btn i {
|
font-size: 18px;
|
}
|
|
/* 封面预览 */
|
.cover-preview {
|
position: relative;
|
display: inline-block;
|
border-radius: 8px;
|
overflow: hidden;
|
box-shadow: var(--shadow);
|
}
|
|
.cover-preview img {
|
width: 120px;
|
height: 80px;
|
object-fit: cover;
|
display: block;
|
}
|
|
.remove-cover {
|
position: absolute;
|
top: 4px;
|
right: 4px;
|
width: 24px;
|
height: 24px;
|
border: none;
|
border-radius: 50%;
|
background: rgba(0, 0, 0, 0.6);
|
color: #fff;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
font-size: 12px;
|
transition: all 0.3s;
|
}
|
|
.remove-cover:hover {
|
background: rgba(255, 107, 107, 0.8);
|
}
|
|
/* 表单操作 */
|
.form-actions {
|
display: flex;
|
justify-content: center;
|
padding: 20px;
|
}
|
|
.submit-btn {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 12px;
|
padding: 16px 32px;
|
border: none;
|
border-radius: 30px;
|
font-size: 16px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s;
|
min-width: 160px;
|
background: linear-gradient(135deg, var(--primary-color), #ffb199);
|
color: #fff;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
}
|
|
.submit-btn:hover {
|
transform: translateY(-3px);
|
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
|
}
|
|
.submit-btn i {
|
font-size: 18px;
|
}
|
|
/* 数字输入框特殊样式 */
|
.form-input[type="number"] {
|
text-align: center;
|
font-weight: 600;
|
}
|
|
/* 文本域特殊样式 */
|
.form-input[rows] {
|
resize: vertical;
|
min-height: 100px;
|
line-height: 1.5;
|
}
|
|
/* 响应式优化 - 发布活动页面 */
|
@media (max-width: 375px) {
|
.activity-create-form {
|
padding: 16px;
|
gap: 20px;
|
}
|
|
.form-section {
|
padding: 16px;
|
}
|
|
.time-range-container {
|
flex-direction: column;
|
gap: 12px;
|
}
|
|
.submit-btn {
|
padding: 14px 28px;
|
font-size: 15px;
|
min-width: 140px;
|
}
|
|
.cover-preview img {
|
width: 100px;
|
height: 67px;
|
}
|
}
|
|
/* 志愿者注册页面样式 */
|
.volunteer-register-form {
|
padding: var(--spacing-md);
|
}
|
|
.register-notice {
|
display: flex;
|
flex-direction: column;
|
gap: 12px;
|
margin: 20px 0;
|
}
|
|
.notice-item {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 12px;
|
background: #f8f9fa;
|
border-radius: var(--border-radius);
|
border-left: 4px solid var(--primary-color);
|
}
|
|
.notice-item i {
|
color: var(--primary-color);
|
font-size: 16px;
|
}
|
|
.notice-item span {
|
color: var(--text-color);
|
font-size: 14px;
|
line-height: 1.4;
|
}
|
|
/* 志愿者注册页面表单操作 */
|
.volunteer-register-form .form-actions {
|
padding: var(--spacing-md);
|
background: #fff;
|
border-top: 1px solid var(--border-color);
|
position: sticky;
|
bottom: 0;
|
margin-top: 20px;
|
}
|
|
.volunteer-register-form .submit-btn {
|
width: 100%;
|
padding: 16px;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
border: none;
|
border-radius: var(--border-radius);
|
font-size: 16px;
|
font-weight: 600;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
|
}
|
|
.volunteer-register-form .submit-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
.volunteer-register-form .submit-btn i {
|
font-size: 16px;
|
}
|
|
/* 二维码弹窗样式 */
|
.qr-modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.5);
|
z-index: 2000;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.qr-modal {
|
background: white;
|
border-radius: 16px;
|
width: 90%;
|
max-width: 400px;
|
max-height: 80vh;
|
overflow-y: auto;
|
overflow-x: hidden;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
animation: fadeIn 0.3s ease-out;
|
position: relative;
|
z-index: 2001;
|
}
|
|
.qr-modal-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 16px 20px;
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.qr-modal-header h3 {
|
font-size: 16px;
|
font-weight: 600;
|
color: #222;
|
margin: 0;
|
}
|
|
.qr-modal-content {
|
padding: 24px;
|
text-align: center;
|
position: relative;
|
z-index: 1;
|
overflow: visible;
|
}
|
|
.qr-code-container {
|
margin-bottom: 20px;
|
}
|
|
.qr-code-display {
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
border-radius: 16px;
|
padding: 32px 24px;
|
margin-bottom: 20px;
|
position: relative;
|
overflow: hidden;
|
}
|
|
.qr-code-display::before {
|
content: '';
|
position: absolute;
|
top: -50%;
|
left: -50%;
|
width: 200%;
|
height: 200%;
|
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
|
animation: rotate 20s linear infinite;
|
}
|
|
@keyframes rotate {
|
from { transform: rotate(0deg); }
|
to { transform: rotate(360deg); }
|
}
|
|
.qr-code-wrapper {
|
position: relative;
|
z-index: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 16px;
|
}
|
|
.qr-code-wrapper i {
|
font-size: 80px;
|
color: white;
|
text-shadow: 0 4px 8px rgba(0,0,0,0.3);
|
animation: pulse 2s ease-in-out infinite;
|
}
|
|
@keyframes pulse {
|
0%, 100% { transform: scale(1); }
|
50% { transform: scale(1.05); }
|
}
|
|
.qr-code-text h4 {
|
font-size: 18px;
|
font-weight: 600;
|
color: white;
|
margin: 0 0 8px 0;
|
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
}
|
|
.qr-code-text p {
|
font-size: 14px;
|
color: rgba(255,255,255,0.9);
|
margin: 0;
|
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
}
|
|
.qr-code-info {
|
background: #f8f9fa;
|
border-radius: 12px;
|
padding: 16px;
|
border: 1px solid #e9ecef;
|
}
|
|
.qr-info-item {
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
margin-bottom: 12px;
|
font-size: 14px;
|
color: #555;
|
}
|
|
.qr-info-item:last-child {
|
margin-bottom: 0;
|
}
|
|
.qr-info-item i {
|
color: var(--primary-color);
|
width: 16px;
|
text-align: center;
|
font-size: 16px;
|
}
|
|
.qr-activity-info {
|
margin-top: 20px;
|
padding: 16px;
|
background: #f8f9fa;
|
border-radius: 12px;
|
border: 1px solid #e9ecef;
|
}
|
|
.qr-modal-actions {
|
display: flex;
|
gap: 12px;
|
margin-top: 20px;
|
position: relative;
|
z-index: 2;
|
width: 100%;
|
}
|
|
.download-qr-btn {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
padding: 12px 16px;
|
border: none;
|
border-radius: 12px;
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
text-decoration: none;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
|
color: white;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
position: relative;
|
z-index: 1;
|
}
|
|
.download-qr-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
|
}
|
|
|
|
.download-qr-btn i {
|
font-size: 16px;
|
}
|
|
@keyframes fadeIn {
|
from {
|
opacity: 0;
|
transform: translateY(20px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
/* 积分申报卡片样式 */
|
.declaration-card {
|
background: white;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border-left: 4px solid var(--primary-color);
|
}
|
|
.declaration-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(255, 107, 107, 0.15);
|
}
|
|
.declaration-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
margin-bottom: 12px;
|
}
|
|
.declaration-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
flex: 1;
|
margin-right: 12px;
|
}
|
|
.declaration-status {
|
font-size: 12px;
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-weight: 500;
|
}
|
|
.declaration-status.pending,
|
.declaration-status[class*="0"] {
|
background: #fff3cd;
|
color: #856404;
|
}
|
|
.declaration-status.approved,
|
.declaration-status[class*="1"] {
|
background: #d4edda;
|
color: #155724;
|
}
|
|
.declaration-status.rejected,
|
.declaration-status[class*="2"] {
|
background: #f8d7da;
|
color: #721c24;
|
}
|
|
.declaration-info {
|
margin-bottom: 12px;
|
}
|
|
.declaration-info-row {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: 6px;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.declaration-info-row i {
|
color: var(--primary-color);
|
width: 14px;
|
}
|
|
.declaration-content {
|
font-size: 14px;
|
color: var(--text-color);
|
line-height: 1.5;
|
margin-bottom: 12px;
|
display: -webkit-box;
|
-webkit-line-clamp: 2;
|
-webkit-box-orient: vertical;
|
overflow: hidden;
|
}
|
|
.declaration-footer {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.points-info {
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
font-size: 14px;
|
font-weight: 600;
|
color: var(--primary-color);
|
}
|
|
.points-info i {
|
font-size: 16px;
|
}
|
|
.declaration-arrow {
|
color: var(--text-light);
|
font-size: 14px;
|
}
|
|
/* 空状态样式 */
|
.empty-state {
|
text-align: center;
|
padding: 40px 20px;
|
color: var(--text-light);
|
}
|
|
.empty-state p {
|
font-size: 14px;
|
margin: 0;
|
}
|
|
/* 核销卡片样式 */
|
.redemption-card {
|
background: white;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
cursor: pointer;
|
transition: all 0.3s ease;
|
border-left: 4px solid #4ecdc4;
|
}
|
|
.redemption-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 16px rgba(78, 205, 196, 0.15);
|
}
|
|
.redemption-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
margin-bottom: 12px;
|
}
|
|
.redemption-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
flex: 1;
|
margin-right: 12px;
|
text-align: left;
|
}
|
|
.redemption-status {
|
font-size: 12px;
|
padding: 4px 8px;
|
border-radius: 12px;
|
font-weight: 500;
|
}
|
|
.redemption-status.completed {
|
background: #d4edda;
|
color: #155724;
|
}
|
|
.redemption-status:not(.completed) {
|
background: #e2e3e5;
|
color: #495057;
|
}
|
|
.redemption-info {
|
margin-bottom: 12px;
|
}
|
|
.redemption-info-row {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin-bottom: 6px;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.redemption-info-row i {
|
color: #4ecdc4;
|
width: 14px;
|
}
|
|
.redemption-content {
|
font-size: 14px;
|
color: var(--text-light);
|
line-height: 1.5;
|
margin-bottom: 12px;
|
padding: 8px 0;
|
border-top: 1px solid #f0f0f0;
|
}
|
|
.redemption-footer {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.redemption-footer .points-info {
|
color: #4ecdc4;
|
}
|
|
.redemption-arrow {
|
color: var(--text-light);
|
font-size: 14px;
|
}
|
|
/* 核销详情页面样式 */
|
.redemption-status-card {
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
border-radius: 16px;
|
padding: var(--spacing-lg);
|
display: flex;
|
align-items: center;
|
gap: var(--spacing-md);
|
color: white;
|
box-shadow: 0 4px 20px rgba(78, 205, 196, 0.2);
|
/* margin-bottom: var(--spacing-md); */
|
margin: 12px;
|
}
|
|
.status-icon {
|
width: 60px;
|
height: 60px;
|
border-radius: 50%;
|
background: rgba(255, 255, 255, 0.2);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
font-size: 24px;
|
}
|
|
.status-info h3 {
|
font-size: 20px;
|
font-weight: 600;
|
margin: 0 0 4px 0;
|
}
|
|
.status-info p {
|
font-size: 14px;
|
margin: 0;
|
opacity: 0.9;
|
}
|
|
.redemption-info-section {
|
background: white;
|
border-radius: 12px;
|
padding: var(--spacing-md);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
/* margin-bottom: var(--spacing-md); */
|
margin: 12px;
|
}
|
|
.redemption-info-section .section-title {
|
font-size: 16px;
|
font-weight: 600;
|
color: var(--text-color);
|
margin: 0 0 var(--spacing-md) 0;
|
}
|
|
.info-list {
|
display: flex;
|
flex-direction: column;
|
gap: 12px;
|
}
|
|
.info-item {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 8px 0;
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.info-item:last-child {
|
border-bottom: none;
|
}
|
|
.info-label {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-size: 14px;
|
color: var(--text-light);
|
}
|
|
.info-label i {
|
color: #4ecdc4;
|
width: 16px;
|
}
|
|
.info-value {
|
font-size: 14px;
|
color: var(--text-color);
|
font-weight: 500;
|
}
|
|
.points-value {
|
color: #4ecdc4;
|
font-weight: 600;
|
}
|
|
.action-buttons {
|
display: flex;
|
gap: var(--spacing-md);
|
margin-top: var(--spacing-lg);
|
}
|
|
.btn-secondary {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
padding: 12px 16px;
|
border: 1px solid #4ecdc4;
|
border-radius: 12px;
|
background: white;
|
color: #4ecdc4;
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
margin: 12px;
|
}
|
|
.btn-secondary:hover {
|
background: #4ecdc4;
|
color: white;
|
}
|
|
/* 活动状态样式 - 根据状态码设置颜色 */
|
|
/* 报名中状态 - 绿色 */
|
.activity-status[class*='1'] {
|
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
|
color: #2e7d32;
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
padding: 4px 12px;
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
/* 进行中状态 - 橙色 */
|
.activity-status[class*='2'] {
|
background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
|
color: #e65100;
|
border: 1px solid rgba(255, 152, 0, 0.3);
|
padding: 4px 12px;
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
/* 已结束状态 - 灰色 */
|
.activity-status[class*='3'] {
|
background: linear-gradient(135deg, rgba(158, 158, 158, 0.15), rgba(158, 158, 158, 0.05));
|
color: #616161;
|
border: 1px solid rgba(158, 158, 158, 0.3);
|
padding: 4px 12px;
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
/* 社区选择器样式 */
|
.community-selector {
|
margin-left: auto;
|
position: relative;
|
}
|
|
.community-select {
|
background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
|
border: 2px solid #e8e8e8;
|
border-radius: 12px;
|
padding: 10px 16px 10px 12px;
|
font-size: 15px;
|
font-weight: 500;
|
color: #333;
|
min-width: 140px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
appearance: none;
|
-webkit-appearance: none;
|
-moz-appearance: none;
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
|
background-repeat: no-repeat;
|
background-position: right 12px center;
|
background-size: 16px;
|
padding-right: 40px;
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
}
|
|
.community-select:focus {
|
outline: none;
|
border-color: var(--primary-color);
|
box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15), 0 4px 12px rgba(255, 107, 107, 0.1);
|
background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
|
}
|
|
.community-select:hover {
|
border-color: var(--primary-color);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.1);
|
transform: translateY(-1px);
|
}
|
|
.community-select:active {
|
transform: translateY(0);
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15);
|
}
|
|
.overview-header {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-bottom: 20px;
|
}
|
|
.overview-header i {
|
margin-right: 8px;
|
color: #ff6b6b;
|
font-size: 18px;
|
}
|
|
/* 二维码样式优化 */
|
.qr-container {
|
display: flex;
|
justify-content: center;
|
margin-bottom: 20px;
|
}
|
|
.qr-code-wrapper {
|
background: #fff;
|
border-radius: 16px;
|
padding: 20px;
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
border: 2px solid #f0f0f0;
|
}
|
|
.qr-display {
|
display: flex;
|
align-items: center;
|
gap: 20px;
|
}
|
|
.qr-code-border {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
padding: 12px;
|
border-radius: 12px;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
.qr-canvas {
|
background: #fff;
|
border-radius: 8px;
|
display: block;
|
width: 250px;
|
height: 250px;
|
border: 2px solid #e0e0e0;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
}
|
|
.qr-info h4 {
|
margin: 0 0 8px 0;
|
color: #333;
|
font-size: 18px;
|
font-weight: 600;
|
}
|
|
.qr-info p {
|
margin: 0 0 12px 0;
|
color: #666;
|
font-size: 14px;
|
}
|
|
.qr-details {
|
display: flex;
|
gap: 12px;
|
}
|
|
.qr-user {
|
background: #f8f9fa;
|
padding: 4px 8px;
|
border-radius: 6px;
|
font-size: 12px;
|
color: #666;
|
}
|
|
.qr-points {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
color: white;
|
padding: 4px 8px;
|
border-radius: 6px;
|
font-size: 12px;
|
font-weight: 600;
|
}
|
|
.qr-loading {
|
display: flex;
|
align-items: center;
|
gap: 20px;
|
padding: 20px;
|
}
|
|
.qr-loading .qr-icon {
|
width: 60px;
|
height: 60px;
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
|
border-radius: 12px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
color: white;
|
font-size: 24px;
|
}
|
|
.qr-loading .qr-text h4 {
|
margin: 0 0 4px 0;
|
color: #333;
|
font-size: 16px;
|
}
|
|
.qr-loading .qr-text p {
|
margin: 0;
|
color: #666;
|
font-size: 14px;
|
}
|
|
/* 响应式设计 */
|
@media (max-width: 768px) {
|
.qr-display {
|
flex-direction: column;
|
text-align: center;
|
}
|
|
.qr-details {
|
justify-content: center;
|
}
|
}
|
|
/* 用户信息卡片样式 */
|
.user-info-area {
|
margin: 20px 0;
|
padding: 0 20px;
|
}
|
|
.user-info-card {
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
border-radius: 16px;
|
box-shadow: 0 8px 32px rgba(255, 107, 107, 0.1);
|
border: 1px solid rgba(255, 107, 107, 0.1);
|
overflow: hidden;
|
transition: all 0.3s ease;
|
}
|
|
.user-info-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 12px 40px rgba(255, 107, 107, 0.15);
|
}
|
|
.user-info-header {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
|
padding: 20px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
color: white;
|
position: relative;
|
}
|
|
.user-info-header::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
|
opacity: 0.3;
|
}
|
|
.header-icon {
|
font-size: 32px;
|
margin-right: 15px;
|
z-index: 1;
|
}
|
|
.header-content {
|
flex: 1;
|
z-index: 1;
|
}
|
|
.header-content h3 {
|
font-size: 18px;
|
font-weight: 600;
|
margin: 0 0 4px 0;
|
text-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
}
|
|
.header-content p {
|
font-size: 12px;
|
opacity: 0.9;
|
margin: 0;
|
}
|
|
.header-status {
|
display: flex;
|
align-items: center;
|
gap: 6px;
|
background: rgba(255, 255, 255, 0.2);
|
padding: 6px 12px;
|
border-radius: 20px;
|
font-size: 12px;
|
font-weight: 500;
|
z-index: 1;
|
}
|
|
.header-status i {
|
font-size: 14px;
|
}
|
|
.user-info-content {
|
padding: 24px;
|
}
|
|
.info-section {
|
display: flex;
|
flex-direction: column;
|
gap: 16px;
|
}
|
|
.info-item {
|
display: flex;
|
align-items: center;
|
padding: 16px;
|
background: #ffffff;
|
border-radius: 12px;
|
border: 1px solid #f0f0f0;
|
transition: all 0.2s ease;
|
position: relative;
|
overflow: hidden;
|
}
|
|
.info-item::before {
|
content: '';
|
position: absolute;
|
left: 0;
|
top: 0;
|
bottom: 0;
|
width: 4px;
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
transform: scaleY(0);
|
transition: transform 0.2s ease;
|
}
|
|
.info-item:hover {
|
border-color: #ff6b6b;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.1);
|
transform: translateX(4px);
|
}
|
|
.info-item:hover::before {
|
transform: scaleY(1);
|
}
|
|
.item-icon {
|
width: 40px;
|
height: 40px;
|
border-radius: 10px;
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-right: 16px;
|
color: white;
|
font-size: 16px;
|
box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
|
}
|
|
.item-content {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
gap: 4px;
|
}
|
|
.info-label {
|
font-size: 12px;
|
color: #666;
|
font-weight: 500;
|
text-transform: uppercase;
|
letter-spacing: 0.5px;
|
}
|
|
.info-value {
|
font-size: 16px;
|
color: #333;
|
font-weight: 600;
|
}
|
|
.info-value.points {
|
color: #ff6b6b;
|
font-size: 20px;
|
font-weight: 700;
|
}
|
|
.points-item {
|
background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
|
border-color: #ff6b6b;
|
}
|
|
.points-badge {
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
color: white;
|
padding: 4px 12px;
|
border-radius: 20px;
|
font-size: 11px;
|
font-weight: 600;
|
text-transform: uppercase;
|
letter-spacing: 0.5px;
|
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
|
}
|
|
.info-footer {
|
margin-top: 20px;
|
padding-top: 16px;
|
border-top: 1px solid #f0f0f0;
|
}
|
|
.footer-item {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
font-size: 12px;
|
color: #666;
|
}
|
|
.footer-item i {
|
color: #ff6b6b;
|
font-size: 14px;
|
}
|
|
/* 移动端适配 */
|
@media (max-width: 768px) {
|
.user-info-area {
|
margin: 15px 0;
|
padding: 0 15px;
|
}
|
|
.user-info-header {
|
padding: 16px;
|
}
|
|
.header-icon {
|
font-size: 28px;
|
margin-right: 12px;
|
}
|
|
.header-content h3 {
|
font-size: 16px;
|
}
|
|
.header-content p {
|
font-size: 11px;
|
}
|
|
.user-info-content {
|
padding: 20px;
|
}
|
|
.info-item {
|
padding: 14px;
|
}
|
|
.item-icon {
|
width: 36px;
|
height: 36px;
|
font-size: 14px;
|
margin-right: 14px;
|
}
|
|
.info-value {
|
font-size: 15px;
|
}
|
|
.info-value.points {
|
font-size: 18px;
|
}
|
}
|
|
/* 必填项标识样式 */
|
.required {
|
color: #ff6b6b;
|
font-weight: bold;
|
margin-left: 2px;
|
}
|
|
/* 微信扫码提示样式 */
|
.wechat-scan-tip {
|
margin: 40px 20px;
|
padding: 40px 20px;
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
border-radius: 20px;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
text-align: center;
|
border: 2px solid #e8f4fd;
|
}
|
|
.tip-icon {
|
font-size: 64px;
|
color: #07c160;
|
margin-bottom: 20px;
|
text-shadow: 0 2px 8px rgba(7, 193, 96, 0.2);
|
}
|
|
.tip-content h3 {
|
font-size: 20px;
|
color: #333;
|
margin: 0 0 12px 0;
|
font-weight: 600;
|
}
|
|
.tip-content p {
|
font-size: 14px;
|
color: #666;
|
margin: 0 0 30px 0;
|
line-height: 1.6;
|
}
|
|
.tip-steps {
|
display: flex;
|
justify-content: center;
|
gap: 20px;
|
flex-wrap: wrap;
|
}
|
|
|
.step-item {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 8px;
|
min-width: 80px;
|
padding-bottom: 16px;
|
}
|
|
.step-number {
|
width: 32px;
|
height: 32px;
|
border-radius: 50%;
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
color: white;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
font-size: 14px;
|
font-weight: 600;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
.step-text {
|
font-size: 12px;
|
color: #666;
|
text-align: center;
|
line-height: 1.4;
|
}
|
|
/* 移动端适配 */
|
@media (max-width: 768px) {
|
.wechat-scan-tip {
|
margin: 30px 15px;
|
padding: 30px 15px;
|
}
|
|
.tip-icon {
|
font-size: 48px;
|
margin-bottom: 16px;
|
}
|
|
.tip-content h3 {
|
font-size: 18px;
|
margin-bottom: 10px;
|
}
|
|
.tip-content p {
|
font-size: 13px;
|
margin-bottom: 24px;
|
}
|
|
.tip-steps {
|
gap: 16px;
|
}
|
|
.step-item {
|
min-width: 70px;
|
}
|
|
.step-number {
|
width: 28px;
|
height: 28px;
|
font-size: 12px;
|
}
|
|
.step-text {
|
font-size: 11px;
|
}
|
}
|
|
/* 扫码签到页面活动信息和个人信息样式 */
|
.activity-info-container {
|
margin: 20px 0;
|
background: #fff;
|
border-radius: 16px;
|
box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15);
|
overflow: hidden;
|
border: 1px solid rgba(255, 107, 107, 0.1);
|
position: relative;
|
}
|
|
.activity-info-container::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
height: 4px;
|
background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ffa8a8);
|
border-radius: 16px 16px 0 0;
|
}
|
|
.loading-container {
|
padding: 40px 24px;
|
text-align: center;
|
color: #666;
|
background: linear-gradient(135deg, #fafafa, #f5f5f5);
|
}
|
|
.loading-container i {
|
margin-right: 12px;
|
color: #ff6b6b;
|
font-size: 20px;
|
animation: pulse 1.5s ease-in-out infinite;
|
}
|
|
.loading-container span {
|
font-size: 15px;
|
font-weight: 500;
|
}
|
|
@keyframes pulse {
|
0%, 100% {
|
opacity: 1;
|
transform: scale(1);
|
}
|
50% {
|
opacity: 0.7;
|
transform: scale(1.1);
|
}
|
}
|
|
.error-container {
|
padding: 40px 24px;
|
text-align: center;
|
color: #ff6b6b;
|
background: linear-gradient(135deg, #fff5f5, #ffeaea);
|
border: 1px solid rgba(255, 107, 107, 0.2);
|
border-radius: 12px;
|
margin: 16px;
|
}
|
|
.error-container i {
|
margin-right: 12px;
|
font-size: 20px;
|
color: #ff4757;
|
}
|
|
.error-container span {
|
font-size: 15px;
|
font-weight: 500;
|
}
|
|
.activity-info .activity-header {
|
display: flex;
|
align-items: center;
|
padding: 20px 24px;
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e, #ffa8a8);
|
color: white;
|
font-weight: 600;
|
font-size: 17px;
|
position: relative;
|
}
|
|
.activity-info .activity-header::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
height: 1px;
|
background: rgba(255, 255, 255, 0.2);
|
}
|
|
.activity-info .activity-header i {
|
margin-right: 12px;
|
font-size: 20px;
|
color: rgba(255, 255, 255, 0.9);
|
}
|
|
.activity-info .activity-header span {
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
}
|
|
.activity-info .activity-content {
|
padding: 24px;
|
background: linear-gradient(135deg, #fafafa, #ffffff);
|
}
|
|
.activity-info .activity-content .activity-title {
|
font-size: 20px;
|
font-weight: 700;
|
color: #2c3e50;
|
margin-bottom: 20px;
|
line-height: 1.4;
|
padding: 16px;
|
background: linear-gradient(135deg, #ffffff, #f8f9fa);
|
border-radius: 12px;
|
border-left: 4px solid #ff6b6b;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
}
|
|
.activity-info .activity-content .activity-details .detail-item {
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
margin-bottom: 16px;
|
padding: 12px 16px;
|
background: #ffffff;
|
border-radius: 10px;
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
|
border: 1px solid rgba(255, 107, 107, 0.1);
|
transition: all 0.3s ease;
|
}
|
|
.activity-info .activity-content .activity-details .detail-item:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
|
}
|
|
.activity-info .activity-content .activity-details .detail-item i {
|
margin-right: 12px;
|
color: #ff6b6b;
|
width: 20px;
|
text-align: center;
|
font-size: 16px;
|
background: rgba(255, 107, 107, 0.1);
|
padding: 8px;
|
border-radius: 8px;
|
}
|
|
.activity-info .activity-content .activity-details .detail-item span {
|
font-size: 15px;
|
color: #444;
|
flex: 1;
|
font-weight: 500;
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text {
|
margin-top: 20px;
|
padding: 20px;
|
background: linear-gradient(135deg, #ffffff, #f8f9fa);
|
border-radius: 12px;
|
border: 1px solid rgba(255, 107, 107, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text span {
|
font-weight: 700;
|
color: #2c3e50;
|
font-size: 15px;
|
display: block;
|
margin-bottom: 12px;
|
padding-bottom: 8px;
|
border-bottom: 2px solid #ff6b6b;
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text p {
|
margin: 0;
|
color: #555;
|
font-size: 15px;
|
line-height: 1.7;
|
white-space: pre-wrap;
|
text-align: justify;
|
}
|
|
.checkin-info {
|
border-top: 2px solid rgba(255, 107, 107, 0.1);
|
margin-top: 8px;
|
}
|
|
.checkin-info .checkin-header {
|
display: flex;
|
align-items: center;
|
padding: 20px 24px;
|
background: linear-gradient(135deg, #f8fff8, #e8f5e8);
|
position: relative;
|
}
|
|
.checkin-info .checkin-header::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
height: 1px;
|
background: rgba(40, 167, 69, 0.2);
|
}
|
|
.checkin-info .checkin-header .header-icon {
|
margin-right: 16px;
|
}
|
|
.checkin-info .checkin-header .header-icon i {
|
color: #28a745;
|
font-size: 24px;
|
background: rgba(40, 167, 69, 0.1);
|
padding: 12px;
|
border-radius: 12px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 48px;
|
height: 48px;
|
}
|
|
.checkin-info .checkin-header .header-content {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.checkin-info .checkin-header .header-content .header-title {
|
font-weight: 700;
|
font-size: 18px;
|
color: #2d5a2d;
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
margin-bottom: 4px;
|
}
|
|
.checkin-info .checkin-header .header-content .header-subtitle {
|
font-size: 14px;
|
color: #5a8a5a;
|
font-weight: 500;
|
}
|
|
.checkin-info .checkin-content {
|
padding: 24px;
|
background: linear-gradient(135deg, #fafafa, #ffffff);
|
}
|
|
.checkin-info .checkin-content .checkin-status-card {
|
display: flex;
|
gap: 16px;
|
margin-bottom: 24px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator {
|
flex: 1;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-success {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 16px;
|
background: linear-gradient(135deg, #d4edda, #c3e6cb);
|
border: 2px solid #28a745;
|
border-radius: 12px;
|
color: #155724;
|
font-weight: 600;
|
font-size: 15px;
|
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-success i {
|
margin-right: 8px;
|
font-size: 18px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-pending {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 16px;
|
background: linear-gradient(135deg, #fff3cd, #ffeaa7);
|
border: 2px solid #ffc107;
|
border-radius: 12px;
|
color: #856404;
|
font-weight: 600;
|
font-size: 15px;
|
box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-pending i {
|
margin-right: 8px;
|
font-size: 18px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-completed {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 16px;
|
background: linear-gradient(135deg, #cce5ff, #b3d9ff);
|
border: 2px solid #007bff;
|
border-radius: 12px;
|
color: #004085;
|
font-weight: 600;
|
font-size: 15px;
|
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-completed i {
|
margin-right: 8px;
|
font-size: 18px;
|
}
|
|
.checkin-info .checkin-content .checkin-details {
|
margin-bottom: 20px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header {
|
display: flex;
|
align-items: center;
|
margin-bottom: 16px;
|
padding: 12px 16px;
|
background: linear-gradient(135deg, #ffffff, #f8f9fa);
|
border-radius: 10px;
|
border-left: 4px solid #28a745;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header i {
|
margin-right: 12px;
|
color: #28a745;
|
font-size: 16px;
|
background: rgba(40, 167, 69, 0.1);
|
padding: 8px;
|
border-radius: 8px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header span {
|
font-weight: 600;
|
color: #2d5a2d;
|
font-size: 15px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid {
|
display: grid;
|
grid-template-columns: 1fr 1fr;
|
gap: 12px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card {
|
display: flex;
|
align-items: center;
|
padding: 16px;
|
background: #ffffff;
|
border-radius: 12px;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
border: 1px solid rgba(40, 167, 69, 0.1);
|
transition: all 0.3s ease;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 16px rgba(40, 167, 69, 0.15);
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-icon {
|
margin-right: 16px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-icon i {
|
color: #28a745;
|
font-size: 18px;
|
background: rgba(40, 167, 69, 0.1);
|
padding: 10px;
|
border-radius: 10px;
|
width: 40px;
|
height: 40px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-content {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-content .detail-label {
|
font-size: 12px;
|
color: #6c757d;
|
font-weight: 500;
|
margin-bottom: 4px;
|
text-transform: uppercase;
|
letter-spacing: 0.5px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-content .detail-value {
|
font-size: 14px;
|
color: #2c3e50;
|
font-weight: 600;
|
line-height: 1.4;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info {
|
display: flex;
|
align-items: center;
|
padding: 24px;
|
background: linear-gradient(135deg, #fff9e6, #fff3cd);
|
border-radius: 16px;
|
border: 2px solid rgba(255, 193, 7, 0.3);
|
box-shadow: 0 4px 16px rgba(255, 193, 7, 0.15);
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-icon {
|
margin-right: 20px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-icon i {
|
color: #ffc107;
|
font-size: 32px;
|
background: rgba(255, 193, 7, 0.1);
|
padding: 16px;
|
border-radius: 16px;
|
width: 64px;
|
height: 64px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-content {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-content .no-checkin-title {
|
font-size: 18px;
|
font-weight: 700;
|
color: #856404;
|
margin-bottom: 8px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-content .no-checkin-desc {
|
font-size: 14px;
|
color: #a0781a;
|
font-weight: 500;
|
}
|
|
/* 移动端响应式设计 */
|
@media (max-width: 480px) {
|
.activity-info-container {
|
margin: 16px 0;
|
border-radius: 12px;
|
}
|
|
.activity-info .activity-header {
|
padding: 16px 20px;
|
font-size: 16px;
|
}
|
|
.activity-info .activity-header i {
|
font-size: 18px;
|
margin-right: 10px;
|
padding: 6px;
|
}
|
|
.activity-info .activity-content {
|
padding: 20px;
|
}
|
|
.activity-info .activity-content .activity-title {
|
font-size: 18px;
|
margin-bottom: 16px;
|
padding: 14px;
|
}
|
|
.activity-info .activity-content .activity-details .detail-item {
|
margin-bottom: 12px;
|
padding: 10px 14px;
|
}
|
|
.activity-info .activity-content .activity-details .detail-item i {
|
margin-right: 10px;
|
width: 18px;
|
font-size: 14px;
|
padding: 6px;
|
}
|
|
.activity-info .activity-content .activity-details .detail-item span {
|
font-size: 14px;
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text {
|
margin-top: 16px;
|
padding: 16px;
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text span {
|
font-size: 14px;
|
margin-bottom: 10px;
|
}
|
|
.activity-info .activity-content .activity-details .activity-content-text p {
|
font-size: 14px;
|
margin: 0;
|
line-height: 1.6;
|
}
|
|
.checkin-info .checkin-header {
|
padding: 16px 20px;
|
}
|
|
.checkin-info .checkin-header .header-icon {
|
margin-right: 12px;
|
}
|
|
.checkin-info .checkin-header .header-icon i {
|
font-size: 20px;
|
padding: 8px;
|
width: 36px;
|
height: 36px;
|
}
|
|
.checkin-info .checkin-header .header-content .header-title {
|
font-size: 16px;
|
margin-bottom: 2px;
|
}
|
|
.checkin-info .checkin-header .header-content .header-subtitle {
|
font-size: 12px;
|
}
|
|
.checkin-info .checkin-content {
|
padding: 20px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card {
|
gap: 12px;
|
margin-bottom: 20px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-success,
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-pending,
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-completed {
|
padding: 12px;
|
font-size: 14px;
|
}
|
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-success i,
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-pending i,
|
.checkin-info .checkin-content .checkin-status-card .status-indicator .status-completed i {
|
font-size: 16px;
|
margin-right: 6px;
|
}
|
|
.checkin-info .checkin-content .checkin-details {
|
margin-bottom: 16px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header {
|
padding: 10px 12px;
|
margin-bottom: 12px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header i {
|
font-size: 14px;
|
padding: 6px;
|
margin-right: 8px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-header span {
|
font-size: 14px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid {
|
gap: 10px;
|
grid-template-columns: 1fr;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card {
|
padding: 12px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-icon {
|
margin-right: 12px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-icon i {
|
font-size: 16px;
|
padding: 8px;
|
width: 32px;
|
height: 32px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-content .detail-label {
|
font-size: 11px;
|
margin-bottom: 2px;
|
}
|
|
.checkin-info .checkin-content .checkin-details .details-grid .detail-card .detail-content .detail-value {
|
font-size: 13px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info {
|
padding: 20px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-icon {
|
margin-right: 16px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-icon i {
|
font-size: 28px;
|
padding: 12px;
|
width: 52px;
|
height: 52px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-content .no-checkin-title {
|
font-size: 16px;
|
margin-bottom: 6px;
|
}
|
|
.checkin-info .checkin-content .no-checkin-info .no-checkin-content .no-checkin-desc {
|
font-size: 13px;
|
}
|
|
.loading-container,
|
.error-container {
|
padding: 32px 20px;
|
}
|
|
.loading-container i,
|
.error-container i {
|
margin-right: 10px;
|
font-size: 18px;
|
}
|
|
.loading-container span,
|
.error-container span {
|
font-size: 14px;
|
}
|
}
|
|
/* 签到/签退按钮样式 */
|
.checkin-button-container {
|
padding: 20px 24px;
|
background: linear-gradient(135deg, #f8f9fa, #ffffff);
|
border-top: 1px solid rgba(255, 107, 107, 0.1);
|
}
|
|
.checkin-button {
|
width: 100%;
|
padding: 16px 24px;
|
border: none;
|
border-radius: 12px;
|
font-size: 16px;
|
font-weight: 600;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 12px;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
position: relative;
|
overflow: hidden;
|
}
|
|
.checkin-button::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: -100%;
|
width: 100%;
|
height: 100%;
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
transition: left 0.5s ease;
|
}
|
|
.checkin-button:hover::before {
|
left: 100%;
|
}
|
|
.checkin-button.checkin {
|
background: linear-gradient(135deg, #28a745, #20c997);
|
color: white;
|
border: 2px solid #28a745;
|
}
|
|
.checkin-button.checkin:hover:not(.disabled) {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
|
background: linear-gradient(135deg, #218838, #1e7e34);
|
}
|
|
.checkin-button.checkout {
|
background: linear-gradient(135deg, #007bff, #0056b3);
|
color: white;
|
border: 2px solid #007bff;
|
}
|
|
.checkin-button.checkout:hover:not(.disabled) {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
|
background: linear-gradient(135deg, #0056b3, #004085);
|
}
|
|
.checkin-button.completed {
|
background: linear-gradient(135deg, #6c757d, #5a6268);
|
color: white;
|
border: 2px solid #6c757d;
|
cursor: not-allowed;
|
}
|
|
.checkin-button.disabled {
|
opacity: 0.6;
|
cursor: not-allowed;
|
transform: none !important;
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
|
}
|
|
.checkin-button i {
|
font-size: 18px;
|
}
|
|
.checkin-button span {
|
font-weight: 600;
|
letter-spacing: 0.5px;
|
}
|
|
/* 移动端按钮样式 */
|
@media (max-width: 480px) {
|
.checkin-button-container {
|
padding: 16px 20px;
|
}
|
|
.checkin-button {
|
padding: 14px 20px;
|
font-size: 15px;
|
gap: 10px;
|
border-radius: 10px;
|
}
|
|
.checkin-button i {
|
font-size: 16px;
|
}
|
}
|
|
/* 成功弹窗样式 */
|
.success-modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.6);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 9999;
|
animation: fadeIn 0.3s ease-out;
|
}
|
|
@keyframes fadeIn {
|
from {
|
opacity: 0;
|
}
|
to {
|
opacity: 1;
|
}
|
}
|
|
.success-modal {
|
background: #ffffff;
|
border-radius: 20px;
|
padding: 40px 30px;
|
text-align: center;
|
max-width: 320px;
|
width: 90%;
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
|
animation: slideUp 0.4s ease-out;
|
position: relative;
|
overflow: hidden;
|
}
|
|
@keyframes slideUp {
|
from {
|
transform: translateY(30px);
|
opacity: 0;
|
}
|
to {
|
transform: translateY(0);
|
opacity: 1;
|
}
|
}
|
|
.success-modal::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
height: 4px;
|
background: linear-gradient(90deg, #28a745, #20c997);
|
border-radius: 20px 20px 0 0;
|
}
|
|
.success-icon {
|
margin-bottom: 20px;
|
}
|
|
.success-icon i {
|
font-size: 64px;
|
color: #28a745;
|
animation: bounceIn 0.6s ease-out;
|
}
|
|
@keyframes bounceIn {
|
0% {
|
transform: scale(0);
|
opacity: 0;
|
}
|
50% {
|
transform: scale(1.2);
|
opacity: 0.8;
|
}
|
100% {
|
transform: scale(1);
|
opacity: 1;
|
}
|
}
|
|
.success-content {
|
margin-bottom: 25px;
|
}
|
|
.success-title {
|
font-size: 22px;
|
font-weight: 700;
|
color: #2c3e50;
|
margin: 0 0 8px 0;
|
line-height: 1.3;
|
}
|
|
.success-subtitle {
|
font-size: 14px;
|
color: #6c757d;
|
margin: 0;
|
line-height: 1.4;
|
}
|
|
.success-animation {
|
display: flex;
|
justify-content: center;
|
}
|
|
.loading-dots {
|
display: flex;
|
gap: 6px;
|
}
|
|
.loading-dots span {
|
width: 8px;
|
height: 8px;
|
background: #28a745;
|
border-radius: 50%;
|
animation: dotPulse 1.4s ease-in-out infinite both;
|
}
|
|
.loading-dots span:nth-child(1) {
|
animation-delay: -0.32s;
|
}
|
|
.loading-dots span:nth-child(2) {
|
animation-delay: -0.16s;
|
}
|
|
.loading-dots span:nth-child(3) {
|
animation-delay: 0s;
|
}
|
|
@keyframes dotPulse {
|
0%, 80%, 100% {
|
transform: scale(0.8);
|
opacity: 0.5;
|
}
|
40% {
|
transform: scale(1.2);
|
opacity: 1;
|
}
|
}
|
|
/* 移动端成功弹窗样式 */
|
@media (max-width: 480px) {
|
.success-modal {
|
padding: 35px 25px;
|
max-width: 280px;
|
border-radius: 16px;
|
}
|
|
.success-modal::before {
|
border-radius: 16px 16px 0 0;
|
}
|
|
.success-icon i {
|
font-size: 56px;
|
}
|
|
.success-title {
|
font-size: 20px;
|
}
|
|
.success-subtitle {
|
font-size: 13px;
|
}
|
|
.loading-dots span {
|
width: 6px;
|
height: 6px;
|
}
|
}
|
|
/* 管理端积分核销弹窗样式 */
|
.modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.6);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 9999;
|
animation: fadeIn 0.3s ease-out;
|
}
|
|
.confirm-modal {
|
background: #ffffff;
|
border-radius: 16px;
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
|
width: 90%;
|
max-width: 400px;
|
max-height: 80vh;
|
overflow-y: auto;
|
animation: slideInUp 0.3s ease-out;
|
}
|
|
.modal-header {
|
padding: 24px 24px 16px;
|
text-align: center;
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.modal-icon {
|
width: 48px;
|
height: 48px;
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin: 0 auto 16px;
|
animation: pulse 2s infinite;
|
}
|
|
.modal-icon i {
|
font-size: 20px;
|
color: #ffffff;
|
}
|
|
.modal-title {
|
font-size: 18px;
|
font-weight: 600;
|
color: #333333;
|
margin: 0;
|
}
|
|
.modal-content {
|
padding: 20px 24px;
|
}
|
|
.confirm-info {
|
background: #f8f9fa;
|
border-radius: 12px;
|
padding: 16px;
|
margin-bottom: 16px;
|
}
|
|
.info-row {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 12px;
|
padding: 8px 0;
|
border-bottom: 1px solid #e9ecef;
|
}
|
|
.info-row:last-child {
|
margin-bottom: 0;
|
border-bottom: none;
|
}
|
|
.info-label {
|
font-size: 14px;
|
color: #666666;
|
font-weight: 500;
|
}
|
|
.info-value {
|
font-size: 14px;
|
color: #333333;
|
font-weight: 600;
|
}
|
|
.info-value.highlight {
|
color: #ff6b6b;
|
font-size: 16px;
|
}
|
|
.confirm-warning {
|
display: flex;
|
align-items: center;
|
background: #fff3cd;
|
border: 1px solid #ffeaa7;
|
border-radius: 8px;
|
padding: 12px;
|
margin-top: 16px;
|
}
|
|
.confirm-warning i {
|
color: #856404;
|
margin-right: 8px;
|
font-size: 14px;
|
}
|
|
.confirm-warning span {
|
color: #856404;
|
font-size: 13px;
|
line-height: 1.4;
|
}
|
|
.modal-actions {
|
padding: 16px 24px 24px;
|
display: flex;
|
gap: 12px;
|
}
|
|
.modal-btn {
|
flex: 1;
|
padding: 12px 20px;
|
border: none;
|
border-radius: 8px;
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
}
|
|
.modal-btn.cancel {
|
background: #f8f9fa;
|
color: #6c757d;
|
border: 1px solid #dee2e6;
|
}
|
|
.modal-btn.cancel:hover {
|
background: #e9ecef;
|
color: #495057;
|
}
|
|
.modal-btn.confirm {
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
color: #ffffff;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
}
|
|
.modal-btn.confirm:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
|
}
|
|
.modal-btn.confirm:active {
|
transform: translateY(0);
|
}
|
|
/* 成功弹窗样式 */
|
.success-overlay {
|
background: rgba(0, 0, 0, 0.7);
|
}
|
|
.success-modal {
|
background: #ffffff;
|
border-radius: 20px;
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
|
width: 90%;
|
max-width: 380px;
|
text-align: center;
|
animation: scaleIn 0.4s ease-out;
|
position: relative;
|
overflow: hidden;
|
}
|
|
.success-modal::before {
|
content: '';
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
height: 4px;
|
background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ff6b6b);
|
animation: shimmer 2s infinite;
|
}
|
|
.success-icon {
|
padding: 32px 24px 16px;
|
}
|
|
.success-icon i {
|
font-size: 64px;
|
color: #ff6b6b;
|
animation: bounceIn 0.6s ease-out;
|
}
|
|
.success-content {
|
padding: 0 24px 24px;
|
}
|
|
.success-title {
|
font-size: 20px;
|
font-weight: 700;
|
color: #333333;
|
margin: 0 0 20px 0;
|
animation: slideInDown 0.5s ease-out;
|
}
|
|
.success-info {
|
background: #f8f9fa;
|
border-radius: 12px;
|
padding: 16px;
|
margin-bottom: 16px;
|
text-align: left;
|
}
|
|
.success-item {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 8px;
|
}
|
|
.success-item:last-child {
|
margin-bottom: 0;
|
}
|
|
.success-label {
|
font-size: 14px;
|
color: #666666;
|
font-weight: 500;
|
}
|
|
.success-value {
|
font-size: 14px;
|
color: #333333;
|
font-weight: 600;
|
}
|
|
.success-value.highlight {
|
color: #ff6b6b;
|
font-size: 16px;
|
}
|
|
.success-subtitle {
|
font-size: 13px;
|
color: #888888;
|
margin: 0;
|
line-height: 1.4;
|
}
|
|
.success-animation {
|
padding: 16px 24px 24px;
|
}
|
|
/* 弹窗动画 */
|
@keyframes slideInUp {
|
from {
|
opacity: 0;
|
transform: translateY(30px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
@keyframes scaleIn {
|
from {
|
opacity: 0;
|
transform: scale(0.8);
|
}
|
to {
|
opacity: 1;
|
transform: scale(1);
|
}
|
}
|
|
@keyframes slideInDown {
|
from {
|
opacity: 0;
|
transform: translateY(-20px);
|
}
|
to {
|
opacity: 1;
|
transform: translateY(0);
|
}
|
}
|
|
@keyframes bounceIn {
|
0% {
|
opacity: 0;
|
transform: scale(0.3);
|
}
|
50% {
|
opacity: 1;
|
transform: scale(1.1);
|
}
|
100% {
|
opacity: 1;
|
transform: scale(1);
|
}
|
}
|
|
@keyframes pulse {
|
0% {
|
box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
|
}
|
70% {
|
box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
|
}
|
100% {
|
box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
|
}
|
}
|
|
@keyframes shimmer {
|
0% {
|
background-position: -200px 0;
|
}
|
100% {
|
background-position: calc(200px + 100%) 0;
|
}
|
}
|
|
/* 移动端适配 */
|
@media (max-width: 768px) {
|
.confirm-modal,
|
.success-modal {
|
width: 95%;
|
margin: 20px;
|
}
|
|
.modal-header {
|
padding: 20px 20px 16px;
|
}
|
|
.modal-content {
|
padding: 16px 20px;
|
}
|
|
.modal-actions {
|
padding: 16px 20px 20px;
|
flex-direction: column;
|
}
|
|
.modal-btn {
|
width: 100%;
|
}
|
|
.success-icon i {
|
font-size: 56px;
|
}
|
|
.success-title {
|
font-size: 18px;
|
}
|
|
.success-content {
|
padding: 0 20px 20px;
|
}
|
}
|
|
/* 分享弹窗样式 */
|
.share-modal-overlay {
|
position: fixed;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.5);
|
z-index: 2000;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.share-modal {
|
background: white;
|
border-radius: 16px;
|
width: 90%;
|
max-width: 400px;
|
max-height: 80vh;
|
overflow-y: auto;
|
overflow-x: hidden;
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
animation: fadeIn 0.3s ease-out;
|
position: relative;
|
z-index: 2001;
|
}
|
|
.share-modal-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 16px 20px;
|
border-bottom: 1px solid #f0f0f0;
|
}
|
|
.share-modal-header h3 {
|
font-size: 16px;
|
font-weight: 600;
|
color: #222;
|
margin: 0;
|
}
|
|
.close-share-modal-btn {
|
background: none;
|
border: none;
|
font-size: 18px;
|
color: #999;
|
cursor: pointer;
|
padding: 4px 8px;
|
border-radius: 4px;
|
transition: all 0.2s ease;
|
}
|
|
.close-share-modal-btn:hover {
|
background: #f5f5f5;
|
color: #666;
|
}
|
|
.share-modal-content {
|
padding: 20px;
|
}
|
|
.share-text-content {
|
background: #f8f9fa;
|
border-radius: 8px;
|
padding: 16px;
|
border: 1px solid #e9ecef;
|
max-height: 300px;
|
overflow-y: auto;
|
}
|
|
.share-text-content pre {
|
margin: 0;
|
padding: 0;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
font-size: 14px;
|
line-height: 1.8;
|
color: #333;
|
white-space: pre-wrap;
|
word-wrap: break-word;
|
}
|
|
.share-modal-actions {
|
padding: 16px 20px;
|
border-top: 1px solid #f0f0f0;
|
display: flex;
|
gap: 12px;
|
}
|
|
.copy-share-btn {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
padding: 12px 16px;
|
border: none;
|
border-radius: 12px;
|
font-size: 14px;
|
font-weight: 500;
|
cursor: pointer;
|
transition: all 0.3s ease;
|
background: linear-gradient(135deg, #4ecdc4 0%, #38b2ac 100%);
|
color: white;
|
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
|
}
|
|
.copy-share-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 16px rgba(78, 205, 196, 0.4);
|
}
|
|
.copy-share-btn:active {
|
transform: translateY(0);
|
}
|
|
.copy-share-btn i {
|
font-size: 16px;
|
}
|
|
/* 操作按钮容器 */
|
.action-buttons-section {
|
padding: var(--spacing-md);
|
display: flex;
|
gap: var(--spacing-md);
|
justify-content: center;
|
flex-wrap: wrap;
|
}
|
|
/* 操作按钮容器中的按钮样式 */
|
.action-buttons-section .checkin-qr-section {
|
flex: 2;
|
min-width: 140px;
|
display: flex;
|
justify-content: center;
|
}
|
|
.action-buttons-section .checkin-qr-btn {
|
width: 100%;
|
justify-content: center;
|
/* 继承基础样式,确保与分享按钮一致 */
|
}
|
|
.action-buttons-section .share-section {
|
flex: 1;
|
min-width: 140px;
|
display: flex;
|
justify-content: center;
|
}
|
|
.action-buttons-section .share-btn {
|
background: linear-gradient(135deg, #ff6b6b 0%, #ff8a8a 100%);
|
color: white;
|
border: none;
|
border-radius: 12px;
|
padding: 12px 24px;
|
font-size: 14px;
|
cursor: pointer;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
transition: all 0.3s ease;
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
width: 100%;
|
justify-content: center;
|
}
|
|
.action-buttons-section .share-btn:hover {
|
transform: translateY(-2px);
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
|
}
|
|
.action-buttons-section .share-btn:active {
|
transform: translateY(0);
|
}
|
|
.action-buttons-section .share-btn i {
|
font-size: 16px;
|
}
|