diff --git a/template/m.yohobuy.com/actions/index/home/logistic.phtml b/template/m.yohobuy.com/actions/index/home/logistic.phtml index 034a353..3bd21b5 100644 --- a/template/m.yohobuy.com/actions/index/home/logistic.phtml +++ b/template/m.yohobuy.com/actions/index/home/logistic.phtml @@ -2,13 +2,13 @@ <div class="logistic-page yoho-page"> <div class="overview"> <div class="left" > - <div class="icon" style='background-image:url("{{logisticImg}}")'> </div> + <a href="{{logisticUrl}}"><div class="icon" style='background-image:url("{{logisticImg}}")'></div></a> </div> <div class="right"> <div> <span class='info'>物流公司:</span> - <span>{{logisticCompany}}</span> + <span >{{logisticCompany}}</span> </div> <div> <span class='info'>快递单号:</span> @@ -28,7 +28,7 @@ <span class="timeline-node"></span> <div class="timeline-info"> <div class="timeline-info-row"> - {{ status}} + {{status}} </div> <div class="timeline-info-row"> {{date}} diff --git a/yohobuy/m.yohobuy.com/application/controllers/Home.php b/yohobuy/m.yohobuy.com/application/controllers/Home.php index 60b8ea8..8f4c488 100644 --- a/yohobuy/m.yohobuy.com/application/controllers/Home.php +++ b/yohobuy/m.yohobuy.com/application/controllers/Home.php @@ -670,7 +670,7 @@ class HomeController extends AbstractAction $uid = $this->getUid(true); $gender = Helpers::getGenderByCookie(); $channel = Helpers::getChannelByCookie(); - $data = OrderModel::getOrder($type, $page, 10, $gender, $channel, 5772257); + $data = OrderModel::getOrder($type, $page, 10, $gender, $channel, $this->_uid); /* 如果取不到订单数据时,分两种情况: 1、page>1时,echo一个空格字符串到浏览器。 2、page=1时,就给一个随便逛逛的链接。