mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-11-13 22:11:42 +08:00
refactor(load-status): 重构数据加载状态管理,统一加载更多逻辑
1. 重构useDataLoadingStatus钩子,新增完整加载状态类型 2. 统一首页和动态页面的加载更多状态管理逻辑 3. 移除冗余的加载状态本地变量,复用钩子内置状态 4. 调整分类页面默认分页大小从3改为10 5. 修复加载状态的默认值处理逻辑
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import type { Ref } from 'vue'
|
import type { Ref } from 'vue'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
|
||||||
/** 数据加载四态(取值与旧 DataLoadingStatusEnum 一致,二者可互相兼容) */
|
/** 数据加载四态(取值与 DataLoadingStatusEnum 一致,二者可互相兼容) */
|
||||||
export type DataLoadingStatus = 'loading' | 'error' | 'empty' | 'success' |'no-network'
|
export type DataLoadingStatus = 'loading' | 'error' | 'empty' | 'success' | 'noNetwork'
|
||||||
|
|
||||||
export interface IUseDataLoadingOptions<T> {
|
export interface IUseDataLoadingOptions<T> {
|
||||||
/** 自定义判空;默认:数组看长度、对象看键数、空值视为空 */
|
/** 自定义判空;默认:数组看长度、对象看键数、空值视为空 */
|
||||||
|
|||||||
@@ -18,6 +18,14 @@ const LoadMoreStatusText = {
|
|||||||
|
|
||||||
export type LoadMoreStatus = keyof typeof LoadMoreStatusText
|
export type LoadMoreStatus = keyof typeof LoadMoreStatusText
|
||||||
|
|
||||||
|
/** 加载更多内部状态(完整形态,区别于可选的 LoadMoreStatusOption) */
|
||||||
|
export interface LoadMoreStatusState {
|
||||||
|
active: boolean;
|
||||||
|
hasNext: boolean;
|
||||||
|
status: LoadMoreStatus;
|
||||||
|
text: string;
|
||||||
|
}
|
||||||
|
|
||||||
export interface LoadMoreStatusOption {
|
export interface LoadMoreStatusOption {
|
||||||
// 是否激活加载
|
// 是否激活加载
|
||||||
active?: boolean;
|
active?: boolean;
|
||||||
@@ -29,7 +37,7 @@ export interface LoadMoreStatusOption {
|
|||||||
export function useDataLoadingStatus(defaultStatus?: DataLoadingStatus) {
|
export function useDataLoadingStatus(defaultStatus?: DataLoadingStatus) {
|
||||||
const loadingStatus = ref<DataLoadingStatus>(defaultStatus ?? DataLoadingStatusEnum.Loading);
|
const loadingStatus = ref<DataLoadingStatus>(defaultStatus ?? DataLoadingStatusEnum.Loading);
|
||||||
|
|
||||||
const _loadMoreStatus = ref<LoadMoreStatus>({
|
const _loadMoreStatus = ref<LoadMoreStatusState>({
|
||||||
active: false,
|
active: false,
|
||||||
hasNext: false,
|
hasNext: false,
|
||||||
status: 'loadMore',
|
status: 'loadMore',
|
||||||
@@ -43,8 +51,6 @@ export function useDataLoadingStatus(defaultStatus?: DataLoadingStatus) {
|
|||||||
if (!_loadMoreStatus.value.text) {
|
if (!_loadMoreStatus.value.text) {
|
||||||
result.text = LoadMoreStatusText[_loadMoreStatus.value.status];
|
result.text = LoadMoreStatusText[_loadMoreStatus.value.status];
|
||||||
}
|
}
|
||||||
console.log('会触发吗?', _loadMoreStatus.value);
|
|
||||||
console.log('会触发吗 result', result);
|
|
||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -65,10 +71,10 @@ export function useDataLoadingStatus(defaultStatus?: DataLoadingStatus) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateLoadMoreStatus(status: LoadMoreStatusOption) {
|
function updateLoadMoreStatus(status: LoadMoreStatusOption) {
|
||||||
_loadMoreStatus.value.active = status.active;
|
_loadMoreStatus.value.active = status.active ?? false;
|
||||||
_loadMoreStatus.value.status = status.status;
|
_loadMoreStatus.value.status = status.status ?? 'loadMore';
|
||||||
_loadMoreStatus.value.hasNext = status.hasNext;
|
_loadMoreStatus.value.hasNext = status.hasNext ?? false;
|
||||||
_loadMoreStatus.value.text = status.text;
|
_loadMoreStatus.value.text = status.text ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
/* ---------------- 状态 ---------------- */
|
/* ---------------- 状态 ---------------- */
|
||||||
const { loadingStatus, loadMoreStatus, updateLoadingStatus, updateLoadMoreStatus, resetLoadingStatus, resetLoadMoreStatus } = useDataLoadingStatus()
|
const { loadingStatus, loadMoreStatus, updateLoadingStatus, updateLoadMoreStatus, resetLoadingStatus, resetLoadMoreStatus } = useDataLoadingStatus()
|
||||||
const queryParams = ref({
|
const queryParams = ref({
|
||||||
size: 3,
|
size: 10,
|
||||||
page: 1,
|
page: 1,
|
||||||
fieldSelector: ['spec.hideFromList=false'],
|
fieldSelector: ['spec.hideFromList=false'],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
import { useAppConfigStore } from '@/store/appConfig'
|
import { useAppConfigStore } from '@/store/appConfig'
|
||||||
import { useSettingStore } from '@/store/setting'
|
import { useSettingStore } from '@/store/setting'
|
||||||
import { checkAvatarUrl, checkImageUrl } from '@/utils/url'
|
import { checkAvatarUrl, checkImageUrl } from '@/utils/url'
|
||||||
|
import { sleep } from '@/utils/common'
|
||||||
import { t } from '@/locale'
|
import { t } from '@/locale'
|
||||||
import { useMaintenanceIntercept } from '@/hooks/useMaintenanceIntercept'
|
import { useMaintenanceIntercept } from '@/hooks/useMaintenanceIntercept'
|
||||||
import { DataLoadingStatusEnum, useDataLoadingStatus } from '@/hooks/useDataLoadingStatus'
|
import { DataLoadingStatusEnum, useDataLoadingStatus } from '@/hooks/useDataLoadingStatus'
|
||||||
@@ -29,13 +30,9 @@
|
|||||||
const haloConfigs = computed(() => appConfigStore.configs)
|
const haloConfigs = computed(() => appConfigStore.configs)
|
||||||
|
|
||||||
/* ---------------- 状态 ---------------- */
|
/* ---------------- 状态 ---------------- */
|
||||||
const { loadingStatus, updateLoadingStatus } = useDataLoadingStatus()
|
const { loadingStatus, loadMoreStatus, updateLoadingStatus, updateLoadMoreStatus, resetLoadMoreStatus } = useDataLoadingStatus()
|
||||||
const isLoadMore = ref(false)
|
|
||||||
const loadMoreText = ref(t('common.loading'))
|
|
||||||
const articleList = ref<IPost[]>([])
|
const articleList = ref<IPost[]>([])
|
||||||
|
|
||||||
const result = ref<{ hasNext : boolean }>({ hasNext: false })
|
|
||||||
|
|
||||||
const queryParams = ref({
|
const queryParams = ref({
|
||||||
size: 10,
|
size: 10,
|
||||||
page: 1,
|
page: 1,
|
||||||
@@ -65,7 +62,7 @@
|
|||||||
if (recommendMode.value === mode)
|
if (recommendMode.value === mode)
|
||||||
return
|
return
|
||||||
recommendMode.value = mode
|
recommendMode.value = mode
|
||||||
isLoadMore.value = false
|
resetLoadMoreStatus()
|
||||||
articleList.value = []
|
articleList.value = []
|
||||||
queryParams.value.page = 1
|
queryParams.value.page = 1
|
||||||
queryParams.value.sort = recommendSortMap[mode]
|
queryParams.value.sort = recommendSortMap[mode]
|
||||||
@@ -104,7 +101,8 @@
|
|||||||
/** 文章列表 */
|
/** 文章列表 */
|
||||||
async function handleGetArticleList() {
|
async function handleGetArticleList() {
|
||||||
if (calcAuditModeEnabled.value) {
|
if (calcAuditModeEnabled.value) {
|
||||||
// 审核模式:真实文章按 audit-data posts 过滤(数组顺序即展示顺序)
|
// 审核模式:真实文章按 audit-data posts 过滤(数组顺序即展示顺序),一次拉取不分页
|
||||||
|
resetLoadMoreStatus()
|
||||||
const auditPostNames = appConfigStore.auditData.spec?.posts || []
|
const auditPostNames = appConfigStore.auditData.spec?.posts || []
|
||||||
try {
|
try {
|
||||||
const res = await getPostList({ page: 1, size: 0, sort: ['spec.publishTime,desc'] })
|
const res = await getPostList({ page: 1, size: 0, sort: ['spec.publishTime,desc'] })
|
||||||
@@ -114,12 +112,19 @@
|
|||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
updateLoadingStatus(articleList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
updateLoadingStatus(articleList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
||||||
loadMoreText.value = t('common.noMore')
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'noMore',
|
||||||
|
hasNext: false,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.error('获取审核文章失败', err)
|
console.error('获取审核文章失败', err)
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
||||||
loadMoreText.value = t('common.loadFailed')
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'error',
|
||||||
|
})
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
@@ -128,27 +133,39 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isLoadMore.value) {
|
if (!loadMoreStatus.value.active) {
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Loading)
|
updateLoadingStatus(DataLoadingStatusEnum.Loading)
|
||||||
}
|
}
|
||||||
loadMoreText.value = t('common.loading')
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await getPostList({ ...toRaw(queryParams.value) })
|
const res = await getPostList({ ...toRaw(queryParams.value) })
|
||||||
result.value.hasNext = res.data.hasNext
|
articleList.value = (loadMoreStatus.value.active
|
||||||
articleList.value = (isLoadMore.value
|
|
||||||
? articleList.value.concat(res.data.items)
|
? articleList.value.concat(res.data.items)
|
||||||
: res.data.items).map((item) => {
|
: res.data.items).map((item) => {
|
||||||
item.owner.avatar = checkAvatarUrl(item.owner.avatar)
|
item.owner.avatar = checkAvatarUrl(item.owner.avatar)
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
|
if (!loadMoreStatus.value.active) {
|
||||||
|
await sleep(600)
|
||||||
updateLoadingStatus(articleList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
updateLoadingStatus(articleList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
||||||
loadMoreText.value = res.data.hasNext ? t('common.loadMore') : t('common.noMore')
|
}
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: res.data.hasNext ? 'loadMore' : 'noMore',
|
||||||
|
hasNext: res.data.hasNext,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
|
||||||
loadMoreText.value = t('common.loadFailed')
|
|
||||||
console.error('获取文章失败', err)
|
console.error('获取文章失败', err)
|
||||||
|
if (loadMoreStatus.value.active) {
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'error',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
@@ -182,23 +199,29 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
onPullDownRefresh(() => {
|
onPullDownRefresh(() => {
|
||||||
isLoadMore.value = false
|
resetLoadMoreStatus()
|
||||||
queryParams.value.page = 1
|
queryParams.value.page = 1
|
||||||
handleQuery()
|
handleQuery()
|
||||||
})
|
})
|
||||||
|
|
||||||
onReachBottom(() => {
|
onReachBottom(() => {
|
||||||
|
// 审核模式:一次拉取不分页,直接提示到底
|
||||||
if (calcAuditModeEnabled.value) {
|
if (calcAuditModeEnabled.value) {
|
||||||
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (result.value.hasNext) {
|
// 正在加载时阻止重复请求
|
||||||
queryParams.value.page += 1
|
if (loadMoreStatus.value.active) {
|
||||||
isLoadMore.value = true
|
return
|
||||||
handleGetArticleList()
|
|
||||||
}
|
}
|
||||||
else {
|
// 有更多数据时继续加载
|
||||||
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
if (loadMoreStatus.value.hasNext) {
|
||||||
|
queryParams.value.page += 1
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: true,
|
||||||
|
status: 'loading',
|
||||||
|
})
|
||||||
|
handleGetArticleList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -251,9 +274,7 @@
|
|||||||
<uh-article-card v-for="(article, index) in articleList" :key="index" from="home" :article="article"
|
<uh-article-card v-for="(article, index) in articleList" :key="index" from="home" :article="article"
|
||||||
:variant="homeListLayout === 'double' ? 'grid' : 'list'" :audit-mode="calcAuditModeEnabled" />
|
:variant="homeListLayout === 'double' ? 'grid' : 'list'" :audit-mode="calcAuditModeEnabled" />
|
||||||
</view>
|
</view>
|
||||||
<view class="mt-3 box-border pb-5 text-center text-xs text-gray-400">
|
<uh-data-loadmore :status="loadMoreStatus.status" :text="loadMoreStatus.text" />
|
||||||
{{ loadMoreText }}
|
|
||||||
</view>
|
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<uh-notify-dialog />
|
<uh-notify-dialog />
|
||||||
|
|||||||
@@ -62,9 +62,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------- 状态 ---------------- */
|
/* ---------------- 状态 ---------------- */
|
||||||
const { loadingStatus, updateLoadingStatus } = useDataLoadingStatus()
|
const { loadingStatus, loadMoreStatus, updateLoadingStatus, updateLoadMoreStatus, resetLoadMoreStatus } = useDataLoadingStatus()
|
||||||
const queryParams = ref({ size: 10, page: 1 })
|
const queryParams = ref({ size: 10, page: 1 })
|
||||||
const hasNext = ref(false)
|
|
||||||
/** 列表卡片 */
|
/** 列表卡片 */
|
||||||
type MomentCard = IMoment & {
|
type MomentCard = IMoment & {
|
||||||
images ?: { type ?: string, url : string }[]
|
images ?: { type ?: string, url : string }[]
|
||||||
@@ -77,8 +76,6 @@
|
|||||||
weekend : string
|
weekend : string
|
||||||
}
|
}
|
||||||
const dataList = ref<MomentCard[]>([])
|
const dataList = ref<MomentCard[]>([])
|
||||||
const isLoadMore = ref(false)
|
|
||||||
const loadMoreText = ref(t('common.loading'))
|
|
||||||
const videoContexts = ref<Record<string, UniApp.VideoContext | undefined>>({})
|
const videoContexts = ref<Record<string, UniApp.VideoContext | undefined>>({})
|
||||||
const currentVideoId = ref<string | null>(null)
|
const currentVideoId = ref<string | null>(null)
|
||||||
|
|
||||||
@@ -125,6 +122,8 @@
|
|||||||
/* ---------------- 数据加载 ---------------- */
|
/* ---------------- 数据加载 ---------------- */
|
||||||
async function handleGetData() {
|
async function handleGetData() {
|
||||||
if (calcAuditModeEnabled.value) {
|
if (calcAuditModeEnabled.value) {
|
||||||
|
// 审核模式:按 audit-data moments 顺序展示,一次拉取不分页
|
||||||
|
resetLoadMoreStatus()
|
||||||
const auditMomentNames = appConfigStore.auditData.spec?.moments || []
|
const auditMomentNames = appConfigStore.auditData.spec?.moments || []
|
||||||
try {
|
try {
|
||||||
const res = await getMomentList({ page: 1, size: 0 })
|
const res = await getMomentList({ page: 1, size: 0 })
|
||||||
@@ -136,42 +135,61 @@
|
|||||||
dataList.value = tempItems
|
dataList.value = tempItems
|
||||||
await sleep(600)
|
await sleep(600)
|
||||||
updateLoadingStatus(dataList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
updateLoadingStatus(dataList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
||||||
loadMoreText.value = t('common.noMore')
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'noMore',
|
||||||
|
hasNext: false,
|
||||||
|
})
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
||||||
loadMoreText.value = t('common.loadFailed')
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'error',
|
||||||
|
})
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isLoadMore.value) {
|
if (!loadMoreStatus.value.active) {
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Loading)
|
updateLoadingStatus(DataLoadingStatusEnum.Loading)
|
||||||
}
|
}
|
||||||
loadMoreText.value = t('common.loading')
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await getMomentList({ ...queryParams.value })
|
const res = await getMomentList({ ...queryParams.value })
|
||||||
loadMoreText.value = res.data.hasNext ? t('common.loadMore') : t('common.noMore')
|
|
||||||
hasNext.value = res.data.hasNext
|
|
||||||
|
|
||||||
const tempItems = res.data.items
|
const tempItems = res.data.items
|
||||||
.filter(x => x.spec.visible === 'PUBLIC')
|
.filter(x => x.spec.visible === 'PUBLIC')
|
||||||
.map(mapMomentItem)
|
.map(mapMomentItem)
|
||||||
|
|
||||||
dataList.value = isLoadMore.value
|
dataList.value = loadMoreStatus.value.active
|
||||||
? dataList.value.concat(tempItems)
|
? dataList.value.concat(tempItems)
|
||||||
: tempItems
|
: tempItems
|
||||||
|
|
||||||
|
if (!loadMoreStatus.value.active) {
|
||||||
await sleep(600)
|
await sleep(600)
|
||||||
updateLoadingStatus(dataList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
updateLoadingStatus(dataList.value.length === 0 ? DataLoadingStatusEnum.Empty : DataLoadingStatusEnum.Success)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: res.data.hasNext ? 'loadMore' : 'noMore',
|
||||||
|
hasNext: res.data.hasNext,
|
||||||
|
})
|
||||||
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
|
if (loadMoreStatus.value.active) {
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: false,
|
||||||
|
status: 'error',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
else {
|
||||||
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
updateLoadingStatus(DataLoadingStatusEnum.Error)
|
||||||
loadMoreText.value = t('common.loadFailed')
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
@@ -282,7 +300,7 @@
|
|||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
isLoadMore.value = false
|
resetLoadMoreStatus()
|
||||||
queryParams.value.page = 1
|
queryParams.value.page = 1
|
||||||
videoContexts.value = {}
|
videoContexts.value = {}
|
||||||
currentVideoId.value = null
|
currentVideoId.value = null
|
||||||
@@ -292,17 +310,23 @@
|
|||||||
onReachBottom(() => {
|
onReachBottom(() => {
|
||||||
if (!uniHaloPluginAvailable.value)
|
if (!uniHaloPluginAvailable.value)
|
||||||
return
|
return
|
||||||
|
// 审核模式:一次拉取不分页,直接提示到底
|
||||||
if (calcAuditModeEnabled.value) {
|
if (calcAuditModeEnabled.value) {
|
||||||
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (hasNext.value) {
|
// 正在加载时阻止重复请求
|
||||||
queryParams.value.page += 1
|
if (loadMoreStatus.value.active) {
|
||||||
isLoadMore.value = true
|
return
|
||||||
handleGetData()
|
|
||||||
}
|
}
|
||||||
else {
|
// 有更多数据时继续加载
|
||||||
uni.showToast({ icon: 'none', title: t('common.noMoreData') })
|
if (loadMoreStatus.value.hasNext) {
|
||||||
|
queryParams.value.page += 1
|
||||||
|
updateLoadMoreStatus({
|
||||||
|
active: true,
|
||||||
|
status: 'loading',
|
||||||
|
})
|
||||||
|
handleGetData()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -411,9 +435,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="load-text pb-5 pt-1 text-center text-xs text-gray-500">
|
<uh-data-loadmore :status="loadMoreStatus.status" :text="loadMoreStatus.text" />
|
||||||
{{ loadMoreText }}
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user