Authored by xuqi

new

@@ -21,6 +21,33 @@ @@ -21,6 +21,33 @@
21 </div> 21 </div>
22 22
23 <div class="list-right pull-right"> 23 <div class="list-right pull-right">
  24 + {{# newMain}}
  25 + <div class="new-banner">
  26 + <a href="{{bannerHref}}">
  27 + <img src="{{banner}}">
  28 + </a>
  29 + </div>
  30 + <div class="new-brands clearfix">
  31 + <span class="iconfont pre">&#xe607;</span>
  32 + <div class="brands-wrap">
  33 + <ul class="brands">
  34 + {{# brands}}
  35 + <li>
  36 + <a href="{{href}}">
  37 + <img src="{{logo}}">
  38 + </a>
  39 + </li>
  40 + {{/ brands}}
  41 + </ul>
  42 + </div>
  43 + <span class="iconfont next">&#xe608;</span>
  44 + </div>
  45 + <div class="new-floor-title">
  46 + <span class="date">{{date}}</span>
  47 + <span class="title">{{title}}</span>
  48 + </div>
  49 + {{/ newMain}}
  50 +
24 {{> product/standard-content}} 51 {{> product/standard-content}}
25 </div> 52 </div>
26 </div> 53 </div>
@@ -15,4 +15,54 @@ require('./product'); @@ -15,4 +15,54 @@ require('./product');
15 15
16 16
17 //最近浏览的商品Lazyload 17 //最近浏览的商品Lazyload
18 -lazyLoad($('.latest-walk .lazy'));  
  18 +lazyLoad($('.latest-walk .lazy'));
  19 +
  20 +(function() {
  21 + var $brands = $('.brands');
  22 +
  23 + var wrapWidth,
  24 + $firstBrand,
  25 + totalWidth,
  26 + perWidth;
  27 +
  28 + if ($brands.length === 0) {
  29 + return;
  30 + }
  31 +
  32 + wrapWidth = $('.brands-wrap').width();
  33 +
  34 + $firstBrand = $brands.children('li:first-child');
  35 + perWidth = $firstBrand.width() + $firstBrand.css('margin-left').replace('px', '') * 1;
  36 +
  37 + totalWidth = perWidth * $brands.children('li').length;
  38 +
  39 + //针对NEW页面Header的brand banner切换
  40 + $('.new-brands').on('click', '.pre,.next', function() {
  41 + var $this = $(this),
  42 + left;
  43 +
  44 + left = $brands.css('left');
  45 +
  46 + if (left === 'auto') {
  47 + left = 0;
  48 + } else {
  49 + left = +left.replace('px', '');
  50 + }
  51 +
  52 + if (($this).hasClass('pre')) {
  53 +
  54 + //左边界
  55 + if (left + wrapWidth > 0) {
  56 + return;
  57 + }
  58 + $brands.css('left', left + wrapWidth + 'px');
  59 + } else {
  60 +
  61 + //右边界
  62 + if (left - wrapWidth < -totalWidth) {
  63 + return;
  64 + }
  65 + $brands.css('left', left - wrapWidth + 'px');
  66 + }
  67 + });
  68 +}());
@@ -28,4 +28,110 @@ @@ -28,4 +28,110 @@
28 border-top: 1px dotted #999; 28 border-top: 1px dotted #999;
29 } 29 }
30 } 30 }
  31 +
  32 + .new-banner img {
  33 + display: block;
  34 + width: 100%;
  35 + }
  36 +
  37 + .new-brands {
  38 + position: relative;
  39 + width: 100%;
  40 + margin-top: 25px;
  41 +
  42 + > * {
  43 + float: left;
  44 + }
  45 +
  46 + .pre, .next {
  47 + position: absolute;
  48 + display: block;
  49 + width: 40px;
  50 + height: 40px;
  51 + line-height: 40px;
  52 + color: #fff;
  53 + background: #e0e0e0;
  54 + text-align: center;
  55 + top: 50%;
  56 + margin-top: -20px;
  57 + cursor: pointer;
  58 +
  59 + opacity: 0.8;
  60 + filter: Alpha(opacity=80);
  61 +
  62 + &:hover {
  63 + opacity: 0.9;
  64 + filter: Alpha(opacity=90);
  65 + }
  66 + }
  67 +
  68 + .pre {
  69 + left: 0;
  70 + }
  71 +
  72 + .next {
  73 + right: 0;
  74 + }
  75 +
  76 + .brands-wrap {
  77 + position: relative;
  78 + overflow: hidden;
  79 + width: 890px;
  80 + height: 76px;
  81 + margin-left: 40px;
  82 + }
  83 +
  84 + .brands {
  85 + position: absolute;
  86 + width: auto;
  87 + height: 76px;
  88 + }
  89 +
  90 + .brands li {
  91 + float: left;
  92 + margin-left: 14px;
  93 +
  94 + a {
  95 + display: block;
  96 + width: 164px;
  97 + height: 76px;
  98 + line-height: 76px;
  99 + vertical-align: middle;
  100 + text-align: center;
  101 + }
  102 +
  103 + img {
  104 + vertical-align: middle;
  105 + max-width: 100%;
  106 + max-height: 100%;
  107 + border: none;
  108 + }
  109 + }
  110 + }
  111 +
  112 + .new-floor-title {
  113 + position: relative;
  114 + margin: 35px auto;
  115 + width: 300px;
  116 + height: 31px;
  117 + line-height: 31px;
  118 + font-size: 18px;
  119 + border: 1px solid #000;
  120 +
  121 + .date {
  122 + position: absolute;
  123 + left: -1px;
  124 + top: -1px;
  125 + width: 155px;
  126 + height: 33px;
  127 + color: #fff;
  128 + text-align: center;
  129 + background: image-url('product/floor-title.png');
  130 + }
  131 +
  132 + .title {
  133 + float: right;
  134 + margin-right: 40px;
  135 + }
  136 + }
