mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
重构BattleReportDialog和BattleSimulatorView相关静态资源,替换旧版JS/CSS文件,提升界面一致性和交互体验。新增和优化空状态、滚动区域等通用UI组件,移除部分冗余composable,完善多语言内容。引入导弹逻辑,补充版本检测工具,提升整体代码结构和可维护性。
20 lines
416 B
Vue
20 lines
416 B
Vue
<template>
|
|
<p
|
|
data-slot="empty-description"
|
|
:class="
|
|
cn('text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', $attrs.class ?? '')
|
|
"
|
|
>
|
|
<slot />
|
|
</p>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
defineProps<{
|
|
class?: HTMLAttributes['class']
|
|
}>()
|
|
</script>
|