Commit cc73da741a55ad10616c631b4c013d82fa677c5b
1 parent
e7ba65be
给评论列表页增加时间插件
Showing
1 changed file
with
7 additions
and
0 deletions
src/main/resources/templates/page/comment.html
| ... | ... | @@ -443,6 +443,13 @@ |
| 443 | 443 | } |
| 444 | 444 | </script> |
| 445 | 445 | <script> |
| 446 | + /*时间插件*/ | |
| 447 | + $('.date').datetimepicker({ | |
| 448 | + format: 'YYYY-MM-DD HH:mm:ss', | |
| 449 | + locale: "zh-CN", | |
| 450 | + toolbarPlacement: 'bottom', | |
| 451 | + showClear: true, | |
| 452 | + }); | |
| 446 | 453 | $(function () { |
| 447 | 454 | $("[data-toggle='tooltip']").tooltip(); |
| 448 | 455 | }); | ... | ... |