|
@@ -1 +1,82 @@
|
|
|
<p>pages-community works!</p>
|
|
|
+<div class="community-page">
|
|
|
+ <div class="community-header">
|
|
|
+ <h1>设计社区</h1>
|
|
|
+ <p>与全球设计师交流创意</p>
|
|
|
+ <div class="community-stats">
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-number">12.8k</div>
|
|
|
+ <div class="stat-label">活跃用户</div>
|
|
|
+ </div>
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-number">3.2k</div>
|
|
|
+ <div class="stat-label">今日作品</div>
|
|
|
+ </div>
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-number">156</div>
|
|
|
+ <div class="stat-label">在线设计师</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <main class="main-content">
|
|
|
+ <div style="margin: 20px;">
|
|
|
+ <!-- 热门话题 -->
|
|
|
+ <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>
|
|
|
+ </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>
|
|
|
+ </div>
|
|
|
+ <div style="font-size: 20px;">👑</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>
|
|
|
+ </div>
|
|
|
+ <div style="font-size: 20px;">🥈</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>
|
|
|
+ </div>
|
|
|
+ <div style="font-size: 20px;">🥉</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>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </main>
|
|
|
+</div>
|