diff --git a/src/components.d.ts b/src/components.d.ts index 51b53dc..9862410 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -19,6 +19,7 @@ declare module 'vue' { 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'] + HomeWarning_list: typeof import('./components/home/warning_list.vue')['default'] InputEntry: typeof import('./components/InputEntry.vue')['default'] } } diff --git a/src/components/home/construction.vue b/src/components/home/construction.vue index c7a790b..8f9e4e0 100644 --- a/src/components/home/construction.vue +++ b/src/components/home/construction.vue @@ -38,7 +38,7 @@ } .card-title { - font-size: 15px; + font-size: 22px; font-weight: bold; color: #333333; } @@ -68,14 +68,14 @@ } .segment { - font-size: 16px; + font-size: 18px; font-weight: bold; color: #333333; margin-bottom: 4px; } .requirement { - font-size: 12px; + font-size: 14px; color: #999999; } diff --git a/src/components/home/progress.vue b/src/components/home/progress.vue index cf9a160..de9212e 100644 --- a/src/components/home/progress.vue +++ b/src/components/home/progress.vue @@ -84,6 +84,7 @@ const current = ref(25) + diff --git a/src/components/home/warning.vue b/src/components/home/warning.vue index 765b77c..5ec29ff 100644 --- a/src/components/home/warning.vue +++ b/src/components/home/warning.vue @@ -4,39 +4,12 @@ 异常警告 - + 查看全部 - + - - - - - 钢轮温度过高 - - - 徐工XS65H #01 钢轮温度达90°C,超过國值85°C - - - - 10分钟前 - - - - - - - RTK信号弱 - - - 三一SSZ600AC #002 RTK定位精度下降, 请注意 - - - - 10分钟前 - - + @@ -58,63 +31,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; } - -.warning-item { - display: flex; - align-items: center; - padding: 12px 0; - border-bottom: 1px solid #f5f5f5; -} - -.warning-item:last-child { - border-bottom: none; -} - -.warning-icon { - width: 36px; - height: 36px; - border-radius: 50%; - background-color: #fff2e8; - margin-right: 12px; -} - -.warning-rtk { - background-color: #e6f7ff; -} - -.warning-info { - flex: 1; - display: flex; - flex-direction: column; -} - -.warning-title { - font-size: 14px; - font-weight: bold; - color: #333333; - margin-bottom: 4px; -} - -.warning-desc { - font-size: 12px; - color: #999999; -} - -.warning-time { - font-size: 12px; - color: #cccccc; -} diff --git a/src/components/home/warning_list.vue b/src/components/home/warning_list.vue new file mode 100644 index 0000000..af1cd8c --- /dev/null +++ b/src/components/home/warning_list.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 1972640..6084ad0 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -21,7 +21,6 @@ definePage({ -