Update tag.html
This commit is contained in:
parent
93e0487703
commit
199121d3f1
@ -10,7 +10,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
|
|||||||
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
||||||
|
|
||||||
.SideNav-icon{margin-right: 16px}
|
.SideNav-icon{margin-right: 16px}
|
||||||
.SideNav-item .Label{color: #fff;margin-left:8px;}
|
.Label{color: #fff;margin-left:8px;}
|
||||||
.genTime{float: right;}
|
.genTime{float: right;}
|
||||||
.d-flex{min-width:0;}
|
.d-flex{min-width:0;}
|
||||||
.listTitle{overflow:hidden;white-space:nowrap;text-overflow: ellipsis;max-width: 100%;}
|
.listTitle{overflow:hidden;white-space:nowrap;text-overflow: ellipsis;max-width: 100%;}
|
||||||
@ -88,7 +88,7 @@ function showList(jsonData){
|
|||||||
|
|
||||||
if(!(jsonData["postListJson"][i]['label'] in tagList)){
|
if(!(jsonData["postListJson"][i]['label'] in tagList)){
|
||||||
tagList.push(jsonData["postListJson"][i]['label']);
|
tagList.push(jsonData["postListJson"][i]['label']);
|
||||||
let showLabels=document.createElement("span");
|
let showLabels=document.createElement("a");
|
||||||
showLabels.setAttribute("class","Label");
|
showLabels.setAttribute("class","Label");
|
||||||
showLabels.setAttribute("style","background-color:"+jsonData["postListJson"][i]['labelColor']);
|
showLabels.setAttribute("style","background-color:"+jsonData["postListJson"][i]['labelColor']);
|
||||||
showLabels.innerHTML=jsonData["postListJson"][i]['label'];
|
showLabels.innerHTML=jsonData["postListJson"][i]['label'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user