personalInfoInitialState.js 1017 Bytes
'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;