<template>
  <div class="DropDownCom">
    <DropDownCom
      :express-list="expressList"
      @changeChoosedExpressList="changeChoosedExpressList"
      @searchList="searchList"
    />
  </div>
</template>

<script>
  import DropDownCom from '../../customizedContent/DropDownCom.vue';

  export default {
    components: { DropDownCom },
    data() {
      return {
        expressList: [
          {
            label: '123',
            value: 1
          },
          {
            label: '测试店铺',
            value: 2
          }
        ]
      };
    },
    created() {

    },
    methods: {
      // 下拉框中所选项发生变化
      changeChoosedExpressList(val) {
        console.log(val);
      },
      // input框模糊查询
      searchList(val) {
        console.log(val);
      }
    },
  };
</script>
<style lang='less' scoped>

</style>
