feat: 添加待确认收益和收益记录页面,更新路由和导航功能
This commit is contained in:
@@ -11,6 +11,14 @@ function navigateToTotal() {
|
||||
function navigateToMonthly() {
|
||||
router.push("/revenue/monthly");
|
||||
}
|
||||
|
||||
function navigateToPending() {
|
||||
router.push("/revenue/pending");
|
||||
}
|
||||
|
||||
function navigateToRecords() {
|
||||
router.push("/revenue/records");
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -37,13 +45,19 @@ function navigateToMonthly() {
|
||||
{{ t("asset.revenue.monthlyRevenue") }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-1 flex flex-col items-center gap-2 cursor-pointer transition-opacity active:opacity-70">
|
||||
<div
|
||||
class="col-span-1 flex flex-col items-center gap-2 cursor-pointer transition-opacity active:opacity-70"
|
||||
@click="navigateToPending"
|
||||
>
|
||||
<ion-icon :icon="timeOutline" class="text-2xl text-primary" />
|
||||
<div class="text-xs">
|
||||
{{ t("asset.revenue.pendingRevenue") }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-1 flex flex-col items-center gap-2 cursor-pointer transition-opacity active:opacity-70">
|
||||
<div
|
||||
class="col-span-1 flex flex-col items-center gap-2 cursor-pointer transition-opacity active:opacity-70"
|
||||
@click="navigateToRecords"
|
||||
>
|
||||
<ion-icon :icon="listOutline" class="text-2xl text-primary" />
|
||||
<div class="text-xs">
|
||||
{{ t("asset.revenue.revenueDetails") }}
|
||||
|
||||
Reference in New Issue
Block a user