...
|
...
|
@@ -10,9 +10,6 @@ var $ = require('jquery'), |
|
|
var $consultForm = $('.consult-form'),
|
|
|
$submit = $('#submit'),
|
|
|
$content = $('#content'),
|
|
|
$footer = $('#yoho-footer'),
|
|
|
$navTitle = $('.nav-title'),
|
|
|
navTitle = $navTitle.html(),
|
|
|
productId = $('#product_id').val(),
|
|
|
isSubmiting;
|
|
|
|
...
|
...
|
@@ -39,6 +36,7 @@ $content.on('focus', function() { |
|
|
// 提交表单请求
|
|
|
$consultForm.on('submit', function() {
|
|
|
var content;
|
|
|
|
|
|
if (isSubmiting) {
|
|
|
return false;
|
|
|
}
|
...
|
...
|
|