1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 20:52:44 +08:00

补上解决冲突遗漏的后台登录效果

This commit is contained in:
koogua 2021-07-10 22:14:43 +08:00
parent c0ed73c271
commit d0011e0fce

View File

@ -46,13 +46,41 @@
{% block inline_css %} {% block inline_css %}
<style> <style>
html {
height: 95%;
}
body { body {
background: #f2f2f2; background: #16a085;
}
.circles {
display: block;
width: 20px;
height: 20px;
background: #fff;
border-radius: 50%;
position: absolute;
opacity: 0.5;
z-index: -1;
} }
</style> </style>
{% endblock %} {% endblock %}
{% block include_js %}
{{ js_include('lib/jquery.min.js') }}
{{ js_include('lib/jquery.buoyant.min.js') }}
{% if captcha.enabled == 1 %}
{{ js_include('https://ssl.captcha.qq.com/TCaptcha.js', false) }}
{% endif %}
{% endblock %}
{% block inline_js %} {% block inline_js %}
<script> <script>
@ -61,9 +89,16 @@
} }
</script> </script>
{% if captcha.enabled == 1 %} <script>
$('body').buoyant({
elementClass: 'circles',
numberOfItems: 20,
minRadius: 5,
maxRadius: 30,
});
</script>
{{ js_include('https://ssl.captcha.qq.com/TCaptcha.js', false) }} {% if captcha.enabled == 1 %}
<script> <script>