使用样例
<!---- 手机日期插件:mobiscroll ----> <script src="../../dep/mobiscroll.datetime-2.17.2.trial/js/mobiscroll.custom-2.17.2.min.js"></script> <link href="../../dep/mobiscroll.datetime-2.17.2.trial/css/mobiscroll.custom-2.17.2.min.css" rel="stylesheet"> <input type="text" id="datetimeDate-demo" class="form-control transparent" placeholder="请选择..." /> <script> // Mobiscroll Date & Time initialization $(‘#datetimeDate-demo‘).mobiscroll().date({ theme: ‘mobiscroll‘, // Specify theme like: theme: ‘ios‘ or omit setting to use default lang: ‘zh‘, // Specify language like: lang: ‘pl‘ or omit setting to use default display: ‘modal‘, // Specify display mode like: display: ‘bottom‘ or omit setting to use default mode: ‘Scroller‘ // More info about mode: https://docs.mobiscroll.com/2-17-2/datetime#!opt-mode }); </script>
时间: 2024-10-21 14:21:21