|
|
@@ -16,6 +16,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, |
|
|
|
var tools = new Tools(); |
|
|
|
|
|
|
|
module.init = function (page) { |
|
|
|
tools.doGet(webList, {}, module.webList , true); |
|
|
|
//新闻列表 |
|
|
|
}; |
|
|
|
|
|
|
@@ -50,11 +51,11 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, |
|
|
|
module.webList = function (data) { |
|
|
|
if (data.code == 200) { |
|
|
|
var content = data.data; |
|
|
|
module.data.webList = content; |
|
|
|
var webData = template('webData', module.data); |
|
|
|
$("#webContent").html(webData); |
|
|
|
var titData = template('titData', module.data); |
|
|
|
$("#titContent").html(titData); |
|
|
|
|
|
|
|
$("#tt").html(content.top.contentValue); |
|
|
|
$("#phone").html('投诉电话:' + content.botoom2[0].contentValue); |
|
|
|
$("#zcdw").html('支持单位:' + content.botoom3[1].contentValue); |
|
|
|
|
|
|
|
$('#ewm').attr('src', 'static/images/'+content.top.bz); |
|
|
|
} |
|
|
|
} |
|
|
|