|
@@ -1,31 +1,84 @@
|
|
|
-<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-form-item">
|
|
|
- <label class="layui-col-xs2 think-form-label">名称</label>
|
|
|
- <label class="layui-col-xs10">
|
|
|
- <input name="title" required value='{$vo.title|default=""}' placeholder="请输入名称" class="layui-input">
|
|
|
- </label>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="layui-row margin-bottom-15">
|
|
|
- <label class="layui-col-xs2 think-form-label">模板</label>
|
|
|
- <label class="layui-col-xs8 think-form-group-left">
|
|
|
- <input name="url" 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>
|
|
|
+
|
|
|
+
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="zh">
|
|
|
+
|
|
|
+<head>
|
|
|
+ <title>{block name="title"}{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}{/block}</title>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="renderer" content="webkit">
|
|
|
+ <meta name="format-detection" content="telephone=no">
|
|
|
+ <meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
+ <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=0.4">
|
|
|
+ <link rel="shortcut icon" href="{:sysconf('site_icon')}">
|
|
|
+ <link rel="stylesheet" href="__ROOT__/static/plugs/awesome/fonts.css?at={:date('md')}">
|
|
|
+ <link rel="stylesheet" href="__ROOT__/static/plugs/layui/css/layui.css?at={:date('md')}">
|
|
|
+ <link rel="stylesheet" href="__ROOT__/static/theme/css/console.css?at={:date('md')}">
|
|
|
+ {block name="style"}{/block}
|
|
|
+ <script>window.ROOT_URL = '__ROOT__';</script>
|
|
|
+ <script src="__ROOT__/static/plugs/jquery/pace.min.js"></script>
|
|
|
+ <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=XYTBZ-WOX3X-LYJ44-TAK6Y-VU6HV-BWFIW"></script>
|
|
|
+</head>
|
|
|
+<style type="text/css">
|
|
|
+ .layui-nav-more {right:4px !important;}
|
|
|
+ .layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover{
|
|
|
+ background: #DC2219 !important;
|
|
|
+ }
|
|
|
+
|
|
|
+</style>
|
|
|
+<body class="layui-layout-body">
|
|
|
+{block name='body'}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 主体内容 开始 -->
|
|
|
+ <div class="layui-body layui-bg-gray">
|
|
|
+
|
|
|
+ <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-form-item">
|
|
|
+ <label class="layui-col-xs2 think-form-label">名称</label>
|
|
|
+ <label class="layui-col-xs10">
|
|
|
+ <input name="title" required value='{$vo.title|default=""}' placeholder="请输入名称" class="layui-input">
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="layui-row margin-bottom-15">
|
|
|
+ <label class="layui-col-xs2 think-form-label">模板</label>
|
|
|
+ <label class="layui-col-xs8 think-form-group-left">
|
|
|
+ <input name="url" 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>
|
|
|
+
|
|
|
</div>
|
|
|
-</form>
|
|
|
-<script>window.form.render();
|
|
|
-</script>
|
|
|
+ <!-- 主体内容 结束 -->
|
|
|
+
|
|
|
+</div>
|
|
|
+{/block}
|
|
|
+<script src="__ROOT__/static/plugs/layui/layui.all.js"></script>
|
|
|
+<script src="__ROOT__/static/plugs/echarts/echarts.min.js"></script>
|
|
|
+<script src="__ROOT__/static/plugs/require/require.js"></script>
|
|
|
+<script src="__ROOT__/static/admin.js"></script>
|
|
|
+{block name='script'}{/block}
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|