{% endmacro %} {# 引入 #} {% import _self as hello_world %} {{ hello_world.input('username') }} {# 这里将会输出一个input控件 #}