<template>
  <div class="flow-dis">
      <div class="item" v-for="item in discribeColor" :key="item.color">
          <div class="text">
              <span>{{item.text}}</span>
          </div>
          <div class="color" :style="{'background-color': item.color}">
          </div>
      </div>
  </div>
</template>

<script>
import {discribeColor} from './config'
export default {
    data() {
        return {
            discribeColor
        }
    }
}
</script>

<style lang="scss" scoped>
.flow-dis {
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    .item {
        display: flex;
        align-items: center;
        margin-right: 25px;
        .text {
            color: #333333;
            font-size: 14px;
            padding-right: 10px;
        }
        .color {
            width: 60px;
            height: 20px;
            border-radius: 10px;
        }
    }
}
</style>