code review by hf: do fixes order detail page bugs
Showing
2 changed files
with
3 additions
and
4 deletions
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | } | 15 | } |
16 | .help { | 16 | .help { |
17 | padding: 30px 30px; | 17 | padding: 30px 30px; |
18 | - font-size: 16px; | 18 | + font-size: 24px; |
19 | line-height: 1.5; | 19 | line-height: 1.5; |
20 | color: #444; | 20 | color: #444; |
21 | } | 21 | } |
@@ -36,8 +36,7 @@ | @@ -36,8 +36,7 @@ | ||
36 | </ul> | 36 | </ul> |
37 | <p>其他说明:</p> | 37 | <p>其他说明:</p> |
38 | <ul> | 38 | <ul> |
39 | - <li>1. YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利;</li> | ||
40 | - <li>2. 用户所晒单评价的文字、图片提交发布后,默认同步YOHO!SHOW平台;</li> | 39 | + <li>YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利</li> |
41 | </ul> | 40 | </ul> |
42 | </div> | 41 | </div> |
43 | </body> | 42 | </body> |
@@ -218,7 +218,7 @@ class OrderModel | @@ -218,7 +218,7 @@ class OrderModel | ||
218 | //已发货状态,给查看物流URL | 218 | //已发货状态,给查看物流URL |
219 | $result['unreceived'] = true; | 219 | $result['unreceived'] = true; |
220 | $result['logisticsUrl'] = Helpers::url('/home/logistic', array('order_code' => $order['order_code'])); | 220 | $result['logisticsUrl'] = Helpers::url('/home/logistic', array('order_code' => $order['order_code'])); |
221 | - if ($showLogistics) { | 221 | + if ($showLogistics && isset($order['caption'])) { |
222 | $result['logisticsCompany'] = $order['caption']; | 222 | $result['logisticsCompany'] = $order['caption']; |
223 | $result['logisticsNum'] = $order['express_number']; | 223 | $result['logisticsNum'] = $order['express_number']; |
224 | } | 224 | } |
-
Please register or login to post a comment