<template>
  <div id="stepLayout">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'logisticsStep',
  props: {
    active: {
      type: Number,
      default: 0
    }
  },
  mounted () {
    // this.calcStepLine()
  },
  methods: {
    calcStepLine () {
      let lineEle = document.getElementsByClassName('state-line')
      if (lineEle.length > 0) {
        lineEle[lineEle.length - 1].style.width = '0px'
      }
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
