From f74bb3a0d31392a2ea06ac231a854c38df060e65 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 19 一月 2021 11:20:47 +0800 Subject: [PATCH] # --- src/main/webapp/views/area/area.html | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/area/area.html b/src/main/webapp/views/area/area.html index eff2429..f239ad2 100644 --- a/src/main/webapp/views/area/area.html +++ b/src/main/webapp/views/area/area.html @@ -9,6 +9,11 @@ <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> <link rel="stylesheet" href="../../static/css/cool.css" media="all"> <link rel="stylesheet" href="../../static/css/common.css" media="all"> + <style> + .layui-form-select dl { + max-height: 200px; + } + </style> </head> <body> @@ -21,7 +26,13 @@ </div> <div class="layui-inline"> <div class="layui-input-inline"> - <input class="layui-input" type="text" name="name" placeholder="浠撳簱鍚嶇О" autocomplete="off"> + <input class="layui-input" type="text" name="name" placeholder="搴撳尯鍚嶇О" autocomplete="off"> + </div> + </div> + <div class="layui-inline"> + <div class="layui-input-inline"> + <select id="parentId" name="parent_id" lay-search=""> + </select> </div> </div> <!-- 寰呮坊鍔� --> @@ -51,10 +62,17 @@ <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> +<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> <script type="text/javascript" src="../../static/js/area/area.js" charset="utf-8"></script> <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> </body> +<script type="text/template" id="parentNodeGroup"> + <option value="">閫夋嫨浠撳簱</option> + {{#each data}} + <option value="{{this.key}}">{{this.val}}</option> + {{/each}} +</script> </html> -- Gitblit v1.9.1