|
@@ -1,8 +1,7 @@
|
|
|
-<p>pages-community works!</p>
|
|
|
<div class="community-page">
|
|
|
<div class="community-header">
|
|
|
<h1>设计社区</h1>
|
|
|
- <p>与全球设计师交流创意</p>
|
|
|
+ <p class="header-subtitle">与全球设计师交流创意</p>
|
|
|
<div class="community-stats">
|
|
|
<div class="stat-item">
|
|
|
<div class="stat-number">12.8k</div>
|
|
@@ -20,61 +19,61 @@
|
|
|
</div>
|
|
|
|
|
|
<main class="main-content">
|
|
|
- <div style="margin: 20px;">
|
|
|
+ <div class="content-container">
|
|
|
<!-- 热门话题 -->
|
|
|
- <div style="background: white; border-radius: 15px; padding: 20px; margin-bottom: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1);">
|
|
|
- <h4 style="margin-bottom: 15px; font-size: 16px;">🔥 热门话题</h4>
|
|
|
- <div style="display: flex; flex-wrap: wrap; gap: 8px;">
|
|
|
- <span style="background: #ff6b6b; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;">#春季时尚</span>
|
|
|
- <span style="background: #4ecdc4; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;">#环保设计</span>
|
|
|
- <span style="background: #45b7d1; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;">#极简主义</span>
|
|
|
- <span style="background: #96ceb4; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;">#复古回潮</span>
|
|
|
+ <div class="content-card">
|
|
|
+ <h4 class="card-title">🔥 热门话题</h4>
|
|
|
+ <div class="tags-container">
|
|
|
+ <span class="tag tag-fashion">#春季时尚</span>
|
|
|
+ <span class="tag tag-eco">#环保设计</span>
|
|
|
+ <span class="tag tag-minimal">#极简主义</span>
|
|
|
+ <span class="tag tag-vintage">#复古回潮</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 设计师排行榜 -->
|
|
|
- <div style="background: white; border-radius: 15px; padding: 20px; margin-bottom: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1);">
|
|
|
- <h4 style="margin-bottom: 15px; font-size: 16px;">🏆 本周设计师排行</h4>
|
|
|
- <div style="display: flex; flex-direction: column; gap: 12px;">
|
|
|
- <div style="display: flex; align-items: center; justify-content: space-between; padding: 10px; background: #f8f9fa; border-radius: 10px;">
|
|
|
- <div style="display: flex; align-items: center; gap: 12px;">
|
|
|
- <div style="width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #ff6b6b, #ffa726); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold;">1</div>
|
|
|
- <div>
|
|
|
- <div style="font-weight: 600; font-size: 14px;">设计大师Alex</div>
|
|
|
- <div style="font-size: 12px; color: #666;">点赞数: 8.9k</div>
|
|
|
+ <div class="content-card">
|
|
|
+ <h4 class="card-title">🏆 本周设计师排行</h4>
|
|
|
+ <div class="ranking-list">
|
|
|
+ <div class="ranking-item">
|
|
|
+ <div class="ranking-info">
|
|
|
+ <div class="rank-avatar rank-1">1</div>
|
|
|
+ <div class="ranking-details">
|
|
|
+ <div class="designer-name">设计大师Alex</div>
|
|
|
+ <div class="designer-likes">点赞数: 8.9k</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="font-size: 20px;">👑</div>
|
|
|
+ <div class="rank-crown">👑</div>
|
|
|
</div>
|
|
|
- <div style="display: flex; align-items: center; justify-content: space-between; padding: 10px; background: #f8f9fa; border-radius: 10px;">
|
|
|
- <div style="display: flex; align-items: center; gap: 12px;">
|
|
|
- <div style="width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #4ecdc4, #44a08d); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold;">2</div>
|
|
|
- <div>
|
|
|
- <div style="font-weight: 600; font-size: 14px;">时尚达人Lisa</div>
|
|
|
- <div style="font-size: 12px; color: #666;">点赞数: 7.2k</div>
|
|
|
+ <div class="ranking-item">
|
|
|
+ <div class="ranking-info">
|
|
|
+ <div class="rank-avatar rank-2">2</div>
|
|
|
+ <div class="ranking-details">
|
|
|
+ <div class="designer-name">时尚达人Lisa</div>
|
|
|
+ <div class="designer-likes">点赞数: 7.2k</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="font-size: 20px;">🥈</div>
|
|
|
+ <div class="rank-medal">🥈</div>
|
|
|
</div>
|
|
|
- <div style="display: flex; align-items: center; justify-content: space-between; padding: 10px; background: #f8f9fa; border-radius: 10px;">
|
|
|
- <div style="display: flex; align-items: center; gap: 12px;">
|
|
|
- <div style="width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold;">3</div>
|
|
|
- <div>
|
|
|
- <div style="font-weight: 600; font-size: 14px;">创意师Mike</div>
|
|
|
- <div style="font-size: 12px; color: #666;">点赞数: 5.8k</div>
|
|
|
+ <div class="ranking-item">
|
|
|
+ <div class="ranking-info">
|
|
|
+ <div class="rank-avatar rank-3">3</div>
|
|
|
+ <div class="ranking-details">
|
|
|
+ <div class="designer-name">创意师Mike</div>
|
|
|
+ <div class="designer-likes">点赞数: 5.8k</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="font-size: 20px;">🥉</div>
|
|
|
+ <div class="rank-medal">🥉</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 最新作品 -->
|
|
|
- <div style="background: white; border-radius: 15px; padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1);">
|
|
|
- <h4 style="margin-bottom: 15px; font-size: 16px;">✨ 最新作品</h4>
|
|
|
- <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;">
|
|
|
- <div style="background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%); border-radius: 12px; height: 120px; display: flex; align-items: center; justify-content: center; font-size: 36px; cursor: pointer; transition: all 0.3s ease;" (click)="likeWork($event)">🌸</div>
|
|
|
- <div style="background: linear-gradient(45deg, #667eea 0%, #764ba2 100%); border-radius: 12px; height: 120px; display: flex; align-items: center; justify-content: center; font-size: 36px; cursor: pointer; transition: all 0.3s ease;" (click)="likeWork($event)">⚡</div>
|
|
|
+ <div class="content-card">
|
|
|
+ <h4 class="card-title">✨ 最新作品</h4>
|
|
|
+ <div class="works-grid">
|
|
|
+ <div class="work-item work-1" (click)="likeWork($event)">🌸</div>
|
|
|
+ <div class="work-item work-2" (click)="likeWork($event)">⚡</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|