<commit_before>/**
* Created by 王冬 on 2017/7/22.
* QQ: 20004604
* weChat: qq20004604
* Updated by 张帅 on 2018/8/18
* QQ: 3120921953
* 滚动加载
*/

<template>
  <div>
    <listitem :item='item' :key='item.id' v-for='item in items'></listitem>
  </div>
</template>
<style scoped>
</style>
<script>
  import listitem from './ListItem.vue'

  export default {
    data () {
      return {
        page: 0,
        maxPage: 0,
        maxPageLoaded: -1,
        isLoading: false,
        items: [
          {
            academic: 0,
            area: '上海市浦东区',
            company_name: '一个公司',
            ctime: '2017-07-12 13:00:00',
            financing: 0,
            id: 123,
            jobType: '',
            keywords: ['高薪', '弹性工作制'],
            maxWage: '10000',
            minWage: '0',
            minYear: 0
          },
          {
            academic: 0,
            area: '上海市浦东区',
            company_name: '一个公司',
            ctime: '2017-07-12 13:00:00',
            financing: 0,
            id: 123,
            jobType: '',
            keywords: ['高薪', '弹性工作制'],
            maxWage: '10000',
            minWage: '0',
            minYear: 0
          }
        ]
      }
    },
    methods: {
      // 监听滚动事件，判断是否加载数据<commit_msg>添加移动端滚动加载<commit_after>/**
* Created by 王冬 on 2017/7/22.
* QQ: 20004604
* weChat: qq20004604
* Updated by 张帅 on 2018/8/18
* QQ: 3120921953
* 滚动加载
*/

<template>
  <div>
    <listitem :item='item' :key='item.id' v-for='item in items'></listitem>
  </div>
</template>
<style scoped>
</style>
<script>
  import listitem from './ListItem.vue'

  export default {
    data () {
      return {
        page: 0,
        maxPage: 0,
        maxPageLoaded: -1,
        isLoading: false,
        items: []
      }
    },
    methods: {
      // 监听滚动事件，判断是否加载数据
{'fraction_non_alphanumeric': 0.14833333333333334, 'fraction_numerical': 0.07666666666666666, 'mean_word_length': 1.5437853107344632, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3379313', 'n_tokens_mistral': 792, 'n_tokens_neox': 733, 'n_words': 147}