<input type="text" class="form-control" id="single-input" value="" placeholder="现在"> <script type="text/javascript"> $('#single-input').clockpicker({ placement: 'bottom', align: 'right', autoclose: true, 'default': '20:48' }); </script>