Explorar o código

h5支付操作

tang %!s(int64=3) %!d(string=hai) anos
pai
achega
7f089b8c48
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      index.html

+ 3 - 3
index.html

@@ -220,8 +220,7 @@
220
             height: 0.88rem;
220
             height: 0.88rem;
221
             background: linear-gradient(179deg, #FE7577 0%, #FE0032 100%);
221
             background: linear-gradient(179deg, #FE7577 0%, #FE0032 100%);
222
             border-radius: 1rem;
222
             border-radius: 1rem;
223
-            position: fixed;
224
-            bottom: 0.68rem;
223
+            margin-top: 9.3rem;
225
             text-align: center;
224
             text-align: center;
226
             line-height: 0.88rem;
225
             line-height: 0.88rem;
227
             font-size: 0.32rem;
226
             font-size: 0.32rem;
@@ -459,7 +458,8 @@
459
                     paySign: paysign, // 支付签名
458
                     paySign: paysign, // 支付签名
460
                     success: (res) => {
459
                     success: (res) => {
461
                         // 支付成功后的回调函数
460
                         // 支付成功后的回调函数
462
-                        location.replace("./Paytocomplete.html");
461
+                        // location.replace("./Paytocomplete.html");
462
+                        location.href("./Paytocomplete.html")
463
                         money = '';
463
                         money = '';
464
                         // 跳完成支付页面
464
                         // 跳完成支付页面
465
                         //结束loading
465
                         //结束loading