html部分: <div id="upload-box" class="jumbotron" style="text-align: center;border: 2px dashed #ff9163;"> <h2>将文件拖动到此处上传</h2></div> JavaScript部分 <script>$(function(){ var box = document.getElementById("upload-box"); $(document).on({ dragenter: function(e){ e.stopPropagation(); e.preventDefault(); }, dragover: function(e){ e.stopPropagation(); e.preventDefault();
-
2018-10-10 6061 0
-
2018-10-17 4791 0
-
2018-10-17 3611 0
-
2019-03-19 3462 0
-
2017-03-05 2635 0
-
2017-04-15 2625 0
-
2017-03-05 2588 0
-
2017-06-15 2462 0
-
2020-05-15 2244 0
-
2017-07-05 2249 0
-
2018-08-08 1524 0
-
2019-03-19 3462 0
-
2017-03-05 2588 0
-
2017-03-05 2635 0
-
2017-05-31 2084 0
-
2018-09-06 2253 0
-
2017-03-05 2588 0
-
2018-07-28 2419 0
-
2018-08-22 322 0
-
2019-03-02 415 0
-
2018-08-21 555 0
-
2019-12-28 354 0
-
2019-05-24 267 0
-
2020-04-13 1009 0