<template>
  <div id="select-model">
    <div class="headers">
      <h2 class="title">选择模型</h2>
      <img class="change-img" src="@/assets/selectModel/change.png" alt="">
    </div>
    <div class="main">
      <ul>
        <li
          class="item"
          v-for="item in modelList"
          :key="item.id"
        >
          <div class="item-header">
            <div class="item-header-title">{{ item.name }}</div>
            <img src="@/assets/selectModel/top.png" alt="">
          </div>
          <div class="item-main">
            <div>
              <div> 代码:{{ item.keyWord }}</div>
              <div> 模型:{{ item.model }}</div>
            </div>
            <img src="@/assets/selectModel/right_img.png" alt="">
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      modelList: [
        {
          id: 1,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 2,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 3,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 4,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 5,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 6,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 7,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 8,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 9,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 10,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 11,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 12,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 13,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 14,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 15,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        },
        {
          id: 16,
          name: '万古流芳',
          keyWord: '9527',
          model: '胡编乱造计量方式'
        }

      ]
    }
  }

}
</script>

<style lang="less" scoped>
.headers{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 25px 0;
    box-shadow: 0 0 10px 0 rgba(17, 32, 65, 0.08);
     .title{
       margin: 0;
      font-family: SourceHanSansCN-Medium;
      font-size: 18px;
      color: #171d33;
      border-left: 4px solid #3b75f5;
      padding-left: 20px;
    }
    .change-img{
        width: 26px;
        height: 26px;
        margin-right:18px;
    }
}
.main{
  width: 100%;
  padding: 20px;
  float: left;
  margin-top:20px;
  .item{
    float: left;
    width: 15%;
    background: #ffffff;
    padding: 15px;
    margin: 0px 2rem 2rem 2rem;
    box-shadow: 0 0 10px 0 rgba(17, 32, 65, 0.08);
    .item-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      .item-header-title{
        font-size: 16px;
        font-weight: 800;
      }
    }
    .item-main{
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

}
</style>
