mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
Merge branch 'dev'
This commit is contained in:
commit
7ddee409e0
@ -38,18 +38,16 @@ const isProject = computed(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
$min-width: 520px;
|
|
||||||
@include go(header) {
|
@include go(header) {
|
||||||
&-box {
|
&-box {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(3, 33%);
|
justify-content: space-between;
|
||||||
&.is-project {
|
&.is-project {
|
||||||
grid-template-columns: none;
|
grid-template-columns: none;
|
||||||
}
|
}
|
||||||
.header-item {
|
.header-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-width: $min-width;
|
|
||||||
&.left {
|
&.left {
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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()">
|
<n-button size="small" quaternary @click="goHomeHandle()">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<n-icon :depth="3">
|
<n-icon :depth="3">
|
||||||
@ -7,7 +7,7 @@
|
|||||||
</n-icon>
|
</n-icon>
|
||||||
</template>
|
</template>
|
||||||
</n-button>
|
</n-button>
|
||||||
<n-space>
|
<n-space :wrap="false">
|
||||||
<!-- 模块展示按钮 -->
|
<!-- 模块展示按钮 -->
|
||||||
<n-tooltip v-for="item in btnList" :key="item.key" placement="bottom" trigger="hover">
|
<n-tooltip v-for="item in btnList" :key="item.key" placement="bottom" trigger="hover">
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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">
|
<n-button v-for="item in comBtnList" :key="item.title" :type="item.type" ghost @click="item.event">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<component :is="item.icon"></component>
|
<component :is="item.icon"></component>
|
||||||
|
Loading…
Reference in New Issue
Block a user