mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2024-12-21 06:19:31 +08:00
19 lines
589 B
HTML
19 lines
589 B
HTML
{% extends 'appbuilder/baselayout.html' %}
|
||
{#引入自定义css#}
|
||
{% block head_css %}
|
||
{{ super() }}
|
||
<link rel="stylesheet" href="{{url_for('static',filename='css/your_css_file.css')}}"></link>
|
||
{% endblock %}
|
||
|
||
{# 在模板首部导入js文件,使用 head_js #}
|
||
{% block head_js %}
|
||
{{ super() }}
|
||
<script src="{{url_for('static',filename='js/your_js_file.js')}}"></script>
|
||
{% endblock %}
|
||
|
||
|
||
{# 在模板末尾导入js文件,使用tail_js#}
|
||
{% block tail_js %}
|
||
{{ super() }}
|
||
<script src="{{url_for('static',filename='js/your_js_file.js')}}"></script>
|
||
{% endblock %} |