Merge branch 'dev'

This commit is contained in:
奔跑的面条 2024-04-17 10:23:22 +08:00
commit 7ddee409e0
3 changed files with 5 additions and 7 deletions

View File

@ -38,18 +38,16 @@ const isProject = computed(() => {
</script>
<style lang="scss" scoped>
$min-width: 520px;
@include go(header) {
&-box {
display: grid;
grid-template-columns: repeat(3, 33%);
display: flex;
justify-content: space-between;
&.is-project {
grid-template-columns: none;
}
.header-item {
display: flex;
align-items: center;
min-width: $min-width;
&.left {
justify-content: start;
}

View File

@ -1,5 +1,5 @@
<template>
<n-space class="header-left-btn" :size="25">
<n-space class="header-left-btn" :wrap="false" :size="25">
<n-button size="small" quaternary @click="goHomeHandle()">
<template #icon>
<n-icon :depth="3">
@ -7,7 +7,7 @@
</n-icon>
</template>
</n-button>
<n-space>
<n-space :wrap="false">
<!-- 模块展示按钮 -->
<n-tooltip v-for="item in btnList" :key="item.key" placement="bottom" trigger="hover">
<template #trigger>

View File

@ -1,5 +1,5 @@
<template>
<n-space class="go-mt-0">
<n-space class="go-mt-0" :wrap="false">
<n-button v-for="item in comBtnList" :key="item.title" :type="item.type" ghost @click="item.event">
<template #icon>
<component :is="item.icon"></component>