...
|
...
|
@@ -47,6 +47,13 @@ require('../plugins/check'); // before 地址和发票 |
|
|
require('./order/address'); // 地址
|
|
|
require('./order/invoice'); // 发票
|
|
|
|
|
|
// clint helper round
|
|
|
Hbs.registerHelper('round', function(num, precision) {
|
|
|
precision = precision ? parseInt(precision, 10) : 2;
|
|
|
num = (num === +num) ? (+num).toFixed(precision) : (Math.round(num, precision)).toFixed(precision);
|
|
|
return num;
|
|
|
});
|
|
|
|
|
|
lazyLoad($('img.lazy'));
|
|
|
|
|
|
// dot
|
...
|
...
|
|