<template>
  <div>
    <div class="demo-input-size">
      <el-input :placeholder="placeholder" suffix-icon="el-icon-search" v-model.trim="obj.input_value_one" class="in"
       @change="Search">
      </el-input>
      <el-input :placeholder="placeholderfn" suffix-icon="el-icon-search" v-model.trim="obj.input_value_two" class="in"
        @change="Search">
      </el-input>
      <div class="add" v-if="false">
          <span>{{operator}}</span>
        </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "ListHeadTwo",
    props: {
      operator: {
        type: String
      },
      placeholder: {
        default: "业务类型",
        type: String
      },
      placeholderfn: {
        default: "操作员",
        type: String
      }
    },
    data() {
      return {
        obj: {
          input_value_one: "",
          input_value_two: "",
        },
        select: [],
      };
    },
    methods: {
      Search() {
        fql.getUserInfo().then(res => {
          console.log(res)
          this.$emit('UserInfo', this.obj)
        })
      },
    },
  }
</script>

<style scoped>
    /* 图标 */
  .el-input--suffix >>> .el-input__icon {
    line-height: 30px;
  }
  .demo-input-size {
    display: flex;
    position: relative;
  }
  .el-input--suffix >>> .el-input__inner {
    background-color: #394b87;
    border-radius: 2px;
    border: 1px solid rgba(77, 103, 186, 0.75);
    height: 30px;
    padding: 0px 10px;
    color: #FFF;
  }
  .in {
    width: 145px;
    height: 30px;
    margin: 24px 24px 0 20px;
    float: left;
    font-size: 14px;
    margin-left: 24px;
  }
  /*   资金账户 */
  .CapitalAccount {
    margin-top: 22px;
    margin-left: 10px;
    color: #a1a8cb;
    font-size: 14px;
  }
  .choose {
    width: 155px;
    height: 30px;
    font-size: 12px;
  }
  .add {
    position: absolute;
    top: 24px;
    right: 26px;
    width: 102px;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    font-size: 14px;
    background-color: #2e5ded;
    border-radius: 2px;
    color: #fff;
    font-family: '思源黑体 CN Regular';
    font-weight: 400;
  }
</style>