<template>
  <div class="input-base">
    <hive-input
      placeholder="请输入"
      icon="calendar"
      @iconclick="onIconClick">
    </hive-input>
    <hive-input
      placeholder="请输入"
      suffix-icon="calendar">
    </hive-input>
  </div>
</template>

<script>
  export default {
    methods: {
      onIconClick() {
        console.log('点击了图标');
      },
    },
  };
</script>
