<template>
  <div class="pipe-list">
    <Input
      class="baseItemInput"
      :width="188"
      iconType="search"
      v-model="baseItemVal"
      @pressEnter="pressEnter"
    />
    <ul class="type">
      <li class="type-item">
        <div class="type-title">
          <i class="el-icon-caret-bottom"></i>
          <span>空调水</span>
        </div>
        <ul class="itemList">
          <li>
            <div></div>
            <span>冷/热水供水管</span>
          </li>
          <li>
            <div></div>
            <span>冷/热水回水管</span>
          </li>
          <li>
            <div></div>
            <span>冷却回水管</span>
          </li>
          <li>
            <div></div>
            <span>膨胀水管</span>
          </li>
        </ul>
      </li>
      <li class="type-item">
        <div class="type-title">
          <i class="el-icon-caret-bottom"></i>
          <span>空调水</span>
        </div>
        <ul class="itemList">
          <li>
            <div></div>
            <span>冷/热水供水管</span>
          </li>
          <li>
            <div></div>
            <span>冷/热水回水管</span>
          </li>
          <li>
            <div></div>
            <span>冷却回水管</span>
          </li>
          <li>
            <div></div>
            <span>膨胀水管</span>
          </li>
        </ul>
      </li>
      <li class="type-item">
        <div class="type-title">
          <i class="el-icon-caret-bottom"></i>
          <span>给排水</span>
        </div>
        <ul class="itemList">
          <li>
            <div></div>
            <span>冷/热水供水管</span>
          </li>
          <li>
            <div></div>
            <span>冷/热水回水管</span>
          </li>
          <li>
            <div></div>
            <span>冷却回水管</span>
          </li>
          <li>
            <div></div>
            <span>膨胀水管</span>
          </li>
        </ul>
      </li>
    </ul>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
  mounted() {},
};
</script>
<style lang="less" scoped>
ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.pipe-list {
  width: 100%;
  height: 100%;
  .type {
    padding: 12px;
    box-sizing: border-box;
    .type-item {
      .type-title {
        margin: 12px 0 14px 0;
        span {
          width: 14px;
          color: #1f2429;
          margin-left: 4px;
        }
      }
      .itemList {
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        li {
          width: 60px;
          height: 62px;
          border-radius: 2px;
          cursor: pointer;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          padding: 4px;
          box-sizing: border-box;
          span {
            color: #646a73;
            font-size: 10px;
            line-height: 11px;
          }
          div {
            width: 32px;
            height: 4px;
            background: #fa9900;
            margin: 6px 0 8px 0;
          }
        }
        li:hover {
          background: #f5f6f7;
          cursor: pointer;
        }
      }
    }
  }
}
</style>