Selaa lähdekoodia

change color and navigator

Starink 6 vuotta sitten
vanhempi
commit
49f643ebf2
3 muutettua tiedostoa jossa 15 lisäystä ja 9 poistoa
  1. 1 1
      assets/css/home.scss
  2. 11 5
      assets/css/main.scss
  3. 3 3
      components/Navi.vue

+ 1 - 1
assets/css/home.scss

@@ -20,6 +20,6 @@ a{
 
 
   &__list{
   &__list{
     color: $sub-color;
     color: $sub-color;
-    margin: 20px 0;
+    margin: 20px 0 40px 0;
   }
   }
 }
 }

+ 11 - 5
assets/css/main.scss

@@ -35,7 +35,8 @@ body{
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content: space-between;
   justify-content: space-between;
   height: 60px;
   height: 60px;
-  background-color: black;
+  background-color: white;
+  border-bottom: 1px solid $focus-color;
 
 
   &__logo{
   &__logo{
     width: 100px;
     width: 100px;
@@ -47,9 +48,12 @@ body{
     align-items: center;
     align-items: center;
     flex-wrap: wrap;
     flex-wrap: wrap;
     justify-content: space-between;
     justify-content: space-between;
+    list-style:none;
 
 
     &-left{
     &-left{
       width: 360px;
       width: 360px;
+
+      font-weight: bold;
     }
     }
 
 
     &-right{
     &-right{
@@ -65,7 +69,7 @@ body{
   &__item{
   &__item{
     & a{
     & a{
       text-decoration: none;
       text-decoration: none;
-      color: white;
+      color: $common-color;
       font-size: 16px;
       font-size: 16px;
 
 
       &:hover{
       &:hover{
@@ -77,9 +81,11 @@ body{
 
 
 .foot{
 .foot{
   width: 100%;
   width: 100%;
-  background-color: black;
-  color: white;
+  background-color: white;
+  color: $common-color;
   padding: 30px 50px 0 50px;
   padding: 30px 50px 0 50px;
+  border: 1px solid #ebeef5;
+  box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
 
 
   &__main{
   &__main{
     width: 100%;
     width: 100%;
@@ -116,7 +122,7 @@ body{
 
 
   & a{
   & a{
     font-size: 14px;
     font-size: 14px;
-    color: white;
+    color: $sub-color;
     text-decoration: none;
     text-decoration: none;
     display: block;
     display: block;
     cursor: pointer;
     cursor: pointer;

+ 3 - 3
components/Navi.vue

@@ -2,9 +2,9 @@
   <nav class="nav">
   <nav class="nav">
     <router-link to="/"><img src="/image/seec_logo--bw.png" class="nav__logo" /></router-link>
     <router-link to="/"><img src="/image/seec_logo--bw.png" class="nav__logo" /></router-link>
     <ul class="nav__list nav__list-left">
     <ul class="nav__list nav__list-left">
-      <li class="nav__item"><a href="http://mooc.seecoder.cn" target="_self">软工一</a></li>
-      <li class="nav__item"><a href="http://bok.seecoder.cn" target="_self">题库</a></li>
-      <li class="nav__item"><a href="http://helper.seecoder.cn" target="_self">教学助手</a></li>
+      <li class="nav__item"><a href="http://helper.seecoder.cn" target="_self">HELPER</a></li>
+      <li class="nav__item"><a href="http://mooc.seecoder.cn" target="_self">MOOC</a></li>
+      <li class="nav__item"><a href="http://seec.seecoder.cn" target="_self">SEEC</a></li>
     </ul>
     </ul>
     <el-input placeholder="搜索课程" class="nav__search" disabled>
     <el-input placeholder="搜索课程" class="nav__search" disabled>
       <el-button slot="append" icon="el-icon-search" disabled></el-button>
       <el-button slot="append" icon="el-icon-search" disabled></el-button>