heyang vor 3 Jahren
Ursprung
Commit
167946f911
1 geänderte Dateien mit 5 neuen und 7 gelöschten Zeilen
  1. 5 7
      microserviceUserH5/vcloud/actFissionShare.html

+ 5 - 7
microserviceUserH5/vcloud/actFissionShare.html

@@ -485,7 +485,7 @@
                 oInput.style.display = 'none'; // 将input隐藏
                 oInput.blur();
                 oInput.remove(); // 将input销毁
-                this.download();
+                document.location.href = 'https://www.pgyer.com/gemini6?timestamp=' + Math.random();
                 // setTimeout(() => {
                 //     this.$dialog.close();
                 //     // this.download();
@@ -525,7 +525,6 @@
             },
             created() {
                 // window.location.href = 'investigate.html'
-                
             },
             mounted() {
                 // this.$dialog.alert({
@@ -540,13 +539,12 @@
                     this.uuid = UUID.generate();
                     localStorage.setItem("uuid", this.uuid);
                 }
-                console.log(this.uuid);
             },
             methods: {
                 copyHandle(){
                     getActivationCode(this.username, this.tagId, this.uuid).then(res => {
                         this.$toast.clear();
-                        if (res.status === 2) {
+                        if (res.status === 2 || res.status === 11) {
                             this.validate(); // 生成验证码
                             setTimeout(() => {
                                 document.getElementById('form-btn').click();
@@ -613,9 +611,9 @@
                                     $('.mask').show();
                                     document.documentElement.style.overflow='hidden';
                                     code = res.data;
-                                    // setTimeout(() => {
-                                    //     $('.get-success-block')[0].click();
-                                    // }, 1000);
+                                } else {
+                                    this.code = res.data;
+                                    this.copyUrl();
                                 }
                             } else {
                                 this.$dialog.alert({