Commit 2caacf31 authored by 张伯涛's avatar 张伯涛

添加预览大屏功能

parent 131880dc
...@@ -120,7 +120,13 @@ body { ...@@ -120,7 +120,13 @@ body {
.contain ul li a:hover { .contain ul li a:hover {
color: #FFF; color: #FFF;
} }
.contain div {
display: flex;
justify-content: end;
}
.contain .previewBtn {
color: #03a487!important;
}
.contain ul li a:visited { .contain ul li a:visited {
color: #00EA37; color: #00EA37;
} }
...@@ -138,4 +144,4 @@ body { ...@@ -138,4 +144,4 @@ body {
.main iframe { .main iframe {
border-radius: 1px; border-radius: 1px;
} }
\ No newline at end of file
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
["%E6%96%B0%E5%A2%9E75%E5%A5%97%E6%BA%90%E7%A0%81/74/index.html", "新增75套源码-74"], ["%E6%96%B0%E5%A2%9E75%E5%A5%97%E6%BA%90%E7%A0%81/74/index.html", "新增75套源码-74"],
["%E6%96%B0%E5%A2%9E75%E5%A5%97%E6%BA%90%E7%A0%81/75/html/index.html", "新增75套源码-75"], ["%E6%96%B0%E5%A2%9E75%E5%A5%97%E6%BA%90%E7%A0%81/75/html/index.html", "新增75套源码-75"],
].map(function (item) { ].map(function (item) {
return '<li><a href="' + item[0] + '" target="preview">' + item[1] + '</a></li>'; return '<div> <a class="previewBtn" href="' + item[0] + '" target="_blank">预览</a></div><li><a href="' + item[0] + '" target="preview">' + item[1] + '</a></li>';
}).join(''); }).join('');
document.body.style.height = window.innerHeight + 'px'; document.body.style.height = window.innerHeight + 'px';
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment