Showing
1 changed file
with
13 additions
and
10 deletions
@@ -8,7 +8,8 @@ let $ = require('yoho-jquery'), | @@ -8,7 +8,8 @@ let $ = require('yoho-jquery'), | ||
8 | ellipsis = require('yoho-mlellipsis'), | 8 | ellipsis = require('yoho-mlellipsis'), |
9 | cookie = require('yoho-cookie'), | 9 | cookie = require('yoho-cookie'), |
10 | Swiper = require('yoho-swiper'), | 10 | Swiper = require('yoho-swiper'), |
11 | - ListData = require('./installment-goods'), | 11 | + |
12 | + // ListData = require('./installment-goods'), | ||
12 | bp = require('./burying-point'), | 13 | bp = require('./burying-point'), |
13 | PullRefresh = require('plugin/pull-refresh'), | 14 | PullRefresh = require('plugin/pull-refresh'), |
14 | uuid = require('uuid'); | 15 | uuid = require('uuid'); |
@@ -31,17 +32,19 @@ let installment = { | @@ -31,17 +32,19 @@ let installment = { | ||
31 | 32 | ||
32 | if (self.$isOpen.val() === 'true') { | 33 | if (self.$isOpen.val() === 'true') { |
33 | self.iscrollAction(); | 34 | self.iscrollAction(); |
34 | - } else { | ||
35 | - | ||
36 | - // 商品列表翻页加载数据 | ||
37 | - new ListData({ | ||
38 | - url: '/home/installment/get-goods', | ||
39 | - page: 1, | ||
40 | - boxArea: $('#goods-list'), | ||
41 | - uuid: self.uuidVal | ||
42 | - }); | ||
43 | } | 35 | } |
44 | 36 | ||
37 | + // 5.7分期推荐商品没有分页 | ||
38 | + // else { | ||
39 | + // // 商品列表翻页加载数据 | ||
40 | + // new ListData({ | ||
41 | + // url: '/home/installment/get-goods', | ||
42 | + // page: 1, | ||
43 | + // boxArea: $('#goods-list'), | ||
44 | + // uuid: self.uuidVal | ||
45 | + // }); | ||
46 | + // } | ||
47 | + | ||
45 | if (self.cookieTab) { | 48 | if (self.cookieTab) { |
46 | self.$tab.eq(self.cookieTab).addClass('on').siblings().removeClass('on'); | 49 | self.$tab.eq(self.cookieTab).addClass('on').siblings().removeClass('on'); |
47 | self.$installmentCont.hide().eq(self.cookieTab).fadeIn(); | 50 | self.$installmentCont.hide().eq(self.cookieTab).fadeIn(); |
-
Please register or login to post a comment