Преглед на файлове

feat:对界面进行了美化

coder преди 2 години
родител
ревизия
967f028b2b
променени са 3 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 1 1
      src/App.vue
  2. 1 1
      src/pages/index.vue
  3. 6 0
      src/styles/main.scss

+ 1 - 1
src/App.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
   <main>
   <main>
-    <RouterView style="background-color: #f2f2f2;min-height: 100vh;padding-top:0.5vh" />
+    <RouterView style="background-color: white;min-height: 100vh;" />
   </main>
   </main>
 </template>
 </template>

+ 1 - 1
src/pages/index.vue

@@ -54,7 +54,7 @@ function linkTo(child) {
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
 .IndexPage {
 .IndexPage {
-  background-color: #f2f2f2;
+  background-color: #f2f2f2 !important;
 
 
   .header {
   .header {
     width: 100vw;
     width: 100vw;

+ 6 - 0
src/styles/main.scss

@@ -5,6 +5,12 @@ body,
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
   // background: #ffff;
   // background: #ffff;
+  background-color: #f2f2f2;
+}
+
+body {
+  padding-top: 1vh;
+  background-color: #f2f2f2;
 }
 }
 
 
 html.dark {
 html.dark {