研发图纸文件管理系统-前端项目
iczer
2018-08-25 2cef87a6311e33f17ef2e77e78c55a5a6a927e04
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
<template>
  <a-card class="task-item" type="inner">
    {{content}}
  </a-card>
</template>
 
<script>
import ACard from 'ant-design-vue/es/card/Card'
export default {
  name: 'TaskItem',
  props: ['content'],
  components: {ACard}
}
</script>
 
<style lang="less" scoped>
  .task-item{
    margin-bottom: 16px;
    box-shadow: 0 1px 1px rgba(27,31,35,0.1);
    border-radius: 6px;
    color: #24292e;
    & :hover{
      cursor: move;
      box-shadow: 0 1px 1px rgba(27,31,35,0.15);
      border-radius: 6px;
    }
  }
</style>