فهرست منبع

page update:book my

Midnight 1 هفته پیش
والد
کامیت
a1780ea294

+ 1 - 1
myapp/src/app/tab2/tab2.page.html

@@ -1,7 +1,7 @@
 <ion-header [translucent]="true">
   <ion-toolbar>
     <ion-title>
-      法律咨询
+      AI法律咨询
     </ion-title>
   </ion-toolbar>
 </ion-header>

+ 7 - 0
myapp/src/app/tab2/tab2.page.scss

@@ -1,3 +1,10 @@
+ion-content {
+    --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
+    background-size: cover;   
+    --padding-start: 16px;  
+    --padding-end: 16px;    
+}
+
 .lawyer-card {
   border-radius: 12px;
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);

+ 146 - 11
myapp/src/app/tab3/tab3.page.html

@@ -1,17 +1,152 @@
 <ion-header [translucent]="true">
-  <ion-toolbar>
-    <ion-title>
-      Tab 3
-    </ion-title>
-  </ion-toolbar>
+  <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>明律通 - AI法律顾问</title>
+    <!-- 引入国内CDN资源 -->
+    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
+
 </ion-header>
 
 <ion-content [fullscreen]="true">
-  <ion-header collapse="condense">
-    <ion-toolbar>
-      <ion-title size="large">Tab 3</ion-title>
-    </ion-toolbar>
-  </ion-header>
+  <!-- 文书首页 -->
+      <div class="page documents-page" id="documents-page">
+            <div class="header">
+                <div class="logo">
+                    <i class="fas fa-arrow-left" onclick="showPage('home-page')"></i>
+                    <span style="margin-left: 10px;">法律文书</span>
+                </div>
+                <div class="user-avatar">
+                    <i class="fas fa-user"></i>
+                </div>
+            </div>
+            
+            <div class="search-bar">
+                <input type="text" class="search-input" placeholder="搜索文书模板...">
+                <button class="search-btn">
+                    <i class="fas fa-search"></i>
+                </button>
+            </div>
+            
+            <div class="section-title">
+                文书分类
+                <a href="#">全部</a>
+            </div>
+            
+            <div class="category-tabs">
+                <div class="category-tab active">全部</div>
+                <div class="category-tab">劳动合同</div>
+                <div class="category-tab">婚姻家事</div>
+                <div class="category-tab">债权债务</div>
+                <div class="category-tab">房产交易</div>
+                <div class="category-tab">公司经营</div>
+                <div class="category-tab">知识产权</div>
+            </div>
+            
+            <div class="section-title">
+                常用文书模板
+            </div>
+            
+            <div class="document-grid">
+                <div class="document-card" onclick="showPage('document-detail-page')">
+                    <div class="document-icon" style="background: #3A5FE5;">
+                        <i class="fas fa-file-contract"></i>
+                    </div>
+                    <div class="document-title">劳动合同</div>
+                    <div class="document-desc">标准劳动合同模板,适用于企业与员工签订</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #00C4A1;">
+                        <i class="fas fa-ring"></i>
+                    </div>
+                    <div class="document-title">离婚协议书</div>
+                    <div class="document-desc">协议离婚必备文书,包含财产分割、子女抚养等条款</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #FF6B6B;">
+                        <i class="fas fa-handshake"></i>
+                    </div>
+                    <div class="document-title">借款合同</div>
+                    <div class="document-desc">个人或企业间借款协议,明确利率、还款方式等</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #FFC107;">
+                        <i class="fas fa-home"></i>
+                    </div>
+                    <div class="document-title">房屋租赁合同</div>
+                    <div class="document-desc">房东与租客签订的标准租赁协议</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #9C27B0;">
+                        <i class="fas fa-building"></i>
+                    </div>
+                    <div class="document-title">股东协议</div>
+                    <div class="document-desc">公司股东之间的权利义务约定</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #673AB7;">
+                        <i class="fas fa-pen-fancy"></i>
+                    </div>
+                    <div class="document-title">著作权转让协议</div>
+                    <div class="document-desc">作品著作权转让的法律文书</div>
+                </div>
+            </div>
+            
+            <div class="recent-section">
+                <div class="section-title">
+                    最近使用
+                </div>
+                
+                <div class="recent-list">
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-file-contract"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">劳动合同(2023版)</div>
+                            <div class="recent-date">2023-10-15 编辑</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                    
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-handshake"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">借款合同-张三</div>
+                            <div class="recent-date">2023-09-28 生成</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                    
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-ring"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">离婚协议书草案</div>
+                            <div class="recent-date">2023-08-10 保存</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            
+            <div class="floating-btn" onclick="showPage('create-document-page')">
+                <i class="fas fa-plus"></i>
+            </div>
+        </div>
 
-  <app-explore-container name="Tab 3 page"></app-explore-container>
+  
 </ion-content>

+ 279 - 0
myapp/src/app/tab3/tab3.page.scss

