zhangdehua hace 1 año
padre
commit
e094352e12
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/index/view/cart/shoppingCart.html

+ 3 - 0
app/index/view/cart/shoppingCart.html

@@ -195,6 +195,9 @@
 {block name="scriptSrc"}
 <script>
     $(document).ready(function () {
+        //触屏事件 || 点击事件
+        const tap = "ontouchstart" in window ? "touchstart" : "click";
+
         var addressId = {$addressId};
         var payByPoints = "{$payByPoints}";
         //console.log(payByPoints, payByPoints)