recommondInitialState.js 1023 Bytes
/**
 * 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;