Blame view

test/routers/card.vue 704 Bytes
7fa943eb   梁灏   init
1
  <template>
15bae144   梁灏   add Card component
2
3
4
5
6
7
8
9
10
11
12
      <Card :bordered="true" style="width:300px">
          <template slot="title">
              <p>放寒假的发货会计师</p>
          </template>
          <a href="#" slot="extra">More</a>
      </Card>
      <Card style="width:300px">
          <p>hello</p>
          <p>hndshf</p>
          <h3>jfds</h3>
      </Card>
7fa943eb   梁灏   init
13
14
  </template>
  <script>
15bae144   梁灏   add Card component
15
      import { Row, Col, Card } from 'iview';
7fa943eb   梁灏   init
16
17
18
19
  
      export default {
          components: {
              Row,
15bae144   梁灏   add Card component
20
21
              iCol: Col,
              Card
7fa943eb   梁灏   init
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
          },
          props: {
          
          },
          data () {
              return {
              
              }
          },
          computed: {
          
          },
          methods: {
          
          }
      }
  </script>