wesmiler 4 lat temu
rodzic
commit
66ca8fd19d
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      public_m/themes/mobile/index/news/show.html

+ 3 - 1
public_m/themes/mobile/index/news/show.html

@@ -194,6 +194,7 @@
                   }
 
 
+                  return true;
               }
               function isPhoneNo(phone) {
                   var pattern = /^1[3456789]\d{9}$/;
@@ -337,7 +338,7 @@
                     <p class="">加盟顾问会第一时间与您联系,请注意接听</p>
                 </div>
 
-                <form class="plan-form" id="form-two11" action="{:url('jiameng/message')}" method="post" onsubmit="checkpForm()">
+                <form class="plan-form" id="form-two11" action="{:url('jiameng/message')}" method="post" onsubmit="return checkpForm()">
                     <input type="hidden" name="jm_id" value="{$info.id}">
                     <input type="hidden" name="jm_title" value="{$info.title}">
                     <input type="hidden" name="catid" value="{$brand_cate.id}">
@@ -403,6 +404,7 @@
               return false;
           }
 
+          return true;
       }
 
       function isPhoneNo(phone) {