kongdeqiang
2023-09-15 bfd108cc9ecdae0ee9b118d2307715a357cbcee2
src/components/page/IndexTest.vue
@@ -79,7 +79,7 @@
            </div>
          </div>
          <span slot="footer" class="dialog-footer">
            <el-button type="primary">立 即 支 付</el-button>
            <el-button type="primary" @click="pay()">立 即 支 付</el-button>
          </span>
        </el-dialog>
      </div>
@@ -120,10 +120,10 @@
            //支付宝
            this.type = 1
          }
          if(this.type == null){
            this.$message.error("请用微信或支付宝扫描二维码")
            return;
          }
          // if(this.type == null){
          //   this.$message.error("请用微信或支付宝扫描二维码")
          //   return;
          // }
            var url = window.location.href;
            var count = url.split('?').length-1;
@@ -132,6 +132,7 @@
              this.code2 = this.getCode2FromUrl(url)
              window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2
            }
            console.log('this.code====',this.code)
            if(this.code != null && this.code != '') {
              this.dialogVisible = true
            }else {