personalInfoInitialState.js
1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
'use strict';
import Immutable,{Record, List, Map} from 'immutable';
let personalInfoCelllist = [
{
id: 'portrait',
title: '头像',
url: '',
},{
id: 'nickname',
title: '昵称',
content: '',
},{
id: 'gender',
title: '性别',
content: '',
},{
id: 'birthDay',
title: '生日',
content: '',
},{
id: 'VIPLevel',
title: '会员等级',
content: '',
},{
id: 'mineQRCode',
title: '我的二维码',
content: '',
withoutBottomLine: true,
},{
id: 'separate',
},{
id: 'height',
title: '身高',
content: '',
},{
id: 'weight',
title: '体重',
content: '',
withoutBottomLine: true,
},{
id: 'separate',
},{
id: 'addressManage',
title: '地址管理',
content: '',
},{
id: 'accountBind',
title: '账号绑定',
content: '',
withoutBottomLine: true,
}
]
let InitialState = Record({
pageCellList: Immutable.fromJS(personalInfoCelllist),
userProfile: new (Record({
isFetching: false,
profile: Map(),
}))
});
export default InitialState;