refactor(profile): restructure profile pages and add new features

This commit is contained in:
shenghuo2
2025-06-21 23:15:19 +08:00
parent f8452b319c
commit ef5eda8cf4
17 changed files with 1242 additions and 34 deletions

View File

@ -13,7 +13,7 @@
<!-- 头部用户信息 -->
<div class="profile-header">
<div class="header-top">
<div class="user-info" onclick="location.href='user-profile.html'" style="cursor: pointer;">
<div class="user-info" onclick="location.href='profile/user-profile.html'" style="cursor: pointer;">
<div class="user-avatar">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50' fill='%234A90E2'/%3E%3Cpath d='M50 30c8 0 15 7 15 15s-7 15-15 15-15-7-15-15 7-15 15-15zm0 35c12 0 22 6 22 14v6H28v-6c0-8 10-14 22-14z' fill='white'/%3E%3C/svg%3E" alt="用户头像">
</div>
@ -31,25 +31,25 @@
<!-- 功能卡片 -->
<div class="feature-cards">
<div class="feature-card" onclick="location.href='scene.html'">
<div class="feature-card" onclick="location.href='profile/scene.html'">
<div class="feature-icon" style="background: linear-gradient(135deg, #4ECDC4, #44A08D);">
<i class="fas fa-cube"></i>
</div>
<span>智能场景</span>
</div>
<div class="feature-card" onclick="window.location.href='mijiazhongce.html'">
<div class="feature-card" onclick="window.location.href='profile/mijiazhongce.html'">
<div class="feature-icon" style="background: linear-gradient(135deg, #667eea, #764ba2);">
<i class="fas fa-chart-line"></i>
</div>
<span>米家众测</span>
</div>
<div class="feature-card" onclick="location.href='product-encyclopedia.html'">
<div class="feature-card" onclick="location.href='profile/product-encyclopedia.html'">
<div class="feature-icon" style="background: linear-gradient(135deg, #f093fb, #f5576c);">
<i class="fas fa-book"></i>
</div>
<span>产品百科</span>
</div>
<div class="feature-card" onclick="window.location.href='whole-house-smart.html'">
<div class="feature-card" onclick="window.location.href='profile/whole-house-smart.html'">
<div class="feature-icon" style="background: linear-gradient(135deg, #4facfe, #00f2fe);">
<i class="fas fa-home"></i>
</div>
@ -116,15 +116,17 @@
<i class="fas fa-chevron-right"></i>
</div>
<div class="menu-item">
<div class="menu-item" onclick="location.href='profile/home-network.html'">
<div class="menu-icon" style="background: linear-gradient(135deg, #667eea, #764ba2);">
<i class="fas fa-wifi"></i>
</div>
<div class="menu-content">
<span class="menu-title">家庭网络</span>
<span class="menu-status">良好</span>
</div>
<i class="fas fa-chevron-right"></i>
<div class="menu-right">
<span class="menu-status">良好</span>
<i class="fas fa-chevron-right"></i>
</div>
</div>
<div class="menu-item">
@ -137,7 +139,7 @@
<i class="fas fa-chevron-right"></i>
</div>
<div class="menu-item" onclick="location.href='settings.html'">
<div class="menu-item" onclick="location.href='profile/settings.html'">
<div class="menu-icon" style="background: linear-gradient(135deg, #f093fb, #f5576c);">
<i class="fas fa-cog"></i>
</div>