|
|
@@ -18,7 +18,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
module.init = function (page) { |
|
|
|
//新闻管理列表 |
|
|
|
tools.doGet(dictType + '/communicate_type', {}, module.dictType , true); |
|
|
|
tools.doGet(communicateDetail + '/' + getQueryVariable('id'), {}, module.newList , true); |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
//获取地址栏参数 |
|
|
@@ -34,6 +35,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
|
|
|
|
module.dictType = function (data) { |
|
|
|
module.data.communicateOptions = data.data; |
|
|
|
tools.doGet(communicateDetail + '/' + getQueryVariable('id'), {}, module.newList , true); |
|
|
|
} |
|
|
|
|
|
|
|
//新闻列表 |
|
|
@@ -45,6 +47,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
module.data.newList = content; |
|
|
|
var newData = template('newData', module.data); |
|
|
|
$("#newContent").html(newData); |
|
|
|
if (document.body.scrollHeight > document.body.offsetHeight){ |
|
|
|
document.getElementById('bottomInformation').style.position = 'relative'; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|