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; mar.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0