Ver Fonte

充值不显示时间

jmx há 8 anos atrás
pai
commit
27f18046b6
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      www/webapp/o2o/module/pay/index.html

+ 6 - 1
www/webapp/o2o/module/pay/index.html

@@ -139,7 +139,12 @@
       amount = amount / 100;
 
       $('#order-name').text(body);
-      $('#order-time').text(bookingTime);
+      if (bookingTime){
+        $('#order-time').text(bookingTime);
+      }else {
+        $('#order-time').parent().hide();
+      }
+      
       $('#order-result').text(amount+'元');
 
       $('.btn-pay').click(function() {