{"id":18914346,"url":"https://github.com/xlong1029/xlong-big-data","last_synced_at":"2025-08-20T11:18:48.135Z","repository":{"id":126691122,"uuid":"523551988","full_name":"xLong1029/xlong-big-data","owner":"xLong1029","description":"基于 Vite + Vue3 + Element Plus + ECharts 开发的单页面客户端渲染的数据监控平台示例","archived":false,"fork":false,"pushed_at":"2025-04-15T03:26:38.000Z","size":88188,"stargazers_count":32,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T04:30:35.524Z","etag":null,"topics":["bigdata","echarts5","element-plus","mockjs","pinia","swiper","vite","vue3","vue3-seamless-scroll"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xLong1029.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-11T01:47:01.000Z","updated_at":"2025-04-15T01:25:27.000Z","dependencies_parsed_at":"2025-04-15T04:34:23.732Z","dependency_job_id":null,"html_url":"https://github.com/xLong1029/xlong-big-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xLong1029%2Fxlong-big-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xLong1029%2Fxlong-big-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xLong1029%2Fxlong-big-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xLong1029%2Fxlong-big-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xLong1029","download_url":"https://codeload.github.com/xLong1029/xlong-big-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249035422,"owners_count":21202082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigdata","echarts5","element-plus","mockjs","pinia","swiper","vite","vue3","vue3-seamless-scroll"],"created_at":"2024-11-08T10:11:06.397Z","updated_at":"2025-04-15T08:31:09.948Z","avatar_url":"https://github.com/xLong1029.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xlong-big-data\n\n## 重要通知！！！ \n我的账号在Github开启2FA设置后，因某种原因丢失恢复码导致账号无法登录，日后该账号下的所有项目在github不再更新，若想查看持续更新的项目请移步到 [我的码云仓库](https://gitee.com/xlong1029)\n\n## 介绍\nxlong-big-data是一个基于 Vite + Vue3 + Element Plus + Pinia + ECharts 开发的单页面客户端渲染的自适应数据监控平台示例，包含2种预览模式。\n \n#### 1. 多设备尺寸自适应  \n一套设计稿，根据平台（移动端、PC端和超宽屏幕设备）自适应展示对应内容\n#### 2. 自适应缩放  \n固定设计稿，根据屏幕保持原来的高宽比进行自适应缩放，适合用于指定屏幕尺寸展示的情况\n\n* 该项目仅作学习参考，请勿商用\n\n## 项目展示\n\n\u003e DEMO地址：https://xlong1029.github.io/xlong-big-data/\n\n## 更新说明\n\n#### 1. 2023-12-04\n    新增图表、标题、边框等组件示例\n\n## 项目说明\n\n#### 1. 前后端分离开发模式\n\n- **前端**：Vite + Vue3\n- **后端**：Mock.js模拟请求\n\n#### 2. 项目用到技术、框架与插件\n\n[Vue3](https://v3.vuejs.org)\u003cbr/\u003e\n[Vite](https://cn.vitejs.dev)\u003cbr/\u003e\n[Pinia](https://github.com/vuejs/pinia)\u003cbr/\u003e\n[Mockjs](http://mockjs.com)\u003cbr/\u003e\n[Element Plus](https://github.com/element-plus)\u003cbr/\u003e\n[ECharts](https://echarts.apache.org)\u003cbr/\u003e\n[Swiper](https://www.swiper.com.cn)\u003cbr/\u003e\n[vue3-seamless-scroll](https://github.com/xfy520/vue3-seamless-scroll)\u003cbr/\u003e\n\n## 部分项目运行截图\n\ngif文件稍微有点大，被压缩了，丢失了部分色彩：\u003cbr/\u003e\n\n![Image text](static/images/screen-1.png)\n\n* PC界面\n\n![Image text](static/images/screen-2.gif)\n\n![Image text](static/images/screen-3.gif)\n\n* 宽屏界面\n\n![Image text](static/images/screen-4.jpg)\n\n![Image text](static/images/screen-5.jpg)\n\n* 移动端界面\n\n![Image text](static/images/screen-6.gif)\n\n![Image text](static/images/screen-7.gif)\n\n* 自适应展示\n\n![Image text](static/images/adpt.gif)\n\n* 组件示例\n\n![Image text](static/images/1.png)\n\n![Image text](static/images/2.png)\n\n![Image text](static/images/3.png)\n\n![Image text](static/images/4.png)\n\n![Image text](static/images/5.png)\n\n![Image text](static/images/6.png)\n\n## 目录结构\n\n```\n│  .env.development // 开发环境配置\n│  .env.production // 生产环境配置\n│  .env.release // release环境配置\n│  .gitignore\n│  package.json\n│  vite.config.js // 配置文件\n│  README.md\n│  index.html // 入口文件\n│\n├─pubilc\n│   favicon.ico // 图标\n│\n├─src\n│  │  main.js // 项目入口js\n│  │  permission.js // 路由权限\n│  │  components.js // 全局注册组件\n│  │  element-plus.js // element plus配置\n│  │  settings.js // 设置文件\n│  │  App.vue // 根组件\n│  │\n│  ├─assets // 资源目录，这里的资源会被wabpack构建\n│  ├─api // api接口文件\n│  ├─styles  // 样式\n│  │\n│  ├─store  // 应用级数据（state）\n│  │  │  index.js\n│  │  │\n│  │  └─modules\n│  │\n│  ├─hooks 钩子函数\n│  │  │  index.js\n│  │  │\n│  │  └─modules\n│  │\n│  ├─mock // 模拟请求数据\n│  │  │  index.js\n│  │  │  mock-handle.js // 数据处理\n│  │  │  mock-server.js // 正式环境使用配置\n│  │  │\n│  │  └─modules\n│  │\n│  ├─components // 组件\n│  │  │\n│  │  ├─common // 通用组件\n│  │  │\n│  │  ├─screen // 大屏组件\n│  │  │\n│  │  └─charts // 图表组件\n│  │\n│  ├─directives // 自定义指令\n│  │  │  index.js\n│  │  │  utils.js // 工具\n│  │  │\n│  │  └─modules\n│  │\n│  ├─views // 视图\n│  │  │\n│  │  ├─home // 首页\n│  │  ├─adpt-multi-device // 多设备自适应示例\n│  │  ├─adpt-scale // 自适应缩放示例\n│  │  └─test // 保留的测试页面\n│  │\n│  ├─utils // 通用工具函数\n│  │    index.js\n│  │    auth.js // 读写token\n│  │    calendar.js // 日历\n│  │    request.js // 请求配置\n│  │\n│  └─router  // 路由配置\n│     │  index.js\n│     │\n│     └─modules // 分模块的动态路由\n│\n└─static // 静态资源\n```\n\n## 本地运行\n1. 安装依赖\n\u003e npm install\n2. 运行项目\n\u003e npm run dev\n3. 访问地址：http://localhost:8686\n\n## 作者联系方式\n\nQQ：381612175\nTEL: 18376686974\n\ngithub：https://github.com/xLong1029/\n\n站酷主页：http://xlong.zcool.com.cn/\n\nUI 中国：http://i.ui.cn/ucenter/358591.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlong1029%2Fxlong-big-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlong1029%2Fxlong-big-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlong1029%2Fxlong-big-data/lists"}