vue3+echarts实现基于indexdb的crm客户关系管理系统代码
代码语言:html
所属分类:其他
代码描述:vue+echarts实现基于indexdb的crm客户关系管理系统代码
代码标签: vue echarts 基于 indexdb crm 客户 关系 管理 系统 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>高端CRM管理系统 - 稳定版</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue3.2.22.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.js"></script> <style> :root { --primary-color: #4A90E2; --primary-hover-color: #407ac9; --bg-color: #f4f7fa; --sidebar-bg: #2c3e50; --sidebar-text-color: #ecf0f1; --sidebar-active-bg: #34495e; --text-color: #333; --border-color: #e0e6ed; --card-bg: #ffffff; --shadow: 0 4px 6px rgba(0, 0, 0, 0.05); --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } body, html { margin: 0; padding: 0; font-family: var(--font-family); background-color: var(--bg-color); color: var(--text-color); font-size: 16px; overflow-x: hidden; } [v-cloak] { display: none; } * { box-sizing: border-box; } #app { display: flex; height: 100vh; } .sidebar { width: 240px; background-color: var(--sidebar-bg); color: var(--sidebar-text-color); padding: 20px 0; display: flex; flex-direction: column; flex-shrink: 0; transition: width 0.3s ease; } .sidebar-header { padding: 0 20px 20px 20px; display: flex; align-items: center; font-size: 1.5em; font-weight: bold; } .sidebar-header svg { width: 32px; height: 32px; margin-right: 12px; fill: var(--primary-color); } .nav-menu { list-style: none; padding: 0; margin: 0; flex-grow: 1; } .nav-item a { display: flex; align-items: center; padding: 15px 20px; color: var(--sidebar-text-color); text-decoration: none; transition: background-color 0.3s ease; font-size: 1.1em; } .nav-item a:hover { background-color: var(--sidebar-active-bg); } .nav-item a.active { background-color: var(--primary-color); border-left: 4px solid var(--sidebar-text-color); padding-left: 16px; } .nav-item svg { width: 22px; height: 22px; margin-right: 15px; fill: currentColor; } .sidebar-footer { padding: 20px; text-align: center; font-size: 0.8em; opacity: 0.7; } .main-content { flex-grow: 1; padding: 30px; overflow-y: auto; } .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; } .page-header h1 { font-size: 2em; margin: 0; font-weight: 600; } .btn { padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 1em; transition: all 0.3s ease; display: inline-flex; align-items: center; } .btn svg { width: 16px; height: 16px; margin-right: 8px; } .btn-primary { background-color: var(--primary-color); color: white; } .btn-primary:hover { background-color: var(--primary-hover-color); } .btn-secondary { background-color: #e0e6ed; color: var(--text-color); } .btn-secondary:hover { background-color: #c8d0d9; } .btn-danger { background-color: #e74c3c; color: white; } .btn-danger:hover { background-color: #c0392b; } .card { background-color: var(--card-bg); border-radius: 8px; box-shadow: var(--shadow); padding: 25px; margin-bottom: 25px; } table { width: 100%; border-collapse: collapse; background-color: var(--card-bg); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; } th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border-color); } thead { background-color: #f8f9fa; } th { font-weight: 600; color: #6c757d; text-transform: uppercase; font-size: 0.85em; } tbody tr:last-child td { border-bottom: none; } tbody tr:hover { background-color: #f1f5f9; } .action-buttons button { background: none; border: none; cursor: pointer; padding: 5px; margin-right: 10px; } .action-buttons svg { width: 20px; height: 20px; fill: #6c757d; transition: fill 0.2s ease; } .action-buttons button:hover svg { fill: var(--primary-color); } .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; } .modal-content { background: white; padding: 30px; border-radius: 8px; width: 90%; max-width: 500px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .modal-header h2 { margin: 0; } .modal-body .form-group { margin-bottom: 20px; } .modal-body label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9em; } .modal-body input, .modal-body select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 5.........完整代码请登录后点击上方下载按钮下载查看
网友评论0