主页原先内嵌整个皮肤站网页,现在换成启动器自己的界面,数据全部走 接口: - SkinSiteAccountCard:登录状态、玩家列表(头像由皮肤裁剪生成)、 每日运势。 - SkinSiteNavCards:资源下载、玩家审核、Wiki、漏洞追踪、地图、个人 资料的入口,点击后用系统浏览器打开。 - SkinSiteAnnouncements:拉取公告并按重要度与时间排序。 - SkinSiteDonationCard:捐款累计金额与人数。 - SkinSiteHome:把以上拼装成主页,并显示可复制的接入地址。 - API 层补充捐款与公告接口。 Index.vue 的 iframe 换成 SkinSiteHome。
This commit is contained in:
1 parent
bf175160b0
commit
8599a014ad
7 files changed
+546
-2
No files matched your search
@@ -16,7 +16,7 @@ import HomeLaunchProgress from '@/components/home/HomeLaunchProgress.vue'
|
||||
import HomeMinecraftNews from '@/components/home/HomeMinecraftNews.vue'
|
||||
import HomeMinimal from '@/components/home/HomeMinimal.vue'
|
||||
import HomePlayInsights from '@/components/home/HomePlayInsights.vue'
|
||||
import SkinSiteFrame from '@/components/ui/SkinSiteFrame.vue'
|
||||
import SkinSiteHome from '@/components/ui/skin-site/SkinSiteHome.vue'
|
||||
import { useNetworkStatus } from '@/composables/useNetworkStatus'
|
||||
import { get_default_user, users } from '@/helpers/auth'
|
||||
import { DIRECT_LINKS_SYNCED_EVENT } from '@/helpers/direct-link-sync'
|
||||
@@ -162,7 +162,7 @@ onUnmounted(() => {
|
||||
@select="selectMinimalInstance"
|
||||
/>
|
||||
<div class="home-content" :class="{ 'is-minimal': isMinimal }">
|
||||
<SkinSiteFrame v-if="!isMinimal" />
|
||||
<SkinSiteHome v-if="!isMinimal" />
|
||||
|
||||
<HomeMinimal
|
||||
v-else
|
||||
|
||||
Reference in new issue
Block a user