From f90f24f12f331f491737492022c17dffb79ec505 Mon Sep 17 00:00:00 2001 From: lishouyi <linlangsur163@163.com> Date: 星期四, 01 六月 2023 20:16:42 +0800 Subject: [PATCH] 管理后台:订单列表添加的地图优化 --- management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig.js b/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig.js index 82437b1..51ae0b3 100644 --- a/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig.js +++ b/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig.js @@ -289,9 +289,9 @@ " <div class=\"initialLevel col-sm-12 control-label form-group\" id='time' >\n" + " <span class=\"control-label\" >时间段</span>\n" + - " <input class=\"control-label\" id=\"num1\" name=\"num1\" type=\"text\" placeholder=\"00:00\" style=\"height: 30px;width: 80px\">\n" + + " <input class=\"control-label time-item\" id=\"num1\" name=\"num1\" type=\"text\" placeholder=\"00:00\" style=\"height: 30px;width: 80px\" readonly>\n" + " <span class=\"control-label\" >——</span>\n" + - " <input class=\"control-label\" id=\"num2\" name=\"num2\" type=\"text\" placeholder=\"00:00\" style=\"height: 30px;width: 80px\">\n" + + " <input class=\"control-label time-item\" id=\"num2\" name=\"num2\" type=\"text\" placeholder=\"00:00\" style=\"height: 30px;width: 80px\" readonly>\n" + " <span class=\"fa fa-remove\" style='position: absolute;right: 20px;color: red;font-size: 20px;' onclick=\"TSystemConfig.delTime(this)\"></span>\n" + " </div>\n" + "<div class='prices'>\n" + @@ -322,6 +322,16 @@ "</div>" $("#rules").append($(a)) + lay('.time-item').each(function(){ + laydate.render({ + elem: this, + type: 'time', + format: 'HH:mm', + range: false, + lang:'zn', + trigger: 'click' + }); + }); } -- Gitblit v1.7.1