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

<script>
import Card from '../components/Card'
export default {
  components: { Card },
  data() {
    return {
      items: [
        {
          num: '一',
          text: '测试阶段1'
        },
        {
          num: '二',
          text: '测试阶段2'
        },
        {
          num: '三',
          text: '测试阶段3'
        },
        {
          num: '三',
          text: '测试阶段3'
        },
        {
          num: '三',
          text: '测试阶段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>
