研发图纸文件管理系统-前端项目
chenghx
2018-08-24 94c172f41fa5d147152ac934fd954851c5f131aa
1
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
32
33
34
35
36
37
38
<template>
    <a-card class="task-card" size="large" :title="title" :bordered="false" :bodyStyle="{backgroundColor: '#e1e4e8'}">
      <div slot="extra">
        <a-icon class="add" type="plus" draggable="true"/>
        <a-icon class="more" style="margin-left: 8px" type="ellipsis" />
      </div>
      <slot></slot>
    </a-card>
</template>
 
<script>
import ACard from 'ant-design-vue/es/card/Card'
import AIcon from 'ant-design-vue/es/icon/icon'
export default {
  name: 'TaskCard',
  components: {AIcon, ACard},
  props: ['title'],
  data () {
    return {
    }
  }
}
</script>
 
<style lang="less" scoped>
  .task-card{
    width: 33.33%;
    font-size: 24px;
    font-weight: bolder;
    background-color: #e1e4e8;
    .add{
      cursor: pointer;
    }
    .more{
      cursor: pointer;
    }
  }
</style>