1234567891011121314151617181920212223242526272829303132333435363738 |
- <form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
- <div class="layui-card-body">
- <div class="layui-row margin-bottom-15">
- <label class="layui-col-xs2 think-form-label">模板1</label>
- <label class="layui-col-xs8 think-form-group-left">
- <input name="url1" required readonly value='{$vo.url|default=""}' placeholder="请上传模板" class="layui-input">
- </label>
- <a class="layui-col-xs2 layui-btn think-form-group-right" data-file="btn" data-field="url" data-type="xls,xlsx">
- <i class="layui-icon layui-icon-upload"></i> 上传模板
- </a>
- </div>
- <div class="layui-row margin-bottom-15">
- <label class="layui-col-xs2 think-form-label">模板2</label>
- <label class="layui-col-xs8 think-form-group-left">
- <input name="url2" required readonly value='{$vo.url|default=""}' placeholder="请上传模板" class="layui-input">
- </label>
- <a class="layui-col-xs2 layui-btn think-form-group-right" data-file="btn" data-field="url" data-type="xls,xlsx">
- <i class="layui-icon layui-icon-upload"></i> 上传模板
- </a>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="layui-form-item text-center">
- {if isset($vo.id)}<input type='hidden' value="<?php echo date('Y-m-d H:i:s'); ?>" name='update_at'>{else}<input type='hidden' value="<?php echo date('Y-m-d H:i:s'); ?>" name='create_at'>{/if}
- {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
- <button class="layui-btn" type='submit'>保存数据</button>
- </div>
- </form>
- <script>window.form.render();
- </script>
|