Browse Source

增加代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 4 years ago
parent
commit
f794775e44
2 changed files with 10 additions and 3 deletions
  1. +2
    -1
      custom/public/rotation3D/rotation3D.css
  2. +8
    -2
      templates/base/footer.tmpl

+ 2
- 1
custom/public/rotation3D/rotation3D.css View File

@@ -40,6 +40,7 @@
margin-top: 60px;
color: #101010;
}
/*
.itemList .rotation3D__item:nth-child(1) .cont p::after{
content: "鹏城云脑一号";
}
@@ -73,7 +74,7 @@
.itemList .rotation3D__item:nth-child(11) .cont p::after{
content: "国家超级计算济南中心";
}
*/
.rotation3D__item.blue{ color: #01e9fc; }
.rotation3D__item.green{ color: #b4b3ca; }
.rotation3D__item.yellow{ color: #ffd200; }


+ 8
- 2
templates/base/footer.tmpl View File

@@ -115,9 +115,15 @@
},
methods: {},
});
var pArrays = $('.itemList').find("p");
console.log(pArrays.length);
$(document).ready(function(){
var pArrays = $('.itemList').find("p");
console.log(pArrays.length);

for(var i=0;i<pArrays.length;i++){
var p = pArrays[i];
p.content=serverItemList[i].name;
}
});
</script>
{{end}}



Loading…
Cancel
Save