feat:工具细节完成

master
guoyixuan 2 months ago
parent 49a2bedc31
commit fddf53520c

@ -1,23 +1,71 @@
{ {
// // ====== 1. ======
"editor.fontSize": 14, // "editor.fontSize": 14, //
"editor.wordWrap": "on", // "editor.lineHeight": 24, //
"editor.tabSize": 2, // 2Vue "editor.tabSize": 2, // Tab 2
"editor.insertSpaces": true, // Tab
"editor.detectIndentation": false, // 使 tabSize
"editor.renderWhitespace": "none", // 'all'/'boundary'/'none'
"editor.minimap.enabled": false, //
"editor.wordWrap": "off", // Prettier
"editor.cursorSmoothCaretAnimation": "on", //
"editor.smoothScrolling": true, //
// ====== 2. (Prettier) ======
"editor.defaultFormatter": "esbenp.prettier-vscode", // Prettier
"editor.formatOnSave": true, // "editor.formatOnSave": true, //
// Vue "editor.formatOnPaste": false, // false
"[vue]": { "editor.formatOnType": false, // false
"editor.defaultFormatter": "esbenp.prettier-vscode" // 使Vetur
// ====== 3. Prettier ======
// .prettierrc .prettierrc .prettierrc
"prettier.printWidth": 100, //
"prettier.tabWidth": 2, // 2
"prettier.useTabs": false, // 使 Tab 使
"prettier.singleQuote": true, // 使
"prettier.semi": false, //
"prettier.trailingComma": "es5", // ES5
"prettier.bracketSpacing": true, //
"prettier.jsxBracketSameLine": false, // JSX
"prettier.arrowParens": "avoid", // (e.g., x => x (x) => x)
"prettier.endOfLine": "lf", // LF (Linux Line Feed)
"prettier.vueIndentScriptAndStyle": true, // Vue <script> <style>
// ====== 4. ESLint ======
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue", // ESLint .vue
"html", // HTML
"json", // JSON
"jsonc" // JSON With Comments
],
// ESLint ESLint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}, },
"vetur.format.defaultFormatter.html": "js-beautify-html", // HTML
"vetur.format.defaultFormatterOptions": { // ====== 5. Vue (Volar) ======
"js-beautify-html": { // Volar Vue 3
"wrap_line_length": 120, // "volar.autoCreateQuotes": true, //
"wrap_attributes": "auto", // auto "volar.completion.preferredTagCasing": "auto", //
"end_with_newline": false // "volar.jsx.autoComplete": true,
}
}, // ====== 6. ======
// Prettier //
"prettier.singleQuote": true, // // "files.associations": {
"prettier.semi": false, // // "*.vue": "vue"
"files.saveConflictResolution": "overwriteFileOnDisk" // },
// ====== 7. ======
"files.encoding": "utf8", //
"files.eol": "\n", // LF (Unix/Linux)
"files.trimTrailingWhitespace": true, //
"files.insertFinalNewline": true, //
"telemetry.telemetryLevel": "off" //
// ====== 8. ======
// "terminal.integrated.fontSize": 13
} }

@ -150,7 +150,14 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.graph-container .title {
display: flex;
align-items: center;
padding: 4px 12px;
}
.graph-container .title .time-range {
margin-left: 24px;
}
.graph-container .line-graph { .graph-container .line-graph {
flex: 1; flex: 1;
min-height: 0; min-height: 0;
@ -365,11 +372,6 @@
margin-left: 8px; margin-left: 8px;
} }
.total-prpd-panel .total-prpd-panel .prpd-box .totle-prpds .total-prpd-item .switcher .active-span {
.prpd-box
.totle-prpds
.total-prpd-item
.switcher
.active-span {
color: #1890ff; color: #1890ff;
} }

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save