|
@@ -15,6 +15,7 @@ require('./../js/staticSearch.js');//静态知识搜索
|
|
|
require('./../images/empty.png').replace(/^undefined/g, '')
|
|
|
require('./../images/empty2.png').replace(/^undefined/g, '')
|
|
|
require('./../images/empty3.png').replace(/^undefined/g, '')
|
|
|
+require('./../images/icon_no.png').replace(/^undefined/g, '')
|
|
|
require('./../images/loading.gif').replace(/^undefined/g, '')
|
|
|
require('./../images/right.png').replace(/^undefined/g, '')
|
|
|
require('./../images/new.png').replace(/^undefined/g, '')
|
|
@@ -255,7 +256,6 @@ function renderPushData(){
|
|
|
return getPushInfo().then(res =>{
|
|
|
hasCompleteTnterface++
|
|
|
if(res.data.code == "0"){
|
|
|
- console.log(1)
|
|
|
const result = res.data.data
|
|
|
let diagPush = result.dis ||{}
|
|
|
let lisPush = result.lis || []
|
|
@@ -621,11 +621,10 @@ function renderItemWrapper(list, showNum, type, hasInfo) {
|
|
|
}
|
|
|
|
|
|
function renderPushItem(item, type) {
|
|
|
-
|
|
|
+ const infoIcon = `${ item.hasInfo == "1" ? `<img class="infoImg" src="${infoImg}">` : "" }`;
|
|
|
str = `<span class="pushItemBox" data-name="${item.name}" data-type="${type}">`
|
|
|
- str += `${item.hasScale == "0" ? `<span class="pushItemName">${type == 8 ? ('【' + item.name + '】') : item.name}</span>` : item.hasScale == "1" ? `<span class="pushItemName evaluationtitle">${type == 8 ? ('【' + item.name + '】') : item.name}</span>` : `<span class="pushItemName">${type == 8 ? ('【' + item.name + '】') : item.name}</span>`}`
|
|
|
- str += `${ item.hasInfo == "1" ? `<img class="infoImg" src="${infoImg}">` : "" }`
|
|
|
- str += '</span >'
|
|
|
+ str += `<span class="pushItemName ${item.hasScale == "1" ? 'evaluationtitle':''}"><i>${type == 8 ? ('【' + item.name + '】') : item.name}</i> ${infoIcon}</span>`
|
|
|
+ str+=`</span>`;
|
|
|
return str
|
|
|
}
|
|
|
|
|
@@ -769,6 +768,10 @@ function empty(){
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
+ //隐藏logo
|
|
|
+ if(getUrlArgObject("hideLg")){
|
|
|
+ $(".disclaimer .logo").hide();
|
|
|
+ }
|
|
|
getDisclaimer(); //获取免责声明
|
|
|
getVersion(); //获取版本信息
|
|
|
$(".disclaimerInfo").on("click", function(){
|