productListPoolInitialState.js 1.32 KB
'use strict';

import {Record, List, Map} from 'immutable';


let InitialState = Record({
	similarIndex : -1,

	bannerInfo: new (Record({
		isFetching: false,
		error: null,
		list: List(),
	})),

	activityInfo: new (Record({
        isFetching: false,
        error: null,
        list: List(),
		productPool: 0,
    })),

	productList: new (Record({
        isFetching: false,
        error: null,
        list: List(),
        order: '',
        currentPage: 0,
        pageCount: 0,
        pageSize: 20,//60,
        total: 0,
        endReached: false,
        sourceType: 0, // 0 - 默认,1 - 购,全球2 - 奥莱
    })),

	categoryFilterList: List(),
    filterCategoryDetailFilterList: List(),
	latestTabs: List(),
	selectLatestItem: 0, 
	filterFactors: new (Record({
        gender: '', //性别
        color: '', //颜色
        price: '', //价格
        sizeKey: '', //尺码
        p_d: '', //折扣
        sort: '', //品类
        brand: '', //品牌
    })),
    filterNameFactors: new (Record({
        gender: '所有性别', //性别
        color: '所有颜色', //颜色
        price: '所有价格', //价格
        sizeKey: '所有尺码', //尺码
        p_d: '所有折扣', //折扣
        sort: '所有品类', //品类
        brand: '所有品牌', //品牌
    })),
});

export default InitialState;