<template>
  <Card title="进度管理">
    <div class="container">
      <Steps :items="items" :activeIndex="index" />
    </div>
  </Card>
</template>

<script>

import Steps from './Steps'
import Card from '../../components/Card'

export default {
  components: { Card, Steps },
  data() {
    return {
      items: [
        {
          label: '2022-01-01',
          value: '测试阶段1'
        },
        {
          label: '二',
          value: '测试阶段2'
        },
        {
          label: '三',
          value: '测试阶段3'
        },
        {
          label: '四',
          value: '测试阶段3'
        },
        {
          label: '五',
          value: '测试阶段3'
        },
      ],
      index: 0
    }
  }
}
</script>

<style lang="less" scoped>
.container {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}

// ::v-deep .steps-item {
//   width: 150px;
//   height: 34px;
//   padding-top: 15px;
//   position: relative;
// }
</style>
