diff --git a/src/components.d.ts b/src/components.d.ts index d1690b6..51b53dc 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -12,9 +12,11 @@ declare module 'vue' { HiCounter: typeof import('./components/HiCounter.vue')['default'] HomeConstruction: typeof import('./components/home/construction.vue')['default'] HomeHomeNav: typeof import('./components/home/homeNav.vue')['default'] + HomeList: typeof import('./components/home/list.vue')['default'] HomeOverview: typeof import('./components/home/overview.vue')['default'] HomeProgress: typeof import('./components/home/progress.vue')['default'] HomeProjectList: typeof import('./components/home/projectList.vue')['default'] + HomeProjectList_list: typeof import('./components/home/projectList_list.vue')['default'] HomeStatus: typeof import('./components/home/status.vue')['default'] HomeWarning: typeof import('./components/home/warning.vue')['default'] InputEntry: typeof import('./components/InputEntry.vue')['default'] diff --git a/src/components/home/list.vue b/src/components/home/list.vue new file mode 100644 index 0000000..5bd6684 --- /dev/null +++ b/src/components/home/list.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/components/home/projectList.vue b/src/components/home/projectList.vue index 4a2e3ca..8f4a129 100644 --- a/src/components/home/projectList.vue +++ b/src/components/home/projectList.vue @@ -4,64 +4,15 @@ 项目列表 - + + + 查看全部 + - - - - - - G6高速改扩建项目 - - - K1+200-K1+800 - - - - 作业中 - - - - - - 作业时长 - - - 8h - - - - - 压实面积 - - - 28.5m² - - - - - 碾压遍数 - - - 10遍 - - - - - - - - - + @@ -83,107 +34,12 @@ } .card-title { - font-size: 15px; + font-size: 22px; font-weight: bold; color: #333333; } -.card-link { - font-size: 12px; - color: #4685FD; -} - .card-body { padding: 12px 16px; } - -.project-info { - display: flex; - align-items: center; - margin-bottom: 12px; -} - -.avatar { - width: 48px; - height: 48px; - border-radius: 8px; - background-color: #f0f0f0; - margin-right: 12px; -} - -.info { - flex: 1; - display: flex; - flex-direction: column; -} - -.name { - font-size: 14px; - font-weight: bold; - color: #333333; - margin-bottom: 4px; -} - -.sub { - font-size: 12px; - color: #999999; -} - -.status-tag { - font-size: 12px; - color: #52c41a; - padding: 2px 8px; - background-color: #f6ffed; - border-radius: 4px; -} - -.project-params { - display: flex; - flex-wrap: wrap; - gap: 12px; - margin-bottom: 12px; -} - -.param { - display: flex; - flex-direction: column; -} - -.param-label { - font-size: 12px; - color: #999999; - margin-bottom: 4px; -} - -.param-value { - font-size: 14px; - font-weight: bold; - color: #333333; -} - -.project-actions { - display: flex; - gap: 8px; -} - -.btn-action { - flex: 1; - border: none; - border-radius: 4px; - padding: 8px 0; - font-size: 12px; - color: #ffffff; -} - -.btn-start { - background-color: #4685FD; -} - -.btn-pause { - background-color: #faad14; -} - -.btn-end { - background-color: #ff4d4f; -} diff --git a/src/components/home/status.vue b/src/components/home/status.vue index f510329..d3004b0 100644 --- a/src/components/home/status.vue +++ b/src/components/home/status.vue @@ -55,7 +55,7 @@ - + 进入作业监控