From 0496faa586224dff0a93ba4abcaeafab6df83aa2 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期五, 26 十一月 2021 10:19:18 +0800 Subject: [PATCH] fix: TODO#130846 各內頁加上 navbar (web 跑版) --- PAMapp/components/BackActionBar.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index 428fab1..c3aef12 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -9,19 +9,20 @@ <script lang="ts"> import { namespace } from 'nuxt-property-decorator'; import { Vue, Component,} from 'vue-property-decorator'; +import { Role } from '~/assets/ts/models/enum/Role'; import * as _ from 'lodash'; -import { Role } from './NavBar.vue'; -const localStorage = namespace('localStorage'); + +const roleStorage = namespace('localStorage'); @Component export default class UiCarousel extends Vue { - @localStorage.Getter currentRole!:string; + @roleStorage.Getter currentRole!:string; get label(): string { if (this.$route.name) { const routeName = this.$route.name.split('-')[0]; let featureLabel = ''; switch(routeName) { case 'login': - featureLabel = '��'; + featureLabel = '�� | 閮餃��'; break; case 'recommendConsultant': featureLabel = '������'; @@ -60,7 +61,7 @@ display: flex; align-items: center; position: fixed; - top: 0; + top: $MOB_NAV_BAR; left: 0; width: 100%; background-color: $PRIMARY_WHITE; @@ -76,4 +77,10 @@ padding: 20px; } } + +@include desktop { + .pam-back-action-bar { + top: $DESKTOP_NAV_BAR; + } +} </style> -- Gitblit v1.8.0