Skip to content

Commit 331302b

Browse files
committed
feat: first commit
1 parent b612638 commit 331302b

File tree

154 files changed

+79612
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+79612
-0
lines changed

.env

Whitespace-only changes.

.env.development

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_API_DOMAIN = ''

.env.production

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VITE_BASE_URL = './'
2+
VITE_API_DOMAIN = '.'

.eslintrc.cjs

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2021: true,
6+
node: true,
7+
},
8+
extends: ['plugin:vue/vue3-strongly-recommended', 'airbnb-base', 'prettier'],
9+
parser: 'vue-eslint-parser',
10+
parserOptions: {
11+
ecmaVersion: 'latest',
12+
parser: '@typescript-eslint/parser',
13+
sourceType: 'module',
14+
ecmaFeatures: {
15+
tsx: true,
16+
jsx: true,
17+
},
18+
},
19+
globals: {
20+
defineProps: 'readonly',
21+
defineEmits: 'readonly',
22+
defineExpose: 'readonly',
23+
withDefaults: 'readonly',
24+
},
25+
plugins: ['vue', '@typescript-eslint', 'prettier'],
26+
settings: {
27+
'import/resolver': {
28+
typescript: {},
29+
},
30+
},
31+
rules: {
32+
'no-void': 0,
33+
'no-underscore-dangle': 'off',
34+
'no-unused-vars': 'off',
35+
'max-classes-per-file': ['error', 5],
36+
'import/no-extraneous-dependencies': 'off',
37+
'no-bitwise': 'off',
38+
'no-param-reassign': 'off',
39+
'no-debugger': 'off',
40+
'vue/multi-word-component-names': 'off',
41+
'vue/attribute-hyphenation': 'off',
42+
'import/prefer-default-export': 'off',
43+
'import/extensions': 'off',
44+
'no-promise-executor-return': 'off',
45+
'no-shadow': 'off',
46+
'no-unused-expressions': 'off',
47+
'class-methods-use-this': 'off',
48+
'no-console': 'off',
49+
'no-nested-ternary': 'off',
50+
51+
'vue/attributes-order': [
52+
'error',
53+
{
54+
order: [
55+
'DEFINITION',
56+
'LIST_RENDERING',
57+
'CONDITIONALS',
58+
'RENDER_MODIFIERS',
59+
'GLOBAL',
60+
['UNIQUE', 'SLOT'],
61+
'TWO_WAY_BINDING',
62+
'OTHER_DIRECTIVES',
63+
'OTHER_ATTR',
64+
'EVENTS',
65+
'CONTENT',
66+
],
67+
alphabetical: false,
68+
},
69+
],
70+
'vue/v-on-event-hyphenation': [
71+
'error',
72+
'always',
73+
{
74+
autofix: true,
75+
ignore: [],
76+
},
77+
],
78+
'vue/html-closing-bracket-newline': [
79+
'error',
80+
{
81+
singleline: 'never',
82+
multiline: 'always',
83+
},
84+
],
85+
},
86+
}

.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
.idea
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?
26+
27+
*.tsbuildinfo
28+
stats.html

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18.19.0

.prettierrc.cjs

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
printWidth: 80,
3+
tabWidth: 2,
4+
useTabs: false,
5+
semi: false,
6+
singleQuote: true,
7+
quoteProps: 'as-needed',
8+
jsxSingleQuote: false,
9+
trailingComma: 'es5',
10+
bracketSpacing: true,
11+
jsxBracketSameLine: false,
12+
arrowParens: 'always',
13+
rangeStart: 0,
14+
rangeEnd: Infinity,
15+
endOfLine: 'lf',
16+
requirePragma: false,
17+
insertPragma: false,
18+
proseWrap: 'always',
19+
htmlWhitespaceSensitivity: 'css',
20+
}

.stylelintcache

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/App.vue":"1","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetLabel.vue":"2","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/LayoutHeader.vue":"3","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel06.vue":"4","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/LayoutPanel.vue":"5","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel05.vue":"6","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel04.vue":"7","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel02.vue":"8","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel03.vue":"9","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel01.vue":"10","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/LayoutFooter.vue":"11","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/WidgetPanel07.vue":"12","/Users/fengtianxi001/codes/可视化大屏/MF-StationMonitor/src/components/LayoutLoading.vue":"13","/Users/fengtianxi001/codes/可视化大屏/MF-TurbineMonitor/src/App.vue":"14","/Users/fengtianxi001/codes/可视化大屏/MF-TurbineMonitor/src/components/WidgetLabel.vue":"15"},{"size":3071,"mtime":1735743524635,"hashOfConfig":"16"},{"size":680,"mtime":1735734674844,"hashOfConfig":"16"},{"size":3750,"mtime":1735729897407,"hashOfConfig":"16"},{"size":2401,"mtime":1735731205820,"hashOfConfig":"16"},{"size":1092,"mtime":1735730754036,"hashOfConfig":"16"},{"size":2560,"mtime":1735730128887,"hashOfConfig":"16"},{"size":3610,"mtime":1735729998372,"hashOfConfig":"16"},{"size":2955,"mtime":1735733027480,"hashOfConfig":"16"},{"size":1693,"mtime":1735546823347,"hashOfConfig":"16"},{"size":2269,"mtime":1735546828184,"hashOfConfig":"16"},{"size":2514,"mtime":1735735322942,"hashOfConfig":"16"},{"size":10288,"mtime":1735734611427,"hashOfConfig":"16"},{"size":1055,"mtime":1735743601821,"hashOfConfig":"16"},{"size":3071,"mtime":1735744747227,"hashOfConfig":"17"},{"size":680,"mtime":1735744747259,"hashOfConfig":"17"},"11i7hqk","pjw8ln"]

.stylelintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
public
3+
dist
4+
docs

.stylelintrc.cjs

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
root: true,
3+
extends: [
4+
'stylelint-config-standard',
5+
'stylelint-config-standard-scss',
6+
'stylelint-config-recommended-vue/scss',
7+
'stylelint-config-recess-order',
8+
'stylelint-config-prettier',
9+
],
10+
rules: {
11+
'value-keyword-case': null,
12+
'block-no-empty': null,
13+
'color-function-notation': null,
14+
'function-url-quotes': null,
15+
'property-no-vendor-prefix': null,
16+
'rule-empty-line-before': 'never',
17+
'font-family-no-missing-generic-family-keyword': null,
18+
'no-descending-specificity': null,
19+
},
20+
overrides: [
21+
{
22+
files: ['**/*.{vue,html}'],
23+
customSyntax: 'postcss-html',
24+
},
25+
],
26+
}

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
// "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3+
}

.vscode/settings.json

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": "explicit",
6+
"source.fixAll.stylelint": "explicit",
7+
"source.fixAll.markdownlint": "explicit"
8+
},
9+
"stylelint.validate": ["css", "scss", "less", "vue"],
10+
"[vue]": {
11+
"editor.defaultFormatter": "esbenp.prettier-vscode"
12+
},
13+
"[ts]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode"
15+
},
16+
"[javascript]": {
17+
"editor.defaultFormatter": "esbenp.prettier-vscode"
18+
},
19+
"[scss]": {
20+
"editor.defaultFormatter": "esbenp.prettier-vscode"
21+
},
22+
"[markdown]": {
23+
"editor.formatOnSave": true,
24+
"editor.formatOnPaste": true
25+
},
26+
"vue.features.codeActions.enable": false,
27+
"explorer.fileNesting.enabled": true,
28+
"explorer.fileNesting.expand": false,
29+
"explorer.fileNesting.patterns": {
30+
"package.json": ".env*,.eslint*,package*,.prettier*,.stylelint*,commitlint*,pnpm*,ts*,yarn*,.git*,index.html,nginx.conf,Dockerfile,docker-compose.yml,env.d.ts"
31+
},
32+
"search.exclude": {
33+
"**/node_modules": true,
34+
"**/bower_components": true,
35+
"**/*.code-search": true,
36+
"**/.DS_Store": true,
37+
"**/.git": true,
38+
"**/.gitignore": true,
39+
"**/.idea": true,
40+
"**/.svn": true,
41+
"**/.vscode": true,
42+
"**/build": true,
43+
"**/dist": true,
44+
"**/tmp": true,
45+
"**/yarn.lock": true,
46+
"**/assets": true,
47+
"**/*.md": true,
48+
"**/pnpm-lock.yaml": true,
49+
"**/package.json": true
50+
},
51+
"vue.codeActions.enabled": false,
52+
"liveServer.settings.port": 5501
53+
}

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# 🍪 MF-TurbineMonitor
2+
3+
> 一个涡轮扇叶发电机数字大屏的 DEMO 案例
4+
5+
> 服务地址 :https://fengtianxi001.github.io/MF-TurbineMonitor
6+
7+
<h1 align="center">
8+
<img src="https://raw.githubusercontent.com/fengtianxi001/MF-TurbineMonitor/v3.0.1/screenshot/screenshot01.png" title="screenshot">
9+
</h1>
10+
11+
## 更新日志
12+
13+
##### v3.0.1
14+
15+
- [x] 新增设备的 outline,鼠标拾取高亮
16+
- [x] 新增设备信息面板
17+
- [x] 对项目打包资源进行压缩
18+
- [x] 对项目代码结构进行简化
19+
- [x] 对项目界面进行优化
20+
- [x] 优化设备的拆解和组装动画
21+
22+
##### v3.0.0
23+
24+
- [x] 对项目界面进行了重构
25+
- [x] 优化部分代码并修复了一些 bug
26+
- [x] 增加风机部件的分解和组装功能
27+
- [x] 加入代码风格检查
28+
29+
##### v2.0.0
30+
31+
- [x] 使用`vue3/ts/vite`重构项目
32+
- [x] 添加了风机平台的光线动效
33+
- [x] 风机零部件的高亮拾取
34+
35+
##### v1.0.0
36+
37+
- [x] 风机零部件的状态绑定
38+
- [x] 风机偏航角数据绑定

docs/css/index-WAwimg5t.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/vendor-BaVkx4tQ.css

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/favicon.png

1.32 KB
Loading

0 commit comments

Comments
 (0)