mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-18 10:18:14 +08:00
✨ 新建 item-box 组件
This commit is contained in:
13
src/components/itembox/tib-calendar-avatar.vue
Normal file
13
src/components/itembox/tib-calendar-avatar.vue
Normal 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>
|
||||
13
src/components/itembox/tib-calendar-weapon.vue
Normal file
13
src/components/itembox/tib-calendar-weapon.vue
Normal 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>
|
||||
Reference in New Issue
Block a user