河北专项检查和移动端
This commit is contained in:
@@ -172,7 +172,7 @@ namespace BLL
|
||||
string htmlStr = string.Empty;
|
||||
if (!string.IsNullOrEmpty(path))
|
||||
{
|
||||
htmlStr = "<table runat='server' cellpadding='5' cellspacing='5' style=\"width: 100%\">";
|
||||
htmlStr = "<div id=\"img\" runat='server' style=\"width: 100%;height:100%;display: flex;flex-direction: row;justify-content: flex-start;align-items: flex-start;flex-wrap: wrap;\">";
|
||||
string[] arrStr = path.Split(new string[] { "," }, System.StringSplitOptions.RemoveEmptyEntries);
|
||||
for (int i = 0; i < arrStr.Length; i++)
|
||||
{
|
||||
@@ -190,11 +190,11 @@ namespace BLL
|
||||
string fileName = subUrl[subUrl.Count() - 1];
|
||||
string newFileName = fileName.Substring(fileName.IndexOf("~") + 1);
|
||||
|
||||
htmlStr += "<tr><td style=\"width: 60%\" align=\"left\"><img width='100' height='100' src='" + url + "'></img><br/></td>";
|
||||
htmlStr += "<img width='60' height='60' style=\"margin-right:6px;margin-bottom:6px;\" src='" + url + "'></img>";
|
||||
}
|
||||
}
|
||||
|
||||
htmlStr += "</table>";
|
||||
htmlStr += "</div>";
|
||||
}
|
||||
|
||||
return htmlStr;
|
||||
|
||||
Reference in New Issue
Block a user