Ver Fonte

zbytest003-2025-03-03 11:01:06

genlitex há 1 mês atrás
pai
commit
e6a90bf087

Diff do ficheiro suprimidas por serem muito extensas
+ 4 - 0
dist/assets/index-BGDC6hrw.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/assets/index-Dc84nODE.css


+ 14 - 0
dist/index.html

@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>Vite + Vue</title>
+    <script type="module" crossorigin src="/ide/proxy/6005/assets/index-BGDC6hrw.js"></script>
+    <link rel="stylesheet" crossorigin href="/ide/proxy/6005/assets/index-Dc84nODE.css">
+  </head>
+  <body>
+    <div id="app"></div>
+  </body>
+</html>

+ 25 - 1
src/router/index.js

@@ -1,11 +1,35 @@
 import { createRouter, createWebHashHistory } from 'vue-router'
 import HomeView from '../views/HomeView.vue'
+import LoginView from '../views/LoginView.vue'
+import PortalView from '../views/PortalView.vue'
+import OrganizationView from '../views/OrganizationView.vue'
+import UserListView from '../views/UserListView.vue'
 
 const routes = [
   {
     path: '/',
-    name: 'home',
+    name: 'Home',
     component: HomeView
+  },
+  {
+    path: '/login',
+    name: 'Login',
+    component: LoginView
+  },
+  {
+    path: '/portal',
+    name: 'Portal',
+    component: PortalView
+  },
+  {
+    path: '/organization',
+    name: 'Organization',
+    component: OrganizationView
+  },
+  {
+    path: '/userlist',
+    name: 'UserList',
+    component: UserListView
   }
 ]
 

+ 97 - 0
src/views/LoginView.vue

@@ -0,0 +1,97 @@
+<template>
+  <div class="min-h-screen bg-gradient-to-br from-blue-50 to-blue-100/50">
+    <div class="container mx-auto px-4">
+      <!-- Header -->
+      <header class="flex justify-between items-center py-6">
+        <div class="text-2xl font-bold text-white">
+          <h1>系统登录</h1>
+        </div>
+        <div class="flex items-center text-blue-600 hover:text-blue-700">
+          <select v-model="language" class="bg-transparent border-none focus:outline-none">
+            <option value="zh">中文</option>
+            <option value="en">英文</option>
+          </select>
+        </div>
+      </header>
+
+      <!-- Login Form -->
+      <div class="max-w-md mx-auto mt-12 bg-white rounded-lg shadow-lg p-8">
+        <h2 class="text-3xl font-bold text-center mb-2 text-blue-600">
+          欢迎登录
+        </h2>
+        <p class="text-center text-gray-600 mb-8">请输入您的用户名和密码</p>
+
+        <form @submit.prevent="handleSubmit">
+          <div class="space-y-6">
+            <div>
+              <label class="block text-sm font-medium text-gray-700 mb-1">用户名</label>
+              <input
+                  v-model="form.username"
+                  type="text"
+                  placeholder="请输入用户名"
+                  class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
+              />
+            </div>
+
+            <div>
+              <label class="block text-sm font-medium text-gray-700 mb-1">密码</label>
+              <input
+                  v-model="form.password"
+                  type="password"
+                  placeholder="请输入密码"
+                  class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
+              />
+            </div>
+
+            <div class="flex items-center justify-between">
+              <label class="flex items-center">
+                <input
+                    v-model="form.remember"
+                    type="checkbox"
+                    class="w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"
+                />
+                <span class="ml-2 text-sm text-gray-600">记住我</span>
+              </label>
+              <a href="#" class="text-sm text-blue-600 hover:text-blue-700">忘记密码?</a>
+            </div>
+
+            <button
+                type="submit"
+                class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
+            >
+              登录
+            </button>
+          </div>
+        </form>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script setup>
+import { ref } from 'vue'
+import { useRouter } from 'vue-router'
+import { Globe } from 'lucide-vue-next'
+
+const router = useRouter()
+
+const form = ref({
+  username: '',
+  password: '',
+  remember: false
+})
+
+const language = ref('zh')
+
+const handleSubmit = () => {
+  if (form.value.username === 'admin' && form.value.password === 'admin') {
+    router.push('/portal')
+  } else {
+    alert('用户名或密码错误')
+  }
+}
+</script>
+
+<style>
+/* Add any additional custom styles here if needed */
+</style>

