|
@@ -13,13 +13,16 @@
|
|
.canvas-stats {
|
|
.canvas-stats {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
- .erweima{
|
|
|
|
- position: fixed;
|
|
|
|
- top: 50px;
|
|
|
|
- width: 100px;
|
|
|
|
- height: 100px;
|
|
|
|
- border: 1px solid red;
|
|
|
|
- display: none;
|
|
|
|
|
|
+ .notice{
|
|
|
|
+ color:#fff;
|
|
|
|
+ display: block;
|
|
|
|
+ padding: 0 80px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ }
|
|
|
|
+ .notice:hover{
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ color: #0085d2;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
@@ -31,10 +34,7 @@
|
|
</a>
|
|
</a>
|
|
<img class='image' src="static/images/logo.png" alt="">
|
|
<img class='image' src="static/images/logo.png" alt="">
|
|
<p class='title'>中科在线</p>
|
|
<p class='title'>中科在线</p>
|
|
- <p style="color:#fff;display: none;" onclick="guanzhu()">关注公众号</p>
|
|
|
|
- </div>
|
|
|
|
- <div class='erweima' id="idma">
|
|
|
|
- 二维码
|
|
|
|
|
|
+ <p class='notice' onclick="noticeBtn()">通知</p>
|
|
</div>
|
|
</div>
|
|
<img class="sci-wheel" src="static/home/images/sci.gif" alt="">
|
|
<img class="sci-wheel" src="static/home/images/sci.gif" alt="">
|
|
<div class="center">
|
|
<div class="center">
|
|
@@ -416,15 +416,11 @@
|
|
}
|
|
}
|
|
|
|
|
|
ThreeJSCanvas(1);
|
|
ThreeJSCanvas(1);
|
|
- function guanzhu() {
|
|
|
|
- var idma = document.getElementById('idma');
|
|
|
|
- if (idma.style.display == 'block') { // == 判断div.display是否为显示
|
|
|
|
- idma.style.display = 'none'; //= 赋值也可了解成改变
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- idma.style.display = 'block';
|
|
|
|
|
|
+ </script>
|
|
|
|
+ <script>
|
|
|
|
+ function noticeBtn() {
|
|
|
|
+ window.location.href="../notice/index"
|
|
}
|
|
}
|
|
- }
|
|
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
<!-- layui -->
|
|
<!-- layui -->
|