diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java index fb43aa73f..f53537b6e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java @@ -46,6 +46,15 @@ public class DemoFormController return prefix + "/select"; } + /** + * 时间轴 + */ + @GetMapping("/timeline") + public String timeline() + { + return prefix + "/timeline"; + } + /** * 表单校验 */ diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css index f2c16bc56..e8dc4c4a1 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css +++ b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css @@ -573,14 +573,14 @@ label.error { } } -/** 表单查询条件 **/ -.select-list ul { +/** 表单查询条件 **/ +.select-list ul, .layui-layer-content ul { margin: 0; padding: 0; -webkit-tap-highlight-color: rgba(0,0,0,0); } -.select-list li { +.select-list li, .layui-layer-content li { list-style: none; } diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/timeline.html b/ruoyi-admin/src/main/resources/templates/demo/form/timeline.html new file mode 100644 index 000000000..0b0239e14 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/demo/form/timeline.html @@ -0,0 +1,113 @@ + + +
+ + +