<template>
  <ul>
    <li v-for="(item, index) of list" :key="index">
      <div class="name">{{ item.specValue }}</div>
      <div class="pressure" v-if="item.specId==6">
        <input  v-model="item.minValue"  @blur="inputBtn(item)" placeholder="请输入最低压力值"></input>
      </div>
      <ul  v-if="item.configDtos">
        <li>
          <index-chird :list="item.configDtos" />
        </li>
      </ul>
    </li>
  </ul>
</template>

<script>
export default {
  name: "index-chird", // 自身组件
  props: {
      list:null,
      pageData2:{},
  },
  data() {
    return {
      list2: [],
      num:0,
    };
  },
  methods:{
    inputBtn(d){

    },
  },
  mounted() {

  }

};
</script>

<style  scoped lang="scss">
ul{
  list-style: none;
  padding-left: 0;
  line-height: 100%;
  margin: 0;
  .name{
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    width: 120px;
  }
  .pressure{
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    width: 140px;
    >input{
      width: 120px;
      border: 0;
      outline: none;
      background: 0;
    }
  }
  >li{
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: 30px;

  }
}
</style>
