Aucune description

houzekong bb6341a774 [Feat 0000] 融合预警修改 il y a 2 mois
.github 0fc124ffda [Docs 0000] 更新README文档内容,添加提交模板 il y a 1 an
@ 56db056a52 新增文件 il y a 1 an
build ac21340696 [Feat 0000] 为生产环境添加一些辨别版本的标记 il y a 8 mois
js 2306d250f3 风机详情、安全监控 il y a 1 an
mock 6cc0a7207b [Feat 0000] 登陆过期后为自动登录用户添加续登录功能 il y a 8 mois
public 4b9b9cb18b 1. 主风机添加了保德、锦界、补连塔风机曲线 il y a 3 mois
src bb6341a774 [Feat 0000] 融合预警修改 il y a 2 mois
tests a2d39b4363 jeecgboot-vue 1.0.0 版本发布 il y a 3 ans
types 6a46fafbb5 1. 解决压风机界面不显示 il y a 6 mois
.babelrc fecbaf166a 更新 il y a 1 an
.editorconfig 5a8812318e jeecgboot vue3 ui il y a 3 ans
.env 343b589292 解决img图片加载不出来 il y a 1 an
.env.development eb492e75c6 1. 公司端首页样式优化 il y a 3 mois
.env.production 343b589292 解决img图片加载不出来 il y a 1 an
.eslintignore 5a8812318e jeecgboot vue3 ui il y a 3 ans
.eslintrc.js e5f18c16a9 添加风门、调整echarts il y a 2 ans
.gitignore 2b1fbd26e8 1. 添加误删文件 il y a 10 mois
.gitpod.yml 5a8812318e jeecgboot vue3 ui il y a 3 ans
.prettierignore 5a8812318e jeecgboot vue3 ui il y a 3 ans
.stylelintignore 5a8812318e jeecgboot vue3 ui il y a 3 ans
Dockerfile 699c084b9f 提交文件 il y a 1 an
LICENSE 3bff589e4c 项目升级 il y a 1 an
README.md aeb7bd2e83 [Wip 0000] 可配置首页各个子模块主题化 il y a 3 mois
commitlint.config.js 0fc124ffda [Docs 0000] 更新README文档内容,添加提交模板 il y a 1 an
index.html d838802449 [Wip 0000] 可配置首页主题化 il y a 3 mois
jest.config.mjs 5a8812318e jeecgboot vue3 ui il y a 3 ans
npm 5a8812318e jeecgboot vue3 ui il y a 3 ans
npminstall-debug.log e05880d0d8 预警管控-设备监测预警报警数量颜色修改-提交 il y a 3 mois
package.json 38e9b1e7c1 [Feat 0000] CAD添加认证及相关更新 il y a 5 mois
pnpm-lock.yaml 38e9b1e7c1 [Feat 0000] CAD添加认证及相关更新 il y a 5 mois
postcss.config.js 5a8812318e jeecgboot vue3 ui il y a 3 ans
prettier.config.js 5f5207b4aa 代码格式化格式调整 il y a 2 ans
stylelint.config.js 6b95ecd99b 1。 亚美大宁局部风机设备监测接口调整 il y a 4 mois
tsconfig.json 3bff589e4c 项目升级 il y a 1 an
vite.config.ts d1106b8590 1. 风门远程就地控制调整 il y a 9 mois

README.md

VentAnaly_2.0_front

系统v2.0前端代码仓库

前言

本项目以jeecgboot为模板,请先阅读此文档后继续!

开始

建议:安装 nvm 或其他 nodejs 版本管理器,使用 VSCode 作为 IDE,使用 Chrome/Edge 浏览器;

  1. 在项目目录下执行 pnpm install

  2. 在项目目录下执行 git config commit.template .github/COMMIT_TEMPLATE

开发

开发的基本流程,部分内容可忽略

git pull # 可以rebase

git checkout [branch] # 可选

nvm use 20 # 建议,高版本node自带pnpm包管理器

pnpm dev # 必选,dddd

git add .

git commit # 公用模板见.github/COMMIT_TEMPLATE

git push origin [branch] # 目前master分支无保护,可直接推

构建

pnpm build

主题

主题可以在 /views/vent/sys/setting/index.vue 中找到设置入口

常规的颜色、变量在 /design/color.less 或 /design/themify/ 下添加,图片资源应在 /assets/images/themify/ 下添加

各个页面的主题化标准模板可以参考登录页 /views/sys/login/Login.vue

下面是配合主题化使用的工具,输入页面的 css 样式,即可输出标准模板所需的资源

// 使用前请确保:1、所有需主题化的 url 引入请以 url(/@/xxx/xxx.yyy) 格式声明。2、除去注释。
function themifyScript(str) {
  const reg = /url\('?(\/[@|0-9|a-z|A-Z|\-|_]+)+.(png|svg)'?\)/g;
  let strcopy = str;
  let res = reg.exec(str);
  let varstr = '';
  while (res) {
    const [url, image] = res;
    const varname = `--image-${image.replace('/', '')}`;
    varstr += `${varname}: ${url};`;
    strcopy = strcopy.replace(url, `var(${varname})`);
    res = reg.exec(str);
  }

  return [varstr, strcopy];
}