wyq 4 anni fa
parent
commit
27d9482f2c
4 ha cambiato i file con 3 aggiunte e 3287 eliminazioni
  1. 1 1
      src/css/staticInfo.less
  2. 1 1
      src/js/promise.js
  3. 1 4
      src/js/staticInfo.js
  4. 0 3281
      src/response_1624414026017.json

+ 1 - 1
src/css/staticInfo.less

@@ -237,7 +237,7 @@
     border-radius: 0;
     border: none;
     background-color: #F5F6F7;
-    background: url('../images/icon_current.svg');
+    background: url('../images/icon_current.png');
     background-repeat: no-repeat;
     background-position-x: center;
     background-position-y: center;

+ 1 - 1
src/js/promise.js

@@ -343,7 +343,7 @@ const Toast = function (msg, duration,type) {
   duration = isNaN(duration) ? 3000 : duration;
   var m = document.createElement('div');
   if(type == 'warn'){
-    m.innerHTML = '<div style="margin:auto"><img class="warn" style="margin-right:14px" src="./../images/icon-warning.png" /><span>'+msg+'</span></div>'
+    m.innerHTML = '<div style="margin:auto"><img class="warn" style="margin-right:14px;float:left" src="./../images/icon-warning.png" /><span>'+msg+'</span></div>'
   }else if(type == 'success'){
     m.innerHTML = '<div style="margin:auto"><img class="warn" style="width:32px;margin-right:14px;float:left" src="./../images/icon-success.png" /><span>' + msg +'</span></div>'
   }

+ 1 - 4
src/js/staticInfo.js

@@ -312,10 +312,6 @@ function copy(name) {
     inputs.select(); // 选中文本
     document.execCommand("copy"); // 执行浏览器复制命令
     Toast('复制成功', 500, 'success')
-    setTimeout(() => {
-      window.close()
-    }, 500)
-
   })
 
 }
@@ -495,6 +491,7 @@ function adjustHeight() {
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;
   $(".titleH2").width(wt - 0.2 * wt - 33 - 200 - 17 - 40 - 15 + 'px')
+  $(".content .infos").width(wt- 210 + 'px');
   //$("pre").width(wt- 0.2*wt - 240 + 'px')
 }
 $(window).on('resize', function () {

File diff suppressed because it is too large
+ 0 - 3281
src/response_1624414026017.json