Browse Source

docs: site style

suzigang 4 years ago
parent
commit
5bc08bb1e8
1 changed files with 28 additions and 6 deletions
  1. 28 6
      src/sites/doc/views/Main.vue

+ 28 - 6
src/sites/doc/views/Main.vue

@@ -296,7 +296,7 @@ export default defineComponent({
         display: flex;
         align-items: center;
         justify-content: space-between;
-        background: rgba(71, 71, 83, 1);
+        background: #959fb1;
         border-radius: 29px 20px 20px 29px;
         &-iphone {
           width: 210px;
@@ -310,10 +310,15 @@ export default defineComponent({
           margin-right: 20px;
           width: 36px;
           height: 36px;
-          background-image: url('../../assets/images/left-arrow.png');
+          background-image: url('../../assets/images/right-arrow.png');
+          transform: rotate(180deg);
           background-repeat: no-repeat;
           background-size: 100% 100%;
           cursor: pointer;
+          &:hover {
+            transform: rotate(0);
+            background-image: url('../../assets/images/left-arrow.png');
+          }
         }
         &-righticon {
           margin-left: 20px;
@@ -324,6 +329,10 @@ export default defineComponent({
           background-size: 100% 100%;
           cursor: pointer;
           z-index: 1;
+          &:hover {
+            transform: rotate(180deg);
+            background-image: url('../../assets/images/left-arrow.png');
+          }
         }
         &-iconinfo {
           width: 190px;
@@ -351,7 +360,7 @@ export default defineComponent({
       &__list {
         flex: 1;
         display: flex;
-        margin-left: -274px;
+        margin-left: -275px;
         > li {
           width: 180px;
           height: 390px;
@@ -360,7 +369,7 @@ export default defineComponent({
           box-shadow: 0px 1px 7px 0px #edeef1;
           transition: all 0.5s;
           &:first-child {
-            margin-right: 120px;
+            margin-right: 139px;
             transform: scale(1.04);
           }
           > img {
@@ -517,12 +526,12 @@ export default defineComponent({
   .doc-content-title {
     color: white;
   }
-  .doc-content-feature {
+  .doc-content-features {
     .features-title {
       color: white;
     }
     .features-desc {
-      color: white;
+      color: #a5a5a5;
     }
   }
   .doc-content-more {
@@ -530,6 +539,19 @@ export default defineComponent({
       color: #fff;
     }
   }
+  .doc-content-cases-content__main {
+    background: #474753;
+  }
+  .doc-content-cases-content__list {
+    li {
+      box-shadow: none;
+    }
+  }
+  .doc-content-more {
+    .more-item img {
+      box-shadow: none;
+    }
+  }
 }
 .doc-content-white,
 .doc-content-red {