Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
d3c66aec842e86b3abbf0c17707087a3bb57b8f9
1 parent
0d8ce156
在线登记
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
res/js/yohood.js
res/js/yohood.js
View file @
d3c66ae
...
...
@@ -966,9 +966,10 @@ define('yohood', function(require, exports) {
// 表单验证
if
(
$
(
'#exhibitor-form'
).
length
>
0
)
{
var
exhibitorForm
=
$
(
'#exhibitor-form'
).
validate
({
//focusInvalid: false,
onsubmit
:
true
,
$
(
'.submit-w-btn'
).
bind
(
'click'
,
function
(){
var
exhibitorForm
=
$
(
'#exhibitor-form'
).
validate
({
focusInvalid
:
false
,
rules
:
{
name
:
{
required
:
true
...
...
@@ -1086,6 +1087,10 @@ define('yohood', function(require, exports) {
return
false
;
}
});
});
}
//媒体登记
...
...
@@ -1365,7 +1370,7 @@ define('yohood', function(require, exports) {
$
(
'#exhibitor-form'
).
find
(
'input'
).
keyup
(
function
()
{
if
(
exhibitorForm
.
form
())
{
if
(
true
){
//
exhibitorForm.form()) {
vCode
(
function
(
data
)
{
if
(
data
.
code
==
200
)
{
...
...
Please
register
or
login
to post a comment