31 } 137 }
@@ -958,6 +958,7 @@ class IndexController extends AbstractAction @@ -958,6 +958,7 @@ class IndexController extends AbstractAction
958 public function newSaleAction() 958 public function newSaleAction()
959 { 959 {
960 $data = array( 960 $data = array(
  961 + 'productListPage' => true,
961 'newSale' => array( 962 'newSale' => array(
962 'banner' => array( 963 'banner' => array(
963 'bannerHeight' => 350, 964 'bannerHeight' => 350,
@@ -966,358 +967,389 @@ class IndexController extends AbstractAction @@ -966,358 +967,389 @@ class IndexController extends AbstractAction
966 'title' => array( 967 'title' => array(
967 'name' => '全部商品', 968 'name' => '全部商品',
968 'count' => 540 969 'count' => 540
969 - )  
970 - ),  
971 - 'filters' => array(  
972 - 'checkedConditions' => array(  
973 - 'conditions' => array( 970 + ),
  971 + 'newMain' => array(
  972 + 'banner' => 'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200',
  973 + 'date' => '12月16日',
  974 + 'title' => '新品到着',
  975 + 'brands' => array(
  976 + array(
  977 + 'href' => '',
  978 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120'
  979 + ),
  980 + array(
  981 + 'href' => '',
  982 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120'
  983 + ),
  984 + array(
  985 + 'href' => '',
  986 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120'
  987 + ),
974 array( 988 array(
975 'href' => '', 989 'href' => '',
976 - 'name' => '暗黑' 990 + 'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120'
977 ), 991 ),
978 array( 992 array(
979 'href' => '', 993 'href' => '',
980 - 'color' => '#f00' 994 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120'
981 ), 995 ),
982 array( 996 array(
983 'href' => '', 997 'href' => '',
984 - 'name' => 'CLOT' 998 + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120'
985 ) 999 )
986 - ),  
987 - 'clearUrl' => ''  
988 - ),  
989 - 'channel' => array(  
990 - array(  
991 - 'href' => '/?gender=1,3',  
992 - 'name' => 'BOYS'  
993 - ),  
994 - array(  
995 - 'href' => '/?gender=2,3',  
996 - 'name' => 'GIRLS'  
997 - ),  
998 - array(  
999 - 'href' => '',  
1000 - 'name' => 'KIDS'  
1001 - ),  
1002 - array(  
1003 - 'href' => '',  
1004 - 'name' => 'LIFESTYLE'  
1005 ) 1000 )
1006 ), 1001 ),
1007 - 'sort' => array(  
1008 - array(  
1009 - 'id' => '1',  
1010 - 'name' => '上衣',  
1011 - 'sub' => array( 1002 + 'filters' => array(
  1003 + 'checkedConditions' => array(
  1004 + 'conditions' => array(
1012 array( 1005 array(
1013 'href' => '', 1006 'href' => '',
1014 - 'name' => 'T恤' 1007 + 'name' => '暗黑'
1015 ), 1008 ),
1016 array( 1009 array(
1017 'href' => '', 1010 'href' => '',
1018 - 'name' => '棉袄' 1011 + 'color' => '#f00'
1019 ), 1012 ),
1020 array( 1013 array(
1021 'href' => '', 1014 'href' => '',
1022 - 'name' => '外套' 1015 + 'name' => 'CLOT'
1023 ) 1016 )
1024 - )  
1025 - ),  
1026 - array(  
1027 - 'id' => '2',  
1028 - 'name' => '裤子'  
1029 - ),  
1030 - array(  
1031 - 'id' => '3',  
1032 - 'name' => '连衣裙' 1017 + ),
  1018 + 'clearUrl' => ''
1033 ), 1019 ),
1034 - array(  
1035 - 'id' => '4',  
1036 - 'name' => '鞋'  
1037 - )  
1038 - ),  
1039 - 'brand' => array(  
1040 - 'default' => array( 1020 + 'channel' => array(
1041 array( 1021 array(
1042 - 'href' => '',  
1043 - 'name' => 'CLOT' 1022 + 'href' => '/?gender=1,3',
  1023 + 'name' => 'BOYS'
1044 ), 1024 ),
1045 array( 1025 array(
1046 - 'href' => '',  
1047 - 'name' => 'ABLE JEANS' 1026 + 'href' => '/?gender=2,3',
  1027 + 'name' => 'GIRLS'
1048 ), 1028 ),
1049 array( 1029 array(
1050 'href' => '', 1030 'href' => '',
1051 - 'name' => 'Eight Guys' 1031 + 'name' => 'KIDS'
1052 ), 1032 ),
1053 array( 1033 array(
1054 'href' => '', 1034 'href' => '',
1055 - 'name' => 'FAIRWHALE JEANS' 1035 + 'name' => 'LIFESTYLE'
  1036 + )
  1037 + ),
  1038 + 'sort' => array(
  1039 + array(
  1040 + 'id' => '1',
  1041 + 'name' => '上衣',
  1042 + 'sub' => array(
  1043 + array(
  1044 + 'href' => '',
  1045 + 'name' => 'T恤'
  1046 + ),
  1047 + array(
  1048 + 'href' => '',
  1049 + 'name' => '棉袄'
  1050 + ),
  1051 + array(
  1052 + 'href' => '',
  1053 + 'name' => '外套'
  1054 + )
  1055 + )
1056 ), 1056 ),
1057 array( 1057 array(
1058 - 'href' => '',  
1059 - 'name' => '鬼洗' 1058 + 'id' => '2',
  1059 + 'name' => '裤子'
1060 ), 1060 ),
1061 array( 1061 array(
1062 - 'href' => '',  
1063 - 'name' => '金银帝国Imperial Taels' 1062 + 'id' => '3',
  1063 + 'name' => '连衣裙'
1064 ), 1064 ),
1065 array( 1065 array(
1066 - 'href' => '',  
1067 - 'name' => 'F.L.Y.D' 1066 + 'id' => '4',
  1067 + 'name' => '鞋'
  1068 + )
  1069 + ),
  1070 + 'brand' => array(
  1071 + 'default' => array(
  1072 + array(
  1073 + 'href' => '',
  1074 + 'name' => 'CLOT'
  1075 + ),
  1076 + array(
  1077 + 'href' => '',
  1078 + 'name' => 'ABLE JEANS'
  1079 + ),
  1080 + array(
  1081 + 'href' => '',
  1082 + 'name' => 'Eight Guys'
  1083 + ),
  1084 + array(
  1085 + 'href' => '',
  1086 + 'name' => 'FAIRWHALE JEANS'
  1087 + ),
  1088 + array(
  1089 + 'href' => '',
  1090 + 'name' => '鬼洗'
  1091 + ),
  1092 + array(
  1093 + 'href' => '',
  1094 + 'name' => '金银帝国Imperial Taels'
  1095 + ),
  1096 + array(
  1097 + 'href' => '',
  1098 + 'name' => 'F.L.Y.D'
  1099 + ),
  1100 + array(
  1101 + 'href' => '',
  1102 + 'name' => 'Tapenade特芙娜'
  1103 + ),
  1104 + array(
  1105 + 'href' => '',
  1106 + 'name' => 'Adidas Originals'
  1107 + )
1068 ), 1108 ),
  1109 + 'brandIndex' => array(
  1110 + array(
  1111 + 'index' => 'all',
  1112 + 'name' => '全部'
  1113 + ),
  1114 + array(
  1115 + 'index' => '0-9',
  1116 + 'name' => '0 ~ 9'
  1117 + ),
  1118 + array(
  1119 + 'index' => 'a',
  1120 + 'name' => 'A'
  1121 + )
  1122 + ),
  1123 + 'brandsShow' => array(
  1124 + array(
  1125 + 'id' => '1',
  1126 + 'href' => '',
  1127 + 'index' => '0-9',
  1128 + 'name' => '5cm',
  1129 + 'key' => '5cm'
  1130 + ),
  1131 + array(
  1132 + 'id' => '2',
  1133 + 'href' => '',
  1134 + 'index' => 'k',
  1135 + 'name' => 'KTZ',
  1136 + 'key' => 'ktz'
  1137 + ),
  1138 + array(
  1139 + 'id' => '3',
  1140 + 'href' => '',
  1141 + 'index' => 't',
  1142 + 'name' => 'Tapenade特芙娜',
  1143 + 'key' => 'tapenade特芙娜'
  1144 + ),
  1145 + array(
  1146 + 'id' => '4',
  1147 + 'href' => '',
  1148 + 'index' => 'j',
  1149 + 'name' => '金银帝国Imperial Taels',
  1150 + 'key' => '金银帝国imperial taels'
  1151 + ),
  1152 + array(
  1153 + 'id' => '5',
  1154 + 'href' => '',
  1155 + 'index' => 'a',
  1156 + 'name' => 'ABLE JEANS',
  1157 + 'key' => 'able jeans'
  1158 + )
  1159 + )
  1160 + ),
  1161 + 'price' => array(
1069 array( 1162 array(
1070 'href' => '', 1163 'href' => '',
1071 - 'name' => 'Tapenade特芙娜' 1164 + 'name' => '0-239'
1072 ), 1165 ),
1073 array( 1166 array(
1074 'href' => '', 1167 'href' => '',
1075 - 'name' => 'Adidas Originals' 1168 + 'name' => '240-329'
1076 ) 1169 )
1077 ), 1170 ),
1078 - 'brandIndex' => array( 1171 + 'color' => array(
1079 array( 1172 array(
1080 - 'index' => 'all',  
1081 - 'name' => '全部' 1173 + 'href' => '',
  1174 + 'name' => '黑色',
  1175 + 'rgb' => '#000'
1082 ), 1176 ),
1083 array( 1177 array(
1084 - 'index' => '0-9',  
1085 - 'name' => '0 ~ 9' 1178 + 'href' => '',
  1179 + 'name' => '红色',
  1180 + 'rgb' => '#f00'
  1181 + )
  1182 + ),
  1183 + 'size' => array(
  1184 + array(
  1185 + 'href' => '',
  1186 + 'name' => 'S'
1086 ), 1187 ),
1087 array( 1188 array(
1088 - 'index' => 'a',  
1089 - 'name' => 'A' 1189 + 'href' => '',
  1190 + 'name' => 'L'
1090 ) 1191 )
1091 ), 1192 ),
1092 - 'brandsShow' => array( 1193 + 'seniorChose' => array(
1093 array( 1194 array(
1094 - 'id' => '1',  
1095 - 'href' => '',  
1096 - 'index' => '0-9',  
1097 - 'name' => '5cm',  
1098 - 'key' => '5cm' 1195 + 'attr' => 'style',
  1196 + 'name' => '风格',
  1197 + 'showMulti' => true,
  1198 + 'sub' => array(
  1199 + array(
  1200 + 'id' => '1',
  1201 + 'href' => '',
  1202 + 'name' => '街头'
  1203 + ),
  1204 + array(
  1205 + 'id' => '2',
  1206 + 'href' => '',
  1207 + 'name' => '简约'
  1208 + )
  1209 + )
1099 ), 1210 ),
1100 array( 1211 array(
1101 - 'id' => '2', 1212 + 'attr' => 'weather',
  1213 + 'name' => '适用季节',
  1214 + 'sub' => array(
  1215 + array(
  1216 + 'id' => '1',
  1217 + 'href' => '',
  1218 + 'name' => '春天'
  1219 + ),
  1220 + array(
  1221 + 'id' => '2',
  1222 + 'href' => '',
  1223 + 'name' => '夏天'
  1224 + )
  1225 + )
  1226 + )
  1227 + )
  1228 + ),
  1229 + 'opts' => array(
  1230 + 'sortType' => array(
  1231 + array(
1102 'href' => '', 1232 'href' => '',
1103 - 'index' => 'k',  
1104 - 'name' => 'KTZ',  
1105 - 'key' => 'ktz' 1233 + 'name' => '默认'
1106 ), 1234 ),
1107 array( 1235 array(
1108 - 'id' => '3', 1236 + 'active' => true,
1109 'href' => '', 1237 'href' => '',
1110 - 'index' => 't',  
1111 - 'name' => 'Tapenade特芙娜',  
1112 - 'key' => 'tapenade特芙娜' 1238 + 'name' => '最新',
  1239 + 'hasSortOrient' => true,
  1240 + 'desc' => true
1113 ), 1241 ),
1114 array( 1242 array(
1115 - 'id' => '4',  
1116 'href' => '', 1243 'href' => '',
1117 - 'index' => 'j',  
1118 - 'name' => '金银帝国Imperial Taels',  
1119 - 'key' => '金银帝国imperial taels' 1244 + 'name' => '价格',
  1245 + 'hasSortOrient' => true
1120 ), 1246 ),
1121 array( 1247 array(
1122 - 'id' => '5',  
1123 'href' => '', 1248 'href' => '',
1124 - 'index' => 'a',  
1125 - 'name' => 'ABLE JEANS',  
1126 - 'key' => 'able jeans' 1249 + 'name' => '折扣',
  1250 + 'hasSortOrient' => true
1127 ) 1251 )
1128 - )  
1129 - ),  
1130 - 'price' => array(  
1131 - array(  
1132 - 'href' => '',  
1133 - 'name' => '0-239'  
1134 - ),  
1135 - array(  
1136 - 'href' => '',  
1137 - 'name' => '240-329'  
1138 - )  
1139 - ),  
1140 - 'color' => array(  
1141 - array(  
1142 - 'href' => '',  
1143 - 'name' => '黑色',  
1144 - 'rgb' => '#000'  
1145 - ),  
1146 - array(  
1147 - 'href' => '',  
1148 - 'name' => '红色',  
1149 - 'rgb' => '#f00'  
1150 - )  
1151 - ),  
1152 - 'size' => array(  
1153 - array(  
1154 - 'href' => '',  
1155 - 'name' => 'S'  
1156 ), 1252 ),
1157 - array(  
1158 - 'href' => '',  
1159 - 'name' => 'L'  
1160 - )  
1161 - ),  
1162 - 'seniorChose' => array(  
1163 - array(  
1164 - 'attr' => 'style',  
1165 - 'name' => '风格',  
1166 - 'showMulti' => true,  
1167 - 'sub' => array(  
1168 - array(  
1169 - 'id' => '1',  
1170 - 'href' => '',  
1171 - 'name' => '街头'  
1172 - ),  
1173 - array(  
1174 - 'id' => '2',  
1175 - 'href' => '',  
1176 - 'name' => '简约'  
1177 - ) 1253 + 'checks' => array(
  1254 + array(
  1255 + 'name' => '新品',
  1256 + 'checked' => true,
  1257 + 'href' => ''
  1258 + ),
  1259 + array(
  1260 + 'name' => '打折',
  1261 + 'href' => ''
  1262 + ),
  1263 + array(
  1264 + 'name' => '限量',
  1265 + 'checked' => true,
  1266 + 'href' => ''
1178 ) 1267 )
1179 ), 1268 ),
1180 - array(  
1181 - 'attr' => 'weather',  
1182 - 'name' => '适用季节',  
1183 - 'sub' => array(  
1184 - array(  
1185 - 'id' => '1',  
1186 - 'href' => '',  
1187 - 'name' => '春天'  
1188 - ),  
1189 - array(  
1190 - 'id' => '2',  
1191 - 'href' => '',  
1192 - 'name' => '夏天'  
1193 - ) 1269 + 'fivePerLine' => true,
  1270 + 'sixPerLineHref' => '',
  1271 + 'countPerPage' => '120',
  1272 + 'pageCounts' => array(
  1273 + array(
  1274 + 'href' => '',
  1275 + 'count' => 60
  1276 + ),
  1277 + array(
  1278 + 'href' => '',
  1279 + 'count' => 100
  1280 + ),
  1281 + array(
  1282 + 'href' => '',
  1283 + 'count' => 120
1194 ) 1284 )
1195 - )  
1196 - )  
1197 - ),  
1198 - 'opts' => array(  
1199 - 'sortType' => array(  
1200 - array(  
1201 - 'href' => '',  
1202 - 'name' => '默认'  
1203 - ),  
1204 - array(  
1205 - 'active' => true,  
1206 - 'href' => '',  
1207 - 'name' => '最新',  
1208 - 'hasSortOrient' => true,  
1209 - 'desc' => true  
1210 - ),  
1211 - array(  
1212 - 'href' => '',  
1213 - 'name' => '价格',  
1214 - 'hasSortOrient' => true  
1215 ), 1285 ),
1216 - array(  
1217 - 'href' => '',  
1218 - 'name' => '折扣',  
1219 - 'hasSortOrient' => true  
1220 - ) 1286 + 'curPage' => 1,
  1287 + 'pageCount' => 30,
  1288 + 'nextHref' => 'hello'
1221 ), 1289 ),
1222 - 'checks' => array( 1290 + 'goods' => array(
1223 array( 1291 array(
1224 - 'name' => '新品',  
1225 - 'checked' => true,  
1226 - 'href' => '' 1292 + 'tags' => array(
  1293 + 'isNew' => true,
  1294 + 'isYearEndPromotion' => true
  1295 + ),
  1296 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1297 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1298 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1299 + 'salePrice' => '899',
  1300 + 'isFew' => true
1227 ), 1301 ),
1228 array( 1302 array(
1229 - 'name' => '打折',  
1230 - 'href' => '' 1303 + 'tags' => array(
  1304 + 'isNew' => true,
  1305 + 'isReNew' => true
  1306 + ),
  1307 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1308 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1309 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1310 + 'salePrice' => '899',
  1311 + 'showColBtn' => true
1231 ), 1312 ),
1232 array( 1313 array(
1233 - 'name' => '限量',  
1234 - 'checked' => true,  
1235 - 'href' => ''  
1236 - )  
1237 - ),  
1238 - 'fivePerLine' => true,  
1239 - 'sixPerLineHref' => '',  
1240 - 'countPerPage' => '120',  
1241 - 'pageCounts' => array( 1314 + 'tags' => array(
  1315 + 'isNew' => true,
  1316 + 'isReNew' => true
  1317 + ),
  1318 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1319 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1320 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1321 + 'salePrice' => '899'
  1322 + ),
1242 array( 1323 array(
1243 - 'href' => '',  
1244 - 'count' => 60 1324 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1325 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1326 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1327 + 'salePrice' => '899'
1245 ), 1328 ),
1246 array( 1329 array(
1247 - 'href' => '',  
1248 - 'count' => 100 1330 + 'tags' => array(
  1331 + 'isNew' => true,
  1332 + 'isReNew' => true
  1333 + ),
  1334 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1335 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1336 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1337 + 'salePrice' => '899'
1249 ), 1338 ),
1250 array( 1339 array(
1251 - 'href' => '',  
1252 - 'count' => 120 1340 + 'tags' => array(
  1341 + 'isNew' => true,
  1342 + 'isReNew' => true
  1343 + ),
  1344 + 'url' => 'http://adidas.yohobuy.com/?gender=1,3',
  1345 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  1346 + 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
  1347 + 'salePrice' => '899'
1253 ) 1348 )
1254 ), 1349 ),
1255 - 'curPage' => 1,  
1256 - 'pageCount' => 30,  
1257 - 'nextHref' => 'hello'  
1258 - ),  
1259 - 'goods' => array(  
1260 - array(  
1261 - 'tags' => array(  
1262 - 'isNew' => true,  
1263 - 'isYearEndPromotion' => true  
1264 - ),  
1265 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1266 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1267 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1268 - 'salePrice' => '899',  
1269 - 'isFew' => true  
1270 - ),  
1271 - array(  
1272 - 'tags' => array(  
1273 - 'isNew' => true,  
1274 - 'isReNew' => true  
1275 - ),  
1276 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1277 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1278 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1279 - 'salePrice' => '899',  
1280 - 'showColBtn' => true  
1281 - ),  
1282 - array(  
1283 - 'tags' => array(  
1284 - 'isNew' => true,  
1285 - 'isReNew' => true  
1286 - ),  
1287 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1288 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1289 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1290 - 'salePrice' => '899'  
1291 - ),  
1292 - array(  
1293 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1294 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1295 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1296 - 'salePrice' => '899'  
1297 - ),  
1298 - array(  
1299 - 'tags' => array(  
1300 - 'isNew' => true,  
1301 - 'isReNew' => true  
1302 - ),  
1303 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1304 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1305 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1306 - 'salePrice' => '899'  
1307 - ),  
1308 - array(  
1309 - 'tags' => array(  
1310 - 'isNew' => true,  
1311 - 'isReNew' => true  
1312 - ),  
1313 - 'url' => 'http://adidas.yohobuy.com/?gender=1,3',  
1314 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
1315 - 'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',  
1316 - 'salePrice' => '899'  
1317 - )  
1318 - ),  
1319 - 'totalCount' => '2259',  
1320 - 'pager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="iconfont">&gt;</span></a>' 1350 + 'totalCount' => '2259',
  1351 + 'pager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="iconfont">&gt;</span></a>'
  1352 + )
1321 ); 1353 );
1322 1354
1323 $this->_view->display('new-sale', $data); 1355 $this->_view->display('new-sale', $data);