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 |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/PAMapp/layouts/default.vue b/PAMapp/layouts/default.vue
index e8f4573..605a5b5 100644
--- a/PAMapp/layouts/default.vue
+++ b/PAMapp/layouts/default.vue
@@ -57,13 +57,13 @@
 
     // 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';
     };
 
     private bannerText: FeatureBannerTitle= {
-      [FeaturePage.RECOMMEND_CONSULTANT]: ['頛詨������', '靘雿��瘙���憿批��'],
-      [FeaturePage.QUICK_FILTER]        : ['暺銝����', '撠雿�EST Match'],
+      [FeaturePage.RECOMMEND_CONSULTANT]: ['頛詨������', '靘����瘙���憿批��'],
+      [FeaturePage.QUICK_FILTER]        : ['暺銝����', '撠���EST Match'],
       [FeaturePage.MY_CONSULTANT_LIST]  : [],
       [FeaturePage.QUESTIONNAIRE]       : [],
     }
@@ -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