1002884655 4 lat temu
rodzic
commit
5dcdaa74d6

+ 1
- 1
src/pages/WoDe/ChongZhi/index.vue Wyświetl plik

@@ -76,7 +76,7 @@ export default {
76 76
         return false
77 77
       }
78 78
       this.DataLock = true
79
-      this.AliPay({ queryData: { amount: this.Amount - 0, returnURL: `${window.location.origin}/#/WoDe/ChongZhiZhuangTai`, token: window.localStorage.Jwt } }).then((res) => {
79
+      this.AliPay({ queryData: { amount: this.Amount - 0, returnURL: `${window.location.origin}/#/WoDe/ChongZhiZhuangTai?from=${this.$route.query.from}`, token: window.localStorage.Jwt } }).then((res) => {
80 80
         this.DataLock = false
81 81
         window.location.href = res.data.data.payUrl
82 82
       }).catch((res) => {

+ 1
- 1
src/pages/WoDe/ChongZhiZhuangTai/index.vue Wyświetl plik

@@ -7,7 +7,7 @@
7 7
           <span v-if="OrderStatus === 'Error'">待支付</span>
8 8
           <i class="iconfont iconchenggong active" v-if="OrderStatus === 'Success'"></i>
9 9
           <span v-if="OrderStatus === 'Success'">支付成功</span>
10
-          <router-link :to="{ name: 'index' }">返回首页</router-link>
10
+          <router-link :to="{ name: $route.query.from || 'index' }">完成</router-link>
11 11
         </div>
12 12
       </div>
13 13
     </MainPageContainer>

+ 3
- 3
src/pages/index/DaLeTouDingDan/index.vue Wyświetl plik

@@ -35,8 +35,8 @@
35 35
                   </span>
36 36
                 </div>
37 37
                 <div class="flex-h">
38
-                  <span class="flex-item">是否追?</span>
39
-                  <span>追号喜中二等奖</span>
38
+                  <span class="flex-item">是否追?</span>
39
+                  <!-- <span>追号喜中二等奖</span> -->
40 40
                   <van-switch v-model="IsAdd" active-color="#07c160" inactive-color="#ccc" size="0.13rem" @change="SwitchChange" />
41 41
                 </div>
42 42
               </div>
@@ -289,7 +289,7 @@ export default {
289 289
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
290 290
         this.DataLock = false
291 291
         if (res.data.code - 0 === 1003) {
292
-          this.$router.push({ name: 'ChongZhi' })
292
+          this.$router.push({ name: 'ChongZhi', query: { from: 'DaLeTouDingDan' } })
293 293
         }
294 294
       })
295 295
     },

+ 1
- 1
src/pages/index/LanQiuDingDan/index.vue Wyświetl plik

@@ -288,7 +288,7 @@ export default {
288 288
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
289 289
         this.DataLock = false
290 290
         if (res.data.code - 0 === 1003) {
291
-          this.$router.push({ name: 'ChongZhi' })
291
+          this.$router.push({ name: 'ChongZhi', query: { from: 'LanQiuDingDan' } })
292 292
         }
293 293
       })
294 294
     },

+ 1
- 1
src/pages/index/PaiLie3DingDan/index.vue Wyświetl plik

@@ -344,7 +344,7 @@ export default {
344 344
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
345 345
         this.DataLock = false
346 346
         if (res.data.code - 0 === 1003) {
347
-          this.$router.push({ name: 'ChongZhi' })
347
+          this.$router.push({ name: 'ChongZhi', query: { from: 'PaiLie3DingDan' } })
348 348
         }
349 349
       })
350 350
     },

+ 1
- 1
src/pages/index/PaiLie5DingDan/index.vue Wyświetl plik

@@ -320,7 +320,7 @@ export default {
320 320
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
321 321
         this.DataLock = false
322 322
         if (res.data.code - 0 === 1003) {
323
-          this.$router.push({ name: 'ChongZhi' })
323
+          this.$router.push({ name: 'ChongZhi', query: { from: 'PaiLie5DingDan' } })
324 324
         }
325 325
       })
326 326
     },

+ 1
- 1
src/pages/index/ShuangSeQiuDingDan/index.vue Wyświetl plik

@@ -278,7 +278,7 @@ export default {
278 278
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
279 279
         this.DataLock = false
280 280
         if (res.data.code - 0 === 1003) {
281
-          this.$router.push({ name: 'ChongZhi' })
281
+          this.$router.push({ name: 'ChongZhi', query: { from: 'ShuangSeQiuDingDan' } })
282 282
         }
283 283
       })
284 284
     },

+ 1
- 1
src/pages/index/ZuQiuDingDan/index.vue Wyświetl plik

@@ -288,7 +288,7 @@ export default {
288 288
         this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
289 289
         this.DataLock = false
290 290
         if (res.data.code - 0 === 1003) {
291
-          this.$router.push({ name: 'ChongZhi' })
291
+          this.$router.push({ name: 'ChongZhi', query: { from: 'ZuQiuDingDan' } })
292 292
         }
293 293
       })
294 294
     },