|
@@ -23,14 +23,10 @@ import SwiperAd from '@/components/SwiperAd'
|
|
|
// import SearchBar from '@/components/SearchBar'
|
|
|
import FilterList from '@/components/FilterList'
|
|
|
import PositionList from '@/components/PositionList'
|
|
|
-import { positionList } from '@/utils/testData'
|
|
|
+import { positionList, swiperAdListTest } from '@/utils/testData'
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
-const swiperAdList = ref([
|
|
|
- 'https://img.bosszhipin.com/beijin/activity/img/20240829/488f35070cc7d0b615328d1e05fe62df4b7d0ebc36568cfb80c0fe17b37418f00945b742138a9e17.jpg.webp',
|
|
|
- 'https://img.bosszhipin.com/beijin/activity/img/20240829/488f35070cc7d0b615328d1e05fe62df4b7d0ebc36568cfb80c0fe17b37418f00945b742138a9e17.jpg.webp',
|
|
|
- 'https://img.bosszhipin.com/beijin/activity/img/20240829/488f35070cc7d0b615328d1e05fe62df4b7d0ebc36568cfb80c0fe17b37418f00945b742138a9e17.jpg.webp',
|
|
|
-])
|
|
|
+const swiperAdList = ref(swiperAdListTest)
|
|
|
const filterList = ref([
|
|
|
{ label: '行业' },
|
|
|
{ label: '城市' },
|
|
@@ -47,8 +43,6 @@ let page = { pageSize: 8, pageNo: 1 }
|
|
|
const getData = (name) => {
|
|
|
if (positionListData.value.length > 30) return noMore.value = true
|
|
|
positionListData.value = positionListData.value.concat(positionList)
|
|
|
- console.log('name', name)
|
|
|
- console.log('positionListData', positionListData.value)
|
|
|
}
|
|
|
getData()
|
|
|
|