modify title nav bar

This commit is contained in:
MaysWind
2020-10-21 23:26:31 +08:00
parent a8a8d3a954
commit 22234f27d8
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ export default {
'Journals': 'Journals',
'Accounts': 'Accounts',
'Charts': 'Charts',
'New Record': 'New Record',
'Settings': 'Settings',
'Back': 'Back',
'Username': 'Username',
+1
View File
@@ -29,6 +29,7 @@ export default {
'Journals': '流水',
'Accounts': '账户',
'Charts': '图表',
'New Record': '记一笔',
'Settings': '设置',
'Back': '返回',
'Username': '用户名',
+6 -1
View File
@@ -1,6 +1,11 @@
<template>
<f7-page name="home">
<f7-navbar :title="$t('global.app.title')"></f7-navbar>
<f7-navbar>
<f7-nav-title :title="$t('global.app.title')"></f7-nav-title>
<f7-nav-right>
<f7-link href="/new-record" icon-f7="plus_square" :text="$t('New Record')"></f7-link>
</f7-nav-right>
</f7-navbar>
<f7-tabs animated swipeable routable>
<f7-tab id="main-tab-home" class="page-content" tab-active></f7-tab>
<f7-tab id="main-tab-journals" class="page-content"></f7-tab>