<template>
  <div class="service_step">
    <div class="step_bg"></div>
    <ul class="step_items">
      <li class="step_item">
        <div class="step_icon">
            <span>1</span>
        </div>
        <p class="step_title">服务申请</p>
      </li>
      <li class="step_item">
        <div class="step_icon">
            <span>2</span>
        </div>
        <p class="step_title">审核确认</p>
      </li>
      <li class="step_item">
        <div class="step_icon">
            <span>3</span>
        </div>
        <p class="step_title">费用支付</p>
      </li>
      <li class="step_item">
        <div class="step_icon">
            <span>4</span>
        </div>
        <p class="step_title">服务获取</p>
      </li>
    </ul>
  </div>
</template>

<style scoped>
.service_step {
  position: relative;
  min-height: 48px;
}
.service_step > .step_bg {
  position: absolute;
  top: 23px;
  right: 24px;
  left: 24px;
  border: 1px solid #1abc9c;
}
.service_step > .step_items {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
}
.service_step .step_item > .step_icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #1abc9c;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}
.service_step .step_item > .step_title {
  font-size: 12px;
  line-height: 24px;
  color: #1abc9c;
}
</style>
