新建 item-box 组件

This commit is contained in:
BTMuli
2023-06-01 19:33:04 +08:00
parent 2b768bbf88
commit ab6a41b09b
4 changed files with 218 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
<template>
<TItemBox :data="props.modelValue as Record<string,string|number>" :size="props.size" model-value="calendar-avatar" display="inner" />
</template>
<script lang="ts" setup>
import TItemBox from "../main/t-itembox.vue";
interface TibCalendarAvatarProps {
size: string,
modelValue: TGApp.App.Calendar.Item
}
const props = defineProps<TibCalendarAvatarProps>();
</script>

View File

@@ -0,0 +1,13 @@
<template>
<TItemBox :data="props.modelValue as Record<string,string|number>" :size="props.size" model-value="calendar-weapon" display="inner" />
</template>
<script lang="ts" setup>
import TItemBox from "../main/t-itembox.vue";
interface TibCalendarWeaponProps {
size: string,
modelValue: TGApp.App.Calendar.Item
}
const props = defineProps<TibCalendarWeaponProps>();
</script>