@@ -0,0 +1,279 @@
+ion-content {
+    --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
+    background-size: cover;   
+    --padding-start: 16px;  
+    --padding-end: 16px; 
+    --padding-top: 20px;   
+}
+
+        :root {
+            --primary: #3A5FE5;
+            --secondary: #00C4A1;
+            --danger: #FF4D4F;
+            --bg: #F8F9FF;
+            --text: #2D3748;
+            --card: #FFFFFF;
+        }
+        
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
+        }
+        
+        .container {
+            width: 100%;
+            max-width: 480px;
+            margin: 0 auto;
+            padding: 15px;
+            min-height: 100vh;
+            display: flex;
+            flex-direction: column;
+        }
+        
+        /* 顶部导航 */
+        .header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            padding: 10px 0;
+            margin-bottom: 15px;
+        }
+        
+        .logo {
+            font-weight: bold;
+            font-size: 20px;
+            color: #3A5FE5;
+            display: flex;
+            align-items: center;
+        }
+        
+        .logo i {
+            margin-right: 8px;
+            color: #00C4A1;
+        }
+        
+        .user-avatar {
+            width: 36px;
+            height: 36px;
+            border-radius: 50%;
+            background-color: #3A5FE5;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color: white;
+        }
+
+        /* 文书页面特有样式 */
+        .documents-page {
+            padding-bottom: 70px;
+        }
+        
+        .search-bar {
+            display: flex;
+            background: white;
+            border-radius: 24px;
+            padding: 10px 15px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            margin-bottom: 20px;
+        }
+        
+        .search-input {
+            flex: 1;
+            border: none;
+            outline: none;
+            padding: 5px;
+            font-size: 16px;
+        }
+        
+        .search-btn {
+            background: none;
+            border: none;
+            color: #3A5FE5;
+            font-size: 18px;
+        }
+        
+        .section-title {
+            font-size: 18px;
+            font-weight: bold;
+            margin: 15px 0;
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+        }
+        
+        .section-title a {
+            font-size: 14px;
+            font-weight: normal;
+            color: #3A5FE5;
+            text-decoration: none;
+        }
+        
+        .category-tabs {
+            display: flex;
+            overflow-x: auto;
+            gap: 10px;
+            padding-bottom: 10px;
+            margin: 15px 0;
+        }
+        
+        .category-tab {
+            padding: 8px 15px;
+            background: white;
+            border-radius: 20px;
+            white-space: nowrap;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            font-size: 14px;
+        }
+        
+        .category-tab.active {
+            background: #3A5FE5;
+            color: white;
+        }
+        
+        .document-grid {
+            display: grid;
+            grid-template-columns: repeat(2, 1fr);
+            gap: 15px;
+            margin: 15px 0;
+        }
+        
+        .document-card {
+            background: white;
+            border-radius: 12px;
+            padding: 15px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+            transition: transform 0.3s;
+        }
+        
+        .document-card:active {
+            transform: scale(0.98);
+        }
+        
+        .document-icon {
+            width: 40px;
+            height: 40px;
+            border-radius: 10px;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            margin-bottom: 10px;
+            color: white;
+            font-size: 18px;
+        }
+        
+        .document-title {
+            font-weight: bold;
+            margin-bottom: 5px;
+        }
+        
+        .document-desc {
+            font-size: 12px;
+            color: #666;
+            display: -webkit-box;           
+            -webkit-box-orient: vertical;
+            overflow: hidden;
+        }
+        
+        .recent-section {
+            margin: 25px 0;
+        }
+        
+        .recent-list {
+            background: white;
+            border-radius: 12px;
+            padding: 15px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+        }
+        
+        .recent-item {
+            display: flex;
+            align-items: center;
+            padding: 10px 0;
+            border-bottom: 1px solid #eee;
+        }
+        
+        .recent-item:last-child {
+            border-bottom: none;
+        }
+        
+        .recent-icon {
+            width: 36px;
+            height: 36px;
+            border-radius: 8px;
+            background: #E6F7FF;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            margin-right: 10px;
+            color: #3A5FE5;
+        }
+        
+        .recent-info {
+            flex: 1;
+        }
+        
+        .recent-name {
+            font-weight: 500;
+            margin-bottom: 3px;
+        }
+        
+        .recent-date {
+            font-size: 12px;
+            color: #999;
+        }
+        
+        .recent-action {
+            color: #3A5FE5;
+        }
+        
+        .floating-btn {
+            position: fixed;
+            bottom: 80px;
+            right: 20px;
+            width: 56px;
+            height: 56px;
+            background: #3A5FE5;
+            border-radius: 50%;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color: white;
+            box-shadow: 0 4px 12px rgba(58, 95, 229, 0.3);
+            z-index: 10;
+        }
+
+        /* 加载动画 */
+        .loading {
+            display: flex;
+            justify-content: center;
+            padding: 20px;
+        }
+        
+        .loading-dots {
+            display: flex;
+            gap: 5px;
+        }
+        
+        .loading-dots span {
+            width: 8px;
+            height: 8px;
+            background: #3A5FE5;
+            border-radius: 50%;
+            animation: bounce 1s infinite alternate;
+        }
+        
+        .loading-dots span:nth-child(2) {
+            animation-delay: 0.2s;
+        }
+        
+        .loading-dots span:nth-child(3) {
+            animation-delay: 0.4s;
+        }
+        
+        @keyframes bounce {
+            to {
+                transform: translateY(-5px);
+            }
+        }

+ 173 - 8
myapp/src/app/tab4/tab4.page.html

@@ -1,13 +1,178 @@
 <ion-header [translucent]="true">
-  <ion-toolbar>
-    <ion-title>tab4</ion-title>
-  </ion-toolbar>
+  <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>明律通 - AI法律顾问</title>
+    <!-- 引入国内CDN资源 -->
+    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
+
 </ion-header>
 
 <ion-content [fullscreen]="true">
-  <ion-header collapse="condense">
-    <ion-toolbar>
-      <ion-title size="large">tab4</ion-title>
-    </ion-toolbar>
-  </ion-header>
+  <div class="container">
+        <!-- 我的页面 -->
+        <div class="page" id="profile-page">
+            <!-- 个人资料区域 -->
+            <div class="profile-section">
+                <div class="profile-bg"></div>
+                <div class="profile-avatar">U</div>
+                <div class="profile-name">用户名</div>
+                <div class="profile-email">user&#64;example.com</div>
+            </div>
+            
+            <!-- 功能入口网格 -->
+            <div class="features-section">
+                <div class="section-title">
+                    常用功能
+                    <a href="#">管理</a>
+                </div>
+                <div class="features-grid">
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-file-alt"></i>
+                        </div>
+                        <div class="feature-title">我的文书</div>
+                        <div class="feature-desc">查看和管理您的法律文书</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-history"></i>
+                        </div>
+                        <div class="feature-title">咨询历史</div>
+                        <div class="feature-desc">查看您之前的法律咨询记录</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-file-invoice-dollar"></i>
+                        </div>
+                        <div class="feature-title">订单记录</div>
+                        <div class="feature-desc">查看已购买的法律服务</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-star"></i>
+                        </div>
+                        <div class="feature-title">收藏夹</div>
+                        <div class="feature-desc">您收藏的法律知识和案例</div>
+                    </div>
+                </div>
+            </div>
+            
+            <!-- 订单区域 -->
+            <div class="orders-section">
+                <div class="orders-header">
+                    <div class="orders-title">我的订单</div>
+                    <a href="#" class="orders-more">查看全部</a>
+                </div>
+                <div class="orders-list">
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-file-alt"></i>
+                        </div>
+                        <div class="order-count">3</div>
+                        <div class="order-title">法律文书</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-comments"></i>
+                        </div>
+                        <div class="order-count">1</div>
+                        <div class="order-title">智能咨询</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-file-contract"></i>
+                        </div>
+                        <div class="order-count">0</div>
+                        <div class="order-title">合同审查</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-gavel"></i>
+                        </div>
+                        <div class="order-count">0</div>
+                        <div class="order-title">诉讼评估</div>
+                    </div>
+                </div>
+            </div>
+            
+            <!-- 律师入驻区域 -->
+            <div class="lawyer-section">
+                <div class="lawyer-header">
+                    <div class="lawyer-title">律师入驻</div>
+                    <div class="lawyer-status" id="lawyer-status">未入驻</div>
+                </div>
+                <button class="lawyer-btn" id="apply-lawyer">
+                    立即申请入驻
+                </button>
+            </div>
+            
+            <!-- 设置区域 -->
+            <div class="settings-section">
+                <ul class="settings-list">
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-user-shield"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">账户安全</div>
+                            <div class="setting-desc">修改密码、设置密保</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-bell"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">消息通知</div>
+                            <div class="setting-desc">设置接收通知类型</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-cog"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">通用设置</div>
+                            <div class="setting-desc">消息提醒、隐私设置</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-question-circle"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">帮助中心</div>
+                            <div class="setting-desc">常见问题与解答</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-sign-out-alt"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">退出登录</div>
+                            <div class="setting-desc">安全退出当前账号</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                </ul>
+            </div>
+        </div>
+        
+        
+    </div>
 </ion-content>

