Authored by ccbikai

特殊资源位处理

@@ -103,6 +103,24 @@ const processFloor = (list) => { @@ -103,6 +103,24 @@ const processFloor = (list) => {
103 103
104 _.forEach(list, (floor) => { 104 _.forEach(list, (floor) => {
105 floor[_.camelCase(floor.templateName)] = true; 105 floor[_.camelCase(floor.templateName)] = true;
  106 +
  107 + // 特殊资源位处理
  108 + // PLUS
  109 + if (floor.singleNameImage && floor.data) {
  110 + floor.data.title = {
  111 + title: floor.data.title
  112 + };
  113 + }
  114 +
  115 + // 潮流时装/经典裤裙/时尚靴履/潮人配饰/潮流上装
  116 + if (floor.recommendContentOne && floor.data) {
  117 + if (floor.data.bigImage && floor.data.bigImage.length > 1) {
  118 + floor.data.bigImage = {
  119 + bigList: floor.data.bigImage
  120 + };
  121 + }
  122 + }
  123 +
106 formatData.push(floor); 124 formatData.push(floor);
107 }); 125 });
108 126