Authored by 鹿亮亮

合并入VIP专享和ActivityProductFloor楼层 review by 陈林

... ... @@ -26,7 +26,7 @@ import Immutable, {
import HeadTitleCell from '../cell/HeadTitleCell';
export default class KidsBrandCell extends Component {
export default class KidsBrandFloor extends Component {
constructor(props) {
super(props);
this.dataSource = new ListView.DataSource({
... ...
... ... @@ -21,12 +21,13 @@ import Announcement from '../floor/Announcement';
import SingleImage from '../floor/SingleImage';
import SingleNameImage from '../floor/SingleNameImage';
import TrendsetterCollocation from '../floor/TrendsetterCollocation';
import KidsBrandCell from '../cell/KidsBrandsCell';
import KidsBrandFloor from '../floor/KidsBrandFloor';
import DivideImage from '../floor/DivideImage';
import NewProductFloor from '../floor/NewProductFloor';
import SmallPic from '../floor/SmallPic';
import KidsBrandCell from '../floor/KidsBrandsFloor';
import NewUserFloor from '../floor/NewUserFloor';
import VipUserFloor from '../floor/VipUserFloor';
import ActivityProductFloor from '../floor/ActivityProductFloor';
export default class Home extends Component {
... ... @@ -140,7 +141,7 @@ export default class Home extends Component {
break;
case 'kids_brands':{
return (
<KidsBrandCell />
<KidsBrandFloor />
);
}
case 'small_pic': {
... ... @@ -166,6 +167,16 @@ export default class Home extends Component {
/>
);
}
case 'vipUse':{
return (
<VipUserFloor
data={data}/>
);
}
case 'activityProductFloor':{
return <ActivityProductFloor
data = {data}/>
}
default:
return null;
}
... ...