💄 微调

This commit is contained in:
BTMuli
2025-12-09 16:48:29 +08:00
parent cc2020c64e
commit a1dca3a1cc
5 changed files with 44 additions and 16 deletions

View File

@@ -66,6 +66,8 @@ async function shareMaterial(): Promise<void> {
}
</script>
<style lang="scss" scoped>
@use "@styles/github.styles.scss" as github-styles;
.pbom-container {
display: flex;
align-items: center;
@@ -135,15 +137,15 @@ async function shareMaterial(): Promise<void> {
}
.cnt {
@include github-styles.github-tag-dark-gen(#ffcd0c);
position: absolute;
top: -4px;
bottom: -4px;
left: 40px;
width: fit-content;
padding: 0 4px;
border: 1px solid var(--common-shadow-1);
border-radius: 12px;
background: var(--box-bg-2);
color: var(--box-text-2);
backdrop-filter: blur(5px);
font-size: 10px;
text-align: center;
}

View File

@@ -43,9 +43,14 @@
<span>隐藏已完成</span>
</div>
</div>
<div class="top-link" title="使用Yae导入" @click="toYae()">
<v-icon>mdi-comment-question-outline</v-icon>
</div>
<v-btn
class="top-link top-btn"
prepend-icon="mdi-import"
title="通过Yae导入"
@click="toYae()"
>
YAE
</v-btn>
</template>
</v-app-bar>
<div class="wrap">
@@ -408,12 +413,6 @@ async function toYae(): Promise<void> {
.top-link {
margin-right: 16px;
margin-left: auto;
color: var(--tgc-od-white);
cursor: pointer;
&:hover {
color: var(--tgc-od-orange);
}
}
.wrap {

View File

@@ -27,8 +27,7 @@ class Sqlite {
"UserAccount",
"UserCharacters",
"UserRecord",
// TODO: v0.9.0 进行注释移除
// "UserBagMaterial"
"UserBagMaterial",
];
private db: Database | null = null;
private static instance: Sqlite | null = null;

View File

@@ -1,7 +1,7 @@
-- sqlite数据库创建表语句
-- @since Beta v0.9.0
-- @brief 创建背包物品表
-- @brief 创建背包物品材料
create table if not exists UserBagMaterial
(
uid integer not null,
@@ -12,6 +12,30 @@ create table if not exists UserBagMaterial
primary key (uid, id)
);
-- @brief 创建背包物品武器表
-- create table if not exists UserBagWeapon
-- (
-- uid integer not null,
-- guid integer not null,
-- id integer not null,
-- records text,
-- info text,
-- updated text,
-- primary key (uid, guid)
-- );
-- @brief 创建背包物品圣遗物表
-- create table if not exists UserBagRelic
-- (
-- uid integer not null,
-- guid integer not null,
-- id integer not null,
-- records text,
-- info text,
-- updated text,
-- primary key (uid, guid)
-- );
-- @brief 创建成就数据表
create table if not exists Achievements
(

View File

@@ -130,6 +130,8 @@ declare namespace TGApp.Plugins.Yae {
* @since Beta v0.9.0
*/
type ReliquaryInfo = {
/** GUID */
guid: number;
/** 等级 */
level: number;
/** 经验 */
@@ -151,6 +153,8 @@ declare namespace TGApp.Plugins.Yae {
* @since Beta v0.9.0
*/
type WeaponInfo = {
/** GUID */
guid: number;
/** 等级 */
level: number;
/** 经验 */