Explorar o código

充值不显示时间

jmx %!s(int64=8) %!d(string=hai) anos
pai
achega
27f18046b6
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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;
       amount = amount / 100;
 
 
       $('#order-name').text(body);
       $('#order-name').text(body);
-      $('#order-time').text(bookingTime);
+      if (bookingTime){
+        $('#order-time').text(bookingTime);
+      }else {
+        $('#order-time').parent().hide();
+      }
+      
       $('#order-result').text(amount+'元');
       $('#order-result').text(amount+'元');
 
 
       $('.btn-pay').click(function() {
       $('.btn-pay').click(function() {