+ 309 - 0
myapp/src/app/tab4/tab4.page.scss

@@ -0,0 +1,309 @@
+ion-content {
+    --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
+    background-size: cover;   
+    --padding-start: 16px;  
+    --padding-end: 16px; 
+     
+}
+
+        :root {
+            --primary: #3A5FE5;
+            --secondary: #00C4A1;
+            --danger: #FF4D4F;
+            --bg: #F8F9FF;
+            --text: #2D3748;
+            --card: #FFFFFF;
+            --border: #E2E8F0;
+            --gray: #94A3B8;
+        }
+        
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
+        }
+        
+        .container {
+            width: 100%;
+            max-width: 480px;
+            margin: 0 auto;
+            padding: 15px;
+            min-height: 100vh;
+            display: flex;
+            flex-direction: column;
+        }
+        
+        /* 顶部区域 */
+        .profile-section {
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            padding: 30px 0 20px;
+            background: linear-gradient(135deg, #6A8EFF, #3A5FE5);
+            border-radius: 0 0 30px 30px;
+            margin-bottom: 20px;
+            position: relative;
+            overflow: hidden;
+        }
+        
+        .profile-bg {
+            position: absolute;
+            top: -50%;
+            left: -50%;
+            width: 200%;
+            height: 200%;
+            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
+            background-size: 100px 100px;
+            animation: rotate 60s linear infinite;
+            z-index: 0;
+        }
+        
+        @keyframes rotate {
+            from { transform: rotate(0deg); }
+            to { transform: rotate(360deg); }
+        }
+        
+        .profile-avatar {
+            width: 80px;
+            height: 80px;
+            border-radius: 50%;
+            background-color: white;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color:#3A5FE5;
+            font-size: 32px;
+            margin-bottom: 10px;
+            position: relative;
+            z-index: 1;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+        }
+        
+        .profile-name {
+            color: white;
+            font-size: 18px;
+            font-weight: bold;
+            margin-bottom: 5px;
+            z-index: 1;
+        }
+        
+        .profile-email {
+            color: rgba(255, 255, 255, 0.8);
+            font-size: 14px;
+            z-index: 1;
+        }
+        
+        /* 功能卡片区域 */
+        .features-section {
+            margin-bottom: 20px;
+        }
+        
+        .section-title {
+            font-size: 18px;
+            font-weight: bold;
+            margin-bottom: 15px;
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            color: var(--text);
+        }
+        
+        .section-title a {
+            font-size: 14px;
+            font-weight: normal;
+            color:#3A5FE5;
+            text-decoration: none;
+        }
+        
+        .features-grid {
+            display: grid;
+            grid-template-columns: repeat(2, 1fr);
+            gap: 15px;
+        }
+        
+        .feature-card {
+            background: white;
+            border-radius: 12px;
+            padding: 20px;
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+            transition: transform 0.3s, box-shadow 0.3s;
+        }
+        
+        .feature-card:hover {
+            transform: translateY(-5px);
+            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
+        }
+        
+        .feature-icon {
+            font-size: 28px;
+            color: #3A5FE5;
+            margin-bottom: 10px;
+        }
+        
+        .feature-title {
+            font-size: 14px;
+            color: var(--text);
+            text-align: center;
+            margin-bottom: 8px;
+        }
+        
+        .feature-desc {
+            font-size: 12px;
+            color: var(--gray);
+            text-align: center;
+            line-height: 1.4;
+        }
+        
+        /* 订单区域 */
+        .orders-section {
+            margin-bottom: 20px;
+        }
+        
+        .orders-header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            margin-bottom: 15px;
+        }
+        
+        .orders-title {
+            font-size: 16px;
+            font-weight: bold;
+            color: var(--text);
+        }
+        
+        .orders-more {
+            font-size: 14px;
+            color: var(--gray);
+            text-decoration: none;
+        }
+        
+        .orders-list {
+            display: flex;
+            overflow-x: auto;
+            gap: 10px;
+            padding-bottom: 10px;
+        }
+        
+        .order-card {
+            min-width: 120px;
+            background: white;
+            border-radius: 10px;
+            padding: 12px 8px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            flex-shrink: 0;
+            text-align: center;
+        }
+        
+        .order-icon {
+            font-size: 20px;
+            color: #3A5FE5;
+            margin-bottom: 5px;
+        }
+        
+        .order-count {
+            font-size: 12px;
+            color: var(--gray);
+            margin-bottom: 5px;
+        }
+        
+        .order-title {
+            font-size: 12px;
+            color: var(--text);
+        }
+        
+        /* 律师入驻区域 */
+        .lawyer-section {
+            background: white;
+            border-radius: 12px;
+            padding: 20px;
+            margin-bottom: 20px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+        }
+        
+        .lawyer-header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            margin-bottom: 15px;
+        }
+        
+        .lawyer-title {
+            font-size: 16px;
+            font-weight: bold;
+            color: var(--text);
+        }
+        
+        .lawyer-status {
+            font-size: 12px;
+            color: #3A5FE5;
+            padding: 3px 8px;
+            border-radius: 12px;
+            background: rgba(58, 95, 229, 0.1);
+        }
+        
+        .lawyer-btn {
+            width: 100%;
+            background: #3A5FE5;
+            color: white;
+            border: none;
+            padding: 12px;
+            border-radius: 8px;
+            font-size: 16px;
+            font-weight: bold;
+            cursor: pointer;
+            transition: background 0.3s;
+        }
+        
+        .lawyer-btn:hover {
+            background: #2A4BCF;
+        }
+        
+        /* 设置区域 */
+        .settings-section {
+            margin-bottom: 20px;
+        }
+        
+        .settings-list {
+            list-style: none;
+        }
+        
+        .setting-item {
+            display: flex;
+            align-items: center;
+            padding: 15px;
+            background: white;
+            border-radius: 10px;
+            margin-bottom: 10px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+        }
+        
+        .setting-icon {
+            font-size: 20px;
+            color: #3A5FE5;
+            margin-right: 15px;
+        }
+        
+        .setting-content {
+            flex: 1;
+        }
+        
+        .setting-title {
+            font-size: 16px;
+            color: var(--text);
+            margin-bottom: 4px;
+        }
+        
+        .setting-desc {
+            font-size: 12px;
+            color: #94A3B8;
+        }
+        
+        .setting-arrow {
+            font-size: 16px;
+            color: #94A3B8;
+        }

