♻️ 全面整理重构

This commit is contained in:
目棃
2024-12-13 16:15:01 +08:00
parent 86bfc80b57
commit 3ed6d503d4
229 changed files with 3105 additions and 4127 deletions

View File

@@ -1,17 +1,15 @@
<template>
<div class="tuca-box">
<TItembox v-for="(item, idx) in props.modelValue" :key="idx" :model-value="getItemBox(item)" />
<TItemBox v-for="(item, idx) in props.modelValue" :key="idx" :model-value="getItemBox(item)" />
</div>
</template>
<script lang="ts" setup>
import TItemBox, { type TItemBoxData } from "@comp/app/t-itemBox.vue";
import { computed } from "vue";
import { getZhElement } from "../../utils/toolFunc.js";
import TItembox, { TItemBoxData } from "../app/t-item-box.vue";
import { getZhElement } from "@/utils/toolFunc.js";
interface TucAvatarsProps {
modelValue: TGApp.Game.Combat.Avatar[];
}
type TucAvatarsProps = { modelValue: Array<TGApp.Game.Combat.Avatar> };
const props = defineProps<TucAvatarsProps>();
const columnCnt = computed<number>(() => {