| | |
| | | <ul class="pam-rec-agent__list"> |
| | | <li class="pam-rec-agent-card" v-for="(info,index) in pageList" :key="index"> |
| | | <div class="pam-rec-agent-card__content"> |
| | | |
| | | <div class="pam-rec-agent-card-suitability"> |
| | | </div> |
| | | |
| | | <div class="pam-rec-agent-card-suitability-text"> |
| | | <div class="label">匹配度</div> |
| | | <div class="value">{{info.suitability}}%</div> |
| | | </div> |
| | | <div class="pam-rec-agent-card__content-header"> |
| | | <div class="pam-rec-agent-card__avatar"> |
| | | <UiAvatar |
| | |
| | | |
| | | <UiPagination |
| | | class="mb-30" |
| | | :totalList="strictQueryList" |
| | | :totalList="strictResultList" |
| | | @changePage="changePage" |
| | | :pageSize = 6 |
| | | ></UiPagination> |
| | |
| | | <script lang="ts"> |
| | | import { AgentOfStrictQuery } from '~/shared/models/strict-query.model'; |
| | | import { hideReviews } from '~/shared/const/hide-reviews'; |
| | | import { Vue,Component, State, namespace, Action} from 'nuxt-property-decorator'; |
| | | import { Vue,Component, State, namespace, Action, Getter} from 'nuxt-property-decorator'; |
| | | |
| | | const localStorage = namespace('localStorage'); |
| | | |
| | |
| | | |
| | | @Action |
| | | storeStrictQueryList!: (data: any) => Promise<number>; |
| | | |
| | | @Getter('strictResultList') |
| | | strictResultList!: AgentOfStrictQuery[]; |
| | | |
| | | @localStorage.State |
| | | recommendConsultantItem!: string; |
| | |
| | | const strictQueryDto = JSON.parse(this.recommendConsultantItem); |
| | | this.storeStrictQueryList(strictQueryDto); |
| | | } |
| | | |
| | | } |
| | | |
| | | ////////////////////////////////////////////////////////////////////// |
| | |
| | | } |
| | | |
| | | openPopUp(txt: string) { |
| | | this.popUpTxt = txt; |
| | | this.isVisiblePopUp = true; |
| | | } |
| | | } |
| | |
| | | border-radius: 10px; |
| | | border: 1px solid $LIGHT_GREY; |
| | | padding: 20px 33px; |
| | | overflow: hidden; |
| | | |
| | | .pam-rec-agent-card__content { |
| | | position: relative; |
| | | .pam-rec-agent-card-suitability{ |
| | | left: -125px; |
| | | top: -108px; |
| | | width: 150px; |
| | | height: 150px; |
| | | background-color: #F2C75C; |
| | | transform: rotate(45deg); |
| | | position:absolute; |
| | | } |
| | | .pam-rec-agent-card-suitability-text{ |
| | | position: absolute; |
| | | left: -25px; |
| | | top: -10px; |
| | | z-index: 5; |
| | | line-height: 1.3; |
| | | .label { |
| | | font-size: 10px; |
| | | color: #68737A; |
| | | } |
| | | .value { |
| | | font-size: 12px; |
| | | color: #222222; |
| | | } |
| | | } |
| | | .pam-rec-agent-card__content-header { |
| | | display: flex; |
| | | .pam-rec-agent-card__avatar { |