Showing
8 changed files
with
17 additions
and
17 deletions
@@ -110,8 +110,8 @@ class BuyNowController { | @@ -110,8 +110,8 @@ class BuyNowController { | ||
110 | 110 | ||
111 | return res.render('buynow/order-ensure', { | 111 | return res.render('buynow/order-ensure', { |
112 | pageHeader: headerData, | 112 | pageHeader: headerData, |
113 | - module: 'buynow', | ||
114 | - page: 'order-ensure', | 113 | + module: 'cart', |
114 | + page: 'buynow-order-ensure', | ||
115 | title: '确认订单', | 115 | title: '确认订单', |
116 | width750: true, | 116 | width750: true, |
117 | localCss: true, | 117 | localCss: true, |
@@ -232,8 +232,8 @@ class BuyNowController { | @@ -232,8 +232,8 @@ class BuyNowController { | ||
232 | }); | 232 | }); |
233 | 233 | ||
234 | res.render('select-address', { | 234 | res.render('select-address', { |
235 | - module: 'buynow', | ||
236 | - page: 'select-address', | 235 | + module: 'cart', |
236 | + page: 'buynow-select-address', | ||
237 | pageHeader: headerData, | 237 | pageHeader: headerData, |
238 | pageFooter: true, | 238 | pageFooter: true, |
239 | moreUrl, | 239 | moreUrl, |
@@ -274,8 +274,8 @@ class BuyNowController { | @@ -274,8 +274,8 @@ class BuyNowController { | ||
274 | 274 | ||
275 | res.render('select-invoice', _.assign(returnData, { | 275 | res.render('select-invoice', _.assign(returnData, { |
276 | pageHeader: headerData, | 276 | pageHeader: headerData, |
277 | - module: 'buynow', | ||
278 | - page: 'select-invoice', | 277 | + module: 'cart', |
278 | + page: 'buynow-select-invoice', | ||
279 | localCss: true, | 279 | localCss: true, |
280 | addressMore: helpers.urlFormat('/cart/index/buynow/orderensure', { | 280 | addressMore: helpers.urlFormat('/cart/index/buynow/orderensure', { |
281 | product_sku: product_sku, | 281 | product_sku: product_sku, |
@@ -295,8 +295,8 @@ class BuyNowController { | @@ -295,8 +295,8 @@ class BuyNowController { | ||
295 | }); | 295 | }); |
296 | 296 | ||
297 | res.render('select-coupon', { | 297 | res.render('select-coupon', { |
298 | - module: 'buynow', | ||
299 | - page: 'select-coupon', | 298 | + module: 'cart', |
299 | + page: 'buynow-select-coupon', | ||
300 | title: '选择优惠券', | 300 | title: '选择优惠券', |
301 | selectCouponPage: true, | 301 | selectCouponPage: true, |
302 | pageHeader: headerData, | 302 | pageHeader: headerData, |
@@ -11,7 +11,7 @@ const qs = require('yoho-qs'); | @@ -11,7 +11,7 @@ const qs = require('yoho-qs'); | ||
11 | 11 | ||
12 | let tip = require('plugin/tip'), | 12 | let tip = require('plugin/tip'), |
13 | loading = require('plugin/loading'), | 13 | loading = require('plugin/loading'), |
14 | - order = require('./order-info'), | 14 | + order = require('cart/buynow/order-info'), |
15 | richTip = require('plugin/rich-tip'); | 15 | richTip = require('plugin/rich-tip'); |
16 | 16 | ||
17 | let $invoice = $('.invoice'), | 17 | let $invoice = $('.invoice'), |
1 | /* | 1 | /* |
2 | * @Author: Targaryen | 2 | * @Author: Targaryen |
3 | * @Date: 2017-06-23 11:43:18 | 3 | * @Date: 2017-06-23 11:43:18 |
4 | - * @Last Modified by: Targaryen | ||
5 | - * @Last Modified time: 2017-06-23 11:43:18 | 4 | + * @Last Modified by: Targaryen |
5 | + * @Last Modified time: 2017-07-21 11:06:16 | ||
6 | */ | 6 | */ |
7 | 7 | ||
8 | require('cart/select-address.page.css'); | 8 | require('cart/select-address.page.css'); |
9 | let $ = require('yoho-jquery'), | 9 | let $ = require('yoho-jquery'), |
10 | - orderInfo = require('./order-info').orderInfo; | 10 | + orderInfo = require('cart/buynow/order-info').orderInfo; |
11 | 11 | ||
12 | let $confim = $('.confim-mask'), | 12 | let $confim = $('.confim-mask'), |
13 | deleteId; | 13 | deleteId; |
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | * @Author: Targaryen | 2 | * @Author: Targaryen |
3 | * @Date: 2017-06-23 11:43:44 | 3 | * @Date: 2017-06-23 11:43:44 |
4 | * @Last Modified by: Targaryen | 4 | * @Last Modified by: Targaryen |
5 | - * @Last Modified time: 2017-06-27 14:58:41 | 5 | + * @Last Modified time: 2017-07-21 11:06:22 |
6 | */ | 6 | */ |
7 | require('cart/select-coupon.page.css'); | 7 | require('cart/select-coupon.page.css'); |
8 | const qs = require('yoho-qs'); | 8 | const qs = require('yoho-qs'); |
@@ -12,7 +12,7 @@ let $ = require('yoho-jquery'), | @@ -12,7 +12,7 @@ let $ = require('yoho-jquery'), | ||
12 | tip = require('plugin/tip'), | 12 | tip = require('plugin/tip'), |
13 | conponTmpl = require('cart/select-coupon/coupon.hbs'), | 13 | conponTmpl = require('cart/select-coupon/coupon.hbs'), |
14 | conponNotAvaliableTmpl = require('cart/select-coupon/coupon-not-avaliable.hbs'), | 14 | conponNotAvaliableTmpl = require('cart/select-coupon/coupon-not-avaliable.hbs'), |
15 | - orderInfo = require('./order-info').orderInfo; | 15 | + orderInfo = require('cart/buynow/order-info').orderInfo; |
16 | 16 | ||
17 | let isGetData; | 17 | let isGetData; |
18 | 18 |
@@ -8,7 +8,7 @@ require('cart/select-invoice.page.css'); | @@ -8,7 +8,7 @@ require('cart/select-invoice.page.css'); | ||
8 | let $ = require('yoho-jquery'), | 8 | let $ = require('yoho-jquery'), |
9 | tip = require('plugin/tip'), | 9 | tip = require('plugin/tip'), |
10 | dialog = require('plugin/dialog'), | 10 | dialog = require('plugin/dialog'), |
11 | - order = require('./order-info'); | 11 | + order = require('cart/buynow/order-info'); |
12 | 12 | ||
13 | let $invoiceNotice = $('.invoice-notice'), | 13 | let $invoiceNotice = $('.invoice-notice'), |
14 | $taxNumber = $('.tax-number'), | 14 | $taxNumber = $('.tax-number'), |
@@ -26,7 +26,7 @@ let isModifyTel = false; | @@ -26,7 +26,7 @@ let isModifyTel = false; | ||
26 | let C_ID = window._ChannelVary[window.cookie('_Channel')] || 1; | 26 | let C_ID = window._ChannelVary[window.cookie('_Channel')] || 1; |
27 | 27 | ||
28 | require('common'); | 28 | require('common'); |
29 | -require('cartbuynow/select-invoice'); | 29 | +require('cart/cartbuynow/select-invoice'); |
30 | 30 | ||
31 | if (window.getUid() !== orderInfo('uid')) { | 31 | if (window.getUid() !== orderInfo('uid')) { |
32 | order.init(); | 32 | order.init(); |
@@ -26,7 +26,7 @@ let isModifyTel = false; | @@ -26,7 +26,7 @@ let isModifyTel = false; | ||
26 | let C_ID = window._ChannelVary[window.cookie('_Channel')] || 1; | 26 | let C_ID = window._ChannelVary[window.cookie('_Channel')] || 1; |
27 | 27 | ||
28 | require('common'); | 28 | require('common'); |
29 | -require('cartbuynow/select-invoice'); | 29 | +require('cart/cartbuynow/select-invoice'); |
30 | 30 | ||
31 | if (window.getUid() !== orderInfo('uid')) { | 31 | if (window.getUid() !== orderInfo('uid')) { |
32 | order.init(); | 32 | order.init(); |
-
Please register or login to post a comment