add
This commit is contained in:
@@ -384,6 +384,15 @@ function getAnalysisDetail(){
|
||||
if(resultsMap.ad.link!=null && resultsMap.ad.link.length>0 && resultsMap.ad.content!=null && resultsMap.ad.content.length>0){
|
||||
$('#showAdBox1Content').html(resultsMap.ad.content + "<i class='icon icon-right icon-right01'></i>");
|
||||
$("#showAdBox1").click(function(){
|
||||
//统计点击次数
|
||||
axios.post("/rest/ad/adUrlLoad",{
|
||||
id : resultsMap.ad.id
|
||||
}).then(function(res){
|
||||
console.log(res);
|
||||
}).catch(function(error){
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
clicked('../../views/webview_embed.html', true,false,{},{url:resultsMap.ad.link})
|
||||
})
|
||||
}
|
||||
@@ -407,6 +416,14 @@ function getAnalysisDetail(){
|
||||
if(resultsMap.ad1.link!=null && resultsMap.ad1.link.length>0 && resultsMap.ad1.content!=null && resultsMap.ad1.content.length>0){
|
||||
$('#showAdBox2Content').html(resultsMap.ad1.content + "<i class='icon icon-right icon-right01'></i>");
|
||||
$("#showAdBox2").click(function(){
|
||||
//统计点击次数
|
||||
axios.post("/rest/ad/adUrlLoad",{
|
||||
id : resultsMap.ad1.id
|
||||
}).then(function(res){
|
||||
console.log(res);
|
||||
}).catch(function(error){
|
||||
console.log(error);
|
||||
});
|
||||
clicked('../../views/webview_embed.html', true,false,{},{url:resultsMap.ad1.link})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user