1
0
spogulis no https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 13:19:31 +08:00

chore: 发布版本2.0.10,修复并优化多项功能

1.  更新manifest.json和package.json版本号至2.0.10
2.  修复友情链接api #40
3.  修复图库api #39
4.  统一home.vue页面的代码缩进格式
5.  清理api文件冗余注释,修复接口域名路径
6.  优化图库页面空状态提示文案
Šī revīzija ir iekļauta:
小莫唐尼
2026-05-25 00:23:15 +08:00
vecāks e426abf336
revīzija 6f01501fd1
7 mainīti faili ar 53 papildinājumiem un 158 dzēšanām
+8 -4
Parādīt failu
@@ -18,7 +18,7 @@
<tm-skeleton model="card"></tm-skeleton>
</view>
<view v-else-if="loading == 'error'" class="flex flex-col flex-center" style="width:100%;height:60vh;">
<tm-empty icon="icon-wind-cry" label="阿偶,似乎获取数据失败了~">
<tm-empty icon="icon-wind-cry" label="阿偶,获取数据失败了~">
<tm-button theme="light-blue" size="m" :shadow="0" @click="fnGetData(true)">刷新试试</tm-button>
</tm-empty>
</view>
@@ -206,14 +206,18 @@
page: 1,
size: 0
}).then(res => {
this.category.list = res.items.map(item => {
this.category.list = res.map(item => {
return {
name: item.metadata.name,
displayName: item.spec.displayName,
priority: item.spec.priority
}
}).sort((a, b) => a.priority - b.priority);
}).sort((a, b) => a.priority - b.priority)
this.category.list.unshift({
name: undefined,
displayName: '全部',
priority: 0
});
if (this.category.list.length !== 0) {
this.queryParams.group = this.category.list[0].name;
this.fnGetData(true);
+7 -7
Parādīt failu
@@ -30,7 +30,7 @@
</view>
<!-- 金刚区 :v-if="navList.filter(x=>x.show).length>=4" -->
<view v-if="calcIsShowQuickNavigationEnabled && !!navList.filter(x=>x.show).length" class="nav-box mt-16 mb-24 pl-24 pr-24 uh-py-12">
<view v-if="calcIsShowQuickNavigationEnabled && !!navList.filter(x=>x.show).length" class="nav-box mt-16 mb-24 pl-24 pr-24 uh-py-12">
<view class="page-item_title text-weight-b ">快捷导航</view>
<view class="nav-list flex uh-mt-12">
<template v-for="(item,index) in navList">
@@ -193,12 +193,12 @@
}
return this.haloConfigs.pageConfig.homeConfig.useCategory
},
calcVotePluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.votePlugin?.enabled
},
calcLinksPluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.linksPlugin?.enabled;
},
calcVotePluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.votePlugin?.enabled
},
calcLinksPluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.linksPlugin?.enabled;
},
bannerConfig() {
return this.haloConfigs.pageConfig.homeConfig.bannerConfig
}