<template>
  <section class="screen follow-room-container">

    <flat-list
      @fetch="fetch"
      :security-size="20"
      :pageSize="12"
      indexes="rid"
      ref="flat"
      emptyText="暂无关注列表"
    >
      <template v-slot:item="{item,index}">
        <layout-talking
            :item="item"
            :key="'layout-talking-'+item.rid"
            type="user"
            :index="index"
            :nth="4"
        ></layout-talking>
      </template>
    </flat-list>
  </section>
</template>

<script>
import {
  FlatList,
  vImage,
  vButton
} from '$components';
import layoutTalking from '$layout/layout-talking';
import mixins from '../mixins';
export default {
  name: "follow-room",
  components:{
    vButton,
    FlatList,
    vImage,
    layoutTalking
  },
  mixins
}
</script>

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