基于 AngularJS 的时间选择器wui-date效果代码
代码语言:html
所属分类:选择器
代码描述:基于 AngularJS 的时间选择器wui-date效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html ng-app="app" lang="en"> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/wui.min.css"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/angular-1.4.6.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/wui-date.js"></script> </head> <body> <div class="wui-content"> <div class="wui-area"> <h2 class="h2">WUI-DatePicker 日期选择器</h2> </div> <h3 class="h3">参考</h3> <div class="wui-area"> <h4 class="h4">选择年月日</h4> <p>输出格式yyyy-mm-dd</p> <wui-date format="yyyy-mm-dd" placeholder="请选择或输入日期" id="date1" btns="{'ok':'确定','now':'此刻'}" ng-model="date1" > </wui-date> </div> <div class="wui-area"> <h4 class="h4">选择年月</h4> <p>输出格式yyyy-mm</p> <wui-date format="yyyy-mm" placeholder="请选择或输入日期" id="date2" btns="{'ok':'确定','now':'此刻','hitherto':true}" ng-model="date2" > </wui-date> </div> <div class="wui-area"> <h4 class="h4">选择年月日 时分</h4> <p>输出格式yyyy-mm-dd hh:mm</p> <wui-date format="yyyy-mm-dd hh:mm" placeholder="请选择或输入日期" id="date3" btns="{'ok':'确定','now':'此刻'}" ng-model="date3" > </wui-date> </div> <div class="wui-area"> <h4 class="h4">选择年月日 时分秒</h4> <.........完整代码请登录后点击上方下载按钮下载查看
网友评论0