|
@@ -78,7 +78,14 @@ import {
|
|
|
//处理data数据函数提取
|
|
|
function manage(data){
|
|
|
var demand_html="";
|
|
|
+ var chagename="";
|
|
|
for(var i=0;i<data.list.length;i++){
|
|
|
+ var caseindex=$(".title_details ol li.act").index();
|
|
|
+ switch (caseindex){
|
|
|
+ case 0:chagename="专利名";break;
|
|
|
+ case 1:chagename="技术名";break;
|
|
|
+ case 2:chagename="需求名";break;
|
|
|
+ }
|
|
|
var catalog,price,sketch;
|
|
|
catalog=data.list[i].industryCatalog?data.list[i].industryCatalog:"所有行业";
|
|
|
price=data.list[i].price?data.list[i].price:"价格面议";
|
|
@@ -93,7 +100,7 @@ import {
|
|
|
"<a href='#'>了解详情</a>" +
|
|
|
"</div>" +
|
|
|
"<div class='details_fix'>" +
|
|
|
- "<p>专利名:<span>"+data.list[i].name+"</span></p>" +
|
|
|
+ "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
|
|
|
//"<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</span></p>" +
|
|
|
"</div></li>"
|
|
|
}else{
|
|
@@ -106,7 +113,7 @@ import {
|
|
|
"<a href='#'>了解详情</a>" +
|
|
|
"</div>" +
|
|
|
"<div class='details_fix'>" +
|
|
|
- "<p>专利名:<span>"+data.list[i].name+"</span></p>" +
|
|
|
+ "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
|
|
|
// "<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</span></p>" +
|
|
|
"</div></li>"
|
|
|
}
|
|
@@ -215,7 +222,7 @@ import {
|
|
|
"<a href='#'>了解详情</a>" +
|
|
|
"</div>" +
|
|
|
"<div class='details_fix'>" +
|
|
|
- "<p>专利名:<span>"+data.list[i].name+"</span></p>" +
|
|
|
+ "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
|
|
|
// "<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</span></p>" +
|
|
|
"</div></li>"
|
|
|
}
|