current fix update

This commit is contained in:
caishi 2021-06-17 14:12:48 +08:00
parent 4fd89c4fc3
commit 1d7275fcd7
3 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@ function Footer(){
return( return(
<div> <div>
<div style={{height:"483px"}}></div> <div style={{height:"810px"}}></div>
<div className="newFooter edu-txt-center"> <div className="newFooter edu-txt-center">
{value && showhtml(value)} {value && showhtml(value)}
{/* <div className="footerInfos"> {/* <div className="footerInfos">

View File

@ -3,7 +3,6 @@ ul,ol,dl{
} }
.newMain{ .newMain{
background-color: #fff; background-color: #fff;
padding-bottom: 810px;
} }
.color-black{ .color-black{
color: #333; color: #333;

View File

@ -13,8 +13,10 @@ function Cloud({data}) {
var div = new Js2WordCloud(document.getElementById('cloud')) var div = new Js2WordCloud(document.getElementById('cloud'))
let textList= d.categories; let textList= d.categories;
let cyList=[] let cyList=[]
for(let i=0;i<textList.length;i++){ if(textList && textList.length > 0){
cyList.push([textList[i],textList.length-i]) for(let i=0;i<textList.length;i++){
cyList.push([textList[i],textList.length-i]);
}
} }
div.setOption({ div.setOption({
backgroundColor:'transparent', backgroundColor:'transparent',