| | |
| | | |
| | | // 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'; |
| | | }; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | .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> |