提交地址
{luck.form.url} 也可以直接填写地址 /index.php?app=index&c=form&a=submit&category=2
模板字段html
{luck.form.html}
对应表单数组
{luck.form.fields}
示例:
<form id="form" class="form" action="{luck.form.url}" method="post"> {luck.form.html} <div class="form-item"> <div class="input-block"><button lay-submit lay-filter="submit" class="luck-btn-submit">提交</button></div> </div> </form>