mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
💡 整理 todo
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<!-- todo 样式优化 47041934-->
|
||||
<div
|
||||
class="tp-villa-card-box"
|
||||
:style="{
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
<span>刷新</span>
|
||||
</v-btn>
|
||||
</div>
|
||||
<!-- todo: hover效果,本来是只有 icon,hover之后显示 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: "取消则采用竖屏模式打开",
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
1
src/types/App/Achievement.d.ts
vendored
1
src/types/App/Achievement.d.ts
vendored
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @file types/App/Achievement.d.ts
|
||||
* @description 应用成就相关类型定义文件
|
||||
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
|
||||
* @since Alpha v0.1.5
|
||||
*/
|
||||
|
||||
|
||||
1
src/types/Sqlite/Achievement.d.ts
vendored
1
src/types/Sqlite/Achievement.d.ts
vendored
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @file types/Sqlite/Achievement.d.ts
|
||||
* @description 数据库成就相关类型定义文件
|
||||
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
|
||||
* @since Alpha v0.2.0
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user