From cbc5061990c43cf59cdcf5f09fc01c7f8e519721 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期五, 05 十一月 2021 16:36:20 +0800 Subject: [PATCH] add#129049 - [嚴選配對] 前端畫面刻版 --- PAMapp/plugins/api/home.ts | 81 +++++++++++++++++++++++++++------------- 1 files changed, 54 insertions(+), 27 deletions(-) diff --git a/PAMapp/plugins/api/home.ts b/PAMapp/plugins/api/home.ts index 847f329..854f0ff 100644 --- a/PAMapp/plugins/api/home.ts +++ b/PAMapp/plugins/api/home.ts @@ -5,60 +5,84 @@ recommendConsultantList(){ const debugData = [ { - id: 0, + new: true, + agentNo: 0, name: '撘萄���', img: 'https://randomuser.me/api/portraits/women/31.jpg', - loginState: '銝��', - satisfaction: 4.8 + professionals: ['鞎∪����', '鞈頧宏'], + satisfaction: 4.8, + contactStatus: 'reserved', + updateTime: 'Tue Nov 02 2021 11:40:02 GMT+0800 (��������)' }, { - id: 1, + new: true, + agentNo: 1, name: '�撣亙', img: 'https://randomuser.me/api/portraits/men/32.jpg', - loginState: '銝��', - satisfaction: 4 + professionals: [], + satisfaction: 4, + contactStatus: 'contacted', + updateTime: 'Tue Nov 02 2021 11:40:02 GMT+0800 (��������)' }, { - id: 2, + new: false, + agentNo: 2, name: '���戊', img: 'https://randomuser.me/api/portraits/women/33.jpg', - loginState: '�蝺�', - satisfaction: 5 + professionals: ['鞎∪����', '鞈頧宏'], + satisfaction: 5, + contactStatus: 'picked', + updateTime: 'Tue Oct 12 2021 19:05:02 GMT+0800 (��������)' }, { - id: 3, + new: false, + agentNo: 3, name: '�蝢��', img: 'https://randomuser.me/api/portraits/women/34.jpg', - loginState: '銝��', - satisfaction: 4.3 + professionals: ['鞎∪����', '鞈頧宏'], + satisfaction: 4.3, + contactStatus: 'picked', + updateTime: 'Tue Nov 02 2021 11:40:02 GMT+0800 (��������)' }, { - id: 4, + new: true, + agentNo: 4, name: '撘萄���', img: 'https://randomuser.me/api/portraits/women/35.jpg', - loginState: '敹��', - satisfaction: 4.8 + professionals: [], + satisfaction: 4.8, + contactStatus: 'picked', + updateTime: 'Tue Nov 02 2021 11:40:02 GMT+0800 (��������)' }, { - id: 5, + new: true, + agentNo: 5, name: '�撣亙', img: 'https://randomuser.me/api/portraits/men/36.jpg', - loginState: '�蝺�', - satisfaction: 4 + professionals: ['鞎∪����', '鞈頧宏'], + satisfaction: 4.8, + contactStatus: 'reserved', + updateTime: 'Tue Nov 02 2021 11:40:02 GMT+0800 (��������)' }, { - id: 6, + new: false, + agentNo: 6, name: '���戊', img: 'https://randomuser.me/api/portraits/women/37.jpg', - loginState: '敹��', - satisfaction: 5 + professionals: ['鞎∪����', '鞈蝘餉��', '蝭�蝔�', '璅暑��隡�'], + satisfaction: 4.8, + contactStatus: 'picked', + updateTime: 'Tue Nov 02 2021 10:40:02 GMT+0800 (��������)' }, { - id: 7, + new: false, + agentNo: 7, name: '�蝢��', img: 'https://randomuser.me/api/portraits/women/38.jpg', - loginState: '銝��', - satisfaction: 4.3 + professionals: ['鞎∪����', '蝭�蝔�', '璅暑��隡�'], + satisfaction: 4.8, + contactStatus: 'picked', + updateTime: 'Tue Sep 02 2021 09:40:02 GMT+0800 (��������)' } ] return CommonService.prototype.withDebugData(debugData, 'https://randomuser.me/api/') @@ -66,9 +90,12 @@ }) export interface Agents { - id: number, + agentNo: number, name: string, img: string, - loginState: string, - satisfaction: number + new: boolean, + satisfaction: number, + professionals: string[], + contactStatus: string, + updateTime: Date } \ No newline at end of file -- Gitblit v1.8.0