...
|
...
|
@@ -24,6 +24,10 @@ import TrendsetterCollocation from '../floor/TrendsetterCollocation'; |
|
|
import KidsBrandFloor from '../floor/KidsBrandFloor';
|
|
|
import DivideImage from '../floor/DivideImage';
|
|
|
import NewProductFloor from '../floor/NewProductFloor';
|
|
|
import PopularSingleProduct from '../floor/PopularSingleProduct';
|
|
|
import ShopRecommend from '../floor/ShopRecommend';
|
|
|
import SixLinesFloor from '../floor/SixLinesFloor';
|
|
|
import LivePicture from '../floor/LivePicture';
|
|
|
import SmallPic from '../floor/SmallPic';
|
|
|
import NewUserFloor from '../floor/NewUserFloor';
|
|
|
import VipUserFloor from '../floor/VipUserFloor';
|
...
|
...
|
@@ -153,29 +157,53 @@ export default class Home extends Component { |
|
|
);
|
|
|
}
|
|
|
case 'divideImage': {
|
|
|
let data = rowData.get('data');
|
|
|
return (
|
|
|
<DivideImage data={data}/>
|
|
|
<DivideImage data={rowData.get('data')}/>
|
|
|
);
|
|
|
}
|
|
|
case 'NewProductFloor': {
|
|
|
let data = rowData.get('data');
|
|
|
return (
|
|
|
<NewProductFloor
|
|
|
data={data}
|
|
|
data={rowData.get('data')}
|
|
|
onPressImageItem={this.props.onPressImageItem}
|
|
|
/>
|
|
|
);
|
|
|
}
|
|
|
case 'popular_single_product':{
|
|
|
return (
|
|
|
<PopularSingleProduct
|
|
|
data={rowData.get('data')}
|
|
|
onPressImageItem={this.props.onPressImageItem}/>
|
|
|
)
|
|
|
}
|
|
|
case 'shopRecommend':{
|
|
|
return (
|
|
|
<ShopRecommend data={JSON.stringify(rowData)} />
|
|
|
)
|
|
|
}
|
|
|
case 'sixLinesFloor':{
|
|
|
return (
|
|
|
<SixLinesFloor
|
|
|
data={rowData.get('data')}
|
|
|
onPressImageItem={this.props.onPressImageItem} />
|
|
|
)
|
|
|
}
|
|
|
case 'livePicture':{
|
|
|
return (
|
|
|
<LivePicture
|
|
|
data={rowData.get('data')}
|
|
|
onPressImageItem={this.props.onPressImageItem} />
|
|
|
)
|
|
|
}
|
|
|
case 'vipUse':{
|
|
|
return (
|
|
|
<VipUserFloor
|
|
|
data={data}/>
|
|
|
data={rowData.get('data')}/>
|
|
|
);
|
|
|
}
|
|
|
case 'activityProductFloor':{
|
|
|
return <ActivityProductFloor
|
|
|
data = {data}/>
|
|
|
data = {rowData.get('data')}/>
|
|
|
}
|
|
|
default:
|
|
|
return null;
|
...
|
...
|
|