| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="pam-container" :class="containClassName"> |
| | | <div |
| | | class="pam-container" |
| | | :class="[containClassName,{'mt-navBar': bannerClassName === 'pam-no-banner'}]" |
| | | > |
| | | <Nuxt class="pam-page-container"></Nuxt> |
| | | </div> |
| | | <Footer></Footer> |
| | |
| | | |
| | | // format to {page}-banner or pam-no-banner tag |
| | | private routeFormatBannerClass(route: string): string { |
| | | const needBannerTags = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList','myAppointmentList-appointmentList']; |
| | | const needBannerTags = ['recommendConsultant', 'quickFilter', 'myConsultantList-consultantList', 'myConsultantList-contactedList', 'myAppointmentList-appointmentList', 'myAppointmentList-contactedList']; |
| | | return _.includes(needBannerTags, route) ? route + '-banner' : 'pam-no-banner'; |
| | | }; |
| | | |
| | |
| | | background-repeat: no-repeat; |
| | | background-position: center; |
| | | position: relative; |
| | | @extend .mt-navBar; |
| | | } |
| | | |
| | | .mt-navBar { |
| | | margin-top: $MOB_NAV_BAR; |
| | | } |
| | | |
| | | |
| | | .pam-banner__text { |
| | | font-size: 18px; |
| | |
| | | } |
| | | } |
| | | |
| | | .myConsultantList-consultantList { |
| | | .myConsultantList-consultantList,.myConsultantList-contactedList { |
| | | &-banner { |
| | | background-image: url('~/assets/images/myConsultantList/banner_mob.svg'); |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | .myAppointmentList-appointmentList{ |
| | | &-banner { |
| | | background-image: url('~/assets/images/myAppointmentList/agent_banner_mob.svg'); |
| | | } |
| | | |
| | | @media (min-width: 768px) { |
| | | &-banner { |
| | | background-image: url('~/assets/images/myAppointmentList/agent_banner_web.svg'); |
| | | } |
| | | } |
| | | } |
| | | </style> |