王新凯 3 years ago
parent
commit
a51f0f6281
1 changed files with 11 additions and 4 deletions
  1. 11 4
      application/admin/view/template/form.html

+ 11 - 4
application/admin/view/template/form.html

@@ -2,11 +2,16 @@
     <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">
+
+
+        <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 class="layui-row margin-bottom-15">
@@ -18,6 +23,8 @@
                 <i class="layui-icon layui-icon-upload"></i> 上传模板
             </a>
         </div>
+
+
     </div>
 
     <div class="hr-line-dashed"></div>