This commit is contained in:
rca 2024-07-21 11:29:33 +09:00
parent 0345d950e9
commit 80b0ec2edf
2 changed files with 34 additions and 0 deletions

29
src/pages/TestPage.vue Normal file
View File

@ -0,0 +1,29 @@
<template>
<q-page class="q-pa-md">
<payment-amount :amount="paymentAmount" />
<past-tasks :tasks="pastTasks" />
</q-page>
</template>
<script>
import PaymentAmount from 'components/TotalComponent.vue';
import PastTasks from 'components/HistoryComponent.vue';
export default {
components: {
PaymentAmount,
PastTasks
},
data() {
return {
paymentAmount: 5000, //
pastTasks: [
{ name: '皿洗い', date: '2024-07-15', amount: 200 },
{ name: '掃除', date: '2024-07-14', amount: 300 },
{ name: '洗濯', date: '2024-07-13', amount: 250 },
], //
};
}
};
</script>

View File

@ -11,6 +11,11 @@ const routes: RouteRecordRaw[] = [
component: () => import('layouts/FullScreenLayout.vue'),
children: [{ path: '', component: () => import('pages/LoginPage.vue') }],
},
{
path: '/debug',
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/DebugPage.vue') }],
},
// Always leave this as last one,
// but you can also remove it