heyang 3 lat temu
rodzic
commit
7acfc3fd18
1 zmienionych plików z 6 dodań i 8 usunięć
  1. 6 8
      microserviceUserH5/vcloud/actFissionShare.html

+ 6 - 8
microserviceUserH5/vcloud/actFissionShare.html

@@ -534,18 +534,16 @@
                 document.body.appendChild(oInput)
                 selectText(oInput, 0, oInput.value.length);
                 document.execCommand("Copy"); // 执行浏览器复制命令
-                // toastr.error(`复制成功`);
+                toastr.error(`复制成功`);
                 $('.dialog').animate({top: '-6.96rem'},"fast");
                 $('.mask').hide();
                 document.documentElement.style.overflow='auto';
                 oInput.style.display = 'none'; // 将input隐藏
                 oInput.blur();
                 oInput.remove(); // 将input销毁
-                document.location.href = 'https://www.pgyer.com/gemini6?timestamp=' + Math.random();
-                // setTimeout(() => {
-                //     this.$dialog.close();
-                //     // this.download();
-                // }, 2000)
+                setTimeout(() => {
+                    document.location.href = 'https://www.pgyer.com/gemini6?timestamp=' + Math.random();
+                }, 1000)
             }, 400)
 
         };
@@ -786,7 +784,7 @@
 				        $('.imgs-block').eq(0).css('display', 'none');
 			            $('.get-success').eq(0).text('下载APP并复制激活码');
                     }
-                    $('.dialog').animate({top: '3.36rem'},"fast");
+                    $('.dialog').animate({top: '1.8rem'},"fast");
                     $('.mask').show();
                     document.documentElement.style.overflow='hidden';
                 },
@@ -810,7 +808,7 @@
                             this.$dialog.close();
                             this.downloadTip();
                             // this.download();
-                        }, 2000)
+                        }, 100)
                     }, 400)
 
                 },