Showing
3 changed files
with
8 additions
and
4 deletions
| ... | @@ -120,8 +120,12 @@ export default { | ... | @@ -120,8 +120,12 @@ export default { |
| 120 | this.closeBtn(); | 120 | this.closeBtn(); |
| 121 | 121 | ||
| 122 | // 交易成功跳转回调页面 | 122 | // 交易成功跳转回调页面 |
| 123 | + // TEMP: 临时传参 donate_id | ||
| 123 | this.$router.push({ | 124 | this.$router.push({ |
| 124 | - path: '/client/wechatpayCallback' | 125 | + path: '/client/wechatpayCallback', |
| 126 | + query: { | ||
| 127 | + donate_id: res.data.data.id | ||
| 128 | + } | ||
| 125 | }) | 129 | }) |
| 126 | } else { | 130 | } else { |
| 127 | console.warn(res); | 131 | console.warn(res); | ... | ... |
| ... | @@ -90,7 +90,7 @@ export default { | ... | @@ -90,7 +90,7 @@ export default { |
| 90 | z-index: 169; | 90 | z-index: 169; |
| 91 | position: fixed; | 91 | position: fixed; |
| 92 | right: 2rem; | 92 | right: 2rem; |
| 93 | - bottom: 14rem; | 93 | + bottom: 12rem; |
| 94 | width: 3rem; | 94 | width: 3rem; |
| 95 | height: 3rem; | 95 | height: 3rem; |
| 96 | } | 96 | } |
| ... | @@ -98,7 +98,7 @@ export default { | ... | @@ -98,7 +98,7 @@ export default { |
| 98 | z-index: 169; | 98 | z-index: 169; |
| 99 | position: fixed; | 99 | position: fixed; |
| 100 | right: 2rem; | 100 | right: 2rem; |
| 101 | - bottom: 10rem; | 101 | + bottom: 8rem; |
| 102 | width: 3rem; | 102 | width: 3rem; |
| 103 | height: 3rem; | 103 | height: 3rem; |
| 104 | } | 104 | } | ... | ... |
| ... | @@ -57,7 +57,7 @@ export default { | ... | @@ -57,7 +57,7 @@ export default { |
| 57 | this.$router.replace({ | 57 | this.$router.replace({ |
| 58 | path: '/client/donateCertificate', | 58 | path: '/client/donateCertificate', |
| 59 | query: { | 59 | query: { |
| 60 | - donate_id: '314358' // 测试默认值 | 60 | + donate_id: this.$route.query.donate_id |
| 61 | } | 61 | } |
| 62 | }); | 62 | }); |
| 63 | } | 63 | } | ... | ... |
-
Please register or login to post a comment