|
@@ -49,7 +49,7 @@
|
|
|
<uni-load-more :status="more" :color="textColor" />
|
|
|
</view>
|
|
|
<view v-else class="nodata-img-parent">
|
|
|
- <uni-load-more class="ss-m-t-50" :color="textColor" status="noMore" :content-text="{'contentnomore': '暂无数据,请切换类型查看~'}" />
|
|
|
+ <uni-load-more class="ss-m-t-50" :color="textColor" status="noMore" :content-text="{'contentnomore': loading ? '加载中. . .' : tabList?.length ? '暂无数据,请切换类型查看~': '暂无数据~'}" />
|
|
|
</view>
|
|
|
<!-- 招聘会分享按钮 -->
|
|
|
<view v-if="showShareBtn" class="shareButtonBox" @tap="handleShare">
|
|
@@ -69,6 +69,7 @@ import PositionList from '@/components/PositionList'
|
|
|
import SwiperAd from '@/components/SwiperAd'
|
|
|
import { getShareQueryById } from '@/api/jobFair.js'
|
|
|
|
|
|
+const loading = ref(true)
|
|
|
const more = ref('more')
|
|
|
const listData = ref([])
|
|
|
const query = reactive({
|
|
@@ -178,6 +179,7 @@ const getEntPositionList = async () => {
|
|
|
e.enterprise = { ...e.enterprise, ...dealDictObjData({}, e.enterprise)}
|
|
|
})
|
|
|
listData.value = listData.value.concat(list)
|
|
|
+ loading.value = false
|
|
|
if (listData.value?.length === +res?.data?.total) {
|
|
|
more.value = 'noMore'
|
|
|
return
|