recommondInitialState.js
1023 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
/**
* Created by jone on 2017/4/20.
*/
'use strict';
import Immutable, {Record, List, Map} from 'immutable';
let defaults = Immutable.fromJS([
{
id: 1,
recommondName: '微信好友',
image_url: '../../images/mine_share_wx_icon.png',
},
{
id: 2,
recommondName: '朋友圈',
image_url: '../../images/mine_share_wpq_icon.png',
},
{
id: 3,
recommondName: 'QQ好友',
image_url: '../../images/mine_share_qq_icon.png',
},
{
id: 4,
recommondName: '新浪微博',
image_url: '../../images/mine_share_xl_icon.png',
},
{
id: 5,
recommondName: 'QQ空间',
image_url: '../../images/mine_share_qqkj_icon.png',
},
{
id: 6,
recommondName: '复制链接',
image_url: '../../images/mine_share_icon_copy.png',
}
]);
let InitialState = Record({
recommondList: new (Record({
data: defaults,
})),
});
export default InitialState;