+ 242 - 0
src/views/OrganizationView.vue

@@ -0,0 +1,242 @@
+<template>
+  <div class="org-chart-container">
+    <!-- Left Sidebar -->
+    <div class="sidebar">
+      <div class="logo-section">
+        <span class="product-name">门户系统</span>
+      </div>
+
+      <div class="menu-section">
+        <div class="menu-title">菜单类别标题</div>
+        <ul class="menu-items">
+          <li>
+            <a href="#/portal" class="menu-item-content">
+              <Home class="w-5 h-5 mr-3" />
+              首页
+            </a>
+          </li>
+          <li>
+            <a href="#/organization" class="menu-item-content active">
+              <Users class="w-5 h-5 mr-3" />
+              组织架构
+            </a>
+          </li>
+          <li>
+            <a href="#/userlist" class="menu-item-content">
+              <List class="w-5 h-5 mr-3" />
+              用户列表信息
+            </a>
+          </li>
+          <li>
+            <a href="#" class="menu-item-content">
+              <LayoutGrid class="w-5 h-5 mr-3" />
+              系统模块1
+            </a>
+          </li>
+          <li>
+            <a href="#" class="menu-item-content">
+              <LayoutGrid class="w-5 h-5 mr-3" />
+              系统模块2
+            </a>
+          </li>
+        </ul>
+      </div>
+    </div>
+
+    <!-- Main Content -->
+    <div class="main-content">
+      <div class="breadcrumb">
+        <Home class="text-gray-500" />
+        <span>/</span>
+        <span class="text-blue-500">组织架构</span>
+      </div>
+
+      <div class="department-section">
+        <div class="department-header">
+          <h2>技术部门</h2>
+          <button class="close-btn">
+            <X class="w-5 h-5 text-gray-500" />
+          </button>
+        </div>
+
+        <div class="department-content">
+          <!-- Department Columns -->
+          <div v-for="dept in departments" :key="dept.name" class="department-column">
+            <div class="department-head">
+              <div class="avatar">
+                <div class="w-12 h-12 rounded-full bg-gray-200"></div>
+              </div>
+              <div class="head-info">
+                <div class="name">{{ dept.name }}</div>
+                <div class="title">{{ dept.title }}</div>
+              </div>
+            </div>
+
+            <div class="staff-list">
+              <div v-for="(staff, index) in dept.staff" :key="index" class="staff-item">
+                <ChevronDown class="text-gray-400" />
+                <span>{{ staff.name }} - {{ staff.title }}</span>
+              </div>
+            </div>
+          </div>
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script setup>
+import {
+  Home, Users, List, LayoutGrid,
+  X, ChevronDown
+} from 'lucide-vue-next'
+
+const departments = [
+  {
+    name: '张三',
+    title: '信息架构部门主任',
+    staff: [
+      { name: '职员A', title: '职位' },
+      { name: '职员B', title: '职位' },
+      { name: '职员C', title: '职位' },
+      { name: '职员D', title: '职位' },
+      { name: '职员E', title: '职位' },
+      { name: '职员F', title: '职位' },
+      { name: '职员G', title: '职位' },
+      { name: '职员H', title: '职位' },
+      { name: '职员I', title: '职位' },
+      { name: '职员J', title: '职位' }
+    ]
+  },
+  {
+    name: '李四',
+    title: '信息架构部门主任',
+    staff: [
+      { name: '职员A', title: '职位' },
+      { name: '职员B', title: '职位' },
+      { name: '职员C', title: '职位' },
+      { name: '职员D', title: '职位' },
+      { name: '职员E', title: '职位' },
+      { name: '职员F', title: '职位' },
+      { name: '职员G', title: '职位' },
+      { name: '职员H', title: '职位' },
+      { name: '职员I', title: '职位' },
+      { name: '职员J', title: '职位' }
+    ]
+  },
+  {
+    name: '王五',
+    title: '信息架构部门主任',
+    staff: [
+      { name: '职员A', title: '职位' },
+      { name: '职员B', title: '职位' },
+      { name: '职员C', title: '职位' },
+      { name: '职员D', title: '职位' },
+      { name: '职员E', title: '职位' },
+      { name: '职员F', title: '职位' },
+      { name: '职员G', title: '职位' },
+      { name: '职员H', title: '职位' },
+      { name: '职员I', title: '职位' },
+      { name: '职员J', title: '职位' }
+    ]
+  }
+]
+</script>
+
+<style scoped>
+.org-chart-container {
+  @apply flex min-h-screen bg-white;
+}
+
+.sidebar {
+  @apply w-64 bg-[#08002E] text-white flex flex-col;
+}
+
+.logo-section {
+  @apply flex items-center gap-2 p-4 border-b border-white/10;
+}
+
+.product-name {
+  @apply text-lg font-semibold;
+}
+
+.menu-section {
+  @apply p-4;
+}
+
+.menu-title {
+  @apply text-sm text-gray-300 mb-4;
+}
+
+.menu-items {
+  @apply space-y-2;
+}
+
+.menu-item-content {
+  @apply flex items-center gap-2 p-2 rounded hover:bg-white/10 cursor-pointer;
+}
+
+.menu-item-content.active {
+  @apply bg-white/10;
+}
+
+.main-content {
+  @apply flex-1 p-6;
+}
+
+.breadcrumb {
+  @apply flex items-center gap-2 text-sm text-gray-600 mb-6;
+}
+
+.department-section {
+  @apply bg-white rounded-lg shadow;
+}
+
+.department-header {
+  @apply flex justify-between items-center p-4 border-b;
+}
+
+.department-header h2 {
+  @apply text-xl font-semibold;
+}
+
+.close-btn {
+  @apply p-2 hover:bg-gray-100 rounded;
+}
+
+.department-content {
+  @apply grid grid-cols-3 gap-6 p-6;
+}
+
+.department-column {
+  @apply border rounded-lg p-4;
+}
+
+.department-head {
+  @apply flex items-center gap-4 p-4 bg-[#E8F0FF] rounded-lg mb-4;
+}
+
+.avatar {
+  @apply w-12 h-12 rounded-full overflow-hidden;
+}
+
+.head-info {
+  @apply flex flex-col;
+}
+
+.name {
+  @apply font-semibold;
+}
+
+.title {
+  @apply text-sm text-gray-600;
+}
+
+.staff-list {
+  @apply space-y-2;
+}
+
+.staff-item {
+  @apply flex items-center gap-2 p-2 hover:bg-gray-50 rounded cursor-pointer text-sm text-gray-600;
+}
+</style>

+ 251 - 0
src/views/PortalView.vue

@@ -0,0 +1,251 @@
+<template>
+  <div class="min-h-screen bg-gray-50">
+    <!-- Top Navigation -->
+    <header class="bg-white border-b">
+      <div class="flex items-center justify-between px-4 py-2">
+        <div class="flex items-center space-x-2">
+          <span class="text-xl font-medium">门户系统</span>
+        </div>
+
+        <div class="flex-1 max-w-xl mx-4">
+          <div class="relative">
+            <Search class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" size="20" />
+            <input
+                type="text"
+                placeholder="输入内容查询"
+                class="w-full pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
+            />
+          </div>
+        </div>
+
+        <div class="flex items-center space-x-4">
+          <MessageCircle class="w-6 h-6 text-blue-500" />
+          <Bell class="w-6 h-6 text-blue-500" />
+          <Settings class="w-6 h-6 text-gray-400" />
+          <div class="w-8 h-8 rounded-full bg-gray-200"></div>
+        </div>
+      </div>
+    </header>
+
+    <div class="flex">
+      <!-- Sidebar -->
+      <aside class="w-64 min-h-screen bg-[#08002E] text-white border-r">
+        <nav class="p-4">
+          <ul class="space-y-2">
+            <li>
+              <a href="#/portal" class="flex items-center px-4 py-2 text-white bg-blue-500 rounded-lg">
+                <Home class="w-5 h-5 mr-3" />
+                首页
+              </a>
+            </li>
+            <li>
+              <a href="#/organization" class="flex items-center px-4 py-2 text-gray-400 hover:bg-blue-50 rounded-lg">
+                <Users class="w-5 h-5 mr-3" />
+                组织架构
+              </a>
+            </li>
+            <li>
+              <a href="#/userlist" class="flex items-center px-4 py-2 text-gray-400 hover:bg-blue-50 rounded-lg">
+                <List class="w-5 h-5 mr-3" />
+                用户列表信息
+              </a>
+            </li>
+            <li>
+              <a href="#" class="flex items-center px-4 py-2 text-gray-400 hover:bg-blue-50 rounded-lg">
+                <LayoutGrid class="w-5 h-5 mr-3" />
+                系统模块1
+              </a>
+            </li>
+            <li>
+              <a href="#" class="flex items-center px-4 py-2 text-gray-400 hover:bg-blue-50 rounded-lg">
+                <LayoutGrid class="w-5 h-5 mr-3" />
+                系统模块2
+              </a>
+            </li>
+          </ul>
+        </nav>
+      </aside>
+
+      <!-- Main Content -->
+      <main class="flex-1 p-6">
+        <!-- Top Section -->
+        <div class="grid grid-cols-4 gap-6 mb-6">
+          <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
+            <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-blue-50">
+              <FileText class="text-blue-500" size="24" />
+            </div>
+            <div>
+              <div class="text-3xl font-semibold">
+                合同审核
+              </div>
+              <div class="text-gray-500">待审核合同</div>
+            </div>
+          </div>
+          <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
+            <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-yellow-50">
+              <FileSignature class="text-yellow-500" size="24" />
+            </div>
+            <div>
+              <div class="text-3xl font-semibold">
+                合同签署
+              </div>
+              <div class="text-gray-500">待签署合同</div>
+            </div>
+          </div>
+          <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
+            <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-green-50">
+              <FilePlus class="text-green-500" size="24" />
+            </div>
+            <div>
+              <div class="text-3xl font-semibold">
+                合同登记
+              </div>
+              <div class="text-gray-500">待登记合同</div>
+            </div>
+          </div>
+          <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
+            <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-red-50">
+              <CheckSquare class="text-red-500" size="24" />
+            </div>
+            <div>
+              <div class="text-3xl font-semibold">
+                合同履约
+              </div>
+              <div class="text-gray-500">待履约合同</div>
+            </div>
+          </div>
+        </div>
+
+        <!-- Bottom Section -->
+        <div class="grid grid-cols-2 gap-6">
+          <!-- Special Tasks -->
+          <div class="bg-white rounded-lg p-6 shadow-sm">
+            <div class="flex items-center justify-between mb-4">
+              <h2 class="text-lg font-medium">特办事项</h2>
+              <div class="flex space-x-4">
+                <button class="px-3 py-1 text-blue-600 bg-blue-50 rounded-md">全部</button>
+                <button class="px-3 py-1 text-blue-600">今天</button>
+                <button class="px-3 py-1 text-gray-500">本周</button>
+                <button class="px-3 py-1 text-gray-500">本月</button>
+              </div>
+            </div>
+            <div class="space-y-4">
+              <div v-for="(task, index) in tasks" :key="index" class="flex items-start">
+                <input type="checkbox" :checked="task.completed" class="mt-1 mr-3" />
+                <div>
+                  <div class="text-gray-900">{{ task.title }}</div>
+                  <div class="text-gray-500 text-sm">{{ task.project }}</div>
+                </div>
+              </div>
+            </div>
+          </div>
+
+          <!-- Project Progress -->
+          <div class="bg-white rounded-lg p-6 shadow-sm">
+            <div class="flex items-center justify-between mb-4">
+              <h2 class="text-lg font-medium">项目进程</h2>
+            </div>
+            <table class="w-full">
+              <thead>
+              <tr class="text-gray-500">
+                <th class="pb-4 text-left font-normal">项目名称</th>
+                <th class="pb-4 text-left font-normal">负责人</th>
+                <th class="pb-4 text-left font-normal">截止日期</th>
+                <th class="pb-4 text-left font-normal">当前状态</th>
+              </tr>
+              </thead>
+              <tbody class="text-sm">
+              <tr v-for="(project, index) in projects" :key="index" class="border-t">
+                <td class="py-4">{{ project.name }}</td>
+                <td class="py-4">{{ project.owner }}</td>
+                <td class="py-4">{{ project.deadline }}</td>
+                <td class="py-4">
+                    <span :class="[
+                      'px-2 py-1 rounded text-sm',
+                      project.statusColor
+                    ]">
+                      {{ project.status }}
+                    </span>
+                </td>
+              </tr>
+              </tbody>
+            </table>
+          </div>
+
+          <!-- Quick Functions -->
+          <div class="bg-white rounded-lg p-6 shadow-sm">
+            <div class="flex items-center justify-between mb-4">
+              <h2 class="text-lg font-medium">快捷功能</h2>
+              <MoreHorizontal class="text-gray-400" />
+            </div>
+            <div class="space-y-3">
+              <div v-for="(func, index) in quickFunctions" :key="index"
+                   class="text-gray-700 hover:text-blue-600 cursor-pointer">
+                {{ func }}
+              </div>
+            </div>
+          </div>
+
+          <!-- Contract Statistics -->
+          <div class="bg-white rounded-lg p-6 shadow-sm">
+            <div class="flex items-center justify-between mb-4">
+              <h2 class="text-lg font-medium">合同类型统计</h2>
+              <div class="flex items-center space-x-4">
+                <div class="flex items-center">
+                  <div class="w-3 h-3 bg-blue-500 rounded-sm mr-2"></div>
+                  <span class="text-sm text-gray-500">A合同</span>
+                </div>
+                <div class="flex items-center">
+                  <div class="w-3 h-3 bg-green-500 rounded-sm mr-2"></div>
+                  <span class="text-sm text-gray-500">B合同</span>
+                </div>
+              </div>
+            </div>
+            <div class="h-64">
+              <!-- Chart would go here - using a placeholder -->
+              <div class="w-full h-full bg-gray-50 rounded flex items-center justify-center">
+                Bar Chart Placeholder
+              </div>
+            </div>
+          </div>
+        </div>
+      </main>
+    </div>
+  </div>
+</template>
+
+<script setup>
+import {
+  Search, MessageCircle, Bell, Settings,
+  Home, Users, List, LayoutGrid,
+  FileText, FileSignature, FilePlus, CheckSquare,
+  MoreHorizontal
+} from 'lucide-vue-next'
+
+const tasks = [
+  { title: '联系xxxx客户,商讨具体合同事宜', project: 'xxxx公司公积金管理', completed: true },
+  { title: '完成合同模版创建并上传系统', project: 'xxxxx公司人员xxxx合同管理', completed: true },
+  { title: '审核xxxxxxx合同', project: 'xxxx公司人员xxx合同签订', completed: false },
+  { title: '签署xxxx合同,邮件发送xxxxx客户', project: 'xxxxxxxxx公司人员资源管理', completed: true }
+]
+
+const projects = [
+  { name: 'xxxx公司公积金管理', owner: '任小东', deadline: '2023/07/25', status: '已延期', statusColor: 'bg-red-50 text-red-600' },
+  { name: 'xxxxx公司人员xxxx合同管理', owner: '胡晓东', deadline: '2024/01/09', status: '进行中', statusColor: 'bg-blue-50 text-blue-600' },
+  { name: 'xxxx公司人员xxx合同签订', owner: '李兵', deadline: '2025/01/08', status: '进行中', statusColor: 'bg-blue-50 text-blue-600' },
+  { name: 'xxxxxxxxx公司人员资源管理', owner: '王天一', deadline: '2023/09/03', status: '已完成', statusColor: 'bg-green-50 text-green-600' }
+]
+
+const quickFunctions = [
+  '人力资源主合同(标准版)',
+  '人事代理服务协议(标准版)',
+  '人事代理服务协议',
+  '人事代理服务协议',
+  '人事代理服务协议(企业版)',
+  '人事代理服务协议(定制版)'
+]
+</script>
+
+<style scoped>
+/* Add any additional custom styles here if needed */
+</style>

+ 198 - 0
src/views/UserListView.vue

@@ -0,0 +1,198 @@
+<template>
+  <div class="min-h-screen bg-white">
+    <!-- Top Navigation -->
+    <header class="bg-[#0052CC] text-white px-4 py-2 flex items-center justify-between">
+      <div class="flex items-center space-x-2">
+        <span class="text-lg font-medium">门户系统</span>
+      </div>
+
+      <div class="flex-1 max-w-2xl mx-8">
+        <div class="relative">
+          <input
+              type="search"
+              placeholder="输入内容查询"
+              class="w-full px-4 py-1.5 bg-white/10 rounded text-white placeholder-white/70 outline-none"
+          />
+          <SearchIcon class="absolute right-3 top-2 h-5 w-5 text-white/70"/>
+        </div>
+      </div>
+
+      <div class="flex items-center space-x-4">
+        <MessageCircleIcon class="h-5 w-5"/>
+        <BellIcon class="h-5 w-5"/>
+        <SettingsIcon class="h-5 w-5"/>
+        <div class="w-8 h-8 rounded-full bg-white/20"></div>
+      </div>
+    </header>
+
+    <div class="flex">
+      <!-- Sidebar -->
+      <aside class="w-48 min-h-[calc(100vh-56px)] border-r">
+        <nav class="p-2 space-y-1">
+          <a href="#/portal" class="flex items-center space-x-2 px-3 py-2 rounded hover:bg-gray-100 cursor-pointer">
+            <HomeIcon class="h-5 w-5 text-gray-600"/>
+            <span class="text-gray-700">首页</span>
+          </a>
+          <a href="#/organization" class="flex items-center space-x-2 px-3 py-2 rounded hover:bg-gray-100 cursor-pointer">
+            <UsersIcon class="h-5 w-5 text-gray-600"/>
+            <span class="text-gray-700">组织架构</span>
+          </a>
+          <a href="#/userlist" class="flex items-center space-x-2 px-3 py-2 rounded bg-blue-50 text-blue-600 cursor-pointer">
+            <ListIcon class="h-5 w-5 text-blue-600"/>
+            <span class="text-blue-600">用户列表信息</span>
+          </a>
+          <a href="#" class="flex items-center space-x-2 px-3 py-2 rounded hover:bg-gray-100 cursor-pointer">
+            <LayoutGridIcon class="h-5 w-5 text-gray-600"/>
+            <span class="text-gray-700">系统模块1</span>
+          </a>
+          <a href="#" class="flex items-center space-x-2 px-3 py-2 rounded hover:bg-gray-100 cursor-pointer">
+            <LayoutGridIcon class="h-5 w-5 text-gray-600"/>
+            <span class="text-gray-700">系统模块2</span>
+          </a>
+        </nav>
+      </aside>
+
+      <!-- Main Content -->
+      <main class="flex-1 p-6">
+        <!-- Breadcrumb -->
+        <div class="flex items-center space-x-2 text-sm mb-6">
+          <HomeIcon class="h-4 w-4 text-gray-500"/>
+          <span class="text-gray-500">首页</span>
+          <span class="text-gray-500">/</span>
+          <span class="text-blue-600">用户列表信息</span>
+        </div>
+
+        <!-- Search Form -->
+        <div class="bg-white p-6 rounded border mb-6">
+          <h2 class="text-lg font-medium mb-4">查询用户</h2>
+          <div class="grid grid-cols-3 gap-4 mb-4">
+            <div class="space-y-1">
+              <label class="text-sm text-gray-600">用户名</label>
+              <input type="text" placeholder="请输入" class="w-full px-3 py-2 border rounded"/>
+            </div>
+            <div class="space-y-1">
+              <label class="text-sm text-gray-600">邮箱</label>
+              <input type="email" placeholder="请输入" class="w-full px-3 py-2 border rounded"/>
+            </div>
+            <div class="space-y-1">
+              <label class="text-sm text-gray-600">手机号</label>
+              <input type="tel" placeholder="请输入" class="w-full px-3 py-2 border rounded"/>
+            </div>
+            <div class="space-y-1">
+              <label class="text-sm text-gray-600">角色</label>
+              <select class="w-full px-3 py-2 border rounded">
+                <option>请选择</option>
+                <option>管理员</option>
+                <option>普通用户</option>
+              </select>
+            </div>
+          </div>
+          <div class="flex items-center justify-between">
+            <div class="space-x-2">
+              <button class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">
+                查询
+              </button>
+              <button class="px-4 py-2 border border-gray-300 rounded hover:bg-gray-50">
+                重置
+              </button>
+            </div>
+            <button class="text-blue-600 hover:text-blue-700">更多</button>
+          </div>
+        </div>
+
+        <!-- Table -->
+        <div class="bg-white border rounded">
+          <div class="p-4 border-b flex items-center justify-between">
+            <div class="space-x-2">
+              <button class="px-4 py-1.5 bg-blue-600 text-white rounded text-sm">添加用户</button>
+              <button class="px-4 py-1.5 border rounded text-sm">导出</button>
+            </div>
+            <button class="px-4 py-1.5 border rounded text-sm">删除选中</button>
+          </div>
+
+          <table class="w-full">
+            <thead class="bg-gray-50">
+            <tr>
+              <th class="px-4 py-3 text-left">
+                <input type="checkbox" class="rounded"/>
+              </th>
+              <th class="px-4 py-3 text-left">用户名</th>
+              <th class="px-4 py-3 text-left">邮箱</th>
+              <th class="px-4 py-3 text-left">手机号</th>
+              <th class="px-4 py-3 text-left">角色</th>
+              <th class="px-4 py-3 text-left">状态</th>
+              <th class="px-4 py-3 text-left">操作</th>
+            </tr>
+            </thead>
+            <tbody>
+            <tr v-for="user in users" :key="user.id" class="border-t">
+              <td class="px-4 py-3">
+                <input type="checkbox" class="rounded"/>
+              </td>
+              <td class="px-4 py-3">{{ user.username }}</td>
+              <td class="px-4 py-3">{{ user.email }}</td>
+              <td class="px-4 py-3">{{ user.phone }}</td>
+              <td class="px-4 py-3">{{ user.role }}</td>
+              <td class="px-4 py-3">
+                <span :class="[
+                  'px-2 py-1 rounded text-sm',
+                  user.statusColor
+                ]">
+                  {{ user.status }}
+                </span>
+              </td>
+              <td class="px-4 py-3 text-blue-600">
+                <button class="hover:text-blue-700">编辑</button>
+                <button class="hover:text-blue-700">删除</button>
+              </td>
+            </tr>
+            </tbody>
+          </table>
+
+          <!-- Pagination -->
+          <div class="flex items-center justify-center space-x-2 py-4">
+            <button class="p-1 rounded hover:bg-gray-100">
+              <ChevronLeftIcon class="h-5 w-5 text-gray-600"/>
+            </button>
+            <button class="px-3 py-1 rounded hover:bg-gray-100">1</button>
+            <button class="px-3 py-1 bg-blue-50 text-blue-600 rounded">2</button>
+            <button class="px-3 py-1 rounded hover:bg-gray-100">3</button>
+            <button class="px-3 py-1 rounded hover:bg-gray-100">4</button>
+            <button class="px-3 py-1 rounded hover:bg-gray-100">5</button>
+            <span>...</span>
+            <button class="px-3 py-1 rounded hover:bg-gray-100">80</button>
+            <button class="p-1 rounded hover:bg-gray-100">
+              <ChevronRightIcon class="h-5 w-5 text-gray-600"/>
+            </button>
+          </div>
+        </div>
+      </main>
+    </div>
+  </div>
+</template>
+
+<script setup>
+import {
+  SearchIcon,
+  MessageCircleIcon,
+  BellIcon,
+  SettingsIcon,
+  HomeIcon,
+  UsersIcon,
+  ListIcon,
+  LayoutGridIcon,
+  ChevronLeftIcon,
+  ChevronRightIcon
+} from 'lucide-vue-next'
+
+const users = [
+  { id: 1, username: 'user1', email: 'user1@example.com', phone: '1234567890', role: '管理员', status: '活跃', statusColor: 'bg-green-50 text-green-600' },
+  { id: 2, username: 'user2', email: 'user2@example.com', phone: '0987654321', role: '普通用户', status: '禁用', statusColor: 'bg-red-50 text-red-600' },
+  { id: 3, username: 'user3', email: 'user3@example.com', phone: '1122334455', role: '普通用户', status: '活跃', statusColor: 'bg-green-50 text-green-600' },
+  { id: 4, username: 'user4', email: 'user4@example.com', phone: '5544332211', role: '管理员', status: '活跃', statusColor: 'bg-green-50 text-green-600' }
+]
+</script>
+
+<style scoped>
+/* Add any additional custom styles here if needed */
+</style>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff