Authored by mlge

前端修改

... ... @@ -1047,7 +1047,7 @@
// var sourceUrl = encodeURI("/show/readAli?file="+mData.sourceImage);
var sourceUrl = "/show/readAli?file=" + encodeURIComponent(encodeURIComponent (mData.sourceImage));
var sourceLine = " <div class='row'><img src='" +sourceUrl + "' ></div>";
var sourceLine = " <div class='row' style='text-align: center'><img src='" +sourceUrl + "' ></div>";
var similars = mData.similarImages;
var similarLine = "";
for(var i = 0; i< similars.length; i++){
... ... @@ -1056,9 +1056,9 @@
}
// var similarUrl = encodeURI("/show/readAli?file="+similars[i]);
var similarUrl = "/show/readAli?file=" + encodeURIComponent(encodeURIComponent(similars[i]));
similarLine +=" <span style='width: 10%'><img src='"+similarUrl+"' ></span>";
similarLine +=" <span style='width: 10% '><img src='"+similarUrl+"' ></span>";
}
var result_div = "<div style='text-align: center'>" + sourceLine + "</br><hr>" + similarLine;
var result_div = "<div style='text-align: center'>" + sourceLine + "</br><hr><div style='margin-left: 10%;text-align: left'>" + similarLine+"</div>";
return result_div;
... ...