refactor layout
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<template>
|
||||
<div class="product-tab">
|
||||
<t-navbar fixed :z-index="20" title="产品" />
|
||||
<main class="page-content scroll column product-tab">
|
||||
<t-cell-group
|
||||
v-for="(group, index) in visibleMenuGroupList"
|
||||
:key="group.title"
|
||||
class="menu-group"
|
||||
:title="group.title"
|
||||
theme="card"
|
||||
v-entrance-transition="{ step: 30 }"
|
||||
v-entrance-transition
|
||||
>
|
||||
<t-cell
|
||||
v-for="item in group.items"
|
||||
@@ -23,7 +24,7 @@
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<div v-if="!visibleMenuGroupList.length" class="empty" v-text="'当前账号暂无产品管理权限'" />
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -177,8 +178,5 @@ async function go(path: string): Promise<void> {
|
||||
<style scoped lang="less">
|
||||
.product-tab {
|
||||
gap: .5rem;
|
||||
display: flex;
|
||||
padding: calc(var(--app-nav-height)) 0 6rem;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user