Explorar el Código

update:优化watchlist详情查看v1

lvzhiqiang hace 9 meses
padre
commit
f83eb3d29d

+ 1 - 1
src/main/resources/env/dev/redisson.yml

@@ -10,7 +10,7 @@ singleServerConfig:
   password: foobared
   subscriptionsPerConnection: 5
   clientName: null
-  address: "redis://34.97.253.204:6379"
+  address: "redis://204.13.154.148:6379"
   subscriptionConnectionMinimumIdleSize: 1
   subscriptionConnectionPoolSize: 50
   connectionMinimumIdleSize: 50

+ 3 - 1
src/main/resources/static/coin.html

@@ -41,10 +41,12 @@
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
-        background: antiquewhite;
+        background: rgba(255, 255, 255, .8);
+        backdrop-filter: blur(5px);
         border: 1px solid #888;
         width: 50%;
         height: 50%;
+        font-size: 14px;
     }
 
     .watchlistpreview-top, .musicpreview-top {

+ 9 - 0
src/main/resources/static/js/my-coin.js

@@ -707,6 +707,9 @@ function initContentEvent(nameEn) {
                 }
             });
         });
+        $("#apis-quiet-content").find(".contentTD").find("tr td:nth-child(7)").dblclick(function () {
+            $(this).parent("tr").find("button[operationtype='detail']").click();
+        });
         $(".apis-quiet-div-watchlist-detail,.apis-quiet-div-watchlist-update").click(function () {
             if ($("#watchlistpreview").css("display") === 'none') {
                 $("#watchlistpreview").css("display", "block");
@@ -722,7 +725,13 @@ function initContentEvent(nameEn) {
                 }
                 $(this).unbind("click");
                 $(".watchlistpreview-top-submit").unbind("click");
+                $(".watchlistpreview-content").unbind("dblclick");
+            });
+
+            $(".watchlistpreview-content").dblclick(function () {
+                $(".watchlistpreview-top-close").click();
             });
+
             $(".watchlistpreview-top-submit").click(function () {
                 $.ajax({
                     url: "coin/watchlistUpdate", //请求的url地址