Browse Source

添加测试

namejr 4 years ago
parent
commit
534ccba409
1 changed files with 5 additions and 2 deletions
  1. 5 2
      EBook.Web/Common/tasklib_book.js

+ 5 - 2
EBook.Web/Common/tasklib_book.js

@@ -614,9 +614,12 @@ function bindEventYS() {
     $("td").attr("style", "");
     $(".container-table").on("touchstart", function () {
         pressTableFlag = true;
-    });
-    $(document).on("touchend", function () {
+        var HtmlStr = "<div class='TextShow' style='width:200px;height:20px;position:fixed;left:100px;top:100px;background-color:red;color:#fff;'>true</div>";
+        $(this).after(HtmlStr);
+    }).on("touchend", function () {
         pressTableFlag = false;
+        var HtmlStr = "<div class='TextShow' style='width:200px;height:20px;position:fixed;left:100px;top:100px;background-color:black;color:#fff;'>false</div>";
+        $(this).after(HtmlStr);
     });
 }
 var pressTableFlag = false;