From 3fc96f06985fe61b51aa200a6821f795ee9671c0 Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期三, 22 六月 2022 12:50:43 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/test.html |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/test.html b/src/main/webapp/views/test.html
index d65a6e7..8bd60da 100644
--- a/src/main/webapp/views/test.html
+++ b/src/main/webapp/views/test.html
@@ -3,24 +3,50 @@
 <head>
     <meta charset="UTF-8">
     <title>Title</title>
+    <script src="../static/js/jquery/jquery-3.3.1.min.js"></script>
 </head>
 <body>
+    <div id="ycq"></div>
     <button onclick="closeBtn()">鍏抽棴</button>
     <button onclick="openBtn()">寮�濮�</button>
+    <button id="1" onclick="alt(1)">寮�濮�</button>
 </body>
 <script>
-    var i = 1
+    // var abc = 1
+    var i ;
+    i=0
     var a = true
     setInterval(()=>{
         addI();
     },1000)
     function addI() {
         if (a) {
-            console.log("姝e湪鎵撳嵃"+i++)
+            $("#ycq").html(i++)
+
         }else {
             return;
         }
     }
+    // $("#ycq").html(i)
+
+    function alt(e) {
+        alert(e)
+    }
+
+
+    // var arr=[]; //鎵归噺瀹氫箟
+    // for(var i=0;i<5;i++){
+    //     var index=i;  //鍔ㄦ�佸畾涔夊彉閲忓悕
+    //     arr[index]='value-'+i;  //鍔ㄦ�佽祴鍊�
+    // }
+    // console.log(arr);
+
+
+
+
+
+
+
 
 
     function closeBtn() {

--
Gitblit v1.9.1