<template>
  <view class="screen_all flex">

    <FlatList
        @changeData="flatChangeData"
        @fetch="fetch"
        :ref="base_flat_id"
        :emptyText="emptyText"
        background="transparent"
    >
      <!-- 订单 -->
      <view class="order_screen_padding">
        <layout-use-coupon
          v-for="(item,index) in base_flat_data.data"
          :key="index"
          :item="item"
          :type="info.type"
          :icon="info.icon"
        ></layout-use-coupon>
      </view>
    </FlatList>
  </view>

</template>

<script>
import FlatList from '@/components/flat-list/src/main.vue';
import mixins from './mixins';
import props from "./props";
import LayoutUseCoupon from "../layout-use-coupon/main";
export default {
  name: "layout-coupon-list",
  mixins,
  props,
  components:{
    LayoutUseCoupon,
    FlatList
  }
}
</script>

<style scoped lang="scss" src="./style.scss">

</style>