下载资源前端资源详情
layDate-v5.3.1.zip
大小:21.98KB
价格:22积分
下载量:0
评分:
5.0
上传者:h286876
更新日期:2025-09-22

jsp日期查询条件只需要选择到月份?可以试试layui的laydate

资源文件列表(大概)

文件名
大小
laydate/
-
laydate/laydate.js
36.74KB
laydate/theme/
-
laydate/theme/default/
-
laydate/theme/default/font/
-
laydate/theme/default/font/iconfont.eot
2.4KB
laydate/theme/default/font/iconfont.svg
3.05KB
laydate/theme/default/font/iconfont.ttf
2.22KB
laydate/theme/default/font/iconfont.woff
1.46KB
laydate/theme/default/laydate.css
7.58KB
test.html
1.35KB

资源内容介绍

jsp日期查询条件只需要选择到月份?可以试试layui的laydate
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>使用 layDate 独立版</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="format-detection" content="telephone=no"> <style> body { padding: 20px; } .demo-input { padding-left: 10px; height: 38px; min-width: 262px; line-height: 38px; border: 1px solid #e6e6e6; background-color: #fff; border-radius: 2px; } .demo-footer { padding: 50px 0; color: #999; font-size: 14px; } .demo-footer a { padding: 0 5px; color: #01AAED; } </style></head><body> <input type="text" class="demo-input" placeholder="请选择年月" id="test1"> <script src="laydate/laydate.js"></script> <!-- 改成你的路径 --> <script> lay('#version').html('-v' + laydate.v); //执行一个laydate实例 laydate.render({ elem: '#test1', //指定元素 type: 'month' }); </script></body></html>

用户评论 (0)

发表评论

captcha