From 8f60f9800584d6918d7bcda66ed18f8773a25f25 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期四, 07 九月 2023 13:46:31 +0800 Subject: [PATCH] Update: 0907-P6: Bad use of null-like value --- 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