13 changed files with 101 additions and 138 deletions
Split View
Diff Options
-
10src/enums/customerEnum.ts
-
1src/views/clue/clueList/index.vue
-
19src/views/clue/cluePool/index.vue
-
16src/views/clue/customer/data.ts
-
19src/views/clue/followlist/index.vue
-
17src/views/clue/poolist/index.vue
-
42src/views/components/Profile.vue
-
21src/views/invite/index/index.vue
-
17src/views/invite/list/index.vue
-
21src/views/invite/myList/index.vue
-
21src/views/invite/seasList/index.vue
-
25src/views/staff/staff/data.ts
-
10src/views/staff/staff/modal.vue
@ -0,0 +1,42 @@ |
|||
<template> |
|||
<div class="flex-row-center-start" style="padding-left: 12px;"> |
|||
<Avatar :src="info.profilePhoto || 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/827036501B11.png'" :size="64" /> |
|||
<div class="flex-col" style="margin-left: 12px;"> |
|||
<div class="flex-row"> |
|||
<span class="single-line" style="font-size: 14px;color: #333;font-weight: bold;max-width: 160px;">{{info.nickName}}</span> |
|||
<!-- <span class="single-line" style="font-size: 13px;color: #666;margin: 0 12px;">(ID:{{info.id}})</span> --> |
|||
</div> |
|||
<div class="flex-row"> |
|||
<span style="font-size: 13px;color: #666;" v-if="info.age">{{info.age}}岁</span> |
|||
<span style="font-size: 13px;color: #666;margin-left: 12px;">{{educationList.find((find) => find.value === info.educationCode)?.label}}</span> |
|||
<span style="font-size: 13px;color: #666;margin-left: 12px;">{{maritalList.find((find) => find.value === info.maritalStatusCode)?.label}}</span> |
|||
<span style="font-size: 13px;color: #666;margin-left: 12px;" v-if="info.occupation">{{info.occupation}}</span> |
|||
<span style="font-size: 13px;color: #666;margin-left: 12px;" v-if="info.incomeCode">月收入:{{incomeList.find((find) => find.value === info.incomeCode)?.label}}</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
<script> |
|||
import { educationList, maritalList, incomeList } from '/@/enums/customerEnum' |
|||
import { Avatar } from 'ant-design-vue' |
|||
export default { |
|||
components: { Avatar }, |
|||
name: 'Timeline', |
|||
props: { |
|||
info: { // 时间轴内容数组 |
|||
type: Object, |
|||
default: () => { |
|||
return {} |
|||
} |
|||
}, |
|||
}, |
|||
data() { |
|||
return { |
|||
educationList, |
|||
maritalList, |
|||
incomeList |
|||
}; |
|||
}, |
|||
} |
|||
</script> |
|||
|
|||
Write
Preview
Loading…
Cancel
Save