<template>
  <app-frame :tabs="tabs" title="数字经济产业学院">
    <img src="https://webapp-pub.ezijing.com/www/pc/news/news.png" class="banner" />
    <template #article>
      <article-list v-bind="listOptions"></article-list>
    </template>
  </app-frame>
</template>

<script>
import AppFrame from '@/components/AppFrame'
import navList from '@/assets/servicesCollegeNavList.js'
import ArticleList from '@/components/ArticleList'
import { getArticleList } from '@/api'

export default {
  components: { AppFrame, ArticleList },
  data() {
    return {
      tabs: navList(this)
    }
  },
  computed: {
    listOptions() {
      return {
        remote: {
          httpRequest: getArticleList,
          params: { project_id: process.env.projectId, type_tag: 'service_case' }
        },
        to(item) {
          return { name: 'services-college-case-id', params: { id: item.id } }
        }
      }
    }
  }
}
</script>
