保存进度!

This commit is contained in:
Kane 2022-12-05 00:23:26 +08:00
parent ca8b49448a
commit 19949865ab
5 changed files with 66 additions and 17 deletions

View File

@ -2,21 +2,17 @@
* @Author: Kane * @Author: Kane
* @Date: 2022-11-12 23:32:20 * @Date: 2022-11-12 23:32:20
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2022-11-29 13:15:19 * @LastEditTime: 2022-12-05 00:09:46
* @FilePath: \hello-cli\src\assets\css\app.css * @FilePath: \hello-cli\public\css\page.css
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
*/ */
@import url("colors.css");
body { body {
background-color: #f4f5f7; background-color: #f4f5f7;
} padding: 0px;
margin: 0px;
#root,
#app {
padding: 50px;
} }
/* .content { /* .content {

View File

@ -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-11-30 15:08:26 * @LastEditTime: 2022-12-05 00:19:08
* @FilePath: \hello-cli\public\index.html * @FilePath: \hello-cli\public\index.html
* @Description: * @Description:
* *
@ -16,9 +16,9 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" /> <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title><%= htmlWebpackPlugin.options.title %></title> <title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="<%= BASE_URL %>css/root.css" /> <!-- <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/normalize.css" /> -->
<link rel="stylesheet" href="<%= BASE_URL %>css/page.css" /> <!-- <link rel="stylesheet" href="<%= BASE_URL %>css/page.css" /> -->
</head> </head>
<style> <style>
.v-cloak { .v-cloak {
@ -38,4 +38,3 @@
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
</html> </html>

View File

@ -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-02 16:59:09 * @LastEditTime: 2022-12-05 00:21:20
* @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">
<h1>学习路由</h1> <span>标题</span>
</div> </div>
<div class="container"> <div class="container">
<div class="nav"></div> <div class="nav"></div>
@ -28,12 +28,45 @@ export default {
}; };
</script> </script>
<style> <style scoped>
@import url("assets/css/colors.css");
#app { #app {
background-color: #f4f5f7; background-color: #f4f5f7;
} }
.content { .content {
background-color: #fff; background-color: #fff;
height: 100vh;
width: 100vw;
min-width: 1280px;
padding: 0px;
}
.banner {
height: 50px;
padding: 0px;
}
.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 { hr {

View File

@ -0,0 +1,17 @@
/*
* @Author: Kane
* @Date: 2022-12-05 00:07:49
* @LastEditors: Kane
* @LastEditTime: 2022-12-05 00:16:31
* @FilePath: \hello-cli\src\css\global.css
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
html,
body,
#app {
padding: 0px;
margin: 0px;
overflow: hidden;
}

View File

@ -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-11-29 16:14:35 * @LastEditTime: 2022-12-05 00:19:58
* @FilePath: \hello-cli\src\main.js * @FilePath: \hello-cli\src\main.js
* @Description: * @Description:
* *
@ -12,8 +12,12 @@ import { createApp } from 'vue';
import { createStore } from "vuex"; import { createStore } from "vuex";
import App from './App.vue'; import App from './App.vue';
import ElementPlus from "element-plus"; import ElementPlus from "element-plus";
import "./assets/css/root.css";
import "./assets/css/normalize.css";
import "./assets/css/global.css";
import 'element-plus/dist/index.css'; import 'element-plus/dist/index.css';
const app = createApp(App); const app = createApp(App);
const vuex = createStore({ const vuex = createStore({
state() { state() {