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
eba13d5d
Commit
eba13d5d
authored
Aug 01, 2016
by
superman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'express' of gitlab.yanky.cn:liaili/www.fudou6.com into express
parents
af987356
e51a331f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
189 deletions
+33
-189
index.js
public/javascripts/index.js
+0
-22
project.js
public/javascripts/project.js
+1
-70
project.js.map
public/javascripts/project.js.map
+1
-1
project.jsx
public/javascripts/project.jsx
+5
-70
project.min.js
public/javascripts/project.min.js
+1
-1
project.css
public/stylesheets/project.css
+12
-12
project.less
public/stylesheets/project.less
+12
-12
index.js
routes/index.js
+1
-1
No files found.
public/javascripts/index.js
deleted
100644 → 0
View file @
af987356
/**
* Created by liaili on 16/7/29.
*/
/**
* 动态添加project-intro的内容
*/
var
textJson
=
[
[
'精选稀缺产品'
,
'非区非县,市级资产端一手政信'
],
[
'尽享高额佣金'
,
'远高市场佣金比例的返佣制度'
],
[
'完善风控体系'
,
'原招商银行风控团队层层把关'
],
[
'佣金快速结算'
,
'项目成立 T+0 ,帮您快速结佣'
]
];
var
lis
=
[];
var
str
=
''
;
for
(
var
i
=
0
,
len
=
textJson
.
length
;
i
<
len
;
i
++
){
lis
.
push
([
'<li>'
,
textJson
[
i
][
0
],
'<br/>'
,
textJson
[
i
][
1
]
,
'</li>'
].
join
(
''
));
}
$
(
'.project-intro'
).
html
(
lis
.
join
(
''
));
//$('.product-intro').html(textJson.map(item=>(`<li>${item[0]}<br/>${item[1]}</li>`)).join('')); ES6方法
public/javascripts/project.js
View file @
eba13d5d
...
@@ -55,78 +55,9 @@
...
@@ -55,78 +55,9 @@
})();
})();
(
function
()
{
(
function
()
{
var
$submit
=
$
(
'#submit'
);
var
$errorPhone
=
$
(
'.error-phone'
);
var
$errorDescription
=
$
(
'.error-description'
);
var
$introducerMobile
=
$
(
'#introducerMobile'
);
var
$projectDescription
=
$
(
'#projectDescription'
);
var
$modalBoxProject
=
$
(
'.modal-box-project'
);
var
$modalBoxProject
=
$
(
'.modal-box-project'
);
var
$modalBoxSuccess
=
$
(
'.modal-box-success'
);
var
$modalBoxSuccess
=
$
(
'.modal-box-success'
);
var
$introducer
=
$
(
'#introducer'
);
/**
* 验证手机号
* @param tel
* @returns {boolean}
*/
function
valiTel
(
tel
)
{
var
msg
=
/^
[\d]
/g
.
test
(
tel
)
?
''
:
'电话号码有误,请再次输入!'
;
//!msg && $introducerMobile.val('');
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
])
?
$introducerMobile
.
val
(
tel
)
:
$introducerMobile
.
val
(
tel
.
slice
(
0
,
tel
.
length
-
1
));
console
.
log
(
tel
[
tel
.
length
-
1
]);
console
.
log
(
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
]));
!
msg
&&
$errorPhone
.
html
(
msg
);
$errorPhone
.
data
(
'vali'
,
!
msg
);
disableSubmit
();
return
!
msg
;
}
/**
* 验证项目描述不能为空
* @param text
* @returns {boolean}
*/
function
valiDescription
(
text
)
{
$errorDescription
.
html
(
text
?
''
:
'项目描述不能为空!'
);
$errorDescription
.
data
(
'vali'
,
text
);
disableSubmit
();
return
!
text
;
}
/**
* 提交按钮是否可用
*/
function
disableSubmit
()
{
$errorPhone
.
data
(
'vali'
)
&&
$errorDescription
.
data
(
'vali'
)
&&
$submit
.
attr
(
'disabled'
,
false
).
css
(
'background'
,
'#ff4a4b'
);
}
$introducerMobile
.
on
({
keyup
:
function
keyup
(
e
)
{
valiTel
((
$introducerMobile
.
val
()
+
''
).
trim
());
}
});
$projectDescription
.
on
({
keyup
:
function
keyup
(
e
)
{
valiDescription
((
$projectDescription
.
val
()
+
''
).
trim
());
}
});
/*
* 不需要在再次验证
$introducer.on('submit', function (e) {
if (!valiTel(($introducerMobile.val() + '').trim())) {
$introducerMobile.focus();
$errorPhone.html('电话号码有误!');
e.preventDefault();
return;
}
if (valiDescription(($projectDescription.val() + '').trim())) {
$projectDescription.focus();
$errorDescription.html('项目描述不能为空!');
e.preventDefault();
return;
}
});
*/
/**
/**
* 地图项目地址弹框
* 地图项目地址弹框
...
...
public/javascripts/project.js.map
View file @
eba13d5d
This diff is collapsed.
Click to expand it.
public/javascripts/project.jsx
View file @
eba13d5d
...
@@ -56,81 +56,16 @@
...
@@ -56,81 +56,16 @@
})();
})();
(
function
()
{
(
function
()
{
var
$submit
=
$
(
'#submit'
);
var
$errorPhone
=
$
(
'.error-phone'
);
var
$errorDescription
=
$
(
'.error-description'
);
var
$introducerMobile
=
$
(
'#introducerMobile'
);
var
$projectDescription
=
$
(
'#projectDescription'
);
var
$modalBoxProject
=
$
(
'.modal-box-project'
);
var
$modalBoxSuccess
=
$
(
'.modal-box-success'
);
var
$introducer
=
$
(
'#introducer'
);
/**
* 验证手机号
* @param tel
* @returns {boolean}
*/
function
valiTel
(
tel
)
{
var
msg
=
/^
[\d]
/g
.
test
(
tel
)
?
''
:
'电话号码有误,请再次输入!'
;
//!msg && $introducerMobile.val('');
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
])?
$introducerMobile
.
val
(
tel
)
:
$introducerMobile
.
val
(
tel
.
slice
(
0
,
tel
.
length
-
1
));
console
.
log
(
tel
[
tel
.
length
-
1
]);
console
.
log
(
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
]));
!
msg
&&
$errorPhone
.
html
(
msg
);
$errorPhone
.
data
(
'vali'
,
!
msg
);
disableSubmit
();
return
!
msg
;
}
/**
* 验证项目描述不能为空
* @param text
* @returns {boolean}
*/
function
valiDescription
(
text
)
{
$errorDescription
.
html
(
text
?
''
:
'项目描述不能为空!'
);
$errorDescription
.
data
(
'vali'
,
text
);
disableSubmit
();
return
!
text
;
}
/**
var
$modalBoxProject
=
$
(
'.modal-box-project'
);
* 提交按钮是否可用
var
$modalBoxSuccess
=
$
(
'.modal-box-success'
);
*/
function
disableSubmit
()
{
$errorPhone
.
data
(
'vali'
)
&&
$errorDescription
.
data
(
'vali'
)
&&
$submit
.
attr
(
'disabled'
,
false
).
css
(
'background'
,
'#ff4a4b'
);
}
$introducerMobile
.
on
({
keyup
:
function
(
e
)
{
valiTel
((
$introducerMobile
.
val
()
+
''
).
trim
());
}
});
$projectDescription
.
on
({
keyup
:
function
(
e
)
{
valiDescription
((
$projectDescription
.
val
()
+
''
).
trim
());
}
});
/*
* 不需要在再次验证
$introducer.on('submit', function (e) {
if (!valiTel(($introducerMobile.val() + '').trim())) {
$introducerMobile.focus();
$errorPhone.html('电话号码有误!');
e.preventDefault();
return;
}
if (valiDescription(($projectDescription.val() + '').trim())) {
$projectDescription.focus();
$errorDescription.html('项目描述不能为空!');
e.preventDefault();
return;
}
});
*/
/**
/**
* 地图项目地址弹框
* 地图项目地址弹框
...
...
public/javascripts/project.min.js
View file @
eba13d5d
"use strict"
;(
function
(){
var
$form
=
$
(
"#container .introducer"
);
var
$introducerMobile
=
$
(
"#introducerMobile"
,
$form
);
var
$projectDescription
=
$
(
"#projectDescription"
,
$form
);
var
$errorPhone
=
$
(
".error-phone"
,
$form
);
var
$errorDescription
=
$
(
".error-description"
,
$form
);
var
filterMobileInput
=
function
filterMobileInput
(
$mobile
){
$mobile
.
val
((
$mobile
.
val
()
+
""
).
replace
(
/
[^\d]
/g
,
""
))};
var
validateMobile
=
function
validateMobile
(
mobile
){
return
/^
[\d]{11}
$/g
.
test
(
mobile
)};
var
validateRequire
=
function
validateRequire
(
value
){
return
value
.
length
};
$introducerMobile
.
on
(
"keyup"
,
function
(
e
){
filterMobileInput
(
$introducerMobile
)}).
on
(
"change blur"
,
function
(
e
){
validateMobile
(
$
.
trim
(
$introducerMobile
.
val
()
+
""
))?
$errorPhone
.
empty
():
$errorPhone
.
html
(
"手机号输入错误!"
)});
$projectDescription
.
on
(
"change blur"
,
function
(
e
){
validateRequire
(
$
.
trim
(
$projectDescription
.
val
()
+
""
))?
$errorDescription
.
empty
():
$errorDescription
.
html
(
"请输入项目描述内容!"
)});
$form
.
on
(
"submit"
,
function
(
e
){
var
mobile
=
$
.
trim
(
$introducerMobile
.
val
()
+
""
);
var
desc
=
$
.
trim
(
$projectDescription
.
val
()
+
""
);
if
(
validateMobile
(
mobile
)){
$errorPhone
.
empty
()}
else
{
$errorPhone
.
html
(
"手机号输入错误!"
);
return
}
if
(
validateRequire
(
desc
)){
$errorDescription
.
empty
()}
else
{
$errorDescription
.
html
(
"请输入项目描述内容!"
);
return
}
request
(
""
,{},
"POST"
).
then
(
function
(
result
){
console
.
log
(
result
)})})})();(
function
(){
var
$submit
=
$
(
"#submit"
);
var
$errorPhone
=
$
(
".error-phone"
);
var
$errorDescription
=
$
(
".error-description"
);
var
$introducerMobile
=
$
(
"#introducerMobile"
);
var
$projectDescription
=
$
(
"#projectDescription"
);
var
$modalBoxProject
=
$
(
".modal-box-project"
);
var
$modalBoxSuccess
=
$
(
".modal-box-success"
);
var
$introducer
=
$
(
"#introducer"
);
function
valiTel
(
tel
){
var
msg
=
/^
[\d]
/g
.
test
(
tel
)?
""
:
"电话号码有误,请再次输入!"
;
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
])?
$introducerMobile
.
val
(
tel
):
$introducerMobile
.
val
(
tel
.
slice
(
0
,
tel
.
length
-
1
));
console
.
log
(
tel
[
tel
.
length
-
1
]);
console
.
log
(
/^
[\d]
/g
.
test
(
tel
[
tel
.
length
-
1
]));
!
msg
&&
$errorPhone
.
html
(
msg
);
$errorPhone
.
data
(
"vali"
,
!
msg
);
disableSubmit
();
return
!
msg
}
function
valiDescription
(
text
){
$errorDescription
.
html
(
text
?
""
:
"项目描述不能为空!"
);
$errorDescription
.
data
(
"vali"
,
text
);
disableSubmit
();
return
!
text
}
function
disableSubmit
(){
$errorPhone
.
data
(
"vali"
)
&&
$errorDescription
.
data
(
"vali"
)
&&
$submit
.
attr
(
"disabled"
,
false
).
css
(
"background"
,
"#ff4a4b"
)}
$introducerMobile
.
on
({
keyup
:
function
keyup
(
e
){
valiTel
((
$introducerMobile
.
val
()
+
""
).
trim
())}});
$projectDescription
.
on
({
keyup
:
function
keyup
(
e
){
valiDescription
((
$projectDescription
.
val
()
+
""
).
trim
())}});
$
(
".hot-project-address a"
).
click
(
function
(
e
){
e
.
preventDefault
();
$modalBox
.
fadeIn
(
300
)});
$
(
"#modalBoxHidden"
).
click
(
function
(
e
){
e
.
preventDefault
();
$modalBox
.
fadeOut
(
300
)});
$submit
.
on
(
"click"
,
function
(
e
){
e
.
preventDefault
();
$modalBoxSuccess
.
fadeIn
(
300
)});
$
(
".modal-box-success a"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
();
$modalBoxSuccess
.
fadeOut
(
300
)})})();
"use strict"
;(
function
(){
var
$form
=
$
(
"#container .introducer"
);
var
$introducerMobile
=
$
(
"#introducerMobile"
,
$form
);
var
$projectDescription
=
$
(
"#projectDescription"
,
$form
);
var
$errorPhone
=
$
(
".error-phone"
,
$form
);
var
$errorDescription
=
$
(
".error-description"
,
$form
);
var
filterMobileInput
=
function
filterMobileInput
(
$mobile
){
$mobile
.
val
((
$mobile
.
val
()
+
""
).
replace
(
/
[^\d]
/g
,
""
))};
var
validateMobile
=
function
validateMobile
(
mobile
){
return
/^
[\d]{11}
$/g
.
test
(
mobile
)};
var
validateRequire
=
function
validateRequire
(
value
){
return
value
.
length
};
$introducerMobile
.
on
(
"keyup"
,
function
(
e
){
filterMobileInput
(
$introducerMobile
)}).
on
(
"change blur"
,
function
(
e
){
validateMobile
(
$
.
trim
(
$introducerMobile
.
val
()
+
""
))?
$errorPhone
.
empty
():
$errorPhone
.
html
(
"手机号输入错误!"
)});
$projectDescription
.
on
(
"change blur"
,
function
(
e
){
validateRequire
(
$
.
trim
(
$projectDescription
.
val
()
+
""
))?
$errorDescription
.
empty
():
$errorDescription
.
html
(
"请输入项目描述内容!"
)});
$form
.
on
(
"submit"
,
function
(
e
){
var
mobile
=
$
.
trim
(
$introducerMobile
.
val
()
+
""
);
var
desc
=
$
.
trim
(
$projectDescription
.
val
()
+
""
);
if
(
validateMobile
(
mobile
)){
$errorPhone
.
empty
()}
else
{
$errorPhone
.
html
(
"手机号输入错误!"
);
return
}
if
(
validateRequire
(
desc
)){
$errorDescription
.
empty
()}
else
{
$errorDescription
.
html
(
"请输入项目描述内容!"
);
return
}
request
(
""
,{},
"POST"
).
then
(
function
(
result
){
console
.
log
(
result
)})})})();(
function
(){
var
$modalBoxProject
=
$
(
".modal-box-project"
);
var
$modalBoxSuccess
=
$
(
".modal-box-success"
);
$
(
".hot-project-address a"
).
click
(
function
(
e
){
e
.
preventDefault
();
$modalBox
.
fadeIn
(
300
)});
$
(
"#modalBoxHidden"
).
click
(
function
(
e
){
e
.
preventDefault
();
$modalBox
.
fadeOut
(
300
)});
$submit
.
on
(
"click"
,
function
(
e
){
e
.
preventDefault
();
$modalBoxSuccess
.
fadeIn
(
300
)});
$
(
".modal-box-success a"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
();
$modalBoxSuccess
.
fadeOut
(
300
)})})();
\ No newline at end of file
\ No newline at end of file
public/stylesheets/project.css
View file @
eba13d5d
...
@@ -251,22 +251,22 @@
...
@@ -251,22 +251,22 @@
border-right
:
1px
solid
#43abb6
;
border-right
:
1px
solid
#43abb6
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
1
)
dt
{
.hot-project-tabs
ul
li
:nth-child
(
1
)
dt
{
background
:
url("
../images/hot_project/tabs05_b
.png")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/nbrdGFiczA1X2I=_115x115
.png")
no-repeat
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
2
)
{
.hot-project-tabs
ul
li
:nth-child
(
2
)
{
border-right
:
1px
solid
#43abb6
;
border-right
:
1px
solid
#43abb6
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
2
)
dt
{
.hot-project-tabs
ul
li
:nth-child
(
2
)
dt
{
background
:
url("
../images/hot_project/tabs04_b
.png")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/dgndGFiczA0X2I=_115x115
.png")
no-repeat
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
3
)
{
.hot-project-tabs
ul
li
:nth-child
(
3
)
{
border-right
:
1px
solid
#43abb6
;
border-right
:
1px
solid
#43abb6
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
3
)
dt
{
.hot-project-tabs
ul
li
:nth-child
(
3
)
dt
{
background
:
url("
../images/hot_project/tabs03_b
.png")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/p8edGFiczAzX2I=_115x115
.png")
no-repeat
;
}
}
.hot-project-tabs
ul
li
:nth-child
(
4
)
dt
{
.hot-project-tabs
ul
li
:nth-child
(
4
)
dt
{
background
:
url("
../images/hot_project/tabs02_b
.png")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/6jpdGFiczAyX2I=_115x115
.png")
no-repeat
;
}
}
.hot-project-tabs
ul
li
:hover
{
.hot-project-tabs
ul
li
:hover
{
color
:
#fff
;
color
:
#fff
;
...
@@ -278,13 +278,13 @@
...
@@ -278,13 +278,13 @@
@-webkit-keyframes
changeOne
{
@-webkit-keyframes
changeOne
{
0
%
{
0
%
{
opacity
:
1
;
opacity
:
1
;
background
:
url("
../images/hot_project/tabs05_b.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/nbrdGFiczA1X2I=_115x115.png
")
no-repeat
;
}
}
50
%
{
50
%
{
opacity
:
0
;
opacity
:
0
;
}
}
100
%
{
100
%
{
background
:
url("
../images/hot_project/tabs05_a.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/u42dGFiczA1X2E=_115x115.png
")
no-repeat
;
opacity
:
1
;
opacity
:
1
;
}
}
}
}
...
@@ -296,13 +296,13 @@
...
@@ -296,13 +296,13 @@
@-webkit-keyframes
changeTwo
{
@-webkit-keyframes
changeTwo
{
0
%
{
0
%
{
opacity
:
1
;
opacity
:
1
;
background
:
url("
../images/hot_project/tabs04_b.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/dgndGFiczA0X2I=_115x115.png
")
no-repeat
;
}
}
50
%
{
50
%
{
opacity
:
0
;
opacity
:
0
;
}
}
100
%
{
100
%
{
background
:
url("
../images/hot_project/tabs04_a.png ")
no-repeat
-1px
-1px
;
background
:
url("
https://res.fudou6.com/c/4/20160801/n3ndGFiczA0X2E=_115x115.png")
no-repeat
;
opacity
:
1
;
opacity
:
1
;
}
}
}
}
...
@@ -314,14 +314,14 @@
...
@@ -314,14 +314,14 @@
@-webkit-keyframes
changeThree
{
@-webkit-keyframes
changeThree
{
0
%
{
0
%
{
opacity
:
1
;
opacity
:
1
;
background
:
url("
../images/hot_project/tabs03_b.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/p8edGFiczAzX2I=_115x115.png
")
no-repeat
;
}
}
50
%
{
50
%
{
opacity
:
0
;
opacity
:
0
;
}
}
100
%
{
100
%
{
opacity
:
1
;
opacity
:
1
;
background
:
url("
../images/hot_project/tabs03_a.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/za5dGFiczAzX2E=_115x115.png
")
no-repeat
;
}
}
}
}
.hot-project-tabs
ul
li
:nth-child
(
3
)
:hover
dt
{
.hot-project-tabs
ul
li
:nth-child
(
3
)
:hover
dt
{
...
@@ -331,14 +331,14 @@
...
@@ -331,14 +331,14 @@
}
}
@-webkit-keyframes
changeFour
{
@-webkit-keyframes
changeFour
{
0
%
{
0
%
{
background
:
url("
../images/hot_project/tabs02_b.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/6jpdGFiczAyX2I=_115x115.png
")
no-repeat
;
}
}
50
%
{
50
%
{
opacity
:
0
;
opacity
:
0
;
}
}
100
%
{
100
%
{
opacity
:
1
;
opacity
:
1
;
background
:
url("
../images/hot_project/tabs02_a.png
")
no-repeat
;
background
:
url("
https://res.fudou6.com/c/4/20160801/zsedGFiczAyX2E=_115x115.png
")
no-repeat
;
}
}
}
}
.hot-project-tabs
ul
li
:nth-child
(
4
)
:hover
dt
{
.hot-project-tabs
ul
li
:nth-child
(
4
)
:hover
dt
{
...
...
public/stylesheets/project.less
View file @
eba13d5d
...
@@ -332,24 +332,24 @@
...
@@ -332,24 +332,24 @@
li:nth-child(1) {
li:nth-child(1) {
border-right: 1px solid #43abb6;
border-right: 1px solid #43abb6;
dt {
dt {
background: url("
../images/hot_project/tabs05_b
.png") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/nbrdGFiczA1X2I=_115x115
.png") no-repeat;
}
}
}
}
li:nth-child(2) {
li:nth-child(2) {
border-right: 1px solid #43abb6;
border-right: 1px solid #43abb6;
dt {
dt {
background: url("
../images/hot_project/tabs04_b
.png") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/dgndGFiczA0X2I=_115x115
.png") no-repeat;
}
}
}
}
li:nth-child(3) {
li:nth-child(3) {
border-right: 1px solid #43abb6;
border-right: 1px solid #43abb6;
dt {
dt {
background: url("
../images/hot_project/tabs03_b
.png") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/p8edGFiczAzX2I=_115x115
.png") no-repeat;
}
}
}
}
li:nth-child(4) {
li:nth-child(4) {
dt {
dt {
background: url("
../images/hot_project/tabs02_b
.png") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/6jpdGFiczAyX2I=_115x115
.png") no-repeat;
}
}
}
}
li:hover {
li:hover {
...
@@ -363,13 +363,13 @@
...
@@ -363,13 +363,13 @@
@-webkit-keyframes changeOne {
@-webkit-keyframes changeOne {
0% {
0% {
opacity: 1;
opacity: 1;
background: url("
../images/hot_project/tabs05_b.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/nbrdGFiczA1X2I=_115x115.png
") no-repeat;
}
}
50% {
50% {
opacity: 0;
opacity: 0;
}
}
100% {
100% {
background: url("
../images/hot_project/tabs05_a.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/u42dGFiczA1X2E=_115x115.png
") no-repeat;
opacity: 1;
opacity: 1;
}
}
}
}
...
@@ -383,13 +383,13 @@
...
@@ -383,13 +383,13 @@
@-webkit-keyframes changeTwo {
@-webkit-keyframes changeTwo {
0% {
0% {
opacity: 1;
opacity: 1;
background: url("
../images/hot_project/tabs04_b.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/dgndGFiczA0X2I=_115x115.png
") no-repeat;
}
}
50% {
50% {
opacity: 0;
opacity: 0;
}
}
100% {
100% {
background: url("
../images/hot_project/tabs04_a.png ") no-repeat -1px -1px
;
background: url("
https://res.fudou6.com/c/4/20160801/n3ndGFiczA0X2E=_115x115.png") no-repeat
;
opacity: 1;
opacity: 1;
}
}
}
}
...
@@ -403,14 +403,14 @@
...
@@ -403,14 +403,14 @@
@-webkit-keyframes changeThree {
@-webkit-keyframes changeThree {
0% {
0% {
opacity: 1;
opacity: 1;
background: url("
../images/hot_project/tabs03_b.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/p8edGFiczAzX2I=_115x115.png
") no-repeat;
}
}
50% {
50% {
opacity: 0;
opacity: 0;
}
}
100% {
100% {
opacity: 1;
opacity: 1;
background: url("
../images/hot_project/tabs03_a.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/za5dGFiczAzX2E=_115x115.png
") no-repeat;
}
}
}
}
dt {
dt {
...
@@ -422,14 +422,14 @@
...
@@ -422,14 +422,14 @@
li:nth-child(4):hover {
li:nth-child(4):hover {
@-webkit-keyframes changeFour {
@-webkit-keyframes changeFour {
0% {
0% {
background: url("
../images/hot_project/tabs02_b.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/6jpdGFiczAyX2I=_115x115.png
") no-repeat;
}
}
50% {
50% {
opacity: 0;
opacity: 0;
}
}
100% {
100% {
opacity: 1;
opacity: 1;
background: url("
../images/hot_project/tabs02_a.png
") no-repeat;
background: url("
https://res.fudou6.com/c/4/20160801/zsedGFiczAyX2E=_115x115.png
") no-repeat;
}
}
}
}
dt {
dt {
...
...
routes/index.js
View file @
eba13d5d
...
@@ -7,7 +7,7 @@ var product = require('./product');
...
@@ -7,7 +7,7 @@ var product = require('./product');
router
.
get
(
'/'
,
function
(
req
,
res
)
{
router
.
get
(
'/'
,
function
(
req
,
res
)
{
res
.
render
(
'index'
,
{
res
.
render
(
'index'
,
{
styles
:
[
'index'
],
styles
:
[
'index'
],
scripts
:[
'index'
],
scripts
:[],
character
:
[
character
:
[
{
{
sum
:
'526亿'
,
sum
:
'526亿'
,
...
...
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