保存进度!
This commit is contained in:
parent
19949865ab
commit
0317c4d607
@ -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-05 01:05:42
|
||||||
* @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>
|
||||||
@ -20,6 +27,30 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</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 > * + * {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company_name {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.version_div {
|
||||||
|
font-size: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons_div {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
</style>
|
</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';
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user