# ZoomEyePro **Repository Path**: Y_yyyy/zoom-eye-pro ## Basic Information - **Project Name**: ZoomEyePro - **Description**: 实习项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-30 - **Last Updated**: 2024-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 前端框架: `React` #### `UI`库: `Antd` #### 状态管理: `Redux` #### 打包工具: `Webpack` #### 数据请求: `Axios` #### 图表库: `Echart` #### 数据推送: `Socket.IO` --- ### 运行 ``` npm run vendor npm run start ``` ### 打包 ``` npm run vendor npm run build ``` ### 发布 ``` npm run deploy ``` --- ### 命名规范 - 文件夹/文件名小写,下划线分割 - 变量驼峰命名,前缀名词 - 常量全部大写加下划线 - 函数小驼峰,前缀为动词 | 前缀 | 含义 | 返回值 | | ------ | -------------------- | ---------------------- | | `can` | 判断动作是否可以执行 | `bool` | | `has` | 判断是否存在某个值 | `bool` | | `is` | 判断是否为某个值 | `bool` | | `get` | 获取值 | 返回值或返回为空 | | `set` | 设置值 | 改变某个值 | | `load` | 加载数据 | 无返回值或返回数据状态 | * 类大驼峰命名,前缀名词, 私有属性方法加下划线 * css 相关规范 - 属性顺序:  content > 布局位置相关(position、float、display、overflow)> 盒模型(border、margin、padding、width、height)> 文本(font、line-height、text-align、word-wrap)> 视觉效果(color、background) - 省略: 0.8 -> .8 、0px->0 - 颜色使用 rgb、rgba 或十六进制 --- ### git 提交规范 `git`信息提交规范: ``` (): <空行> <空行>