fix(admin): restore Vite admin source files

This commit is contained in:
kate522 committed 2026-08-17 20:02:36 +08:00
1 parent 8fe3a89c36
commit ac5c0b2dd7
114 files changed
+17272

No files matched your search

@@ -0,0 +1,86 @@
<template>
<header class="aksrt-mobile-topbar">
<button
class="aksrt-mobile-topbar__menu"
type="button"
aria-label="打开菜单"
@click="$emit('toggle')"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<line x1="4" y1="6" x2="20" y2="6"/>
<line x1="4" y1="12" x2="20" y2="12"/>
<line x1="4" y1="18" x2="20" y2="18"/>
</svg>
</button>
<div class="aksrt-mobile-topbar__title">{{ title }}</div>
<div class="aksrt-mobile-topbar__brand">AK</div>
</header>
</template>
<script setup>
defineProps({
title: { type: String, default: 'AKSRT' },
})
defineEmits(['toggle'])
</script>
<style scoped>
.aksrt-mobile-topbar {
display: flex;
align-items: center;
gap: 10px;
height: 48px;
padding: 0 14px;
background: #fff;
border-bottom: 1px solid #eceff5;
position: sticky;
top: 0;
z-index: 50;
}
.aksrt-mobile-topbar__menu {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border: none;
border-radius: 8px;
background: transparent;
color: #1a1a2e;
cursor: pointer;
margin-left: -6px;
}
.aksrt-mobile-topbar__menu:hover {
background: #f3f5f9;
}
.aksrt-mobile-topbar__title {
flex: 1 1 auto;
font-size: 15px;
font-weight: 600;
color: #1a1a2e;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.aksrt-mobile-topbar__brand {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 8px;
background: #18a058;
color: #fff;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
}
</style>