temp layout
This commit is contained in:
35
components/TransactionList.vue
Normal file
35
components/TransactionList.vue
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<template>
|
||||||
|
<v-list :items="items"></v-list>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup>
|
||||||
|
let items = [
|
||||||
|
{ type: 'subheader', title: 'Group #1' },
|
||||||
|
{
|
||||||
|
title: 'Item #1',
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Item #2',
|
||||||
|
value: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Item #3',
|
||||||
|
value: 3,
|
||||||
|
},
|
||||||
|
{ type: 'divider' },
|
||||||
|
{ type: 'subheader', title: 'Group #2' },
|
||||||
|
{
|
||||||
|
title: 'Item #4',
|
||||||
|
value: 4,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Item #5',
|
||||||
|
value: 5,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Item #6',
|
||||||
|
value: 6,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
</script>
|
||||||
@@ -1,10 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-layout class="rounded rounded-md">
|
<!-- <v-layout class=""> -->
|
||||||
<!-- <p>desktop layout</p> -->
|
<!-- <p>desktop layout</p> -->
|
||||||
|
<div>
|
||||||
<DesktopSideBar />
|
<DesktopSideBar />
|
||||||
<v-app-bar><slot name="app-bar-container"></slot></v-app-bar>
|
<v-app-bar flat>
|
||||||
<v-main class="d-flex align-center justify-center" style="min-height: 300px;">
|
<slot name="app-bar-container"></slot>
|
||||||
<slot />
|
</v-app-bar>
|
||||||
|
<v-main class="bg-grey-lighten-4">
|
||||||
|
<v-container>
|
||||||
|
<slot />
|
||||||
|
</v-container>
|
||||||
</v-main>
|
</v-main>
|
||||||
</v-layout>
|
</div>
|
||||||
|
<!-- </v-layout> -->
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
<template #app-bar-container>
|
<template #app-bar-container>
|
||||||
<v-app-bar-title>Transactions</v-app-bar-title>
|
<v-app-bar-title>Transactions</v-app-bar-title>
|
||||||
</template>
|
</template>
|
||||||
Transaction Page
|
<v-card>
|
||||||
|
<transaction-list></transaction-list>
|
||||||
|
</v-card>
|
||||||
</NuxtLayout>
|
</NuxtLayout>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user