<template>
  <div>
    <el-row>
      <el-col :span="20">
        <el-card
          class="box-card"
          style="width: 1200px; height: 400px; margin-left: 40px"
        >
          <div>
            <el-button type="primary" style="width: 180px; height: 120px"
              >任务统计</el-button
            >
          </div>
        </el-card>
      </el-col>
      <el-col :span="4">
        <el-card
          class="box-card"
          style="width:700px; height: 400px;x"
        >
          <div>
            <el-button type="primary" style="width: 180px; height: 120px"
              >新建任务</el-button
            >
          </div>
        </el-card>
      </el-col>
    </el-row>
    <el-card
          class="box-card"
          style="width: 800px; height: 400px; margin-left: 200px"
        >
        <div class="block">
    <span class="demonstration">预览</span>
    <el-carousel height="350px" autoplay="false" indicator-position="outside">
      <el-carousel-item v-for="item in 6" :key="item">
        <h3 class="small">{{ item }}</h3>
      </el-carousel-item>
    </el-carousel>
  </div>
        </el-card>
  </div>
</template>

<style>
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
     background-color: #99a9bf;
  }
  
  .el-carousel__item:nth-child(2n+1) {
     background-color: #d3dce6;
  }
</style>