|
@@ -459,9 +459,9 @@
|
|
|
obj_tem.innerHTML = content;
|
|
|
var text_content = obj_tem.textContent;
|
|
|
var tcontent = escape2Html(text_content);
|
|
|
- if (tcontent.length > 300) {
|
|
|
- tcontent = tcontent.substring(0, 300) + "...";
|
|
|
- }
|
|
|
+ // if (tcontent.length > 50) {
|
|
|
+ // tcontent = tcontent.substring(0, 50) + "...";
|
|
|
+ // }
|
|
|
|
|
|
var id=data[i]._source.id
|
|
|
var url=data[i]._source.policy_original_url
|
|
@@ -469,15 +469,13 @@
|
|
|
var height
|
|
|
|
|
|
if(tcontent===''){
|
|
|
- tcontent='暂无数据'
|
|
|
- height='height:20px'
|
|
|
+ height='<p style="height:20px">'
|
|
|
}else{
|
|
|
- height='height:170px'
|
|
|
+ height='<p >'
|
|
|
}
|
|
|
-
|
|
|
html += '<div class="text_one" onclick="openWindow(\'' + id +'\',\''+ url+ '\')">'
|
|
|
+ '<p>' + title + '<span style="margin-left:30px;font-size: 14px;color: #1abdbd; border: 1px solid #1abdbd;display: inline-block;">' + tag + '</span>' + '</p>'
|
|
|
- + '<p style="'+height+'">'
|
|
|
+ + height
|
|
|
+ tcontent
|
|
|
+ '</p>'
|
|
|
+ '<div class="data-contanier">'
|