diff --git a/src/css/modules/laydate.css b/src/css/modules/laydate.css index 0273d3d0..f04ef1d4 100644 --- a/src/css/modules/laydate.css +++ b/src/css/modules/laydate.css @@ -12,7 +12,7 @@ html #layuicss-laydate{display: none; position: absolute; width: 1989px;} /* 主体结构 */ .layui-laydate, .layui-laydate *{box-sizing: border-box;} -.layui-laydate{position: absolute; z-index: 66666666; margin: 5px 0; border-radius: 2px; font-size: 14px; -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both;} +.layui-laydate{position: absolute; z-index: 99999999; margin: 5px 0; border-radius: 2px; font-size: 14px; line-height: normal; -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both;} .layui-laydate-main{width: 272px;} .layui-laydate-header *, .layui-laydate-content td, @@ -84,15 +84,15 @@ html #layuicss-laydate{display: none; position: absolute; width: 1989px;} .layui-laydate-shortcut>li{padding: 5px 8px; cursor: pointer;line-height: 18px;} /* 年月列表 */ -.layui-laydate-list{position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; background-color: #fff;} -.layui-laydate-list>li{position: relative; display: inline-block; width: 33.3%; height: 36px; line-height: 36px; margin: 3px 0; vertical-align: middle; text-align: center; cursor: pointer;} -.laydate-month-list>li{width: 25%; margin: 17px 0;} +.layui-laydate .layui-laydate-list{position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; background-color: #fff;} +.layui-laydate .layui-laydate-list>li{position: relative; display: inline-block; width: 33.3%; height: 36px; line-height: 36px; margin: 3px 0; vertical-align: middle; text-align: center; cursor: pointer; list-style: none;} +.layui-laydate .laydate-month-list>li{width: 25%; margin: 17px 0;} .laydate-time-list{} -.laydate-time-list>li{height: 100%; margin: 0; line-height: normal; cursor: default;} -.laydate-time-list p{position: relative; top: -4px; line-height: 29px;} -.laydate-time-list ol{height: 181px; overflow: hidden;} -.laydate-time-list>li:hover ol{overflow-y: auto;} -.laydate-time-list ol li{width: 130%; padding-left: 33px; height: 30px; line-height: 30px; text-align: left; cursor: pointer;} +.layui-laydate .laydate-time-list>li{height: 100%; margin: 0; line-height: normal; cursor: default;} +.layui-laydate .laydate-time-list p{position: relative; top: -4px; margin: 0; line-height: 29px;} +.layui-laydate .laydate-time-list ol{height: 181px; overflow: hidden;} +.layui-laydate .laydate-time-list>li:hover ol{overflow-y: auto;} +.layui-laydate .laydate-time-list ol li{width: 130%; padding-left: 33px; height: 30px; line-height: 30px; text-align: left; cursor: pointer;} /* 提示 */ .layui-laydate-hint{position: absolute; top: 115px; left: 50%; width: 250px; margin-left: -125px; line-height: 20px; padding: 15px; text-align: center; font-size: 12px; color: #FF5722;}