Blame view

src/components/cell/cell-item.vue 855 Bytes
da76a284   梁灏   update Cell
1
2
3
4
5
6
  <template>
      <div class="ivu-cell-item">
          <div class="ivu-cell-icon">
              <slot name="icon"></slot>
          </div>
          <div class="ivu-cell-main">
4258a559   梁灏   update
7
8
              <div class="ivu-cell-title"><slot>{{ title }}</slot></div>
              <div class="ivu-cell-label"><slot name="label">{{ label }}</slot></div>
da76a284   梁灏   update Cell
9
10
          </div>
          <div class="ivu-cell-footer">
4258a559   梁灏   update
11
              <span class="ivu-cell-extra"><slot name="extra">{{ extra }}</slot></span>
da76a284   梁灏   update Cell
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
          </div>
      </div>
  </template>
  <script>
      export default {
          props: {
              title: {
                  type: String,
                  default: ''
              },
              label: {
                  type: String,
                  default: ''
              },
              extra: {
                  type: String,
                  default: ''
              },
          }
77376451   梁灏   fixed #3568
31
      };
da76a284   梁灏   update Cell
32
  </script>