Kaynağa Gözat

h5支付操作

tang 3 yıl önce
ebeveyn
işleme
4f7637f8aa
2 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 1 1
      Paytocomplete.html
  2. 1 2
      index.html

+ 1 - 1
Paytocomplete.html

@@ -106,7 +106,7 @@
106
         // var UA=navigator.userAgent.toUpperCase();
106
         // var UA=navigator.userAgent.toUpperCase();
107
         //判断是不是微信
107
         //判断是不是微信
108
         if (ua.match(/MicroMessenger/i) == "micromessenger") {
108
         if (ua.match(/MicroMessenger/i) == "micromessenger") {
109
-
109
+            
110
         }
110
         }
111
         //判断是不是支付宝
111
         //判断是不是支付宝
112
         if (ua.match(/AlipayClient/i) == "alipayclient") {
112
         if (ua.match(/AlipayClient/i) == "alipayclient") {

+ 1 - 2
index.html

@@ -171,7 +171,7 @@
171
             margin: 0.12rem 0 0 0.41rem;
171
             margin: 0.12rem 0 0 0.41rem;
172
             height: 1.19rem;
172
             height: 1.19rem;
173
             display: flex;
173
             display: flex;
174
-            align-items: center;
174
+            line-height: 1.19rem;
175
         }
175
         }
176
 
176
 
177
         .pay_input-top-manei span {
177
         .pay_input-top-manei span {
@@ -478,7 +478,6 @@
478
             wx.error(function (res) {
478
             wx.error(function (res) {
479
                 console.log('res', res);
479
                 console.log('res', res);
480
             });
480
             });
481
-
482
         }
481
         }
483
         //支付宝支付
482
         //支付宝支付
484
         function paymentByAlipay(data) {
483
         function paymentByAlipay(data) {