💡 整理 todo

This commit is contained in:
BTMuli
2023-12-29 14:52:06 +08:00
parent b1496f1232
commit d0fff017cf
6 changed files with 3 additions and 9 deletions

View File

@@ -5,7 +5,6 @@
<span>近期活动</span>
</div>
<div v-if="!loading" class="position-grid">
<!-- todo hover 效果优化 -->
<v-card
v-for="card in positionCards"
:key="card.postId"

View File

@@ -1,4 +1,5 @@
<template>
<!-- todo 样式优化 47041934-->
<div
class="tp-villa-card-box"
:style="{

View File

@@ -39,7 +39,6 @@
<span>刷新</span>
</v-btn>
</div>
<!-- todo: hover效果本来是只有 iconhover之后显示 title -->
<div class="posts-nav">
<div
v-for="navItem in nav"
@@ -271,7 +270,6 @@ async function toNav(path: string): Promise<void> {
window.open(path);
return;
}
// todo 记忆宽屏竖屏
const modeConfirm = await showConfirm({
title: "是否采用宽屏模式打开?",
text: "取消则采用竖屏模式打开",

View File

@@ -1,6 +1,5 @@
/**
* @file plugins/Mys/utils/doGameLogin
* @todo 完善
* @description 获取 gameToken曲线获取 stoken
* @since Beta v0.3.0
*/
@@ -29,7 +28,7 @@ export async function getLoginQr(): Promise<
})
.then((res) => {
if (res.data.retcode === 0) return res.data.data;
return res.data;
return <TGApp.BBS.Response.Base>res.data;
});
}
@@ -44,7 +43,6 @@ export async function getLoginStatus(
): Promise<TGApp.Plugins.Mys.GameLogin.GetLoginStatusData | TGApp.BBS.Response.Base> {
const url = "https://hk4e-sdk.mihoyo.com/hk4e_cn/combo/panda/qrcode/query";
const data = { app_id: "4", device, ticket };
console.log(data);
return await http
.fetch<TGApp.Plugins.Mys.GameLogin.GetLoginStatusResponse | TGApp.BBS.Response.Base>(url, {
method: "POST",
@@ -52,6 +50,6 @@ export async function getLoginStatus(
})
.then((res) => {
if (res.data.retcode === 0) return res.data.data;
return res.data;
return <TGApp.BBS.Response.Base>res.data;
});
}

View File

@@ -1,7 +1,6 @@
/**
* @file types/App/Achievement.d.ts
* @description 应用成就相关类型定义文件
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
* @since Alpha v0.1.5
*/

View File

@@ -1,7 +1,6 @@
/**
* @file types/Sqlite/Achievement.d.ts
* @description 数据库成就相关类型定义文件
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
* @since Alpha v0.2.0
*/