| | |
| | | |
| | | // 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'; |
| | | }; |
| | | |
| | |
| | | |
| | | // format to {page}-container tag |
| | | private routeFormatContainClass(route: string): string { |
| | | const needContainBgTags = ['recommendConsultant', 'questionnaire']; |
| | | const needContainBgTags = ['recommendConsultant', 'questionnaire-agentNo']; |
| | | return _.includes(needContainBgTags, route) ? route + '-container' : ''; |
| | | }; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | .myConsultantList-consultantList { |
| | | .myConsultantList-consultantList,.myConsultantList-contactedList { |
| | | &-banner { |
| | | background-image: url('~/assets/images/myConsultantList/banner_mob.svg'); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | .questionnaire { |
| | | .questionnaire-agentNo { |
| | | &-container { |
| | | background-image: url('~/assets/images/recommendConsultant/bg_flower_mob.svg'); |
| | | background-size: contain; |
| | |
| | | } |
| | | } |
| | | } |
| | | .myAppointmentList-appointmentList{ |
| | | .myAppointmentList-appointmentList,.myAppointmentList-contactedList{ |
| | | &-banner { |
| | | background-image: url('~/assets/images/myAppointmentList/agent_banner_mob.svg'); |
| | | } |