baiyaaaaa il y a 9 ans
Parent
commit
85160822fa

+ 1 - 0
examples/app.vue

@@ -28,6 +28,7 @@
     padding: 20px 25px;
     background-color: #f9fafc;
     margin-bottom: 25px;
+    border-radius: 2px;
   }
 
   .main-cnt {

BIN
examples/assets/images/zhinan.png


BIN
examples/assets/images/zujian.png


+ 1 - 1
examples/components/header.vue

@@ -99,7 +99,7 @@
       'header-hangUp': hangUp
     }">
       <div class="container">
-        <h1><router-link to="/">Element<span>Beta</span></router-link></h1>
+        <h1><router-link to="/">Element</router-link></h1>
         <ul class="nav">
           <li class="nav-item">
             <router-link

+ 24 - 9
examples/components/side-nav.vue

@@ -17,26 +17,41 @@
       a {
         font-size:18px;
         color:#5e6d82;
-        line-height: 32px;
-        height: 32px;
-        margin: 10px 0;
-        padding: 0 0 0 10px;
+        line-height: 42px;
+        height: 42px;
+        margin: 0;
+        padding: 0 0 0 12px;
         text-decoration: none;
-        border-left: 2px solid transparent;
         display: block;
+        position: relative;
+        transition: all .3s;
 
         &.active {
           color: #20a0ff;
-          border-left-color: #20a0ff;
+
+          &:after {
+            content: '';
+            width: 2px;
+            background-color: #20a0ff;
+            height: 32px;
+            border-radius: 2px;
+            left: 0;
+            position: absolute;
+            top: 5px;
+          }
         }
       }
       .nav-item {
         a {
+          display: block;
+          height: 42px;
+          line-height: 42px;
           font-size: 14px;
-          padding-left: 20px;
+          padding-left: 22px;
+
 
           &:hover {
-            background-color: #eee;
+            color: #20a0ff;
           }
         }
       }
@@ -44,7 +59,7 @@
     .nav-group__title {
       color: #99a9bf;
       padding-left: 15px;
-      line-height: 32px;
+      line-height: 34px;
     }
   }
 </style>

+ 2 - 0
examples/docs/typography.md

@@ -12,6 +12,7 @@
     box-sizing: border-box;
     display: inline-block;
     margin-right: 17px;
+    border-radius: 4px;
 
     .name {
       position: absolute;
@@ -24,6 +25,7 @@
       line-height: 35px;
       text-align: left;
       text-indent: 10px;
+      font-family: 'Helvetica Neue';
     }
   }
   .demo-typo-size {

+ 1 - 1
examples/index.template.html

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <link rel="stylesheet" href="//at.alicdn.com/t/font_1471936010_8874195.css">
-    <title>ELEMENT</title>
+    <title>Element</title>
   </head>
   <body>
     <div id="app"></div>

+ 3 - 3
examples/pages/index.vue

@@ -60,7 +60,7 @@
     box-sizing: border-box;
     text-align: center;
     position: relative;
-    transition: bottom .3s;
+    transition: all .3s ease-in-out;
     bottom: 0;
 
     img {
@@ -129,7 +129,7 @@
       <ul class="container">
         <li>
           <div class="card">
-            <img src="~examples/assets/images/zujian.svg" alt="">
+            <img src="~examples/assets/images/zhinan.png" alt="">
             <h3>指南</h3>
             <p>了解设计指南,帮助产品设计人员搭建逻辑清晰、结构合理且高效易用的产品。</p>
             <router-link
@@ -141,7 +141,7 @@
         </li>
         <li>
           <div class="card">
-            <img src="~examples/assets/images/zhinan.svg" alt="">
+            <img src="~examples/assets/images/zujian.png" alt="">
             <h3>组件</h3>
             <p>使用组件 Demo 快速体验交互细节;使用前端框架封装的代码帮助工程师快速开发。</p>
             <router-link

+ 2 - 0
examples/pages/resource.vue

@@ -42,12 +42,14 @@
 
     img {
       margin: 75px auto 35px;
+      height: 87px;
     }
     h3 {
       margin: 0 0 10px;
       font-size: 18px;
       color: #1f2f3d;
       font-weight: normal;
+      height: 22px;
     }
     p {
       font-size: 14px;