Compare commits
	
		
			3 Commits
		
	
	
		
			cli-common
			...
			develop
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 21535408fe | |||
| 9e189ae8ba | |||
| 0317c4d607 | 
							
								
								
									
										23
									
								
								cli/hello-cli/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								cli/hello-cli/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | |||||||
|  | .DS_Store | ||||||
|  | node_modules | ||||||
|  | /dist | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # local env files | ||||||
|  | .env.local | ||||||
|  | .env.*.local | ||||||
|  |  | ||||||
|  | # Log files | ||||||
|  | npm-debug.log* | ||||||
|  | yarn-debug.log* | ||||||
|  | yarn-error.log* | ||||||
|  | pnpm-debug.log* | ||||||
|  |  | ||||||
|  | # Editor directories and files | ||||||
|  | .idea | ||||||
|  | .vscode | ||||||
|  | *.suo | ||||||
|  | *.ntvs* | ||||||
|  | *.njsproj | ||||||
|  | *.sln | ||||||
|  | *.sw? | ||||||
							
								
								
									
										24
									
								
								cli/hello-cli/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								cli/hello-cli/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | |||||||
|  | # hello-cli | ||||||
|  |  | ||||||
|  | ## Project setup | ||||||
|  | ``` | ||||||
|  | npm install | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | ### Compiles and hot-reloads for development | ||||||
|  | ``` | ||||||
|  | npm run serve | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | ### Compiles and minifies for production | ||||||
|  | ``` | ||||||
|  | npm run build | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | ### Lints and fixes files | ||||||
|  | ``` | ||||||
|  | npm run lint | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | ### Customize configuration | ||||||
|  | See [Configuration Reference](https://cli.vuejs.org/config/). | ||||||
							
								
								
									
										5
									
								
								cli/hello-cli/babel.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								cli/hello-cli/babel.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | module.exports = { | ||||||
|  |   presets: [ | ||||||
|  |     '@vue/cli-plugin-babel/preset' | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										19
									
								
								cli/hello-cli/jsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								cli/hello-cli/jsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | { | ||||||
|  |   "compilerOptions": { | ||||||
|  |     "target": "es5", | ||||||
|  |     "module": "esnext", | ||||||
|  |     "baseUrl": "./", | ||||||
|  |     "moduleResolution": "node", | ||||||
|  |     "paths": { | ||||||
|  |       "@/*": [ | ||||||
|  |         "src/*" | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     "lib": [ | ||||||
|  |       "esnext", | ||||||
|  |       "dom", | ||||||
|  |       "dom.iterable", | ||||||
|  |       "scripthost" | ||||||
|  |     ] | ||||||
|  |   } | ||||||
|  | } | ||||||
							
								
								
									
										19767
									
								
								cli/hello-cli/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										19767
									
								
								cli/hello-cli/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										47
									
								
								cli/hello-cli/package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								cli/hello-cli/package.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | |||||||
|  | { | ||||||
|  |   "name": "hello-cli", | ||||||
|  |   "version": "0.1.0", | ||||||
|  |   "private": true, | ||||||
|  |   "scripts": { | ||||||
|  |     "serve": "vue-cli-service serve", | ||||||
|  |     "build": "vue-cli-service build", | ||||||
|  |     "lint": "vue-cli-service lint" | ||||||
|  |   }, | ||||||
|  |   "dependencies": { | ||||||
|  |     "core-js": "^3.8.3", | ||||||
|  |     "element-plus": "^2.2.25", | ||||||
|  |     "vue": "^3.2.13", | ||||||
|  |     "vue-axios": "^3.5.2", | ||||||
|  |     "vue-router": "^4.0.13", | ||||||
|  |     "vuex": "^4.0.2" | ||||||
|  |   }, | ||||||
|  |   "devDependencies": { | ||||||
|  |     "@babel/core": "^7.12.16", | ||||||
|  |     "@babel/eslint-parser": "^7.12.16", | ||||||
|  |     "@vue/cli-plugin-babel": "~5.0.0", | ||||||
|  |     "@vue/cli-plugin-eslint": "~5.0.0", | ||||||
|  |     "@vue/cli-service": "~5.0.0", | ||||||
|  |     "eslint": "^7.32.0", | ||||||
|  |     "eslint-plugin-vue": "^8.0.3" | ||||||
|  |   }, | ||||||
|  |   "eslintConfig": { | ||||||
|  |     "root": true, | ||||||
|  |     "env": { | ||||||
|  |       "node": true | ||||||
|  |     }, | ||||||
|  |     "extends": [ | ||||||
|  |       "plugin:vue/vue3-essential", | ||||||
|  |       "eslint:recommended" | ||||||
|  |     ], | ||||||
|  |     "parserOptions": { | ||||||
|  |       "parser": "@babel/eslint-parser" | ||||||
|  |     }, | ||||||
|  |     "rules": {} | ||||||
|  |   }, | ||||||
|  |   "browserslist": [ | ||||||
|  |     "> 1%", | ||||||
|  |     "last 2 versions", | ||||||
|  |     "not dead", | ||||||
|  |     "not ie 11" | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										21
									
								
								cli/hello-cli/public/css/colors.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								cli/hello-cli/public/css/colors.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-12 23:22:59 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-11-16 15:26:04 | ||||||
|  |  * @FilePath: \car_dealer\css\colors.css | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |     --backupground-color: #f4f5f7ff; | ||||||
|  |     --btn-color-blue: #307dbe; | ||||||
|  |     --btn-color-yellow: #f7b24d; | ||||||
|  |     --btn-color-green: #5bad60; | ||||||
|  |     --btn-color-red: #e56651; | ||||||
|  |     --btn-font-color: #fff; | ||||||
|  |  | ||||||
|  |     --input-focus-color: #e56651; | ||||||
|  | } | ||||||
							
								
								
									
										57
									
								
								cli/hello-cli/public/css/kane.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								cli/hello-cli/public/css/kane.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-10-12 08:49:14 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-11-12 23:34:06 | ||||||
|  |  * @FilePath: \car_dealer\css\kane.css | ||||||
|  |  * @Description: vue学习用的样式表! | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |     --backupground-color: #f4f5f7ff; | ||||||
|  |     --btn-color-blue: #307dbe; | ||||||
|  |     --btn-color-yellow: #f7b24d; | ||||||
|  |     --btn-color-green: #5bad60; | ||||||
|  |     --btn-color-red: #e56651; | ||||||
|  |     --btn-font-color: #fff; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #root, | ||||||
|  | #app { | ||||||
|  |     padding: 50px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .content { | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: column; | ||||||
|  |     align-items: center; | ||||||
|  |     justify-content: center; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hr { | ||||||
|  |     background-color: steelblue; | ||||||
|  |     border: none; | ||||||
|  |     height: 3px; | ||||||
|  |     /* width: 100% */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* .test { | ||||||
|  |     width                   : 110vw; | ||||||
|  |     height                  : 100vh; | ||||||
|  |     border                  : 1px solid red; | ||||||
|  |     overflow                : auto; | ||||||
|  | } */ | ||||||
|  |  | ||||||
|  | input[type="text"] { | ||||||
|  |     border: none; | ||||||
|  |     outline: solid 2px #e56651; | ||||||
|  |     /* font-size: 2rem; */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | label { | ||||||
|  |     display: inline-block; | ||||||
|  |     font-size: 2rem; | ||||||
|  |     margin-top: 15px; | ||||||
|  | } | ||||||
							
								
								
									
										379
									
								
								cli/hello-cli/public/css/normalize.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										379
									
								
								cli/hello-cli/public/css/normalize.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,379 @@ | |||||||
|  | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | ||||||
|  |  | ||||||
|  | /* Document | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the line height in all browsers. | ||||||
|  |  * 2. Prevent adjustments of font size after orientation changes in iOS. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |   line-height: 1.15; | ||||||
|  |   /* 1 */ | ||||||
|  |   -webkit-text-size-adjust: 100%; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Sections | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the margin in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |   margin: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Render the `main` element consistently in IE. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | main { | ||||||
|  |   display: block; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the font size and margin on `h1` elements within `section` and | ||||||
|  |  * `article` contexts in Chrome, Firefox, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | h1 { | ||||||
|  |   font-size: 2em; | ||||||
|  |   margin: 0.67em 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Grouping content | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Add the correct box sizing in Firefox. | ||||||
|  |  * 2. Show the overflow in Edge and IE. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | hr { | ||||||
|  |   box-sizing: content-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   height: 0; | ||||||
|  |   /* 1 */ | ||||||
|  |   overflow: visible; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inheritance and scaling of font size in all browsers. | ||||||
|  |  * 2. Correct the odd `em` font sizing in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | pre { | ||||||
|  |   font-family: monospace, monospace; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 1em; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Text-level semantics | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the gray background on active links in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | a { | ||||||
|  |   background-color: transparent; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Remove the bottom border in Chrome 57- | ||||||
|  |  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | abbr[title] { | ||||||
|  |   border-bottom: none; | ||||||
|  |   /* 1 */ | ||||||
|  |   text-decoration: underline; | ||||||
|  |   /* 2 */ | ||||||
|  |   text-decoration: underline dotted; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct font weight in Chrome, Edge, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | b, | ||||||
|  | strong { | ||||||
|  |   font-weight: bolder; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inheritance and scaling of font size in all browsers. | ||||||
|  |  * 2. Correct the odd `em` font sizing in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | code, | ||||||
|  | kbd, | ||||||
|  | samp { | ||||||
|  |   font-family: monospace, monospace; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 1em; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct font size in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | small { | ||||||
|  |   font-size: 80%; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Prevent `sub` and `sup` elements from affecting the line height in | ||||||
|  |  * all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | sub, | ||||||
|  | sup { | ||||||
|  |   font-size: 75%; | ||||||
|  |   line-height: 0; | ||||||
|  |   position: relative; | ||||||
|  |   vertical-align: baseline; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | sub { | ||||||
|  |   bottom: -0.25em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | sup { | ||||||
|  |   top: -0.5em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Embedded content | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the border on images inside links in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | img { | ||||||
|  |   border-style: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Forms | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Change the font styles in all browsers. | ||||||
|  |  * 2. Remove the margin in Firefox and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | input, | ||||||
|  | optgroup, | ||||||
|  | select, | ||||||
|  | textarea { | ||||||
|  |   font-family: inherit; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 100%; | ||||||
|  |   /* 1 */ | ||||||
|  |   line-height: 1.15; | ||||||
|  |   /* 1 */ | ||||||
|  |   margin: 0; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Show the overflow in IE. | ||||||
|  |  * 1. Show the overflow in Edge. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | input { | ||||||
|  |   /* 1 */ | ||||||
|  |   overflow: visible; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inheritance of text transform in Edge, Firefox, and IE. | ||||||
|  |  * 1. Remove the inheritance of text transform in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | select { | ||||||
|  |   /* 1 */ | ||||||
|  |   text-transform: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the inability to style clickable types in iOS and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | [type="button"], | ||||||
|  | [type="reset"], | ||||||
|  | [type="submit"] { | ||||||
|  |   -webkit-appearance: button; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inner border and padding in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button::-moz-focus-inner, | ||||||
|  | [type="button"]::-moz-focus-inner, | ||||||
|  | [type="reset"]::-moz-focus-inner, | ||||||
|  | [type="submit"]::-moz-focus-inner { | ||||||
|  |   border-style: none; | ||||||
|  |   padding: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Restore the focus styles unset by the previous rule. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button:-moz-focusring, | ||||||
|  | [type="button"]:-moz-focusring, | ||||||
|  | [type="reset"]:-moz-focusring, | ||||||
|  | [type="submit"]:-moz-focusring { | ||||||
|  |   outline: 1px dotted ButtonText; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the padding in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | fieldset { | ||||||
|  |   padding: 0.35em 0.75em 0.625em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the text wrapping in Edge and IE. | ||||||
|  |  * 2. Correct the color inheritance from `fieldset` elements in IE. | ||||||
|  |  * 3. Remove the padding so developers are not caught out when they zero out | ||||||
|  |  *    `fieldset` elements in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | legend { | ||||||
|  |   box-sizing: border-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   color: inherit; | ||||||
|  |   /* 2 */ | ||||||
|  |   display: table; | ||||||
|  |   /* 1 */ | ||||||
|  |   max-width: 100%; | ||||||
|  |   /* 1 */ | ||||||
|  |   padding: 0; | ||||||
|  |   /* 3 */ | ||||||
|  |   white-space: normal; | ||||||
|  |   /* 1 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct vertical alignment in Chrome, Firefox, and Opera. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | progress { | ||||||
|  |   vertical-align: baseline; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the default vertical scrollbar in IE 10+. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | textarea { | ||||||
|  |   overflow: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Add the correct box sizing in IE 10. | ||||||
|  |  * 2. Remove the padding in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="checkbox"], | ||||||
|  | [type="radio"] { | ||||||
|  |   box-sizing: border-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   padding: 0; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the cursor style of increment and decrement buttons in Chrome. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="number"]::-webkit-inner-spin-button, | ||||||
|  | [type="number"]::-webkit-outer-spin-button { | ||||||
|  |   height: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the odd appearance in Chrome and Safari. | ||||||
|  |  * 2. Correct the outline style in Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="search"] { | ||||||
|  |   -webkit-appearance: textfield; | ||||||
|  |   /* 1 */ | ||||||
|  |   outline-offset: -2px; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inner padding in Chrome and Safari on macOS. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="search"]::-webkit-search-decoration { | ||||||
|  |   -webkit-appearance: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inability to style clickable types in iOS and Safari. | ||||||
|  |  * 2. Change font properties to `inherit` in Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | ::-webkit-file-upload-button { | ||||||
|  |   -webkit-appearance: button; | ||||||
|  |   /* 1 */ | ||||||
|  |   font: inherit; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Interactive | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /* | ||||||
|  |  * Add the correct display in Edge, IE 10+, and Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | details { | ||||||
|  |   display: block; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* | ||||||
|  |  * Add the correct display in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | summary { | ||||||
|  |   display: list-item; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Misc | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct display in IE 10+. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | template { | ||||||
|  |   display: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct display in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [hidden] { | ||||||
|  |   display: none; | ||||||
|  | } | ||||||
							
								
								
									
										28
									
								
								cli/hello-cli/public/css/page.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								cli/hello-cli/public/css/page.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-12 23:32:20 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-05 00:09:46 | ||||||
|  |  * @FilePath: \hello-cli\public\css\page.css | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |     background-color: #f4f5f7; | ||||||
|  |     padding: 0px; | ||||||
|  |     margin: 0px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* .content { | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: column; | ||||||
|  |     align-items: center; | ||||||
|  |     justify-content: center; | ||||||
|  |     background-color: #fff; | ||||||
|  |     width: 25rem; | ||||||
|  |     margin: 0px auto; | ||||||
|  |     border-radius: 5px; | ||||||
|  |     padding: 50px; | ||||||
|  | } */ | ||||||
							
								
								
									
										20
									
								
								cli/hello-cli/public/css/root.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								cli/hello-cli/public/css/root.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | :root { | ||||||
|  |     font-size: 1em; | ||||||
|  |     box-sizing: border-box; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | *, | ||||||
|  | *::before, | ||||||
|  | *::after { | ||||||
|  |     margin: 0; | ||||||
|  |     padding: 0; | ||||||
|  |     box-sizing: inherit; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |     font-family: Arial, Helvetica, sans-serif; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .pointer { | ||||||
|  |     cursor: pointer; | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								cli/hello-cli/public/favicon.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cli/hello-cli/public/favicon.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.2 KiB | 
							
								
								
									
										40
									
								
								cli/hello-cli/public/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								cli/hello-cli/public/index.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | |||||||
|  | <!-- | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-22 17:50:49 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-05 00:19:08 | ||||||
|  |  * @FilePath: \hello-cli\public\index.html | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  | --> | ||||||
|  | <!DOCTYPE html> | ||||||
|  | <html lang="zh-cn"> | ||||||
|  |     <head> | ||||||
|  |         <meta charset="utf-8" /> | ||||||
|  |         <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||||
|  |         <meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||||||
|  |         <link rel="icon" href="<%= BASE_URL %>favicon.ico" /> | ||||||
|  |         <title><%= htmlWebpackPlugin.options.title %></title> | ||||||
|  |         <!-- <link rel="stylesheet" href="<%= BASE_URL %>css/root.css" /> --> | ||||||
|  |         <!-- <link rel="stylesheet" href="<%= BASE_URL %>css/normalize.css" /> --> | ||||||
|  |         <!-- <link rel="stylesheet" href="<%= BASE_URL %>css/page.css" /> --> | ||||||
|  |     </head> | ||||||
|  |     <style> | ||||||
|  |         .v-cloak { | ||||||
|  |             display: none; | ||||||
|  |         } | ||||||
|  |     </style> | ||||||
|  |  | ||||||
|  |     <body> | ||||||
|  |         <noscript> | ||||||
|  |             <strong> | ||||||
|  |                 We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't | ||||||
|  |                 work properly without JavaScript enabled. Please enable it to | ||||||
|  |                 continue. | ||||||
|  |             </strong> | ||||||
|  |         </noscript> | ||||||
|  |         <div id="app" v-cloak></div> | ||||||
|  |         <!-- built files will be auto injected --> | ||||||
|  |     </body> | ||||||
|  | </html> | ||||||
							
								
								
									
										84
									
								
								cli/hello-cli/src/App.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								cli/hello-cli/src/App.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,84 @@ | |||||||
|  | <!-- | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-22 17:50:49 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-14 10:21:42 | ||||||
|  |  * @FilePath: \hello-cli\src\App.vue | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  | --> | ||||||
|  | <template> | ||||||
|  |   <div class="content"> | ||||||
|  |     <div class="banner"> | ||||||
|  |       <AppBanner>标题</AppBanner> | ||||||
|  |     </div> | ||||||
|  |     <div class="container"> | ||||||
|  |       <div class="nav"></div> | ||||||
|  |       <div class="view"></div> | ||||||
|  |     </div> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  |  | ||||||
|  | <script> | ||||||
|  | import AppBanner from "./components/AppBanner.vue"; | ||||||
|  | // import { reactive } from "vue"; | ||||||
|  |  | ||||||
|  | export default { | ||||||
|  |   name: "App", | ||||||
|  |   components: { AppBanner }, | ||||||
|  |   methods: {}, | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | // const data = reactive({ | ||||||
|  | //   title: "标题", | ||||||
|  | // }); | ||||||
|  |  | ||||||
|  | // return { data }; | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <style scoped> | ||||||
|  | @import url("assets/css/colors.css"); | ||||||
|  |  | ||||||
|  | #app { | ||||||
|  |   background-color: #f4f5f7; | ||||||
|  | } | ||||||
|  | .content { | ||||||
|  |   background-color: #fff; | ||||||
|  |   height: 100vh; | ||||||
|  |   width: 100vw; | ||||||
|  |   min-width: 1280px; | ||||||
|  |   padding: 0px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .banner { | ||||||
|  |   height: 50px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .container { | ||||||
|  |   display: flex; | ||||||
|  |   /* border: 1px solid red; */ | ||||||
|  |   height: calc(100% - 50px); | ||||||
|  |   padding: 0px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .nav { | ||||||
|  |   flex: 0 0 200px; | ||||||
|  |   background-color: bisque; | ||||||
|  |   padding: 0px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .view { | ||||||
|  |   flex-grow: 1; | ||||||
|  |   flex-shrink: 1; | ||||||
|  |   overflow-y: auto; | ||||||
|  |   overflow-x: auto; | ||||||
|  |   background-color: antiquewhite; | ||||||
|  |   /* min-width: 800px; */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hr { | ||||||
|  |   width: 100%; | ||||||
|  |   border: 1px solid 1px; | ||||||
|  | } | ||||||
|  | </style> | ||||||
							
								
								
									
										15
									
								
								cli/hello-cli/src/assets/css/app.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								cli/hello-cli/src/assets/css/app.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-12 23:32:20 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-11-29 13:21:49 | ||||||
|  |  * @FilePath: \hello-cli\src\assets\css\app.css | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  | @import url("colors.css"); | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |     background-color: #f4f5f7ff; | ||||||
|  | } | ||||||
							
								
								
									
										24
									
								
								cli/hello-cli/src/assets/css/colors.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								cli/hello-cli/src/assets/css/colors.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-12 23:22:59 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-05 01:07:18 | ||||||
|  |  * @FilePath: \hello-cli\src\assets\css\colors.css | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |     --backupground-color: #f4f5f7ff; | ||||||
|  |     --btn-color-blue: #307dbe; | ||||||
|  |     --btn-color-yellow: #f7b24d; | ||||||
|  |     --btn-color-green: #5bad60; | ||||||
|  |     --btn-color-red: #e56651; | ||||||
|  |     --btn-font-color: #fff; | ||||||
|  |  | ||||||
|  |     --input-focus-color: #e56651; | ||||||
|  |  | ||||||
|  |     /* 标题栏背景色 */ | ||||||
|  |     --banner-background-color: #1d74b2; | ||||||
|  | } | ||||||
							
								
								
									
										17
									
								
								cli/hello-cli/src/assets/css/global.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								cli/hello-cli/src/assets/css/global.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-12-05 00:07:49 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-05 00:48:04 | ||||||
|  |  * @FilePath: \hello-cli\src\assets\css\global.css | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  | html, | ||||||
|  | body, | ||||||
|  | #app { | ||||||
|  |     /* padding: 0px; */ | ||||||
|  |     margin: 0px; | ||||||
|  |     overflow: hidden; | ||||||
|  | } | ||||||
							
								
								
									
										57
									
								
								cli/hello-cli/src/assets/css/kane.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								cli/hello-cli/src/assets/css/kane.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-10-12 08:49:14 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-11-12 23:34:06 | ||||||
|  |  * @FilePath: \car_dealer\css\kane.css | ||||||
|  |  * @Description: vue学习用的样式表! | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |     --backupground-color: #f4f5f7ff; | ||||||
|  |     --btn-color-blue: #307dbe; | ||||||
|  |     --btn-color-yellow: #f7b24d; | ||||||
|  |     --btn-color-green: #5bad60; | ||||||
|  |     --btn-color-red: #e56651; | ||||||
|  |     --btn-font-color: #fff; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #root, | ||||||
|  | #app { | ||||||
|  |     padding: 50px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .content { | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: column; | ||||||
|  |     align-items: center; | ||||||
|  |     justify-content: center; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hr { | ||||||
|  |     background-color: steelblue; | ||||||
|  |     border: none; | ||||||
|  |     height: 3px; | ||||||
|  |     /* width: 100% */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* .test { | ||||||
|  |     width                   : 110vw; | ||||||
|  |     height                  : 100vh; | ||||||
|  |     border                  : 1px solid red; | ||||||
|  |     overflow                : auto; | ||||||
|  | } */ | ||||||
|  |  | ||||||
|  | input[type="text"] { | ||||||
|  |     border: none; | ||||||
|  |     outline: solid 2px #e56651; | ||||||
|  |     /* font-size: 2rem; */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | label { | ||||||
|  |     display: inline-block; | ||||||
|  |     font-size: 2rem; | ||||||
|  |     margin-top: 15px; | ||||||
|  | } | ||||||
							
								
								
									
										379
									
								
								cli/hello-cli/src/assets/css/normalize.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										379
									
								
								cli/hello-cli/src/assets/css/normalize.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,379 @@ | |||||||
|  | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | ||||||
|  |  | ||||||
|  | /* Document | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the line height in all browsers. | ||||||
|  |  * 2. Prevent adjustments of font size after orientation changes in iOS. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | html { | ||||||
|  |   line-height: 1.15; | ||||||
|  |   /* 1 */ | ||||||
|  |   -webkit-text-size-adjust: 100%; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Sections | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the margin in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |   margin: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Render the `main` element consistently in IE. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | main { | ||||||
|  |   display: block; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the font size and margin on `h1` elements within `section` and | ||||||
|  |  * `article` contexts in Chrome, Firefox, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | h1 { | ||||||
|  |   font-size: 2em; | ||||||
|  |   margin: 0.67em 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Grouping content | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Add the correct box sizing in Firefox. | ||||||
|  |  * 2. Show the overflow in Edge and IE. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | hr { | ||||||
|  |   box-sizing: content-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   height: 0; | ||||||
|  |   /* 1 */ | ||||||
|  |   overflow: visible; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inheritance and scaling of font size in all browsers. | ||||||
|  |  * 2. Correct the odd `em` font sizing in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | pre { | ||||||
|  |   font-family: monospace, monospace; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 1em; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Text-level semantics | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the gray background on active links in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | a { | ||||||
|  |   background-color: transparent; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Remove the bottom border in Chrome 57- | ||||||
|  |  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | abbr[title] { | ||||||
|  |   border-bottom: none; | ||||||
|  |   /* 1 */ | ||||||
|  |   text-decoration: underline; | ||||||
|  |   /* 2 */ | ||||||
|  |   text-decoration: underline dotted; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct font weight in Chrome, Edge, and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | b, | ||||||
|  | strong { | ||||||
|  |   font-weight: bolder; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inheritance and scaling of font size in all browsers. | ||||||
|  |  * 2. Correct the odd `em` font sizing in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | code, | ||||||
|  | kbd, | ||||||
|  | samp { | ||||||
|  |   font-family: monospace, monospace; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 1em; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct font size in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | small { | ||||||
|  |   font-size: 80%; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Prevent `sub` and `sup` elements from affecting the line height in | ||||||
|  |  * all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | sub, | ||||||
|  | sup { | ||||||
|  |   font-size: 75%; | ||||||
|  |   line-height: 0; | ||||||
|  |   position: relative; | ||||||
|  |   vertical-align: baseline; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | sub { | ||||||
|  |   bottom: -0.25em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | sup { | ||||||
|  |   top: -0.5em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Embedded content | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the border on images inside links in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | img { | ||||||
|  |   border-style: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Forms | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Change the font styles in all browsers. | ||||||
|  |  * 2. Remove the margin in Firefox and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | input, | ||||||
|  | optgroup, | ||||||
|  | select, | ||||||
|  | textarea { | ||||||
|  |   font-family: inherit; | ||||||
|  |   /* 1 */ | ||||||
|  |   font-size: 100%; | ||||||
|  |   /* 1 */ | ||||||
|  |   line-height: 1.15; | ||||||
|  |   /* 1 */ | ||||||
|  |   margin: 0; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Show the overflow in IE. | ||||||
|  |  * 1. Show the overflow in Edge. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | input { | ||||||
|  |   /* 1 */ | ||||||
|  |   overflow: visible; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inheritance of text transform in Edge, Firefox, and IE. | ||||||
|  |  * 1. Remove the inheritance of text transform in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | select { | ||||||
|  |   /* 1 */ | ||||||
|  |   text-transform: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the inability to style clickable types in iOS and Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button, | ||||||
|  | [type="button"], | ||||||
|  | [type="reset"], | ||||||
|  | [type="submit"] { | ||||||
|  |   -webkit-appearance: button; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inner border and padding in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button::-moz-focus-inner, | ||||||
|  | [type="button"]::-moz-focus-inner, | ||||||
|  | [type="reset"]::-moz-focus-inner, | ||||||
|  | [type="submit"]::-moz-focus-inner { | ||||||
|  |   border-style: none; | ||||||
|  |   padding: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Restore the focus styles unset by the previous rule. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | button:-moz-focusring, | ||||||
|  | [type="button"]:-moz-focusring, | ||||||
|  | [type="reset"]:-moz-focusring, | ||||||
|  | [type="submit"]:-moz-focusring { | ||||||
|  |   outline: 1px dotted ButtonText; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the padding in Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | fieldset { | ||||||
|  |   padding: 0.35em 0.75em 0.625em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the text wrapping in Edge and IE. | ||||||
|  |  * 2. Correct the color inheritance from `fieldset` elements in IE. | ||||||
|  |  * 3. Remove the padding so developers are not caught out when they zero out | ||||||
|  |  *    `fieldset` elements in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | legend { | ||||||
|  |   box-sizing: border-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   color: inherit; | ||||||
|  |   /* 2 */ | ||||||
|  |   display: table; | ||||||
|  |   /* 1 */ | ||||||
|  |   max-width: 100%; | ||||||
|  |   /* 1 */ | ||||||
|  |   padding: 0; | ||||||
|  |   /* 3 */ | ||||||
|  |   white-space: normal; | ||||||
|  |   /* 1 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct vertical alignment in Chrome, Firefox, and Opera. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | progress { | ||||||
|  |   vertical-align: baseline; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the default vertical scrollbar in IE 10+. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | textarea { | ||||||
|  |   overflow: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Add the correct box sizing in IE 10. | ||||||
|  |  * 2. Remove the padding in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="checkbox"], | ||||||
|  | [type="radio"] { | ||||||
|  |   box-sizing: border-box; | ||||||
|  |   /* 1 */ | ||||||
|  |   padding: 0; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Correct the cursor style of increment and decrement buttons in Chrome. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="number"]::-webkit-inner-spin-button, | ||||||
|  | [type="number"]::-webkit-outer-spin-button { | ||||||
|  |   height: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the odd appearance in Chrome and Safari. | ||||||
|  |  * 2. Correct the outline style in Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="search"] { | ||||||
|  |   -webkit-appearance: textfield; | ||||||
|  |   /* 1 */ | ||||||
|  |   outline-offset: -2px; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Remove the inner padding in Chrome and Safari on macOS. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [type="search"]::-webkit-search-decoration { | ||||||
|  |   -webkit-appearance: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 1. Correct the inability to style clickable types in iOS and Safari. | ||||||
|  |  * 2. Change font properties to `inherit` in Safari. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | ::-webkit-file-upload-button { | ||||||
|  |   -webkit-appearance: button; | ||||||
|  |   /* 1 */ | ||||||
|  |   font: inherit; | ||||||
|  |   /* 2 */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Interactive | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /* | ||||||
|  |  * Add the correct display in Edge, IE 10+, and Firefox. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | details { | ||||||
|  |   display: block; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* | ||||||
|  |  * Add the correct display in all browsers. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | summary { | ||||||
|  |   display: list-item; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /* Misc | ||||||
|  |    ========================================================================== */ | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct display in IE 10+. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | template { | ||||||
|  |   display: none; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Add the correct display in IE 10. | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | [hidden] { | ||||||
|  |   display: none; | ||||||
|  | } | ||||||
							
								
								
									
										20
									
								
								cli/hello-cli/src/assets/css/root.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								cli/hello-cli/src/assets/css/root.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | :root { | ||||||
|  |     font-size: 1em; | ||||||
|  |     box-sizing: border-box; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | *, | ||||||
|  | *::before, | ||||||
|  | *::after { | ||||||
|  |     margin: 0; | ||||||
|  |     padding: 0; | ||||||
|  |     box-sizing: inherit; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | body { | ||||||
|  |     font-family: Arial, Helvetica, sans-serif; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .pointer { | ||||||
|  |     cursor: pointer; | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								cli/hello-cli/src/assets/logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cli/hello-cli/src/assets/logo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.7 KiB | 
							
								
								
									
										62
									
								
								cli/hello-cli/src/components/AppBanner.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								cli/hello-cli/src/components/AppBanner.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,62 @@ | |||||||
|  | <!-- | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-12-02 22:44:12 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-13 16:54:33 | ||||||
|  |  * @FilePath: \hello-cli\src\components\AppBanner.vue | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  | --> | ||||||
|  | <template> | ||||||
|  |   <div class="app_banner"> | ||||||
|  |     <span class="company_name">CPIC</span> | ||||||
|  |     <div class="version_div"> | ||||||
|  |       <div>测试版</div> | ||||||
|  |       <div>3.6.7 x64 Build202208301257</div> | ||||||
|  |     </div> | ||||||
|  |     <div class="buttons_div"></div> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  |  | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  |   name: "AppBanner", | ||||||
|  |   data() { | ||||||
|  |     return {}; | ||||||
|  |   }, | ||||||
|  |   // created() { | ||||||
|  |   //   console.log("banner请求数据!"); | ||||||
|  |   // }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log("banner请求数据!"); | ||||||
|  |   }, | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  | <style scoped> | ||||||
|  | .app_banner { | ||||||
|  |   background-color: var(--banner-background-color); | ||||||
|  |   color: #fff; | ||||||
|  |   display: flex; | ||||||
|  |   justify-content: left; | ||||||
|  |   align-items: center; | ||||||
|  |   padding: 0px 15px; | ||||||
|  |   height: 100%; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .app_banner > * + * { | ||||||
|  |   margin-left: 10px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .company_name { | ||||||
|  |   font-size: 2rem; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .version_div { | ||||||
|  |   font-size: 0.5rem; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .buttons_div { | ||||||
|  |   margin-left: auto; | ||||||
|  | } | ||||||
|  | </style> | ||||||
							
								
								
									
										25
									
								
								cli/hello-cli/src/components/AppNav.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								cli/hello-cli/src/components/AppNav.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | |||||||
|  | <!-- | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-12-02 22:50:54 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-02 22:56:40 | ||||||
|  |  * @FilePath: \hello-cli\src\components\AppNav.vue | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  | --> | ||||||
|  | <template> | ||||||
|  |   <div></div> | ||||||
|  | </template> | ||||||
|  |  | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  |   name: "AppNav", | ||||||
|  |   data() { | ||||||
|  |     return {}; | ||||||
|  |   }, | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <style> | ||||||
|  | </style> | ||||||
							
								
								
									
										46
									
								
								cli/hello-cli/src/main.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								cli/hello-cli/src/main.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-11-22 17:50:49 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-05 01:05:43 | ||||||
|  |  * @FilePath: \hello-cli\src\main.js | ||||||
|  |  * @Description:  | ||||||
|  |  *  | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
|  |  */ | ||||||
|  | import { createApp } from 'vue'; | ||||||
|  | import { createStore } from "vuex"; | ||||||
|  | import App from './App.vue'; | ||||||
|  | import ElementPlus from "element-plus"; | ||||||
|  | import "./assets/css/root.css"; | ||||||
|  | import "./assets/css/normalize.css"; | ||||||
|  | import "./assets/css/global.css"; | ||||||
|  | import "./assets/css/colors.css"; | ||||||
|  | import 'element-plus/dist/index.css'; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | const app = createApp(App); | ||||||
|  | const vuex = createStore({ | ||||||
|  |     state() { | ||||||
|  |         return { | ||||||
|  |             count: 0, | ||||||
|  |         }; | ||||||
|  |     }, | ||||||
|  |     mutations: { | ||||||
|  |         increment(state) { | ||||||
|  |             state.count++; | ||||||
|  |         }, | ||||||
|  |         clearCount(state) { | ||||||
|  |             state.count = 0; | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     getters: { | ||||||
|  |         countText(store) { | ||||||
|  |             return store.count + "次"; | ||||||
|  |         }, | ||||||
|  |     }, | ||||||
|  | }); | ||||||
|  | app.use(vuex); | ||||||
|  | app.use(ElementPlus); | ||||||
|  | app.mount('#app'); | ||||||
|  |  | ||||||
							
								
								
									
										18
									
								
								cli/hello-cli/src/router/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								cli/hello-cli/src/router/index.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | /* | ||||||
|  |  * @Author: Kane | ||||||
|  |  * @Date: 2022-12-02 16:09:08 | ||||||
|  |  * @LastEditors: Kane | ||||||
|  |  * @LastEditTime: 2022-12-02 16:21:00 | ||||||
|  |  * @FilePath: \hello-cli\src\router\index.js | ||||||
|  |  * @Description: 设置路由 | ||||||
|  |  * | ||||||
|  |  * Copyright (c) ${2022} by Kane, All Rights Reserved. | ||||||
|  |  */ | ||||||
|  | import { createRouter, createWebHashHistory } from "vue-router"; | ||||||
|  |  | ||||||
|  | const routes = [{ path: "/", component: undefined }]; | ||||||
|  |  | ||||||
|  | export default createRouter({ | ||||||
|  |     history: createWebHashHistory(), | ||||||
|  |     routes: routes, | ||||||
|  | }); | ||||||
							
								
								
									
										4
									
								
								cli/hello-cli/vue.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								cli/hello-cli/vue.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  | const { defineConfig } = require('@vue/cli-service') | ||||||
|  | module.exports = defineConfig({ | ||||||
|  |   transpileDependencies: true | ||||||
|  | }) | ||||||
| @@ -2,7 +2,7 @@ | |||||||
|  * @Author: Kane |  * @Author: Kane | ||||||
|  * @Date: 2022-11-22 17:50:49 |  * @Date: 2022-11-22 17:50:49 | ||||||
|  * @LastEditors: Kane |  * @LastEditors: Kane | ||||||
|  * @LastEditTime: 2022-12-05 00:21:20 |  * @LastEditTime: 2022-12-05 00:52:17 | ||||||
|  * @FilePath: \hello-cli\src\App.vue |  * @FilePath: \hello-cli\src\App.vue | ||||||
|  * @Description:  |  * @Description:  | ||||||
|  *  |  *  | ||||||
| @@ -11,7 +11,7 @@ | |||||||
| <template> | <template> | ||||||
|   <div class="content"> |   <div class="content"> | ||||||
|     <div class="banner"> |     <div class="banner"> | ||||||
|       <span>标题</span> |       <AppBanner>标题</AppBanner> | ||||||
|     </div> |     </div> | ||||||
|     <div class="container"> |     <div class="container"> | ||||||
|       <div class="nav"></div> |       <div class="nav"></div> | ||||||
| @@ -21,9 +21,11 @@ | |||||||
| </template> | </template> | ||||||
|  |  | ||||||
| <script> | <script> | ||||||
|  | import AppBanner from "./components/AppBanner.vue"; | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|   name: "App", |   name: "App", | ||||||
|   components: {}, |   components: { AppBanner }, | ||||||
|   methods: {}, |   methods: {}, | ||||||
| }; | }; | ||||||
| </script> | </script> | ||||||
| @@ -44,7 +46,6 @@ export default { | |||||||
|  |  | ||||||
| .banner { | .banner { | ||||||
|   height: 50px; |   height: 50px; | ||||||
|   padding: 0px; |  | ||||||
| } | } | ||||||
|  |  | ||||||
| .container { | .container { | ||||||
|   | |||||||
| @@ -2,8 +2,8 @@ | |||||||
|  * @Author: Kane |  * @Author: Kane | ||||||
|  * @Date: 2022-11-12 23:22:59 |  * @Date: 2022-11-12 23:22:59 | ||||||
|  * @LastEditors: Kane |  * @LastEditors: Kane | ||||||
|  * @LastEditTime: 2022-11-16 15:26:04 |  * @LastEditTime: 2022-12-05 01:07:18 | ||||||
|  * @FilePath: \car_dealer\css\colors.css |  * @FilePath: \hello-cli\src\assets\css\colors.css | ||||||
|  * @Description:  |  * @Description:  | ||||||
|  *  |  *  | ||||||
|  * Copyright (c) ${2022} by Kane, All Rights Reserved.  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
| @@ -18,4 +18,7 @@ html { | |||||||
|     --btn-font-color: #fff; |     --btn-font-color: #fff; | ||||||
|  |  | ||||||
|     --input-focus-color: #e56651; |     --input-focus-color: #e56651; | ||||||
|  |  | ||||||
|  |     /* 标题栏背景色 */ | ||||||
|  |     --banner-background-color: #1d74b2; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,8 +2,8 @@ | |||||||
|  * @Author: Kane |  * @Author: Kane | ||||||
|  * @Date: 2022-12-05 00:07:49 |  * @Date: 2022-12-05 00:07:49 | ||||||
|  * @LastEditors: Kane |  * @LastEditors: Kane | ||||||
|  * @LastEditTime: 2022-12-05 00:16:31 |  * @LastEditTime: 2022-12-05 00:48:04 | ||||||
|  * @FilePath: \hello-cli\src\css\global.css |  * @FilePath: \hello-cli\src\assets\css\global.css | ||||||
|  * @Description:  |  * @Description:  | ||||||
|  *  |  *  | ||||||
|  * Copyright (c) ${2022} by Kane, All Rights Reserved.  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
| @@ -11,7 +11,7 @@ | |||||||
| html, | html, | ||||||
| body, | body, | ||||||
| #app { | #app { | ||||||
|     padding: 0px; |     /* padding: 0px; */ | ||||||
|     margin: 0px; |     margin: 0px; | ||||||
|     overflow: hidden; |     overflow: hidden; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,14 +2,21 @@ | |||||||
|  * @Author: Kane |  * @Author: Kane | ||||||
|  * @Date: 2022-12-02 22:44:12 |  * @Date: 2022-12-02 22:44:12 | ||||||
|  * @LastEditors: Kane |  * @LastEditors: Kane | ||||||
|  * @LastEditTime: 2022-12-02 22:47:10 |  * @LastEditTime: 2022-12-13 16:54:33 | ||||||
|  * @FilePath: \hello-cli\src\components\banner.vue |  * @FilePath: \hello-cli\src\components\AppBanner.vue | ||||||
|  * @Description:  |  * @Description:  | ||||||
|  *  |  *  | ||||||
|  * Copyright (c) ${2022} by Kane, All Rights Reserved.  |  * Copyright (c) ${2022} by Kane, All Rights Reserved.  | ||||||
| --> | --> | ||||||
| <template> | <template> | ||||||
|   <h1><slot>AppBanner</slot></h1> |   <div class="app_banner"> | ||||||
|  |     <span class="company_name">CPIC</span> | ||||||
|  |     <div class="version_div"> | ||||||
|  |       <div>测试版</div> | ||||||
|  |       <div>3.6.7 x64 Build202208301257</div> | ||||||
|  |     </div> | ||||||
|  |     <div class="buttons_div"></div> | ||||||
|  |   </div> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
| <script> | <script> | ||||||
| @@ -18,8 +25,38 @@ export default { | |||||||
|   data() { |   data() { | ||||||
|     return {}; |     return {}; | ||||||
|   }, |   }, | ||||||
|  |   // created() { | ||||||
|  |   //   console.log("banner请求数据!"); | ||||||
|  |   // }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log("banner请求数据!"); | ||||||
|  |   }, | ||||||
| }; | }; | ||||||
| </script> | </script> | ||||||
|  | <style scoped> | ||||||
|  | .app_banner { | ||||||
|  |   background-color: var(--banner-background-color); | ||||||
|  |   color: #fff; | ||||||
|  |   display: flex; | ||||||
|  |   justify-content: left; | ||||||
|  |   align-items: center; | ||||||
|  |   padding: 0px 15px; | ||||||
|  |   height: 100%; | ||||||
|  | } | ||||||
|  |  | ||||||
| <style> | .app_banner > * + * { | ||||||
| </style> |   margin-left: 10px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .company_name { | ||||||
|  |   font-size: 2rem; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .version_div { | ||||||
|  |   font-size: 0.5rem; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .buttons_div { | ||||||
|  |   margin-left: auto; | ||||||
|  | } | ||||||
|  | </style> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  * @Author: Kane |  * @Author: Kane | ||||||
|  * @Date: 2022-11-22 17:50:49 |  * @Date: 2022-11-22 17:50:49 | ||||||
|  * @LastEditors: Kane |  * @LastEditors: Kane | ||||||
|  * @LastEditTime: 2022-12-05 00:19:58 |  * @LastEditTime: 2022-12-05 01:05:43 | ||||||
|  * @FilePath: \hello-cli\src\main.js |  * @FilePath: \hello-cli\src\main.js | ||||||
|  * @Description:  |  * @Description:  | ||||||
|  *  |  *  | ||||||
| @@ -15,6 +15,7 @@ import ElementPlus from "element-plus"; | |||||||
| import "./assets/css/root.css"; | import "./assets/css/root.css"; | ||||||
| import "./assets/css/normalize.css"; | import "./assets/css/normalize.css"; | ||||||
| import "./assets/css/global.css"; | import "./assets/css/global.css"; | ||||||
|  | import "./assets/css/colors.css"; | ||||||
| import 'element-plus/dist/index.css'; | import 'element-plus/dist/index.css'; | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user