jmx 8 жил өмнө
parent
commit
27f18046b6

+ 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() {