From 3f9c0fdef820bb459126026cd47e7e7686db12a8 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期五, 19 十一月 2021 17:17:44 +0800
Subject: [PATCH] add: 滿意度評分頁面切版、通知列表頁面切版

---
 PAMapp/layouts/default.vue |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/PAMapp/layouts/default.vue b/PAMapp/layouts/default.vue
index 1c15771..07c5909 100644
--- a/PAMapp/layouts/default.vue
+++ b/PAMapp/layouts/default.vue
@@ -31,6 +31,7 @@
       [RouterPage.QUICK_FILTER]: ['暺銝����', '撠雿�EST Match'],
       [RouterPage.MY_CONSULTANT_LIST]:[],
       [RouterPage.QUESTIONNAIRE]:[],
+      [RouterPage.NOTIFICATION]:[]
     }
     get getBannerTextList(): string[] {
       return this.bannerTextDto[this.route] ? this.bannerTextDto[this.route] : [];
@@ -47,7 +48,7 @@
 
     // format to {page}-banner or pam-no-banner tag
     private routeFormatBannerClass(route: string): string {
-      const needBannerTags = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList', 'myConsultantList-contactedList', 'myAppointmentList-appointmentList', 'myAppointmentList-contactedList'];
+      const needBannerTags = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList', 'myConsultantList-contactedList', 'myAppointmentList-appointmentList', 'myAppointmentList-contactedList','notification'];
       return _.includes(needBannerTags, route) ? route + '-banner' : 'pam-no-banner';
     };
 
@@ -66,6 +67,7 @@
     QUICK_FILTER = "quickFilter",
     MY_CONSULTANT_LIST = "myConsultantList",
     QUESTIONNAIRE = 'questionnaire',
+    NOTIFICATION = 'notification'
   }
   type BannerDto={
     [x:string]:string[];
@@ -186,5 +188,19 @@
       }
     }
   }
+  // .notification{
+  //   &-banner{
+  //     background-image: url('~/assets/images/satisfaction/notification_mob.svg');
+  //     background-size: cover;
+  //   }
+  //   @media (min-width: 768px) {
+  //     &-banner {
+  //       background-image: url('~/assets/images/satisfaction/notification_web.svg');
+  //     }
+  //   }
+
+  // }
+
+
 
 </style>

--
Gitblit v1.8.0