فهرست منبع

充值不显示时间

jmx 8 سال پیش
والد
کامیت
27f18046b6
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  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() {