Blame view

test/app.vue 1.78 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>
456daf34   梁灏   support Tag
27
                  <li><router-link to="/tag">Tag</router-link></li>
c97c42ab   梁灏   support InputNumber
28
                  <li><router-link to="/input-number">InputNumber</router-link></li>
5d08ddf2   梁灏   support Progress ...
29
30
                  <li><router-link to="/progress">Progress</router-link></li>
                  <li><router-link to="/upload">Upload</router-link></li>
b8273bfc   jingsam   add a nav for tes...
31
32
              </ul>
          </nav>
7fa943eb   梁灏   init
33
34
35
36
37
38
39
40
41
42
          <router-view></router-view>
      </div>
  </template>
  <script>
      module.exports = {
          data: function() {
              return {
  
              }
          },
c755733a   梁灏   support Grid
43
          mounted: function() {
4df4ea19   jingsam   optimize project ...
44
  
7fa943eb   梁灏   init
45
46
47
48
49
          },
          beforeDestroy: function() {
  
          },
          methods: {
4df4ea19   jingsam   optimize project ...
50
  
7fa943eb   梁灏   init
51
52
53
          }
      }
  </script>