|
@@ -66,7 +66,7 @@
|
|
|
<uni-load-more :status="more" :color="textColor" />
|
|
|
</view>
|
|
|
<view v-else class="nodata-img-parent">
|
|
|
- <uni-load-more class="ss-m-t-50" status="noMore" :color="textColor" :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">
|
|
@@ -86,6 +86,7 @@ import SwiperAd from '@/components/SwiperAd'
|
|
|
import { formatName } from '@/utils/getText'
|
|
|
import { getShareQueryById } from '@/api/jobFair.js'
|
|
|
|
|
|
+const loading = ref(true)
|
|
|
const more = ref('more')
|
|
|
const listData = ref([])
|
|
|
const query = reactive({
|
|
@@ -166,6 +167,7 @@ const getEnterpriseList = async () => {
|
|
|
const res = await getJobFairEnterprisePage(params)
|
|
|
const list = res?.data?.list || []
|
|
|
listData.value = listData.value.concat(dealDictArrayData([], list))
|
|
|
+ loading.value = false
|
|
|
if (listData.value?.length === +res?.data?.total) {
|
|
|
more.value = 'noMore'
|
|
|
return
|