Merge branch 'develop/wap' of http://git.dev.yoho.cn/web/yohobuy into develop/wap
Showing
4 changed files
with
16 additions
and
6 deletions
@@ -375,7 +375,7 @@ class IndexController extends AbstractAction | @@ -375,7 +375,7 @@ class IndexController extends AbstractAction | ||
375 | 375 | ||
376 | // 设置网站标题 | 376 | // 设置网站标题 |
377 | $this->setTitle('选择地址'); | 377 | $this->setTitle('选择地址'); |
378 | - $this->setNavHeader('选择地址', Helpers::url('/cart/index/orderEnsure')); | 378 | + $this->setNavHeader('选择地址', Helpers::url('/cart/index/orderEnsure'), false); |
379 | 379 | ||
380 | $uid = $this->getUid(true); | 380 | $uid = $this->getUid(true); |
381 | $address = UserModel::getAddressData($uid); | 381 | $address = UserModel::getAddressData($uid); |
@@ -397,7 +397,7 @@ class IndexController extends AbstractAction | @@ -397,7 +397,7 @@ class IndexController extends AbstractAction | ||
397 | 397 | ||
398 | // 设置网站标题 | 398 | // 设置网站标题 |
399 | $this->setTitle('选择优惠券'); | 399 | $this->setTitle('选择优惠券'); |
400 | - $this->setNavHeader('选择优惠券', Helpers::url('/cart/index/orderEnsure')); | 400 | + $this->setNavHeader('选择优惠券', Helpers::url('/cart/index/orderEnsure'), false); |
401 | 401 | ||
402 | $this->_view->display('select-coupon', array( | 402 | $this->_view->display('select-coupon', array( |
403 | 'selectCouponPage' => true, | 403 | 'selectCouponPage' => true, |
@@ -410,8 +410,6 @@ class IndexController extends AbstractAction | @@ -410,8 +410,6 @@ class IndexController extends AbstractAction | ||
410 | */ | 410 | */ |
411 | public function orderSubAction() | 411 | public function orderSubAction() |
412 | { | 412 | { |
413 | - $result = array(); | ||
414 | - | ||
415 | if ($this->isAjax()) { | 413 | if ($this->isAjax()) { |
416 | $uid = $this->getUid(true); | 414 | $uid = $this->getUid(true); |
417 | $addressId = $this->post('addressId', null); | 415 | $addressId = $this->post('addressId', null); |
@@ -18,7 +18,7 @@ class BrandController extends AbstractAction | @@ -18,7 +18,7 @@ class BrandController extends AbstractAction | ||
18 | public function indexAction() | 18 | public function indexAction() |
19 | { | 19 | { |
20 | $this->setTitle('品牌一览'); | 20 | $this->setTitle('品牌一览'); |
21 | - $this->setNavHeader('品牌一览', '/boys?go=1&t=' . time()); | 21 | + $this->setNavHeader('品牌一览', '/boys?go=1&t=' . time(), false); |
22 | 22 | ||
23 | /* 判断参数是否有效 */ | 23 | /* 判断参数是否有效 */ |
24 | $channel = null; | 24 | $channel = null; |
@@ -146,6 +146,10 @@ class InfoController extends AbstractAction | @@ -146,6 +146,10 @@ class InfoController extends AbstractAction | ||
146 | } | 146 | } |
147 | } | 147 | } |
148 | } | 148 | } |
149 | + // 更多商品链接 | ||
150 | + elseif (isset($value['link'])) { | ||
151 | + $build['link'] = $value['link']['data'][0]['url']; | ||
152 | + } | ||
149 | 153 | ||
150 | $data['detail']['content'][] = $build; | 154 | $data['detail']['content'][] = $build; |
151 | } | 155 | } |
@@ -313,6 +317,10 @@ class InfoController extends AbstractAction | @@ -313,6 +317,10 @@ class InfoController extends AbstractAction | ||
313 | } | 317 | } |
314 | } | 318 | } |
315 | } | 319 | } |
320 | + // 更多商品链接 | ||
321 | + elseif (isset($value['link'])) { | ||
322 | + $build['link'] = $value['link']['data'][0]['url']; | ||
323 | + } | ||
316 | 324 | ||
317 | $data['detail']['content'][] = $build; | 325 | $data['detail']['content'][] = $build; |
318 | } | 326 | } |
@@ -445,6 +453,10 @@ class InfoController extends AbstractAction | @@ -445,6 +453,10 @@ class InfoController extends AbstractAction | ||
445 | } | 453 | } |
446 | } | 454 | } |
447 | } | 455 | } |
456 | + // 更多商品链接 | ||
457 | + elseif (isset($value['link'])) { | ||
458 | + $build['link'] = $value['link']['data'][0]['url']; | ||
459 | + } | ||
448 | 460 | ||
449 | // 内容详情 | 461 | // 内容详情 |
450 | if (array() !== $build) { | 462 | if (array() !== $build) { |
-
Please register or login to post a comment