zhouxiantao
8 days ago 03193b2a27a2c23e10f3a2f298de9c1142116780
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
/**
 * @author 韩天尊
 * @time 2024-01-15
 * @version 1.0.0
 * @description 首页样式
 */
 
/* 轮播图样式 */
.carousel-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,107,0.08);
}
 
.carousel-wrapper {
    height: 100%;
    position: relative;
    display: flex;
    transition: transform 0.5s ease-in-out;
}
 
.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-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
 
.dot.active {
    background-color: white;
}
 
/* 功能按钮区域 */
.function-buttons {
    display: flex;
    gap: 16px;
    padding: 20px 16px 8px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(255,107,107,0.08);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
 
.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;
    font-weight: 500;
    text-align: center;
}
 
/* 活动列表样式 */
.activity-list {
    padding: 0 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(255,107,107,0.08);
    margin-top: 16px;
    padding-bottom: 4px;
}
 
/* 区域头部样式 */
.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: #333333;
}
 
/* 更多按钮样式 */
.more-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
 
.more-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}
 
/* 活动网格布局 */
.activity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px 16px 16px;
}
 
/* 活动项样式 */
.activity-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}
 
.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
 
.activity-item .cover {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
 
.activity-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
 
.activity-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
 
.activity-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    flex: 1;
    margin-right: 12px;
}
 
.activity-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
}
 
.activity-status.ongoing,
.activity-status['2'] {
    background: #d4edda;
    color: #155724;
}
 
.activity-status.upcoming,
.activity-status['1'] {
    background: #fff3cd;
    color: #856404;
}
 
.activity-status.completed,
.activity-status['3'] {
    background: #f8d7da;
    color: #721c24;
}
 
.activity-info-detail {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666666;
    gap: 6px;
}
 
.activity-info-detail i {
    color: #ff6b6b;
    font-size: 12px;
    width: 14px;
}
 
.category-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
 
.activity-points {
    color: #ff6b6b;
    font-weight: 600;
}
 
/* 移动端适配 */
@media (max-width: 480px) {
    .function-buttons {
        gap: 12px;
        padding: 16px 12px 6px 12px;
    }
    
    .function-btn i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .function-btn span {
        font-size: 12px;
    }
    
    .carousel-container {
        height: 180px;
    }
    
    .activity-list {
        padding: 0 12px;
    }
    
    .section-header {
        padding: 12px 12px 0 12px;
    }
    
    .activity-grid {
        padding: 0 12px 12px 12px;
    }
    
    .activity-item {
        padding: 12px;
    }
    
    .activity-item .cover {
        height: 100px;
    }
}
 
@media (max-width: 360px) {
    .function-buttons {
        gap: 8px;
        padding: 12px 8px 4px 8px;
    }
    
    .function-btn i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .function-btn span {
        font-size: 11px;
    }
    
    .carousel-container {
        height: 160px;
    }
    
    .activity-list {
        padding: 0 8px;
    }
    
    .section-header {
        padding: 8px 8px 0 8px;
    }
    
    .activity-grid {
        padding: 0 8px 8px 8px;
    }
    
    .activity-item {
        padding: 8px;
    }
    
    .activity-item .cover {
        height: 80px;
    }
}