+ 735 - 0
ui/book.html

@@ -0,0 +1,735 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>明律通 - 法律文书</title>
+    <!-- 引入国内CDN资源 -->
+    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
+    <style>
+        body {
+            background: linear-gradient(135deg, #F8F9FF, #E6F7FF); /* 浅蓝到白色的渐变 */
+            background-size: cover;
+            background-repeat: no-repeat; 
+            line-height: 1.6;
+            max-width: 100vw;
+            overflow-x: hidden;
+        }
+
+        :root {
+            --primary: #3A5FE5;
+            --secondary: #00C4A1;
+            --danger: #FF4D4F;
+            --bg: #F8F9FF;
+            --text: #2D3748;
+            --card: #FFFFFF;
+        }
+        
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
+        }
+        
+        .container {
+            width: 100%;
+            max-width: 480px;
+            margin: 0 auto;
+            padding: 15px;
+            min-height: 100vh;
+            display: flex;
+            flex-direction: column;
+        }
+        
+        /* 顶部导航 */
+        .header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            padding: 10px 0;
+            margin-bottom: 15px;
+        }
+        
+        .logo {
+            font-weight: bold;
+            font-size: 20px;
+            color: var(--primary);
+            display: flex;
+            align-items: center;
+        }
+        
+        .logo i {
+            margin-right: 8px;
+            color: var(--secondary);
+        }
+        
+        .user-avatar {
+            width: 36px;
+            height: 36px;
+            border-radius: 50%;
+            background-color: var(--primary);
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color: white;
+        }
+        
+        /* 底部导航 */
+        .tab-bar {
+            display: flex;
+            background: white;
+            position: fixed;
+            bottom: 0;
+            left: 0;
+            right: 0;
+            max-width: 480px;
+            margin: 0 auto;
+            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
+            padding: 8px 0;
+        }
+        
+        .tab-item {
+            flex: 1;
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            color: #999;
+            text-decoration: none;
+            font-size: 12px;
+        }
+        
+        .tab-item.active {
+            color: var(--primary);
+        }
+        
+        .tab-icon {
+            font-size: 20px;
+            margin-bottom: 3px;
+        }
+        
+        /* 文书页面特有样式 */
+        .documents-page {
+            padding-bottom: 70px;
+        }
+        
+        .search-bar {
+            display: flex;
+            background: white;
+            border-radius: 24px;
+            padding: 10px 15px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            margin-bottom: 20px;
+        }
+        
+        .search-input {
+            flex: 1;
+            border: none;
+            outline: none;
+            padding: 5px;
+            font-size: 16px;
+        }
+        
+        .search-btn {
+            background: none;
+            border: none;
+            color: var(--primary);
+            font-size: 18px;
+        }
+        
+        .section-title {
+            font-size: 18px;
+            font-weight: bold;
+            margin: 15px 0;
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+        }
+        
+        .section-title a {
+            font-size: 14px;
+            font-weight: normal;
+            color: var(--primary);
+            text-decoration: none;
+        }
+        
+        .category-tabs {
+            display: flex;
+            overflow-x: auto;
+            gap: 10px;
+            padding-bottom: 10px;
+            margin: 15px 0;
+        }
+        
+        .category-tab {
+            padding: 8px 15px;
+            background: white;
+            border-radius: 20px;
+            white-space: nowrap;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            font-size: 14px;
+        }
+        
+        .category-tab.active {
+            background: var(--primary);
+            color: white;
+        }
+        
+        .document-grid {
+            display: grid;
+            grid-template-columns: repeat(2, 1fr);
+            gap: 15px;
+            margin: 15px 0;
+        }
+        
+        .document-card {
+            background: white;
+            border-radius: 12px;
+            padding: 15px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+            transition: transform 0.3s;
+        }
+        
+        .document-card:active {
+            transform: scale(0.98);
+        }
+        
+        .document-icon {
+            width: 40px;
+            height: 40px;
+            border-radius: 10px;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            margin-bottom: 10px;
+            color: white;
+            font-size: 18px;
+        }
+        
+        .document-title {
+            font-weight: bold;
+            margin-bottom: 5px;
+        }
+        
+        .document-desc {
+            font-size: 12px;
+            color: #666;
+            display: -webkit-box;
+            
+            -webkit-box-orient: vertical;
+            overflow: hidden;
+        }
+        
+        .recent-section {
+            margin: 25px 0;
+        }
+        
+        .recent-list {
+            background: white;
+            border-radius: 12px;
+            padding: 15px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+        }
+        
+        .recent-item {
+            display: flex;
+            align-items: center;
+            padding: 10px 0;
+            border-bottom: 1px solid #eee;
+        }
+        
+        .recent-item:last-child {
+            border-bottom: none;
+        }
+        
+        .recent-icon {
+            width: 36px;
+            height: 36px;
+            border-radius: 8px;
+            background: #E6F7FF;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            margin-right: 10px;
+            color: var(--primary);
+        }
+        
+        .recent-info {
+            flex: 1;
+        }
+        
+        .recent-name {
+            font-weight: 500;
+            margin-bottom: 3px;
+        }
+        
+        .recent-date {
+            font-size: 12px;
+            color: #999;
+        }
+        
+        .recent-action {
+            color: var(--primary);
+        }
+        
+        .floating-btn {
+            position: fixed;
+            bottom: 80px;
+            right: 20px;
+            width: 56px;
+            height: 56px;
+            background: var(--primary);
+            border-radius: 50%;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color: white;
+            box-shadow: 0 4px 12px rgba(58, 95, 229, 0.3);
+            z-index: 10;
+        }
+        
+        /* 加载动画 */
+        .loading {
+            display: flex;
+            justify-content: center;
+            padding: 20px;
+        }
+        
+        .loading-dots {
+            display: flex;
+            gap: 5px;
+        }
+        
+        .loading-dots span {
+            width: 8px;
+            height: 8px;
+            background: var(--primary);
+            border-radius: 50%;
+            animation: bounce 1s infinite alternate;
+        }
+        
+        .loading-dots span:nth-child(2) {
+            animation-delay: 0.2s;
+        }
+        
+        .loading-dots span:nth-child(3) {
+            animation-delay: 0.4s;
+        }
+        
+        @keyframes bounce {
+            to {
+                transform: translateY(-5px);
+            }
+        }
+        
+        /* 文书详情页 */
+        .document-detail {
+            padding-bottom: 70px;
+        }
+        
+        .document-header {
+            background: white;
+            padding: 15px;
+            border-radius: 12px;
+            margin-bottom: 15px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+        }
+        
+        .document-name {
+            font-size: 20px;
+            font-weight: bold;
+            margin-bottom: 10px;
+        }
+        
+        .document-meta {
+            display: flex;
+            color: #666;
+            font-size: 14px;
+            margin-bottom: 15px;
+        }
+        
+        .document-meta span {
+            margin-right: 15px;
+        }
+        
+        .document-content {
+            background: white;
+            padding: 15px;
+            border-radius: 12px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+            line-height: 1.8;
+        }
+        
+        .document-content h3 {
+            margin: 15px 0 10px;
+            font-size: 18px;
+        }
+        
+        .document-content p {
+            margin: 10px 0;
+        }
+        
+        .document-actions {
+            display: flex;
+            gap: 10px;
+            margin-top: 20px;
+        }
+        
+        .document-btn {
+            flex: 1;
+            padding: 12px;
+            border-radius: 8px;
+            text-align: center;
+            font-weight: 500;
+        }
+        
+        .btn-primary {
+            background: var(--primary);
+            color: white;
+        }
+        
+        .btn-outline {
+            border: 1px solid var(--primary);
+            color: var(--primary);
+        }
+        
+        /* 创建文书页 */
+        .create-document {
+            padding-bottom: 70px;
+        }
+        
+        .form-group {
+            margin-bottom: 15px;
+        }
+        
+        .form-label {
+            display: block;
+            margin-bottom: 8px;
+            font-weight: 500;
+        }
+        
+        .form-control {
+            width: 100%;
+            padding: 12px 15px;
+            border: 1px solid #ddd;
+            border-radius: 8px;
+            font-size: 16px;
+        }
+        
+        .form-select {
+            width: 100%;
+            padding: 12px 15px;
+            border: 1px solid #ddd;
+            border-radius: 8px;
+            font-size: 16px;
+            background: white;
+        }
+        
+        .submit-btn {
+            width: 100%;
+            padding: 14px;
+            background: var(--primary);
+            color: white;
+            border: none;
+            border-radius: 8px;
+            font-size: 16px;
+            margin-top: 20px;
+        }
+    </style>
+</head>
+<body>
+    <div class="container" id="app">
+        <!-- 文书首页 -->
+        <div class="page documents-page" id="documents-page">
+            <div class="header">
+                <div class="logo">
+                    <i class="fas fa-arrow-left" onclick="showPage('home-page')"></i>
+                    <span style="margin-left: 10px;">法律文书</span>
+                </div>
+                <div class="user-avatar">
+                    <i class="fas fa-user"></i>
+                </div>
+            </div>
+            
+            <div class="search-bar">
+                <input type="text" class="search-input" placeholder="搜索文书模板...">
+                <button class="search-btn">
+                    <i class="fas fa-search"></i>
+                </button>
+            </div>
+            
+            <div class="section-title">
+                文书分类
+                <a href="#">全部</a>
+            </div>
+            
+            <div class="category-tabs">
+                <div class="category-tab active">全部</div>
+                <div class="category-tab">劳动合同</div>
+                <div class="category-tab">婚姻家事</div>
+                <div class="category-tab">债权债务</div>
+                <div class="category-tab">房产交易</div>
+                <div class="category-tab">公司经营</div>
+                <div class="category-tab">知识产权</div>
+            </div>
+            
+            <div class="section-title">
+                常用文书模板
+            </div>
+            
+            <div class="document-grid">
+                <div class="document-card" onclick="showPage('document-detail-page')">
+                    <div class="document-icon" style="background: #3A5FE5;">
+                        <i class="fas fa-file-contract"></i>
+                    </div>
+                    <div class="document-title">劳动合同</div>
+                    <div class="document-desc">标准劳动合同模板,适用于企业与员工签订</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #00C4A1;">
+                        <i class="fas fa-ring"></i>
+                    </div>
+                    <div class="document-title">离婚协议书</div>
+                    <div class="document-desc">协议离婚必备文书,包含财产分割、子女抚养等条款</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #FF6B6B;">
+                        <i class="fas fa-handshake"></i>
+                    </div>
+                    <div class="document-title">借款合同</div>
+                    <div class="document-desc">个人或企业间借款协议,明确利率、还款方式等</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #FFC107;">
+                        <i class="fas fa-home"></i>
+                    </div>
+                    <div class="document-title">房屋租赁合同</div>
+                    <div class="document-desc">房东与租客签订的标准租赁协议</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #9C27B0;">
+                        <i class="fas fa-building"></i>
+                    </div>
+                    <div class="document-title">股东协议</div>
+                    <div class="document-desc">公司股东之间的权利义务约定</div>
+                </div>
+                
+                <div class="document-card">
+                    <div class="document-icon" style="background: #673AB7;">
+                        <i class="fas fa-pen-fancy"></i>
+                    </div>
+                    <div class="document-title">著作权转让协议</div>
+                    <div class="document-desc">作品著作权转让的法律文书</div>
+                </div>
+            </div>
+            
+            <div class="recent-section">
+                <div class="section-title">
+                    最近使用
+                </div>
+                
+                <div class="recent-list">
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-file-contract"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">劳动合同(2023版)</div>
+                            <div class="recent-date">2023-10-15 编辑</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                    
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-handshake"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">借款合同-张三</div>
+                            <div class="recent-date">2023-09-28 生成</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                    
+                    <div class="recent-item">
+                        <div class="recent-icon">
+                            <i class="fas fa-ring"></i>
+                        </div>
+                        <div class="recent-info">
+                            <div class="recent-name">离婚协议书草案</div>
+                            <div class="recent-date">2023-08-10 保存</div>
+                        </div>
+                        <div class="recent-action">
+                            <i class="fas fa-ellipsis-v"></i>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            
+            <div class="floating-btn" onclick="showPage('create-document-page')">
+                <i class="fas fa-plus"></i>
+            </div>
+        </div>
+        
+        <!-- 文书详情页 -->
+        <div class="page document-detail" id="document-detail-page" style="display: none;">
+            <div class="header">
+                <div class="logo">
+                    <i class="fas fa-arrow-left" onclick="showPage('documents-page')"></i>
+                    <span style="margin-left: 10px;">文书详情</span>
+                </div>
+                <div class="user-avatar">
+                    <i class="fas fa-share-alt"></i>
+                </div>
+            </div>
+            
+            <div class="document-header">
+                <div class="document-name">劳动合同(标准版)</div>
+                <div class="document-meta">
+                    <span><i class="fas fa-download"></i> 1.2K下载</span>
+                    <span><i class="fas fa-star"></i> 4.8分</span>
+                    <span><i class="fas fa-file-alt"></i> 5页</span>
+                </div>
+                <div>适用于企业与员工签订的全职劳动合同,包含劳动法规定的基本条款。</div>
+            </div>
+            
+            <div class="document-content">
+                <h3>劳动合同</h3>
+                <p>甲方(用人单位):_____________</p>
+                <p>乙方(劳动者):_____________</p>
+                
+                <h3>第一条 合同期限</h3>
+                <p>1. 本合同期限为____年,自____年____月____日起至____年____月____日止。</p>
+                <p>2. 试用期为____个月,自____年____月____日起至____年____月____日止。</p>
+                
+                <h3>第二条 工作内容和工作地点</h3>
+                <p>1. 乙方同意根据甲方工作需要,担任________岗位(工种)工作。</p>
+                <p>2. 根据甲方的岗位作业特点,乙方的工作区域或工作地点为________。</p>
+                
+                <h3>第三条 工作时间和休息休假</h3>
+                <p>1. 甲方安排乙方执行________工作制。</p>
+                <p>2. 乙方依法享有法定节假日、婚假、产假、带薪年休假等休假权利。</p>
+                
+                <div class="document-actions">
+                    <div class="document-btn btn-outline">收藏模板</div>
+                    <div class="document-btn btn-primary">使用此模板</div>
+                </div>
+            </div>
+        </div>
+        
+        <!-- 创建文书页 -->
+        <div class="page create-document" id="create-document-page" style="display: none;">
+            <div class="header">
+                <div class="logo">
+                    <i class="fas fa-arrow-left" onclick="showPage('documents-page')"></i>
+                    <span style="margin-left: 10px;">创建文书</span>
+                </div>
+            </div>
+            
+            <div class="form-group">
+                <label class="form-label">文书类型</label>
+                <select class="form-select">
+                    <option value="">选择文书类型</option>
+                    <option value="1">劳动合同</option>
+                    <option value="2">借款合同</option>
+                    <option value="3">房屋租赁合同</option>
+                    <option value="4">离婚协议书</option>
+                    <option value="5">股东协议</option>
+                </select>
+            </div>
+            
+            <div class="form-group">
+                <label class="form-label">文书名称</label>
+                <input type="text" class="form-control" placeholder="例如: 张三劳动合同">
+            </div>
+            
+            <div class="form-group">
+                <label class="form-label">创建方式</label>
+                <div style="display: flex; gap: 10px;">
+                    <div style="flex: 1; text-align: center; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
+                        <div style="font-size: 24px; color: var(--primary); margin-bottom: 5px;">
+                            <i class="fas fa-file-alt"></i>
+                        </div>
+                        <div>使用模板</div>
+                    </div>
+                    <div style="flex: 1; text-align: center; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
+                        <div style="font-size: 24px; color: var(--primary); margin-bottom: 5px;">
+                            <i class="fas fa-keyboard"></i>
+                        </div>
+                        <div>空白创建</div>
+                    </div>
+                </div>
+            </div>
+            
+            <button class="submit-btn">开始创建</button>
+        </div>
+        
+        <!-- 底部导航 -->
+        <div class="tab-bar">
+            <a href="#" class="tab-item" onclick="showPage('home-page')">
+                <div class="tab-icon">
+                    <i class="fas fa-home"></i>
+                </div>
+                <div>首页</div>
+            </a>
+            <a href="#" class="tab-item">
+                <div class="tab-icon">
+                    <i class="fas fa-comment-dots"></i>
+                </div>
+                <div>咨询</div>
+            </a>
+            <a href="#" class="tab-item active">
+                <div class="tab-icon">
+                    <i class="fas fa-file-alt"></i>
+                </div>
+                <div>文书</div>
+            </a>
+            <a href="#" class="tab-item">
+                <div class="tab-icon">
+                    <i class="fas fa-user"></i>
+                </div>
+                <div>我的</div>
+            </a>
+        </div>
+    </div>
+    
+    <script>
+        // 简单页面切换逻辑
+        function showPage(pageId) {
+            document.querySelectorAll('.page').forEach(page => {
+                page.style.display = 'none';
+            });
+            document.getElementById(pageId).style.display = 'block';
+            
+            // 更新底部导航状态
+            document.querySelectorAll('.tab-item').forEach(tab => {
+                tab.classList.remove('active');
+            });
+            
+            if(pageId === 'home-page') {
+                document.querySelectorAll('.tab-item')[0].classList.add('active');
+            } else if(pageId === 'documents-page' || pageId === 'document-detail-page' || pageId === 'create-document-page') {
+                document.querySelectorAll('.tab-item')[2].classList.add('active');
+            }
+        }
+        
+        // 分类标签点击效果
+        document.querySelectorAll('.category-tab').forEach(tab => {
+            tab.addEventListener('click', function() {
+                document.querySelectorAll('.category-tab').forEach(t => {
+                    t.classList.remove('active');
+                });
+                this.classList.add('active');
+            });
+        });
+    </script>
+</body>
+</html>

