do home page view my order logistic
Showing
2 changed files
with
4 additions
and
4 deletions
@@ -2,13 +2,13 @@ | @@ -2,13 +2,13 @@ | ||
2 | <div class="logistic-page yoho-page"> | 2 | <div class="logistic-page yoho-page"> |
3 | <div class="overview"> | 3 | <div class="overview"> |
4 | <div class="left" > | 4 | <div class="left" > |
5 | - <div class="icon" style='background-image:url("{{logisticImg}}")'> </div> | 5 | + <a href="{{logisticUrl}}"><div class="icon" style='background-image:url("{{logisticImg}}")'></div></a> |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <div class="right"> | 8 | <div class="right"> |
9 | <div> | 9 | <div> |
10 | <span class='info'>物流公司:</span> | 10 | <span class='info'>物流公司:</span> |
11 | - <span>{{logisticCompany}}</span> | 11 | + <span >{{logisticCompany}}</span> |
12 | </div> | 12 | </div> |
13 | <div> | 13 | <div> |
14 | <span class='info'>快递单号:</span> | 14 | <span class='info'>快递单号:</span> |
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | <span class="timeline-node"></span> | 28 | <span class="timeline-node"></span> |
29 | <div class="timeline-info"> | 29 | <div class="timeline-info"> |
30 | <div class="timeline-info-row"> | 30 | <div class="timeline-info-row"> |
31 | - {{ status}} | 31 | + {{status}} |
32 | </div> | 32 | </div> |
33 | <div class="timeline-info-row"> | 33 | <div class="timeline-info-row"> |
34 | {{date}} | 34 | {{date}} |
@@ -670,7 +670,7 @@ class HomeController extends AbstractAction | @@ -670,7 +670,7 @@ class HomeController extends AbstractAction | ||
670 | $uid = $this->getUid(true); | 670 | $uid = $this->getUid(true); |
671 | $gender = Helpers::getGenderByCookie(); | 671 | $gender = Helpers::getGenderByCookie(); |
672 | $channel = Helpers::getChannelByCookie(); | 672 | $channel = Helpers::getChannelByCookie(); |
673 | - $data = OrderModel::getOrder($type, $page, 10, $gender, $channel, 5772257); | 673 | + $data = OrderModel::getOrder($type, $page, 10, $gender, $channel, $this->_uid); |
674 | /* 如果取不到订单数据时,分两种情况: | 674 | /* 如果取不到订单数据时,分两种情况: |
675 | 1、page>1时,echo一个空格字符串到浏览器。 | 675 | 1、page>1时,echo一个空格字符串到浏览器。 |
676 | 2、page=1时,就给一个随便逛逛的链接。 | 676 | 2、page=1时,就给一个随便逛逛的链接。 |
-
Please register or login to post a comment