desktop_task_schedule/code/web/task_schedule/src/App.vue

66 lines
1.2 KiB
Vue
Raw Normal View History

2023-02-15 05:07:17 +00:00
<!--
* @Author: Kane
* @Date: 2023-02-15 09:25:52
* @LastEditors: Kane
2023-02-28 11:58:03 +00:00
* @LastEditTime: 2023-02-28 19:05:15
2023-02-28 10:48:14 +00:00
* @FilePath: /deskop_task_schedule/code/web/task_schedule/src/App.vue
2023-02-15 05:07:17 +00:00
* @Description:
2023-02-28 11:58:03 +00:00
* 应用的框架
* 1配置el-config-provider配置为中文
2023-02-15 05:07:17 +00:00
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<el-config-provider :locale="this.locale">
2023-02-27 17:16:49 +00:00
<router-view></router-view>
2023-02-15 05:07:17 +00:00
</el-config-provider>
</template>
<script>
import zhCn from "element-plus/lib/locale/lang/zh-cn"; //element-plus语言组件
export default {
name: "App",
2023-02-28 10:48:14 +00:00
components: {},
setup()
2023-02-15 05:07:17 +00:00
{
const locale = zhCn;
2023-02-28 10:48:14 +00:00
return { locale, };
2023-02-15 05:07:17 +00:00
},
};
</script>
<style scoped>
.app_wrapper {
box-sizing: border-box;
width: 100%;
height: calc(100vh - 60px);
/* border: 1px solid brown; */
/* 布局 */
display: flex;
}
.counter_wrapper {
2023-02-15 10:23:32 +00:00
width: 500px;
2023-02-27 16:17:04 +00:00
margin-top: 1cm;
2023-02-15 05:07:17 +00:00
margin-left: auto;
2023-02-27 16:17:04 +00:00
margin-right: 1cm;
2023-02-17 10:34:10 +00:00
border-radius: 5px;
background-color: rgb(250 250 250 / 75%);
2023-02-15 05:07:17 +00:00
}
.counter_wrapper:hover {
box-shadow: 0px 0px 20px 10px rgb(14 18 22 / 10%);
}
.counter_wrapper span {
2023-02-15 10:23:32 +00:00
display: block;
2023-02-15 05:07:17 +00:00
font-size: 150px;
2023-02-15 10:23:32 +00:00
text-align: right;
2023-02-15 05:07:17 +00:00
}
</style>