newssection.vue 622 Bytes
<template>
  <div>
    <titlesection title="消息"></titlesection>
    <ul class="flexfm news-wrap">

    </ul>
  </div>
</template>

<script>
import titlesection from '../components/titlesection'
import {fetchList} from '../api/api'

export default {
  name: 'newssection',
  components: {
    titlesection
  },
  data() {
    return {
      totalVal: '21973',
      free: '454123',
      nofree: '5125'
    }
  },
  created() {
  },
  methods: {
    getList() {
      fetchList()
      .then(res => {
        console.log(res);

      });
    },
  }
}
</script>

<style lang="scss"  scoped>
  .news-wrap {

  }
</style>