Compare commits
7 Commits
main
...
79db808657
Author | SHA1 | Date | |
---|---|---|---|
79db808657 | |||
6c9ee92750 | |||
907997b145 | |||
a561bc0eaa | |||
253fc25489 | |||
9859570704 | |||
676c1bbb7d |
14
README.md
14
README.md
@@ -1,3 +1,13 @@
|
|||||||
# desktop_task_schedule
|
<h1 style="text-align:center;font-size:4rem;" title>桌面任务进度展示</h1>
|
||||||
|
|
||||||
桌面任务进度展现。
|
|
||||||
|
|
||||||
|
用于在员工电脑桌面展示业务进度。
|
||||||
|
|
||||||
|
# 基本架构
|
||||||
|
|
||||||
|
初步架构设计如下:
|
||||||
|
|
||||||
|
1. 员工电脑使用 Lively Wallpaper,将壁纸设置为一个web页面。
|
||||||
|
2. 前端使用vite + vue3;
|
||||||
|
3. 后端使用 Java + springMVC;
|
@@ -9,8 +9,12 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@element-plus/icons-vue": "^2.0.10",
|
||||||
"element-plus": "^2.2.30",
|
"element-plus": "^2.2.30",
|
||||||
"vue": "^3.2.45"
|
"moment": "^2.29.4",
|
||||||
|
"vue": "^3.2.45",
|
||||||
|
"vue-router": "^4.1.6",
|
||||||
|
"vuex": "^4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-02-15 09:25:52
|
* @Date: 2023-02-15 09:25:52
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-02-15 14:40:33
|
* @LastEditTime: 2023-02-19 13:58:23
|
||||||
* @FilePath: /task_schedule/src/App.vue
|
* @FilePath: /task_schedule/src/App.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@@ -49,7 +49,7 @@ export default {
|
|||||||
setInterval(() =>
|
setInterval(() =>
|
||||||
{
|
{
|
||||||
location.reload();
|
location.reload();
|
||||||
}, 60000);
|
}, 5000);
|
||||||
|
|
||||||
return { locale, ui, onCount };
|
return { locale, ui, onCount };
|
||||||
},
|
},
|
||||||
@@ -69,8 +69,12 @@ export default {
|
|||||||
|
|
||||||
.counter_wrapper {
|
.counter_wrapper {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
margin-top: 1cm;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: 20px;
|
margin-right: 1cm;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: rgb(250 250 250 / 75%);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter_wrapper:hover {
|
.counter_wrapper:hover {
|
||||||
|
BIN
code/web/task_schedule/src/assets/img/bg/bg_01.jpg
Normal file
BIN
code/web/task_schedule/src/assets/img/bg/bg_01.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 MiB |
@@ -1,11 +1,19 @@
|
|||||||
html {
|
html {
|
||||||
background-color: #8796a6;
|
/* background-color: #8796a6; */
|
||||||
|
background-image: url("./assets/img/bg/bg_01.jpg");
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-size: contain;
|
||||||
|
/* background-position: center; */
|
||||||
|
/* background-repeat: no-repeat; */
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #8796a6;
|
/* background-color: #8796a6; */
|
||||||
width: calc(100vw - 20px);
|
width: 100vw;
|
||||||
height: calc(100vh - 60px);
|
height: 100vh;
|
||||||
/* border: 1px solid red; */
|
/* border: 1px solid red; */
|
||||||
|
/* overflow: hidden; */
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user