text: import {debounce} from "./utils"
  import BackTop from 'components/content/backTop/BackTop'
  export const itemListenerMixin = {
    mounted() {
      let newRefresh = debounce(this.$refs.scroll.refresh, 100)
      this.itemImgListener = () => {
        newRefresh()
      }
      this.$bus.$on('itemImageLoad', this.itemImgListener)
      // console.log('123')
    }
  }
  
  export const backTopMixin = {
    components: {
      BackTop
    },
    data() {
      return {
        isShowBackTop: false,
      }
    },
    methods: {
      backTop() {
        this.$refs.scroll.scrollTo(0, 0, 300)
      }
    }
  }