sysmgr-admin/src/components/ty-footer.vue
liuyun 99650949c0 style: polish admin layout visuals
- 顶栏改柔和阴影,Logo 区与侧栏连成一体(同宽+右边框)
- 侧栏菜单项圆角、主题色高亮、hover 过渡
- 内容区灰底衬白,footer 加顶边框,多页签激活态配色统一

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-11 00:40:11 +08:00

43 lines
832 B
Vue

<template>
<footer class="ty-footer" :class="{ 'is-fixed': fixed }">
<span>{{ copyright }}</span>
</footer>
</template>
<script setup lang="ts">
defineOptions({ name: 'TyFooter' })
withDefaults(
defineProps<{
/** 版权文案。 */
copyright?: string
/** 是否固定在视口底部。 */
fixed?: boolean
}>(),
{
copyright: '云南投云科技有限公司',
fixed: false,
},
)
</script>
<style scoped lang="scss">
.ty-footer {
display: flex;
align-items: center;
justify-content: center;
padding: 6px 16px;
line-height: 1.4;
font-size: var(--wm-font-size-xs);
color: var(--wm-color-text-secondary);
background: var(--wm-bg-color-base);
border-top: 1px solid var(--wm-border-color-light);
}
.ty-footer.is-fixed {
position: sticky;
bottom: 0;
z-index: 9;
}
</style>