### 参数设置
路径
```
模块名称/setting/index
```
PHP文件无需改动,直接修改html文件即可。
html文件位置:view/setting/index.html
示例:
```
{extend name="admin@index_layout"/}
{block name="main"}
<div class="layui-card">
<div class="layui-card-body">
<form class="layui-form" method="post">
<div class="layui-form-item">
<label class="layui-form-label">模块开关</label>
<div class="layui-input-inline w300">
<input type="radio" name="status" value="1" title="开启" {if 1==$setting['status']}checked{/if}>
<input type="radio" name="status" value="0" title="关闭" {if 0==$setting['status']}checked{/if}>
</div>
<div class="layui-form-mid layui-word-aux">站点关闭后前台将不能访问</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">模块名称</label>
<div class="layui-input-block">
<input type="text" class="layui-input" name="xtmc" value="{$setting['xtmc']}" placeholder="如:afrtg1" >
</div>
</div>
<div class="layui-form-item layer-footer">
<div class="layui-input-block">
<button class="layui-btn" lay-submit data-refresh="false">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use('yznForm', function() {
var yznForm = layui.yznForm;
yznForm.listen();
});
</script>
{/block}
```