|  | @@ -265,6 +265,7 @@ import Protocol from "@/components/Protocol";
 | 
	
		
			
				|  |  |  import MRefund from "@/components/MRefund";
 | 
	
		
			
				|  |  |  import MEmpty from "@/components/MEmpty";
 | 
	
		
			
				|  |  |  import Search from "@/components/Search";
 | 
	
		
			
				|  |  | +import qs from "query-string";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    addGoodsSellOrder,
 | 
	
		
			
				|  |  |    queryGoodsPage,
 | 
	
	
		
			
				|  | @@ -394,8 +395,34 @@ export default {
 | 
	
		
			
				|  |  |        this.headerStatus = false;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      this.__init();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    window.addEventListener("hashchange", this.onHash, false);
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    onHash() {
 | 
	
		
			
				|  |  | +      this.refundStatus = false;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    hashState() {
 | 
	
		
			
				|  |  | +      // 打开弹窗
 | 
	
		
			
				|  |  | +      if (this.refundStatus) {
 | 
	
		
			
				|  |  | +        this.isDestroy = false;
 | 
	
		
			
				|  |  | +        const splitUrl = window.location.hash.slice(1).split("?");
 | 
	
		
			
				|  |  | +        const query = qs.parse(splitUrl[1]);
 | 
	
		
			
				|  |  | +        let times = 0;
 | 
	
		
			
				|  |  | +        for (let key in query) {
 | 
	
		
			
				|  |  | +          times++;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        const origin = window.location.href;
 | 
	
		
			
				|  |  | +        const url = times > 0 ? "&cPop=" + +new Date() : "?cPop=" + +new Date();
 | 
	
		
			
				|  |  | +        history.pushState("", "", `${origin}${url}`);
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        const splitUrl = window.location.hash.slice(1).split("?");
 | 
	
		
			
				|  |  | +        const query = qs.parse(splitUrl[1]);
 | 
	
		
			
				|  |  | +        if (query.cPop) {
 | 
	
		
			
				|  |  | +          window.history.go(-1);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      onConfirm(value, index) {
 | 
	
		
			
				|  |  |        this.orderText = value;
 | 
	
		
			
				|  |  |        if (index == 0) {
 | 
	
	
		
			
				|  | @@ -561,6 +588,7 @@ export default {
 | 
	
		
			
				|  |  |        // 确认退费规则
 | 
	
		
			
				|  |  |        if (!this.refundSure && this.payCountMoney - this.marketAmount > 0) {
 | 
	
		
			
				|  |  |          this.refundStatus = true;
 | 
	
		
			
				|  |  | +        this.hashState();
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        let form = {
 | 
	
	
		
			
				|  | @@ -604,7 +632,7 @@ export default {
 | 
	
		
			
				|  |  |                this.$toast(res.msg);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  | -          .catch((e) => {
 | 
	
		
			
				|  |  | +          .catch(() => {
 | 
	
		
			
				|  |  |              // console.log(e);
 | 
	
		
			
				|  |  |              setLoading(false);
 | 
	
		
			
				|  |  |            });
 | 
	
	
		
			
				|  | @@ -679,6 +707,7 @@ export default {
 | 
	
		
			
				|  |  |        // 确认退费规则
 | 
	
		
			
				|  |  |        if (!this.refundSure && this.payCountMoney - this.marketAmount > 0) {
 | 
	
		
			
				|  |  |          this.refundStatus = true;
 | 
	
		
			
				|  |  | +        this.hashState();
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 |