fix: add isBaaS declaration in html

This commit is contained in:
Frank.R.Wu 2021-06-17 00:33:32 +08:00
parent 14960c3df2
commit 0b15e58938
7 changed files with 85 additions and 85 deletions

View File

@ -458,12 +458,12 @@
<script> <script>
const isBaaS = false
var h = document.body.clientHeight var h = document.body.clientHeight
- $("header").css("height").replace("px", "") - $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", ""); - $("footer").css("height").replace("px", "");
$("#main").css("height", h + "px"); $("#main").css("height", h + "px");
init(); init();
//initWSocket(); //initWSocket();
</script> </script>

View File

@ -1256,6 +1256,7 @@
<script> <script>
const isBaaS = false
var h = document.body.clientHeight var h = document.body.clientHeight
- $("header").css("height").replace("px", "") - $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", ""); - $("footer").css("height").replace("px", "");
@ -1265,8 +1266,6 @@
//initWSocket(); //initWSocket();
</script> </script>
</body> </body>

View File

@ -727,10 +727,7 @@
- $("footer").css("height").replace("px", ""); - $("footer").css("height").replace("px", "");
$("#main").css("height", h + "px"); $("#main").css("height", h + "px");
init(); init();
//initWSocket(); //initWSocket();
</script> </script>
</body> </body>
</html> </html>

View File

@ -693,6 +693,7 @@
<script> <script>
const isBaaS = false
var h = document.body.clientHeight var h = document.body.clientHeight
- $("header").css("height").replace("px", "") - $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", ""); - $("footer").css("height").replace("px", "");

View File

@ -81,6 +81,7 @@
</script> </script>
<script> <script>
const isBaaS = false
init(); init();
</script> </script>
</body> </body>

View File

@ -135,13 +135,15 @@
</script> </script>
<br/> <br/>
<div <div style="width: fit-content; margin-top: 2%; float: right; border-radius: 10px; font-size: 50%">
style="width: fit-content; margin-top: 2%; float: right; border-radius: 10px; font-size: 50%"> Icons made by
Icons made by <a href="https://www.flaticon.com/authors/monkik" <a href="https://www.flaticon.com/authors/monkik"
title="monkik" style="color: white;">monkik</a> from <a title="monkik" style="color: white;">monkik</a>
href="https://www.flaticon.com/" title="Flaticon" from
<a href="https://www.flaticon.com/" title="Flaticon"
style="color: white;">www.flaticon.com</a> style="color: white;">www.flaticon.com</a>
</div> </div>
</div>
</body> </body>
</html> </html>
<!-- <!--