Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
www.fudou6.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liaili
www.fudou6.com
Commits
1aadc14c
Commit
1aadc14c
authored
Aug 02, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
154aa487
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
23 deletions
+19
-23
product.min.js
public/javascripts/product.min.js
+18
-14
index.hbs
views/index.hbs
+1
-1
layout.hbs
views/layout.hbs
+0
-8
No files found.
public/javascripts/product.min.js
View file @
1aadc14c
!
function
()
{
function
t
(
t
)
{
return
u
.
html
(
t
?
""
:
"请输入您的姓名!"
),
!
t
;
}
function
n
(
t
)
{
return
!
/
[^\d]
/g
.
test
(
t
)
||
(
a
.
val
(
t
.
replace
(
/
[^\d]
/g
,
""
)),
!
1
);
return
i
.
html
(
t
?
""
:
"请输入您的姓名!"
),
!
t
;
}
function
e
(
t
)
{
return
/^
[\d]{11}
$/g
.
test
(
t
)
?
(
i
.
html
(
""
),
!
1
)
:
(
i
.
html
(
"手机号有误,请重新输入!"
),
!
0
);
return
!
/
[^\d]
/g
.
test
(
t
)
||
(
r
.
val
(
t
.
replace
(
/
[^\d]
/g
,
""
)),
!
1
);
}
function
n
(
t
)
{
return
/^
[\d]{11}
$/g
.
test
(
t
)
?
(
u
.
html
(
""
),
!
1
)
:
(
u
.
html
(
"手机号有误,请重新输入!"
),
!
0
);
}
var
r
=
$
(
"#form"
),
o
=
$
(
'input[name="userName"]'
,
r
),
a
=
$
(
'input[name="userTel"]'
,
r
),
u
=
$
(
".appointment .errorName"
),
i
=
$
(
".appointment .errorTel"
),
l
=
$
(
".modal-box"
),
m
=
(
$
(
".balance"
).
html
(),
$
(
".total"
).
html
(),
$
(
".progress-bar i"
));
m
.
width
(
m
.
data
(
"width"
)),
o
.
on
(
"keyup"
,
function
()
{
t
(
$
.
trim
(
o
.
val
()
+
""
));
}),
a
.
on
(
"keyup"
,
function
()
{
var
t
=
a
.
val
();
n
(
t
),
e
(
t
);
}),
r
.
on
(
"submit"
,
function
(
n
)
{
return
n
.
preventDefault
(),
t
(
$
.
trim
(
o
.
val
()
+
""
))
?
void
o
.
focus
()
:
e
(
$
.
trim
(
a
.
val
()
+
""
))
?
void
a
.
focus
()
:
(
request
(),
var
o
=
$
(
"#form"
),
a
=
$
(
'input[name="userName"]'
,
o
),
r
=
$
(
'input[name="userTel"]'
,
o
),
i
=
$
(
".appointment .errorName"
),
u
=
$
(
".appointment .errorTel"
),
l
=
$
(
".modal-box"
),
c
=
(
$
(
".balance"
).
html
(),
$
(
".total"
).
html
(),
$
(
".progress-bar i"
))
,
f
=
$
(
".modal-box-erweima"
)
;
c
.
width
(
c
.
data
(
"width"
)),
a
.
on
(
"keyup"
,
function
()
{
t
(
$
.
trim
(
a
.
val
()
+
""
));
}),
r
.
on
(
"keyup"
,
function
()
{
var
t
=
r
.
val
();
e
(
t
),
n
(
t
);
}),
o
.
on
(
"submit"
,
function
(
e
)
{
return
e
.
preventDefault
(),
t
(
$
.
trim
(
a
.
val
()
+
""
))
?
void
a
.
focus
()
:
n
(
$
.
trim
(
r
.
val
()
+
""
))
?
void
r
.
focus
()
:
(
request
(),
void
l
.
fadeIn
(
300
));
}),
$
(
"#modalBoxHidden"
).
click
(
function
(
t
)
{
t
.
preventDefault
(),
l
.
fadeOut
(
300
);
}),
$
(
".login-app"
).
on
(
"click"
,
function
(
t
)
{
t
.
preventDefault
(),
f
.
fadeIn
(
300
);
}),
$
(
".modal-dialog-close"
).
on
(
"click"
,
function
(
t
)
{
t
.
preventDefault
(),
f
.
fadeOut
(
300
);
});
}();
\ No newline at end of file
views/index.hbs
View file @
1aadc14c
https://res.fudou6.com/c/4/20160802/acpNi5waWNfaGQ=_280x280.jpg
<div
class=
"banner"
>
<div
class=
"banner"
>
<div
class=
"banner-box"
>
<h1>
海量资源 轻松抢单
</h1>
<p>
...
...
views/layout.hbs
View file @
1aadc14c
...
...
@@ -44,16 +44,8 @@
<h2>
400-879-9900
</h2>
<!--<hr class="line-separate"/>-->
<p
class=
"copyright"
>
Copyright2016
<span>
shuniu
</span>
All Right Reserved
©
2014-2015 杭州枢纽科技有限公司 版权所有
</p>
<
<<<<<<
HEAD
<
address
>
浙江省杭州市余杭区良睦路1288号梦想小镇5-305
<br>
上海市浦东新区福山路458号同盛大厦1808室
<br>
<a
href=
"mailto:hr@shuniu.com"
>
E-mail:hr@shuniu.com
</a>
</address>
=======
<address>
浙江省杭州市余杭区良睦路1288号梦想小镇5-305 E-mail:
<a
href=
"mailto:hr@shuniu.com"
>
hr@shuniu.com
</a></address>
<address>
上海市浦东新区福山路458号同盛大厦1808室
</address>
>>>>>>> 546ba5723d0162ab25246abb551367aad882f2e0
</footer>
<script
src=
"/javascripts/jquery-1.8.3.min.js"
></script>
{{#if
env
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment