<template>
  <div class="describe">
    <div class="d-name" >{{title}}</div>
    <div class="d-describe" v-for="(item,i) in sub" :key="i">
      <span>{{item.detail}}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: ['title', 'sub']
}
</script>

<style scoped>
  .describe{
    text-align: center;
    width: 100%;
  }
  .d-name{
    font-size: 20px;
    font-weight: bold;
    margin: 15px auto;
    width: 90%;
  }
  .d-describe{
    font-size: 14px;
    width: 90%;
    line-height: 2;
    margin: 0 auto;
  }

</style>
