|
|
@@ -208,7 +208,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
$("#bannerFocusContent").html(bannerFocusData); |
|
|
|
new Swiper('#bannerFocusWrap', { |
|
|
|
pagination: '.page-pagination', |
|
|
|
paginationClickable: true |
|
|
|
paginationClickable: true, |
|
|
|
autoplay : 2000, |
|
|
|
loop:true |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
@@ -489,15 +491,18 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
for (var i = 0; i < data.data.length; i++) { |
|
|
|
var imgStrs = data.data[i].fileUrl |
|
|
|
if (imgStrs != null && imgStrs != '') { |
|
|
|
focusListNext.push({img:serverApi+imgStrs,title:data.data[i].projectName}) |
|
|
|
focusListNext.push({img:serverApi+imgStrs,title:data.data[i].projectName,id:data.data[i].id}) |
|
|
|
} |
|
|
|
} |
|
|
|
//console.log(focusListNext) |
|
|
|
console.log(data) |
|
|
|
module.data.focusListNext = focusListNext; |
|
|
|
var bannerFocusBottomData = template('bannerFocusBottomData', module.data); |
|
|
|
$("#bannerFocusNextContent").html(bannerFocusBottomData); |
|
|
|
new Swiper('#bannerFocusNextWrap', { |
|
|
|
paginationClickable: true |
|
|
|
paginationClickable: true, |
|
|
|
pagination: '.a2', |
|
|
|
autoplay : 2000, |
|
|
|
loop:true |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|