💡 整理 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> <span>近期活动</span>
</div> </div>
<div v-if="!loading" class="position-grid"> <div v-if="!loading" class="position-grid">
<!-- todo hover 效果优化 -->
<v-card <v-card
v-for="card in positionCards" v-for="card in positionCards"
:key="card.postId" :key="card.postId"

View File

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

View File

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

View File

@@ -1,6 +1,5 @@
/** /**
* @file plugins/Mys/utils/doGameLogin * @file plugins/Mys/utils/doGameLogin
* @todo 完善
* @description 获取 gameToken曲线获取 stoken * @description 获取 gameToken曲线获取 stoken
* @since Beta v0.3.0 * @since Beta v0.3.0
*/ */
@@ -29,7 +28,7 @@ export async function getLoginQr(): Promise<
}) })
.then((res) => { .then((res) => {
if (res.data.retcode === 0) return res.data.data; 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> { ): Promise<TGApp.Plugins.Mys.GameLogin.GetLoginStatusData | TGApp.BBS.Response.Base> {
const url = "https://hk4e-sdk.mihoyo.com/hk4e_cn/combo/panda/qrcode/query"; const url = "https://hk4e-sdk.mihoyo.com/hk4e_cn/combo/panda/qrcode/query";
const data = { app_id: "4", device, ticket }; const data = { app_id: "4", device, ticket };
console.log(data);
return await http return await http
.fetch<TGApp.Plugins.Mys.GameLogin.GetLoginStatusResponse | TGApp.BBS.Response.Base>(url, { .fetch<TGApp.Plugins.Mys.GameLogin.GetLoginStatusResponse | TGApp.BBS.Response.Base>(url, {
method: "POST", method: "POST",
@@ -52,6 +50,6 @@ export async function getLoginStatus(
}) })
.then((res) => { .then((res) => {
if (res.data.retcode === 0) return res.data.data; 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 * @file types/App/Achievement.d.ts
* @description 应用成就相关类型定义文件 * @description 应用成就相关类型定义文件
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
* @since Alpha v0.1.5 * @since Alpha v0.1.5
*/ */

View File

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