12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <template>
- <div class="index-layout flex-col">
- <ls-header></ls-header>
- <main class="content-container wrapper1180 ">
- <nuxt />
- </main>
- <ls-footer></ls-footer>
- </div>
- </template>
- <script>
- import LsHeader from '~/components/layout/header'
- import LsFooter from '~/components/layout/footer'
- // import Category from '~/components/category'
- // import TalentsList from '~/components/talents-list'
- import Cookies from 'js-cookie'
- export default {
- components: {
- LsHeader,
- LsFooter,
- // Category,
- // TalentsList,
- },
- data() {
- return {
- // chainList: [],
- // cateTwoId: 0,
- // chainIndex: '0',
- // chain: '',
- // talentsList: [],
- // page: 1,
- }
- },
- created() {
- },
- mounted() {
- },
- updated() {
- },
- methods: {
- // getChainList(list) {
- // this.chainList = list
- // this.cateTwoId = list[0].pid
- // this.chainIndex = '0'
- // this.setChain()
- // },
- // changeChain(tab) {
- // this.chainIndex = tab.index
- // this.setChain()
- // },
- // setChain() {
- // this.chain = this.chainList[this.chainIndex].title
- // this.page = 1
- // this.getTalents()
- // },
- // changePage(current) {
- // this.page = current
- // this.getTalents()
- // },
- // async getTalents() {
- // const params = {
- // page_size: 9,
- // page_no: this.page,
- // cid: this.cateTwoId,
- // chain: this.chain
- // }
- // const {
- // code,
- // data,
- // _meta
- // } = await this.$get('article', {
- // params,
- // })
- // if (code == 1) {
- // this.talentsList = data
- // this.count = _meta.totalCount
- // }
- // },
- },
- }
- </script>
- <style lang="scss" scoped>
- .index-layout {
- min-height: 100vh;
-
- }
- </style>
|