Browse Source

充值不显示时间

jmx 9 years ago
parent
commit
27f18046b6
1 changed files with 6 additions and 1 deletions
  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() {