Authored by 梁志锋

update files

@@ -1097,3 +1097,29 @@ @@ -1097,3 +1097,29 @@
1097 127.0.0.1 - - [13/Oct/2015:21:44:28 +0800] "GET /boys HTTP/1.1" 200 18209 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 1097 127.0.0.1 - - [13/Oct/2015:21:44:28 +0800] "GET /boys HTTP/1.1" 200 18209 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
1098 172.16.6.248 - - [13/Oct/2015:21:44:28 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/boys" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 1098 172.16.6.248 - - [13/Oct/2015:21:44:28 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/boys" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
1099 127.0.0.1 - - [13/Oct/2015:21:44:28 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/boys" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 1099 127.0.0.1 - - [13/Oct/2015:21:44:28 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/boys" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1100 +127.0.0.1 - - [14/Oct/2015:09:54:46 +0800] "GET /girls HTTP/1.1" 200 265388 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1101 +172.16.6.248 - - [14/Oct/2015:09:54:46 +0800] "GET /css/index.css HTTP/1.1" 200 38487 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1102 +172.16.6.248 - - [14/Oct/2015:09:54:46 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 200 7740 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1103 +172.16.6.248 - - [14/Oct/2015:09:54:46 +0800] "GET /img/app-logo.png?1441873709 HTTP/1.1" 200 5598 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1104 +172.16.6.248 - - [14/Oct/2015:09:54:46 +0800] "GET /img/yohologo02.png?1444716802 HTTP/1.1" 200 6161 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1105 +172.16.6.248 - - [14/Oct/2015:09:54:46 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 200 1700 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1106 +127.0.0.1 - - [14/Oct/2015:09:55:16 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1107 +127.0.0.1 - - [14/Oct/2015:10:02:10 +0800] "GET /girls HTTP/1.1" 200 272958 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1108 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /css/index.css HTTP/1.1" 200 38487 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1109 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 200 7740 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1110 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /img/up-icon.png?1441873709 HTTP/1.1" 200 687 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1111 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 200 1700 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1112 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /img/yohologo02.png?1444716802 HTTP/1.1" 200 6161 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1113 +172.16.6.248 - - [14/Oct/2015:10:02:10 +0800] "GET /img/app-logo.png?1441873709 HTTP/1.1" 200 5598 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1114 +127.0.0.1 - - [14/Oct/2015:10:02:54 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1115 +172.16.6.158 - - [14/Oct/2015:10:42:17 +0800] "-" 400 0 "-" "-"
  1116 +172.16.6.158 - - [14/Oct/2015:10:42:17 +0800] "-" 400 0 "-" "-"
  1117 +172.16.6.158 - - [14/Oct/2015:10:42:21 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/reg.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36"
  1118 +127.0.0.1 - - [14/Oct/2015:10:42:59 +0800] "GET /girls HTTP/1.1" 200 272974 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1119 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /css/index.css HTTP/1.1" 200 38487 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1120 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 200 7740 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1121 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /img/up-icon.png?1441873709 HTTP/1.1" 200 687 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1122 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /img/yohologo02.png?1444716802 HTTP/1.1" 200 6161 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1123 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /img/app-logo.png?1441873709 HTTP/1.1" 200 5598 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1124 +172.16.6.248 - - [14/Oct/2015:10:42:59 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 200 1700 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1125 +127.0.0.1 - - [14/Oct/2015:10:43:28 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
@@ -11,6 +11,11 @@ class GirlsController extends AbstractAction @@ -11,6 +11,11 @@ class GirlsController extends AbstractAction
11 11
12 public function indexAction() 12 public function indexAction()
13 { 13 {
  14 +
  15 + // 显示侧边栏
  16 + $this->setNavSide();
  17 +
  18 +
14 $data = array( 19 $data = array(
15 'headerDownload' => $this->getHeaderDownload(), 20 'headerDownload' => $this->getHeaderDownload(),
16 'homeHeader' => array( 21 'homeHeader' => array(
@@ -140,6 +145,7 @@ class GirlsController extends AbstractAction @@ -140,6 +145,7 @@ class GirlsController extends AbstractAction
140 break; 145 break;
141 } 146 }
142 147
  148 +
143 $content[$key] = array( 149 $content[$key] = array(
144 'bannerTop' => $bannerTop, 150 'bannerTop' => $bannerTop,
145 'iconsEnter' => $iconsEnter, 151 'iconsEnter' => $iconsEnter,
@@ -519,10 +525,130 @@ class GirlsController extends AbstractAction @@ -519,10 +525,130 @@ class GirlsController extends AbstractAction
519 'textCn' => '耳机' 525 'textCn' => '耳机'
520 ) 526 )
521 ) 527 )
  528 + ),
  529 +
  530 +
  531 +'bannerCenter' => array(
  532 + 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
  533 + 'url' => ''
  534 + ),
  535 +
  536 + 'creativeLife' => array(
  537 + 'name' => '创意生活',
  538 + 'more' => '',
  539 + 'url' => '',
  540 + 'banner' => 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
  541 + 'classify' => array(
  542 + array(
  543 + 'url' => '',
  544 + 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  545 + 'name' => '手表'
  546 + ), array(
  547 + 'url' => '',
  548 + 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  549 + 'name' => '烛台'
  550 + ), array(
  551 + 'url' => '',
  552 + 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  553 + 'name' => '围巾'
  554 + ), array(
  555 + 'url' => '',
  556 + 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  557 + 'name' => '盘子'
  558 + ), array(
  559 + 'url' => '',
  560 + 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  561 + 'name' => '耳机'
  562 + ), array(
  563 + 'url' => '',
  564 + 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/04/22/02/02a1b688b6dafd786f391e0624aea1e93b.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  565 + 'name' => '生活'
  566 + )
522 ) 567 )
523 - )); 568 + ),
524 569
525 570
  571 +'plusStar' => array(
  572 + 'name' => 'PLUS 全球优选',
  573 + 'url' => '',
  574 + 'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'
  575 +
  576 + ),
  577 +
  578 + 'bannerCenter' => array(
  579 + 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
  580 + 'url' => ''
  581 + ),
  582 +
  583 + 'plusStar' => array(
  584 + 'name' => 'STAR 明星潮牌',
  585 + 'url' => '',
  586 + 'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'
  587 +
  588 + ),
  589 + 'bannerCenter' => array(
  590 + 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
  591 + 'url' => ''
  592 + ),
  593 +
  594 +'maybeLike' => array(
  595 + 'goods' => array(
  596 + array(
  597 + 'id' => 1,
  598 + 'thumb' => 'http://img11.static.yhbimg.com/goodsimg/2015/03/02/07/01ebfb219e22770ffb0c2c3a2cbb2b4bef.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  599 + 'name' => 'GAWS DIGI 丛林数码印花拼接卫衣',
  600 + 'isLike' => false,
  601 + 'price' => 1268,
  602 + 'salePrice' => 589,
  603 + 'isSale' => true,
  604 + 'isFew' => true,
  605 + 'isNew' => false,
  606 + 'url' => ''
  607 + ), array(
  608 + 'id' => 2,
  609 + 'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/023d70c59e81ccbfb39404487aaf642da2.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  610 + 'name' => 'CLOTtee 撞色连帽外套',
  611 + 'isLike' => false,
  612 + 'price' => 488,
  613 + 'salePrice' => 139,
  614 + 'isSale' => true,
  615 + 'isFew' => true,
  616 + 'isNew' => false,
  617 + 'url' => ''
  618 + ), array(
  619 + 'id' => 3,
  620 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/03/02/08/02e2d44125e95495e3152aa459fa6b9b0c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  621 + 'name' => 'HALFGIRL 插肩棒球服短裙套装',
  622 + 'isLike' => true,
  623 + 'price' => 478,
  624 + 'salePrice' => 208,
  625 + 'isSale' => true,
  626 + 'isFew' => true,
  627 + 'isNew' => false,
  628 + 'url' => ''
  629 + ), array(
  630 + 'id' => 4,
  631 + 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
  632 + 'name' => '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',
  633 + 'isLike' => false,
  634 + 'salePrice' => 148,
  635 + 'isSale' => false,
  636 + 'isFew' => false,
  637 + 'isNew' => true,
  638 + 'url' => ''
  639 + )
  640 + )
  641 +),
  642 +
  643 +'bannerBottom' => array(
  644 + 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
  645 + 'url' => ''
  646 + )
  647 +
  648 +
  649 +
  650 + ));
  651 +
526 652
527 $this->_view->assign('title', 'YOHO!有货'); 653 $this->_view->assign('title', 'YOHO!有货');
528 $this->_view->display('index', $data); 654 $this->_view->display('index', $data);