From 6fa4bba623713c396432ba8b863846883d6a1906 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期三, 26 一月 2022 10:52:23 +0800 Subject: [PATCH] Merge branch 'pollex-dev' into sit --- PAMapp/layouts/default.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/PAMapp/layouts/default.vue b/PAMapp/layouts/default.vue index 0e9d11d..605a5b5 100644 --- a/PAMapp/layouts/default.vue +++ b/PAMapp/layouts/default.vue @@ -57,7 +57,7 @@ // format to {page}-banner or pam-no-banner tag private routeFormatBannerClass(route: string): string { - const needBannerRoutes = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList', 'myConsultantList-contactedList', 'myAppointmentList-appointmentList', 'myAppointmentList-contactedList', 'login']; + const needBannerRoutes = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList', 'myConsultantList-contactedList', 'myAppointmentList-appointmentList', 'myAppointmentList-contactedList', 'login', 'notification']; return _.includes(needBannerRoutes, route) ? route + '-banner' : 'pam-no-banner'; }; @@ -114,6 +114,9 @@ } @include desktop { + .pam-banner { + height: 150px; + } .mt-navBar { margin-top: calc($DESKTOP_NAV_BAR + $MOB_NAV_BAR); } @@ -219,4 +222,16 @@ } } + .notification { + &-banner { + background-image: url('~/assets/images/notification/banner_mob.svg'); + } + + @include desktop { + &-banner { + background-image: url('~/assets/images/notification/banner_web.svg'); + } + } + } + </style> -- Gitblit v1.8.0