@@ -314,7 +314,7 @@ | |||||
<script id="newListData9" type="text/html"> | <script id="newListData9" type="text/html"> | ||||
{{each newList9 as value i}} | {{each newList9 as value i}} | ||||
<div class="new_list_li"> | <div class="new_list_li"> | ||||
<a href="discussionsDetail.html?id={{value.id}}">{{value.openName}}</a> | |||||
<a href="discussionsDetail_08.html?id={{value.id}}">{{value.openName}}</a> | |||||
<p>{{value.openNy}}</p> | <p>{{value.openNy}}</p> | ||||
</div> | </div> | ||||
{{/each}} | {{/each}} | ||||
@@ -30,7 +30,6 @@ | |||||
<div class="new_content_content" id="openNy"></div> | <div class="new_content_content" id="openNy"></div> | ||||
<div class="new_content_content" id="openPic"></div> | <div class="new_content_content" id="openPic"></div> | ||||
<div class="new_content_content" id="openFile"></div> | <div class="new_content_content" id="openFile"></div> | ||||
<div class="new_content_content" id="content"></div> | |||||
<div class="new_content_content" id="remark"></div> | <div class="new_content_content" id="remark"></div> | ||||
</div> | </div> | ||||
<div class="new_content_right"> | <div class="new_content_right"> | ||||
@@ -229,7 +229,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||||
case '9': | case '9': | ||||
tools.doGet(tempWorkerPublicList, { | tools.doGet(tempWorkerPublicList, { | ||||
translate_dict:1, | translate_dict:1, | ||||
orderByColumn: 'code', | |||||
orderByColumn: 'openNy', | |||||
isAsc: 'asc', | isAsc: 'asc', | ||||
pageNum:1, | pageNum:1, | ||||
pageSize:10, | pageSize:10, | ||||
@@ -74,7 +74,7 @@ define(['jquery', "template", "Tools"], function ($, template, Tools) { | |||||
if (content.openFile){ | if (content.openFile){ | ||||
let arr2 = content.openFile.split(','); | let arr2 = content.openFile.split(','); | ||||
for (let i = 0;i < arr2.length; i++){ | for (let i = 0;i < arr2.length; i++){ | ||||
$('#openFile')[0].innerHTML += '<a href="/api'+arr2[i]+'">'; | |||||
$('#openFile')[0].innerHTML += '<a style="color: #2a39fb;" href="/api'+arr2[i]+'">'+arr2[i].substr(27,arr2[i].length)+'</a>'; | |||||
} | } | ||||
} | } | ||||
@@ -24,7 +24,7 @@ define(['jquery', "template", "Tools"], function ($, template, Tools) { | |||||
//新闻列表 | //新闻列表 | ||||
tools.doGet(tempWorkerPublicList, { | tools.doGet(tempWorkerPublicList, { | ||||
translate_dict:1, | translate_dict:1, | ||||
orderByColumn: 'code', | |||||
orderByColumn: 'openNy', | |||||
isAsc: 'asc', | isAsc: 'asc', | ||||
pageNum:1, | pageNum:1, | ||||
pageSize:10, | pageSize:10, | ||||
@@ -74,8 +74,9 @@ define(['jquery', "template", "Tools"], function ($, template, Tools) { | |||||
if (content.openFile){ | if (content.openFile){ | ||||
let arr2 = content.openFile.split(','); | let arr2 = content.openFile.split(','); | ||||
console.log(arr2) | |||||
for (let i = 0;i < arr2.length; i++){ | for (let i = 0;i < arr2.length; i++){ | ||||
$('#openFile')[0].innerHTML += '<a href="/api'+arr2[i]+'">'; | |||||
$('#openFile')[0].innerHTML += '<a style="color: #2a39fb;" href="/api'+arr2[i]+'">'+arr2[i].substr(27,arr2[i].length)+'</a>'; | |||||
} | } | ||||
} | } | ||||
@@ -40,13 +40,15 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||||
module.data.newImgList = newImgList; | module.data.newImgList = newImgList; | ||||
var newListDataImg = template('newListDataImg', module.data); | var newListDataImg = template('newListDataImg', module.data); | ||||
$("#bannerFocusNextContent").html(newListDataImg); | $("#bannerFocusNextContent").html(newListDataImg); | ||||
if ( content.length > 7){ | |||||
roll(20) | |||||
} | |||||
new Swiper('#bannerFocusNextWrap', { | new Swiper('#bannerFocusNextWrap', { | ||||
paginationClickable: true, | paginationClickable: true, | ||||
pagination: '.a2', | pagination: '.a2', | ||||
autoplay : 2000, | autoplay : 2000, | ||||
loop:true | loop:true | ||||
}) | }) | ||||
roll(20) | |||||
} | } | ||||
} | } | ||||