<template>
  <div class="synopsis flex flexc">
    <Header>
      <div class="title" slot="title">中心简介</div>
    </Header>
    <div class="main flex1">
      <div class="synopsis-text">
        <div v-html="text" v-if="text"></div>
        <el-empty :image-size="200" v-else></el-empty>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "@/components/Header.vue";
export default {
  components: {
    Header,
  },
  data() {
    return {
      text: "中心简介中心简介中心简介中心简介中心简介中心简介",
    };
  },
};
</script>

<style lang="less" scoped>
.synopsis {
  width: 100%;
  height: 100%;
  .main {
    width: 100%;
    padding: 40px;
    .synopsis-text {
      width: 100%;
      padding: 30px;
      height: calc(100vh - 40px - 100px - 40px);
      background-color: #fff;
      border-radius: 16px;
      overflow-y: auto;
    }
  }
}
</style>