diff --git a/public/fonts/SourceHanSansCN-Bold.otf b/public/fonts/SourceHanSansCN-Bold.otf new file mode 100644 index 0000000..72d6818 Binary files /dev/null and b/public/fonts/SourceHanSansCN-Bold.otf differ diff --git a/src/App.vue b/src/App.vue index 4d23809..ff9f8ca 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,8 +21,4 @@ onMounted(() => { - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/绿盟.png b/src/assets/images/绿盟.png new file mode 100644 index 0000000..7bfe556 Binary files /dev/null and b/src/assets/images/绿盟.png differ diff --git a/src/style/main.scss b/src/style/main.scss index 82830d4..697b2a3 100644 --- a/src/style/main.scss +++ b/src/style/main.scss @@ -1,6 +1,12 @@ +@font-face { + font-family: SourceHanSansCN-Bold; + src: url(/public/fonts/SourceHanSansCN-Bold.otf); +} + body { padding: 0; margin: 0; + font-family: SourceHanSansCN-Bold; } *:focus-visible { outline: none; diff --git a/src/views/Menu/index.vue b/src/views/Menu/index.vue index a83d3fb..eb067a4 100644 --- a/src/views/Menu/index.vue +++ b/src/views/Menu/index.vue @@ -7,7 +7,7 @@ {{ currentTime }} --> @@ -143,7 +143,7 @@ onUnmounted(() => { left: 20px; img { - height: 50px; + height: 30px; } } } diff --git a/src/views/Monitoring/index.vue b/src/views/Monitoring/index.vue index dcdfd67..d17f66f 100644 --- a/src/views/Monitoring/index.vue +++ b/src/views/Monitoring/index.vue @@ -73,7 +73,7 @@ 当前模式 - {{ info.Mode ? '手动' : '自动' }} + {{ info.Mode ? '手动' : '自动' }}
@@ -650,9 +650,9 @@ onUnmounted(() => { .param-list { display: flex; flex-direction: column; - padding: 10px; + padding: 5px 10px; flex: 1; - gap: 8px; + gap: 5px; justify-content: space-between; } @@ -863,8 +863,11 @@ onUnmounted(() => { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; - padding: 10px; + padding: 0 10px; backdrop-filter: blur(10px); + display: flex; + flex-direction: column; + justify-content: center; } .control-title {