<template>
  <el-card :shadow="shadowTransform">
    <el-row>
      <el-col :span="24" class="evaluation-empty">{{ title }}</el-col>
    </el-row>
  </el-card>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '暂无数据'
    },
    shadow: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    shadowTransform() {
      return this.shadow ? 'always' : 'none'
    }
  }
}
</script>
<style scoped>
.evaluation-empty {
  color: #999999;
  font-size: 14px;
  line-height: 44px;
  text-align: center;
}
</style>
