From 76c1ce3c2eb001560bfb785f7b2f62d4ec64dcb6 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期五, 10 十二月 2021 09:49:50 +0800 Subject: [PATCH] update 使用 currentRole 判斷目前是否為顧問/客戶登入狀態 --- PAMapp/layouts/home.vue | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/PAMapp/layouts/home.vue b/PAMapp/layouts/home.vue index 8d73078..0ea0947 100644 --- a/PAMapp/layouts/home.vue +++ b/PAMapp/layouts/home.vue @@ -1,13 +1,37 @@ <template> <div class="pam-background"> <NavBar></NavBar> - <Nuxt></Nuxt> + <div class="pam-container"> + <Nuxt></Nuxt> + </div> <Footer></Footer> </div> </template> +<script lang="ts"> + import { Component ,Vue } from "nuxt-property-decorator"; + import * as _ from 'lodash'; + @Component + export default class DefaultLayout extends Vue { + + } +</script> <style lang="scss" scoped> .pam-background { background-color: #F8F9FA; + padding-top:$MOB_NAV_BAR; + display: flex; + flex-direction: column; + min-height: calc(100vh - $MOB_NAV_BAR); + .pam-container{ + flex: 1; + } } + @include desktop{ + .pam-background { + min-height: calc(100vh - $DESKTOP_NAV_BAR); + padding-top:$DESKTOP_NAV_BAR; + } + } + </style> \ No newline at end of file -- Gitblit v1.8.0