From 829c5f83c9e8c9571b38b97c3bc7eff95bcf266d Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期四, 02 十二月 2021 11:56:40 +0800
Subject: [PATCH] update: TODO#131303 登入頁-增加 banner

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

diff --git a/PAMapp/layouts/default.vue b/PAMapp/layouts/default.vue
index c0c6125..0cc98c2 100644
--- a/PAMapp/layouts/default.vue
+++ b/PAMapp/layouts/default.vue
@@ -51,7 +51,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', 'login'];
       return _.includes(needBannerTags, route) ? route + '-banner' : 'pam-no-banner';
     };
 
@@ -201,4 +201,16 @@
     }
   }
 
+  .login {
+    &-banner {
+      background-image: url('~/assets/images/login/login_mob.svg');
+    }
+
+    @media (min-width: 768px) {
+      &-banner {
+        background-image: url('~/assets/images/login/login_web.svg');
+      }
+    }
+  }
+
 </style>

--
Gitblit v1.8.0