Blame view

test/app.vue 1.49 KB
7fa943eb   梁灏   init
1
  <style lang="less">
4df4ea19   jingsam   optimize project ...
2
      @import "../src/styles/index.less";
7fa943eb   梁灏   init
3
  </style>
b8273bfc   jingsam   add a nav for tes...
4
  <style scoped>
bd596e7a   huixisheng   support Steps
5
6
7
8
9
10
  nav { margin-bottom: 40px; }
  ul { display: flex; flex-wrap: wrap; }
  li { display: inline-block; }
  li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
  .container{ padding: 10px 40px; }
  .v-link-active { color: #bbb; }
b8273bfc   jingsam   add a nav for tes...
11
  </style>
7fa943eb   梁灏   init
12
  <template>
bd596e7a   huixisheng   support Steps
13
      <div class="container">
b8273bfc   jingsam   add a nav for tes...
14
15
          <nav>
              <ul>
c755733a   梁灏   support Grid
16
17
                  <li><router-link to="/affix">Affix</router-link></li>
                  <li><router-link to="/grid">Grid</router-link></li>
d47ea998   梁灏   support Button an...
18
                  <li><router-link to="/button">Button</router-link></li>
fc7ef072   梁灏   support Input
19
                  <li><router-link to="/input">Input</router-link></li>
06322514   梁灏   support Radio
20
                  <li><router-link to="/radio">Radio</router-link></li>
cbe03a12   梁灏   support Checkbox
21
                  <li><router-link to="/checkbox">Checkbox</router-link></li>
bd596e7a   huixisheng   support Steps
22
                  <li><router-link to="/steps">Steps</router-link></li>
6c9e0282   huixisheng   Support timeline
23
                  <li><router-link to="/timeline">Timeline</router-link></li>
2d5ba278   梁灏   support Switch
24
                  <li><router-link to="/switch">Switch</router-link></li>
5d122b37   梁灏   support Alert
25
                  <li><router-link to="/alert">Alert</router-link></li>
15368be1   梁灏   Support Badge
26
                  <li><router-link to="/badge">Badge</router-link></li>
b8273bfc   jingsam   add a nav for tes...
27
28
              </ul>
          </nav>
7fa943eb   梁灏   init
29
30
31
32
33
34
35
36
37
38
          <router-view></router-view>
      </div>
  </template>
  <script>
      module.exports = {
          data: function() {
              return {
  
              }
          },
c755733a   梁灏   support Grid
39
          mounted: function() {
4df4ea19   jingsam   optimize project ...
40
  
7fa943eb   梁灏   init
41
42
43
44
45
          },
          beforeDestroy: function() {
  
          },
          methods: {
4df4ea19   jingsam   optimize project ...
46
  
7fa943eb   梁灏   init
47
48
49
          }
      }
  </script>