...
|
...
|
@@ -8,7 +8,8 @@ let $ = require('yoho-jquery'), |
|
|
ellipsis = require('yoho-mlellipsis'),
|
|
|
cookie = require('yoho-cookie'),
|
|
|
Swiper = require('yoho-swiper'),
|
|
|
ListData = require('./installment-goods'),
|
|
|
|
|
|
// ListData = require('./installment-goods'),
|
|
|
bp = require('./burying-point'),
|
|
|
PullRefresh = require('plugin/pull-refresh'),
|
|
|
uuid = require('uuid');
|
...
|
...
|
@@ -31,17 +32,19 @@ let installment = { |
|
|
|
|
|
if (self.$isOpen.val() === 'true') {
|
|
|
self.iscrollAction();
|
|
|
} else {
|
|
|
|
|
|
// 商品列表翻页加载数据
|
|
|
new ListData({
|
|
|
url: '/home/installment/get-goods',
|
|
|
page: 1,
|
|
|
boxArea: $('#goods-list'),
|
|
|
uuid: self.uuidVal
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// 5.7分期推荐商品没有分页
|
|
|
// else {
|
|
|
// // 商品列表翻页加载数据
|
|
|
// new ListData({
|
|
|
// url: '/home/installment/get-goods',
|
|
|
// page: 1,
|
|
|
// boxArea: $('#goods-list'),
|
|
|
// uuid: self.uuidVal
|
|
|
// });
|
|
|
// }
|
|
|
|
|
|
if (self.cookieTab) {
|
|
|
self.$tab.eq(self.cookieTab).addClass('on').siblings().removeClass('on');
|
|
|
self.$installmentCont.hide().eq(self.cookieTab).fadeIn();
|
...
|
...
|
|