Authored by xuqi

order detail status

@@ -955,7 +955,7 @@ @@ -955,7 +955,7 @@
955 //订单 955 //订单
956 { 956 {
957 orderNum: '', 957 orderNum: '',
958 - tradingStatus: '', 958 + orderStatus: '',
959 goods: [ 959 goods: [
960 { 960 {
961 id: '', 961 id: '',
@@ -1014,11 +1014,10 @@ @@ -1014,11 +1014,10 @@
1014 ... //订单商品 1014 ... //订单商品
1015 } 1015 }
1016 ], 1016 ],
1017 - sumPrice: ''  
1018 - salePrice: ''  
1019 - freight: ''  
1020 - coupon: ''  
1021 - yohoCoin: '' 1017 + sumPrice: '',
  1018 + salePrice: '',
  1019 + freight: '',
  1020 + yohoCoin: '',
1022 price: '' 1021 price: ''
1023 } 1022 }
1024 } 1023 }
@@ -15,6 +15,30 @@ @@ -15,6 +15,30 @@
15 } 15 }
16 } 16 }
17 17
  18 + .sub {
  19 + position: relative;
  20 +
  21 + .iconfont {
  22 + left: 0;
  23 + }
  24 + }
  25 +
  26 + .logistics {
  27 + display: block;
  28 +
  29 + .icon-right {
  30 + right: 25rem / $pxConvertRem;
  31 + left: auto;
  32 + color: #b0b0b0;
  33 + }
  34 +
  35 + .sub-content {
  36 + border-top: 1px solid #e0e0e0;
  37 + margin-top: 20rem / $pxConvertRem;
  38 + padding-top: 20rem / $pxConvertRem;
  39 + }
  40 + }
  41 +
18 .owner-info { 42 .owner-info {
19 border-bottom: 1px solid #e0e0e0; 43 border-bottom: 1px solid #e0e0e0;
20 line-height: 1.5; 44 line-height: 1.5;
@@ -41,6 +65,7 @@ @@ -41,6 +65,7 @@
41 margin: 20rem / $pxConvertRem 0; 65 margin: 20rem / $pxConvertRem 0;
42 border-top: 1px solid #e0e0e0; 66 border-top: 1px solid #e0e0e0;
43 border-bottom: 1px solid #e0e0e0; 67 border-bottom: 1px solid #e0e0e0;
  68 + padding-right: 0;
44 } 69 }
45 70
46 .sub-content span { 71 .sub-content span {
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 border-bottom: 1px solid #e0e0e0; 18 border-bottom: 1px solid #e0e0e0;
19 } 19 }
20 20
21 - .trading-status { 21 + .order-status {
22 float: right; 22 float: right;
23 } 23 }
24 24
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <span>物流公司:{{logisticsCompany}}</span> 32 <span>物流公司:{{logisticsCompany}}</span>
33 <span>快递单号:{{logisticsNum}}</span> 33 <span>快递单号:{{logisticsNum}}</span>
34 </p> 34 </p>
35 - <span class="iconfont">&#xe614;</span> 35 + <span class="iconfont icon-right">&#xe614;</span>
36 </a> 36 </a>
37 {{/if}} 37 {{/if}}
38 </section> 38 </section>
@@ -57,10 +57,6 @@ @@ -57,10 +57,6 @@
57 <span>+¥{{freight}}</span> 57 <span>+¥{{freight}}</span>
58 </li> 58 </li>
59 <li> 59 <li>
60 - 优惠券  
61 - <span>-¥{{coupon}}</span>  
62 - </li>  
63 - <li>  
64 YOHO币 60 YOHO币
65 <span>-¥{{yohoCoin}}</span> 61 <span>-¥{{yohoCoin}}</span>
66 </li> 62 </li>
1 <div class="order" data-id="{{orderNum}}"> 1 <div class="order" data-id="{{orderNum}}">
2 <header class="header"> 2 <header class="header">
3 订单编号:{{orderNum}} 3 订单编号:{{orderNum}}
4 - <span class="trading-status">{{tradingStatus}}</span> 4 + <span class="order-status">{{orderStatus}}</span>
5 </header> 5 </header>
6 <section class="order-goods"> 6 <section class="order-goods">
7 {{# goods}} 7 {{# goods}}
@@ -407,11 +407,14 @@ class HomeController extends AbstractAction @@ -407,11 +407,14 @@ class HomeController extends AbstractAction
407 'name' => '毛毛莉Lydia', 407 'name' => '毛毛莉Lydia',
408 'phoneNum' => '18600001133', 408 'phoneNum' => '18600001133',
409 'address' => '南京市建邺区嘉陵江东街18号国家广告产业园5栋17楼', 409 'address' => '南京市建邺区嘉陵江东街18号国家广告产业园5栋17楼',
410 - 'orderStatus' => '订单取消', 410 + 'orderStatus' => '待收货',
411 'orderNum' => '418358063', 411 'orderNum' => '418358063',
412 'orderTime' => '2014-03-10 17:25:10', 412 'orderTime' => '2014-03-10 17:25:10',
413 413
414 - 'orderCancel' => true, 414 + 'unreceived' => true,
  415 + 'logisticsUrl' => '',
  416 + 'logisticsCompany' => '顺丰',
  417 + 'logisticsNum' => '51537443456',
415 418
416 'goods' => array( 419 'goods' => array(
417 array( 420 array(
@@ -438,7 +441,6 @@ class HomeController extends AbstractAction @@ -438,7 +441,6 @@ class HomeController extends AbstractAction
438 'sumPrice' => 799, 441 'sumPrice' => 799,
439 'salePrice' => 80, 442 'salePrice' => 80,
440 'freight' => 5, 443 'freight' => 5,
441 - 'coupon' => 0,  
442 'yohoCoin' => 5, 444 'yohoCoin' => 5,
443 'price' => 719 445 'price' => 719
444 ); 446 );