Explorar o código

Merge branch 'feature/99年卡活动' of Software/android-cloud-H5 into develop

huangxiaojing %!s(int64=2) %!d(string=hai) anos
pai
achega
edce469c54
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      pages/activity/lottery/index.vue

+ 5 - 1
pages/activity/lottery/index.vue

@@ -203,7 +203,11 @@ export default {
           window.native.startPay(this.payType === 'aliPay' ? 3 : 2, res.data.myOrderNum, 1);
         }
         if (this.$userAgent.isIos) {
-          // window.native.startPay(1, res.data.myOrderNum, 1);
+          window.webkit.messageHandlers.startPay.postMessage({
+            payType: this.payType === 'aliPay' ? 3 : 2,
+            orderNum: res.data.myOrderNum,
+            actualPrice: this.actualPrice
+          });
         }
       } catch (error) {
         Toast({