Authored by 鹿亮亮

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

@@ -26,7 +26,7 @@ import Immutable, { @@ -26,7 +26,7 @@ import Immutable, {
26 26
27 import HeadTitleCell from '../cell/HeadTitleCell'; 27 import HeadTitleCell from '../cell/HeadTitleCell';
28 28
29 -export default class KidsBrandCell extends Component { 29 +export default class KidsBrandFloor extends Component {
30 constructor(props) { 30 constructor(props) {
31 super(props); 31 super(props);
32 this.dataSource = new ListView.DataSource({ 32 this.dataSource = new ListView.DataSource({
@@ -21,12 +21,13 @@ import Announcement from '../floor/Announcement'; @@ -21,12 +21,13 @@ import Announcement from '../floor/Announcement';
21 import SingleImage from '../floor/SingleImage'; 21 import SingleImage from '../floor/SingleImage';
22 import SingleNameImage from '../floor/SingleNameImage'; 22 import SingleNameImage from '../floor/SingleNameImage';
23 import TrendsetterCollocation from '../floor/TrendsetterCollocation'; 23 import TrendsetterCollocation from '../floor/TrendsetterCollocation';
24 -import KidsBrandCell from '../cell/KidsBrandsCell'; 24 +import KidsBrandFloor from '../floor/KidsBrandFloor';
25 import DivideImage from '../floor/DivideImage'; 25 import DivideImage from '../floor/DivideImage';
26 import NewProductFloor from '../floor/NewProductFloor'; 26 import NewProductFloor from '../floor/NewProductFloor';
27 import SmallPic from '../floor/SmallPic'; 27 import SmallPic from '../floor/SmallPic';
28 -import KidsBrandCell from '../floor/KidsBrandsFloor';  
29 import NewUserFloor from '../floor/NewUserFloor'; 28 import NewUserFloor from '../floor/NewUserFloor';
  29 +import VipUserFloor from '../floor/VipUserFloor';
  30 +import ActivityProductFloor from '../floor/ActivityProductFloor';
30 31
31 export default class Home extends Component { 32 export default class Home extends Component {
32 33
@@ -140,7 +141,7 @@ export default class Home extends Component { @@ -140,7 +141,7 @@ export default class Home extends Component {
140 break; 141 break;
141 case 'kids_brands':{ 142 case 'kids_brands':{
142 return ( 143 return (
143 - <KidsBrandCell /> 144 + <KidsBrandFloor />
144 ); 145 );
145 } 146 }
146 case 'small_pic': { 147 case 'small_pic': {
@@ -166,6 +167,16 @@ export default class Home extends Component { @@ -166,6 +167,16 @@ export default class Home extends Component {
166 /> 167 />
167 ); 168 );
168 } 169 }
  170 + case 'vipUse':{
  171 + return (
  172 + <VipUserFloor
  173 + data={data}/>
  174 + );
  175 + }
  176 + case 'activityProductFloor':{
  177 + return <ActivityProductFloor
  178 + data = {data}/>
  179 + }
169 default: 180 default:
170 return null; 181 return null;
171 } 182 }