Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 3 years ago
parent
commit
03326bdfb0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      public/home/search.js

+ 2
- 2
public/home/search.js View File

@@ -473,8 +473,8 @@ function displayRepoResult(page,jsonResult,onlyReturnNum,keyword){
}
html +=" </div>";
html +=" <p class=\"time\">";
html +=" <i class=\"icon fa-eye\">" +recordMap["num_watches"] + "</i><i class=\"ri-star-line\"></i>" + recordMap["num_stars"] + "<i class=\"ri-git-branch-line am-ml-10\"></i>" + recordMap["num_forks"];
html +=" 最后更新于 <span class=\"time-since poping up\" title=\"\" data-content=\"\" data-variation=\"inverted tiny\">" + getTime(recordMap["updated_unix"],currentTime) +"</span>";
html +=" <i class=\"icon fa-eye\">" +recordMap["num_watches"] + "&nbsp;&nbsp;</i><i class=\"ri-star-line\"></i>" + recordMap["num_stars"] + "&nbsp;&nbsp;<i class=\"ri-git-branch-line am-ml-10\"></i>" + recordMap["num_forks"] +"&nbsp;&nbsp;";
html +="&nbsp;&nbsp;&nbsp;&nbsp;最后更新于 <span class=\"time-since poping up\" title=\"\" data-content=\"\" data-variation=\"inverted tiny\">" + getTime(recordMap["updated_unix"],currentTime) +"</span>";
if(!isEmpty(recordMap["lang"])){
html +=" <span class=\"text grey am-ml-10\"><i class=\"color-icon\" style=\"background-color: #3572A5\"></i>" + recordMap["lang"] + "</span>";
}


Loading…
Cancel
Save