+ 611 - 0
ui/my.html

@@ -0,0 +1,611 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>明律通 - 我的</title>
+    <!-- 引入国内CDN资源 -->
+    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
+    <style>
+        body {
+            background: linear-gradient(135deg, #F8F9FF, #E6F7FF); /* 浅蓝到白色的渐变 */
+            background-size: cover;
+            background-repeat: no-repeat; 
+            line-height: 1.6;
+            max-width: 100vw;
+            overflow-x: hidden;
+            margin: 0;
+            padding: 0;
+        }
+
+        :root {
+            --primary: #3A5FE5;
+            --secondary: #00C4A1;
+            --danger: #FF4D4F;
+            --bg: #F8F9FF;
+            --text: #2D3748;
+            --card: #FFFFFF;
+            --border: #E2E8F0;
+            --gray: #94A3B8;
+        }
+        
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
+        }
+        
+        .container {
+            width: 100%;
+            max-width: 480px;
+            margin: 0 auto;
+            padding: 15px;
+            min-height: 100vh;
+            display: flex;
+            flex-direction: column;
+        }
+        
+        /* 顶部区域 */
+        .profile-section {
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            padding: 30px 0 20px;
+            background: linear-gradient(135deg, #6A8EFF, #3A5FE5);
+            border-radius: 0 0 30px 30px;
+            margin-bottom: 20px;
+            position: relative;
+            overflow: hidden;
+        }
+        
+        .profile-bg {
+            position: absolute;
+            top: -50%;
+            left: -50%;
+            width: 200%;
+            height: 200%;
+            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
+            background-size: 100px 100px;
+            animation: rotate 60s linear infinite;
+            z-index: 0;
+        }
+        
+        @keyframes rotate {
+            from { transform: rotate(0deg); }
+            to { transform: rotate(360deg); }
+        }
+        
+        .profile-avatar {
+            width: 80px;
+            height: 80px;
+            border-radius: 50%;
+            background-color: white;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            color: var(--primary);
+            font-size: 32px;
+            margin-bottom: 10px;
+            position: relative;
+            z-index: 1;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+        }
+        
+        .profile-name {
+            color: white;
+            font-size: 18px;
+            font-weight: bold;
+            margin-bottom: 5px;
+            z-index: 1;
+        }
+        
+        .profile-email {
+            color: rgba(255, 255, 255, 0.8);
+            font-size: 14px;
+            z-index: 1;
+        }
+        
+        /* 功能卡片区域 */
+        .features-section {
+            margin-bottom: 20px;
+        }
+        
+        .section-title {
+            font-size: 18px;
+            font-weight: bold;
+            margin-bottom: 15px;
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            color: var(--text);
+        }
+        
+        .section-title a {
+            font-size: 14px;
+            font-weight: normal;
+            color: var(--primary);
+            text-decoration: none;
+        }
+        
+        .features-grid {
+            display: grid;
+            grid-template-columns: repeat(2, 1fr);
+            gap: 15px;
+        }
+        
+        .feature-card {
+            background: white;
+            border-radius: 12px;
+            padding: 20px;
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+            transition: transform 0.3s, box-shadow 0.3s;
+        }
+        
+        .feature-card:hover {
+            transform: translateY(-5px);
+            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
+        }
+        
+        .feature-icon {
+            font-size: 28px;
+            color: var(--primary);
+            margin-bottom: 10px;
+        }
+        
+        .feature-title {
+            font-size: 14px;
+            color: var(--text);
+            text-align: center;
+            margin-bottom: 8px;
+        }
+        
+        .feature-desc {
+            font-size: 12px;
+            color: var(--gray);
+            text-align: center;
+            line-height: 1.4;
+        }
+        
+        /* 订单区域 */
+        .orders-section {
+            margin-bottom: 20px;
+        }
+        
+        .orders-header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            margin-bottom: 15px;
+        }
+        
+        .orders-title {
+            font-size: 16px;
+            font-weight: bold;
+            color: var(--text);
+        }
+        
+        .orders-more {
+            font-size: 14px;
+            color: var(--gray);
+            text-decoration: none;
+        }
+        
+        .orders-list {
+            display: flex;
+            overflow-x: auto;
+            gap: 10px;
+            padding-bottom: 10px;
+        }
+        
+        .order-card {
+            min-width: 120px;
+            background: white;
+            border-radius: 10px;
+            padding: 12px 8px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+            flex-shrink: 0;
+            text-align: center;
+        }
+        
+        .order-icon {
+            font-size: 20px;
+            color: var(--primary);
+            margin-bottom: 5px;
+        }
+        
+        .order-count {
+            font-size: 12px;
+            color: var(--gray);
+            margin-bottom: 5px;
+        }
+        
+        .order-title {
+            font-size: 12px;
+            color: var(--text);
+        }
+        
+        /* 律师入驻区域 */
+        .lawyer-section {
+            background: white;
+            border-radius: 12px;
+            padding: 20px;
+            margin-bottom: 20px;
+            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
+        }
+        
+        .lawyer-header {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            margin-bottom: 15px;
+        }
+        
+        .lawyer-title {
+            font-size: 16px;
+            font-weight: bold;
+            color: var(--text);
+        }
+        
+        .lawyer-status {
+            font-size: 12px;
+            color: var(--primary);
+            padding: 3px 8px;
+            border-radius: 12px;
+            background: rgba(58, 95, 229, 0.1);
+        }
+        
+        .lawyer-btn {
+            width: 100%;
+            background: var(--primary);
+            color: white;
+            border: none;
+            padding: 12px;
+            border-radius: 8px;
+            font-size: 16px;
+            font-weight: bold;
+            cursor: pointer;
+            transition: background 0.3s;
+        }
+        
+        .lawyer-btn:hover {
+            background: #2A4BCF;
+        }
+        
+        /* 设置区域 */
+        .settings-section {
+            margin-bottom: 20px;
+        }
+        
+        .settings-list {
+            list-style: none;
+        }
+        
+        .setting-item {
+            display: flex;
+            align-items: center;
+            padding: 15px;
+            background: white;
+            border-radius: 10px;
+            margin-bottom: 10px;
+            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+        }
+        
+        .setting-icon {
+            font-size: 20px;
+            color: var(--primary);
+            margin-right: 15px;
+        }
+        
+        .setting-content {
+            flex: 1;
+        }
+        
+        .setting-title {
+            font-size: 16px;
+            color: var(--text);
+            margin-bottom: 4px;
+        }
+        
+        .setting-desc {
+            font-size: 12px;
+            color: var(--gray);
+        }
+        
+        .setting-arrow {
+            font-size: 16px;
+            color: var(--gray);
+        }
+        
+        /* 底部导航 */
+        .tab-bar {
+            display: flex;
+            background: white;
+            position: fixed;
+            bottom: 0;
+            left: 0;
+            right: 0;
+            max-width: 480px;
+            margin: 0 auto;
+            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
+            padding: 8px 0;
+        }
+        
+        .tab-item {
+            flex: 1;
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            color: #999;
+            text-decoration: none;
+            font-size: 12px;
+        }
+        
+        .tab-item.active {
+            color: var(--primary);
+        }
+        
+        .tab-icon {
+            font-size: 20px;
+            margin-bottom: 3px;
+        }
+    </style>
+</head>
+<body>
+    <div class="container">
+        <!-- 我的页面 -->
+        <div class="page" id="profile-page">
+            <!-- 个人资料区域 -->
+            <div class="profile-section">
+                <div class="profile-bg"></div>
+                <div class="profile-avatar">U</div>
+                <div class="profile-name">用户名</div>
+                <div class="profile-email">user@example.com</div>
+            </div>
+            
+            <!-- 功能入口网格 -->
+            <div class="features-section">
+                <div class="section-title">
+                    常用功能
+                    <a href="#">管理</a>
+                </div>
+                <div class="features-grid">
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-file-alt"></i>
+                        </div>
+                        <div class="feature-title">我的文书</div>
+                        <div class="feature-desc">查看和管理您的法律文书</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-history"></i>
+                        </div>
+                        <div class="feature-title">咨询历史</div>
+                        <div class="feature-desc">查看您之前的法律咨询记录</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-file-invoice-dollar"></i>
+                        </div>
+                        <div class="feature-title">订单记录</div>
+                        <div class="feature-desc">查看已购买的法律服务</div>
+                    </div>
+                    <div class="feature-card">
+                        <div class="feature-icon">
+                            <i class="fas fa-star"></i>
+                        </div>
+                        <div class="feature-title">收藏夹</div>
+                        <div class="feature-desc">您收藏的法律知识和案例</div>
+                    </div>
+                </div>
+            </div>
+            
+            <!-- 订单区域 -->
+            <div class="orders-section">
+                <div class="orders-header">
+                    <div class="orders-title">我的订单</div>
+                    <a href="#" class="orders-more">查看全部</a>
+                </div>
+                <div class="orders-list">
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-file-alt"></i>
+                        </div>
+                        <div class="order-count">3</div>
+                        <div class="order-title">法律文书</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-comments"></i>
+                        </div>
+                        <div class="order-count">1</div>
+                        <div class="order-title">智能咨询</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-file-contract"></i>
+                        </div>
+                        <div class="order-count">0</div>
+                        <div class="order-title">合同审查</div>
+                    </div>
+                    <div class="order-card">
+                        <div class="order-icon">
+                            <i class="fas fa-gavel"></i>
+                        </div>
+                        <div class="order-count">0</div>
+                        <div class="order-title">诉讼评估</div>
+                    </div>
+                </div>
+            </div>
+            
+            <!-- 律师入驻区域 -->
+            <div class="lawyer-section">
+                <div class="lawyer-header">
+                    <div class="lawyer-title">律师入驻</div>
+                    <div class="lawyer-status" id="lawyer-status">未入驻</div>
+                </div>
+                <button class="lawyer-btn" id="apply-lawyer">
+                    立即申请入驻
+                </button>
+            </div>
+            
+            <!-- 设置区域 -->
+            <div class="settings-section">
+                <ul class="settings-list">
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-user-shield"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">账户安全</div>
+                            <div class="setting-desc">修改密码、设置密保</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-bell"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">消息通知</div>
+                            <div class="setting-desc">设置接收通知类型</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-cog"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">通用设置</div>
+                            <div class="setting-desc">消息提醒、隐私设置</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-question-circle"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">帮助中心</div>
+                            <div class="setting-desc">常见问题与解答</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                    <li class="setting-item">
+                        <div class="setting-icon">
+                            <i class="fas fa-sign-out-alt"></i>
+                        </div>
+                        <div class="setting-content">
+                            <div class="setting-title">退出登录</div>
+                            <div class="setting-desc">安全退出当前账号</div>
+                        </div>
+                        <div class="setting-arrow">
+                            <i class="fas fa-chevron-right"></i>
+                        </div>
+                    </li>
+                </ul>
+            </div>
+        </div>
+        
+        <!-- 底部导航 -->
+        <div class="tab-bar">
+            <a href="#" class="tab-item active" onclick="showPage('profile-page')">
+                <div class="tab-icon">
+                    <i class="fas fa-user"></i>
+                </div>
+                <div>我的</div>
+            </a>
+            <a href="#" class="tab-item" onclick="showPage('home-page')">
+                <div class="tab-icon">
+                    <i class="fas fa-home"></i>
+                </div>
+                <div>首页</div>
+            </a>
+            <a href="#" class="tab-item" onclick="showPage('chat-page')">
+                <div class="tab-icon">
+                    <i class="fas fa-comments"></i>
+                </div>
+                <div>咨询</div>
+            </a>
+            <a href="#" class="tab-item" onclick="showPage('contract-page')">
+                <div class="tab-icon">
+                    <i class="fas fa-file-alt"></i>
+                </div>
+                <div>文书</div>
+            </a>
+        </div>
+    </div>
+    
+    <script>
+        // 简单页面切换逻辑
+        function showPage(pageId) {
+            document.querySelectorAll('.page').forEach(page => {
+                page.style.display = 'none';
+            });
+            document.getElementById(pageId).style.display = 'block';
+            
+            // 更新底部导航状态
+            document.querySelectorAll('.tab-item').forEach(tab => {
+                tab.classList.remove('active');
+            });
+            
+            if(pageId === 'profile-page') {
+                document.querySelectorAll('.tab-item')[0].classList.add('active');
+            } else if(pageId === 'home-page') {
+                document.querySelectorAll('.tab-item')[1].classList.add('active');
+            } else if(pageId === 'chat-page') {
+                document.querySelectorAll('.tab-item')[2].classList.add('active');
+            } else if(pageId === 'contract-page') {
+                document.querySelectorAll('.tab-item')[3].classList.add('active');
+            }
+        }
+        
+        // 模拟律师入驻状态
+        document.addEventListener('DOMContentLoaded', function() {
+            const lawyerStatus = document.getElementById('lawyer-status');
+            const applyLawyerBtn = document.getElementById('apply-lawyer');
+            
+            // 模拟点击入驻按钮
+            applyLawyerBtn.addEventListener('click', function() {
+                // 这里可以添加实际的入驻逻辑
+                // 暂时只是模拟状态变化
+                if(lawyerStatus.textContent === '未入驻') {
+                    lawyerStatus.textContent = '审核中';
+                    applyLawyerBtn.disabled = true;
+                    applyLawyerBtn.textContent = '审核中...';
+                    alert('您的入驻申请已提交,正在审核中');
+                } else if(lawyerStatus.textContent === '审核中') {
+                    alert('您的入驻申请正在审核中,请耐心等待');
+                } else {
+                    alert('您已经是入驻律师');
+                }
+            });
+            
+            // 模拟已登录状态
+            const userData = {
+                isLoggedIn: true,
+                isLawyer: false,
+                lawyerStatus: '未入驻'
+            };
+            
+            if(userData.isLoggedIn && userData.isLawyer) {
+                lawyerStatus.textContent = userData.lawyerStatus;
+                applyLawyerBtn.style.display = 'none';
+            }
+        });
+    </script>
+</body>
+</html>