WebUI 的版本号直接从 1.0.0 开始,目前而言无需激烈地重构了。 WebUI 使用 pnpm 管理构建流程,构建需要使用 `pnpm build` 。Kimi 说使用 `npm run build` 可能也行,等待测试了。
28 lines
539 B
Vue
28 lines
539 B
Vue
<script lang="ts" setup></script>
|
|
|
|
<template>
|
|
<div id="nav-container">
|
|
<div id="nav-title">
|
|
<n-h3 class="no-margin-bottom">NJUPT Suan API</n-h3>
|
|
</div>
|
|
<n-button secondary type="primary">概览</n-button>
|
|
<n-button secondary type="info">GitHub</n-button>
|
|
<n-button secondary type="error">芒果</n-button>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
#nav-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
max-width: 100vw;
|
|
align-items: center;
|
|
padding: 10px;
|
|
gap: 10px;
|
|
}
|
|
|
|
#nav-title {
|
|
flex: 1;
|
|
}
|
|
</style>
|