<!--
 * @Author: your name
 * @Date: 2021-09-28 10:51:27
 * @LastEditTime: 2021-09-28 14:10:05
 * @LastEditors: Please set LastEditors
 * @Description: 各看板大框架
 * @FilePath: \hyyfClient\src\components\board\index.vue
-->
<template>
  <div class="board">
    <div class="header">
      <span>{{ title }}</span>
    </div>
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>
<style scoped>
  .board {
    width: 100%;
    border: 1px solid rgba(235, 238, 245, 1);
  }

  .header {
    background-color: rgb(243, 243, 243);
    padding: 10px 15px;
    color: rgb(192, 188, 189);
    border-bottom: 1px solid rgba(235, 238, 245, 1);
  }
  .header>span {
    font-size: 18px;
    font-weight: 700;
  }

  .content {
    background-color: #fff;
  }
</style>
