Authored by 陈峰

Merge branch 'feature/cart' of http://git.yoho.cn/fe/yohobuywap-node into feature/cart

@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 * @Author: Targaryen 3 * @Author: Targaryen
4 * @Date: 2017-01-04 15:17:51 4 * @Date: 2017-01-04 15:17:51
5 * @Last Modified by: Targaryen 5 * @Last Modified by: Targaryen
6 - * @Last Modified time: 2017-01-10 16:43:54 6 + * @Last Modified time: 2017-01-17 16:02:22
7 */ 7 */
8 8
9 'use strict'; 9 'use strict';
@@ -53,6 +53,10 @@ const _getOthersBuy2 = (param) => { @@ -53,6 +53,10 @@ const _getOthersBuy2 = (param) => {
53 53
54 // 订单信息 54 // 订单信息
55 const _getOtherDetail = (param) => { 55 const _getOtherDetail = (param) => {
  56 + if (!param.uid || !param.orderCode) {
  57 + return Promise.resolve({});
  58 + }
  59 +
56 return api.get('', { 60 return api.get('', {
57 method: 'app.SpaceOrders.detail', 61 method: 'app.SpaceOrders.detail',
58 uid: param.uid, 62 uid: param.uid,
@@ -307,7 +307,7 @@ function submitOrder() { @@ -307,7 +307,7 @@ function submitOrder() {
307 // 货到付款的进入订单页面 307 // 货到付款的进入订单页面
308 url = '/home/orderDetail?order_code=' + res.data.order_code; 308 url = '/home/orderDetail?order_code=' + res.data.order_code;
309 } else { 309 } else {
310 - url = '/cart/index/new/pay?order_code=' + res.data.order_code; 310 + url = '/home/orders/paynew?order_code=' + res.data.order_code;
311 } 311 }
312 312
313 /* tar add 161116 */ 313 /* tar add 161116 */
@@ -249,6 +249,7 @@ @@ -249,6 +249,7 @@
249 line-height: 100px; 249 line-height: 100px;
250 font-size: 28px; 250 font-size: 28px;
251 padding-left: 4%; 251 padding-left: 4%;
  252 + z-index: 3;
252 253
253 span { 254 span {
254 color: #f00; 255 color: #f00;