| | |
| | | <div> |
| | | <div class="mdTxt pb-10">嚴選顧問推薦</div> |
| | | <ul class="pam-rec-agent__list"> |
| | | <li class="pam-rec-agent-card" v-for="(info,index) in pageList" :key="index"> |
| | | <li class="pam-rec-agent-card" v-for="(strictQueryList,index) in pageList" :key="index"> |
| | | <div class="pam-rec-agent-card__content"> |
| | | <div class="pam-rec-agent-card__content-header"> |
| | | <div class="pam-rec-agent-card__avatar"> |
| | | <img :src="info.avatar" class="avatar"> |
| | | |
| | | |
| | | <UiAvatar :size="120" :fileName="strictQueryList.img" ></UiAvatar> |
| | | </div> |
| | | <div class="pam-rec-agent-card__main-info"> |
| | | <div class="fz-20 pt-10 rec-desktop-name">{{ info.name }}</div> |
| | | <div class="rec-role">{{ info.role }}</div> |
| | | <span class="rec-detail">詳細資料</span> |
| | | <div class="fz-20 pt-10 rec-desktop-name">{{ strictQueryList.name }}</div> |
| | | <div class="rec-role">{{ strictQueryList.role }}</div> |
| | | <span class="rec-detail" @click="showAgentDetail(strictQueryList.agentNo)">詳細資料</span> |
| | | </div> |
| | | </div> |
| | | <div class="pam-rec-agent-card__content-body"> |
| | |
| | | 專長領域 |
| | | </div> |
| | | <div class="field__content expertieses-container"> |
| | | <div class="pr-10 pb-10" v-for="(expert, index) in info.expertises" :key="index"> |
| | | <div class="pr-10 pb-10" v-for="(expert, index) in strictQueryList.expertise" :key="index"> |
| | | #{{ expert }} |
| | | </div> |
| | | </div> |
| | |
| | | 服務資歷 |
| | | </div> |
| | | <div class="field__content"> |
| | | {{ info.seniority }} |
| | | {{ strictQueryList.seniority }} |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | </div> |
| | | <div class="field__content"> |
| | | <i class="icon-star" style="color:#F2C75C"></i> |
| | | {{ info.avgScore }} |
| | | {{ strictQueryList.avgScore }} |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-button class="btn2" type="primary" style="margin-left: 10px" @click="$router.push('/questionnaire')" |
| | | >進行預約</el-button> |
| | | </el-row> |
| | | |
| | | <!-- <AddAndReservedBtns :cusClass=""></AddAndReservedBtns> --> |
| | | </div> |
| | | </div> |
| | | </li> |
| | | </ul> |
| | | |
| | | <UiPagination |
| | | :totalList="recAgentList" |
| | | :totalList="strictQueryList" |
| | | @changePage="changePage" |
| | | :pageSize = 6 |
| | | ></UiPagination> |
| | | |
| | | </div> |
| | | </template> |
| | | <script lang="ts"> |
| | | import {Vue,Component} from 'vue-property-decorator'; |
| | | import {Vue,Component, State} from 'nuxt-property-decorator'; |
| | | import { AgentOfStrictQuery } from '~/assets/ts/api/consultant'; |
| | | |
| | | @Component |
| | | export default class Reslut extends Vue{ |
| | | @State('strictQueryList') strictQueryList!: AgentOfStrictQuery; |
| | | |
| | | recAgentList =[ |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'蔡美莓', |
| | | role:'伯樂保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | }, |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'賈斯町', |
| | | role:'鮭魚保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | }, |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'陳家婷', |
| | | role:'千里馬保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | }, |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'張小美', |
| | | role:'鮭魚保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | }, |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'林美女', |
| | | role:'千里馬保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | }, |
| | | { |
| | | avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
| | | name:'蔣帥哥', |
| | | role:'鮭魚保險經紀人', |
| | | expertises: ['財務規劃', '資產轉移', '節稅', '樂活退休'], |
| | | seniority:'1年2個月', |
| | | avgScore:4.8 |
| | | } |
| | | ]; |
| | | pageList: any[] = []; |
| | | |
| | | changePage(pageList: any[]) { |
| | | this.pageList = pageList; |
| | | } |
| | | showAgentDetail(agentNo: string): void { |
| | | this.$router.push(`/agentInfo/${agentNo}`); |
| | | } |
| | | |
| | | |
| | |
| | | width: 120px; |
| | | height: 47px; |
| | | } |
| | | |
| | | .pam-rec-agent-card { |
| | | margin-bottom: 10px; |
| | | border-radius: 10px; |
| | |
| | | display: flex; |
| | | flex-direction: row; |
| | | margin-right: 20px; |
| | | .avatar{ |
| | | width: 120px; |
| | | height: 120px; |
| | | border-radius: 50%; |
| | | } |
| | | |
| | | } |
| | | .pam-rec-agent-card__main-info { |
| | | display: flex; |
| | |
| | | color:$PRIMARY_RED; |
| | | font-weight: bold; |
| | | padding-top: 30px; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | @include desktop{ |
| | | .btn{ |
| | | width: 90px; |
| | | height: 43px; |
| | | margin-left: 29px; |
| | | margin-right: 0px |
| | | } |
| | | .btn2{ |
| | | width: 90px; |
| | | height: 43px; |
| | | } |
| | | .page-container{} |
| | | .pam-rec-agent__list{ |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | flex-direction:row; |
| | | width: auto; |
| | | } |
| | | .pam-paragraph{ |
| | | margin-top: 10px; |
| | |
| | | margin-left: 10px; |
| | | |
| | | .pam-rec-agent-card__content { |
| | | width: 190px; |
| | | width: 170px; |
| | | .pam-rec-agent-card__content-header { |
| | | display: flex; |
| | | .pam-rec-agent-card__avatar { |