text: import {debounce} from 'common/utils'
  
  export const itemListenerMixin = {
    data() {
      return {
        itemImgListener: null,
        refresh: null
      }
    },
    mounted() {
      this.refresh = debounce(this.$refs.scroll.refresh, 200)
      this.itemImgListener = () => {
        this.refresh()
      }
      this.$bus.$on('itemImageLoad', this.itemImgListener)
    }
  }
  
  import BackTop from 'components/content/backTop/BackTop'
  
  export const backTopMixin = {
    components: {
      BackTop,
    },
    data() {
      return {
        isShowBackTop: false,
      }
    },
    methods: {
      backClick() {
        this.$refs.scroll.scrollTo(0, 0)
      },
    }
  }