Blame view

examples/components/test.vue 1.2 KB
64f99c05   梁灏   Table support ren...
1
  <template>
8a392d25   梁灏   Table expand supp...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      <div>
          <Row class="expand-row">
              <Col span="8">
              <span class="expand-key">职业:</span>
              <span class="expand-value">{{ row.job }}</span>
              </Col>
              <Col span="8">
              <span class="expand-key">兴趣:</span>
              <span class="expand-value">{{ row.interest }}</span>
              </Col>
              <Col span="8">
              <span class="expand-key">生日:</span>
              <span class="expand-value">{{ row.birthday }}</span>
              </Col>
          </Row>
          <Row>
              <Col span="8">
              <span class="expand-key">最喜欢的书:</span>
              <span class="expand-value">《{{ row.book }}》</span>
              </Col>
              <Col span="8">
              <span class="expand-key">最喜欢的电影:</span>
              <span class="expand-value">{{ row.movie }}</span>
              </Col>
              <Col span="8">
              <span class="expand-key">最喜欢的音乐:</span>
              <span class="expand-value">{{ row.music }}</span>
              </Col>
          </Row>
      </div>
64f99c05   梁灏   Table support ren...
32
33
34
  </template>
  <script>
      export default {
8a392d25   梁灏   Table expand supp...
35
36
37
38
39
          props: {
              row: Object
          }
      };
  </script>