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
f9af8a30
Commit
f9af8a30
authored
Jul 30, 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
8b103151
dffdc325
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
306 additions
and
61 deletions
+306
-61
map_03.png
imgs/hot_project/map_03.png
+0
-0
product.js
public/javascripts/product.js
+6
-1
project.js
public/javascripts/project.js
+5
-5
product.css
public/stylesheets/product.css
+72
-0
product.less
public/stylesheets/product.less
+79
-0
project.css
public/stylesheets/project.css
+49
-19
project.less
public/stylesheets/project.less
+68
-33
product.hbs
views/product.hbs
+14
-0
project.hbs
views/project.hbs
+13
-3
No files found.
imgs/hot_project/map_03.png
0 → 100644
View file @
f9af8a30
113 KB
public/javascripts/product.js
View file @
f9af8a30
...
...
@@ -8,6 +8,7 @@
var
$userTel
=
$
(
'input[name="userTel"]'
,
$form
);
var
$errorName
=
$
(
'.appointment .errorName'
);
var
$errorTel
=
$
(
'.appointment .errorTel'
);
var
$modalBox
=
$
(
'.modal-box'
);
var
balance
=
$
(
'.balance'
).
html
();
var
total
=
$
(
'.total'
).
html
();
...
...
@@ -69,8 +70,12 @@
$userTel
.
focus
();
return
;
}
console
.
log
(
'ajax submit'
)
$modalBox
.
show
(
500
);
});
$
(
'#modalBoxHidden'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
$modalBox
.
hide
(
500
);
});
...
...
public/javascripts/project.js
View file @
f9af8a30
...
...
@@ -7,7 +7,7 @@
var
$errorDescription
=
$
(
'.error-description'
);
var
$introducerMobile
=
$
(
'#introducerMobile'
);
var
$projectDescription
=
$
(
'#projectDescription'
);
var
$modalBox
=
$
(
'.modal
_
box'
);
var
$modalBox
=
$
(
'.modal
-
box'
);
var
$introducer
=
$
(
'#introducer'
);
...
...
@@ -80,13 +80,13 @@
/**
* 地图项目地址弹框
*/
$
(
'.
project_one
'
).
click
(
function
(
e
)
{
$
(
'.
hot-project-address a
'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
$modalBox
.
show
();
$modalBox
.
show
(
500
);
});
$
(
'#modal
_box_h
idden'
).
click
(
function
(
e
)
{
$
(
'#modal
BoxH
idden'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
$modalBox
.
hide
();
$modalBox
.
hide
(
500
);
});
...
...
public/stylesheets/product.css
View file @
f9af8a30
...
...
@@ -190,6 +190,78 @@
border-bottom
:
0
;
}
/*.product-info end*/
/* .modal-box start */
body
{
position
:
relative
;
}
.modal-box
{
display
:
none
;
top
:
0
;
left
:
0
;
bottom
:
0
;
right
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.3
);
z-index
:
999
;
position
:
fixed
;
}
.modal-box
.modal-dialog
{
position
:
fixed
;
left
:
50%
;
top
:
50%
;
margin-top
:
-200px
;
margin-left
:
-300px
;
width
:
600px
;
height
:
400px
;
background
:
#fff
;
border-radius
:
10px
;
overflow
:
hidden
;
}
.modal-box
.modal-dialog
div
:nth-child
(
1
)
{
width
:
100%
;
height
:
80px
;
background
:
#ff4a4b
;
position
:
relative
;
}
.modal-box
.modal-dialog
div
:nth-child
(
1
)
b
{
display
:
inline-block
;
width
:
46px
;
height
:
46px
;
line-height
:
46px
;
text-align
:
center
;
border-radius
:
50%
;
border
:
3px
solid
#fff
;
font-size
:
42px
;
position
:
absolute
;
right
:
27px
;
top
:
15px
;
cursor
:
pointer
;
color
:
#fff
;
}
.modal-box
.modal-dialog
div
:nth-child
(
2
)
{
position
:
relative
;
}
.modal-box
.modal-dialog
div
:nth-child
(
2
)
i
{
display
:
inline-block
;
width
:
69px
;
height
:
69px
;
background
:
url(https://res.fudou6.com/c/4/20160730/e86YXBwb2ludG1lbnQtc3VjY2VzcyA=_69x69.png)
no-repeat
;
position
:
absolute
;
left
:
90px
;
top
:
8px
;
}
.modal-box
.modal-dialog
div
:nth-child
(
2
)
h3
{
font-size
:
50px
;
font-weight
:
bold
;
color
:
#ff4a4a
;
margin
:
43px
0
;
padding-left
:
180px
;
}
.modal-box
.modal-dialog
p
{
font-size
:
24px
;
line-height
:
28px
;
text-align
:
center
;
}
/* .modal-box end */
@media
screen
and
(
min-width
:
769px
)
{
body
.intro
,
body
.appointment
,
...
...
public/stylesheets/product.less
View file @
f9af8a30
...
...
@@ -210,6 +210,85 @@
/*.product-info end*/
/* .modal-box start */
body {
position: relative;
}
.modal-box {
display: none;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
position: fixed;
.modal-dialog {
position: fixed;
left: 50%;
top: 50%;
margin-top: -200px;
margin-left: -300px;
width: 600px;
height: 400px;
background: #fff;
border-radius: 10px;
overflow: hidden;
div {
&:nth-child(1){
width: 100%;
height: 80px;
background: #ff4a4b;
position: relative;
b {
display: inline-block;
width: 46px;
height: 46px;
line-height: 46px;
text-align: center;
border-radius: 50%;
border: 3px solid #fff;
font-size: 42px;
position: absolute;
right: 27px;
top: 15px;
cursor: pointer;
color: #fff;
}
}
&:nth-child(2){
position: relative;
i {
display: inline-block;
width: 69px;
height: 69px;
background: url(https://res.fudou6.com/c/4/20160730/e86YXBwb2ludG1lbnQtc3VjY2VzcyA=_69x69.png)no-repeat;
position: absolute;
left:90px;
top:8px;
}
h3 {
font-size: 50px;
font-weight: bold;
color: #ff4a4a;
margin: 43px 0;
padding-left:180px;
}
}
}
p {
font-size: 24px;
line-height: 28px;
text-align: center;
}
}
}
/* .modal-box end */
.screen() {
.media(@screen-width-small, @container-width-small);
.media(@screen-width, @container-width);
...
...
public/stylesheets/project.css
View file @
f9af8a30
...
...
@@ -63,21 +63,8 @@
.hot-project-introducer
>
ul
li
:nth-child
(
4
)
>
b
{
background-position
:
-450px
-13
pxpx
;
}
.hot-project-introducer
>
hr
{
width
:
940px
;
margin
:
0
auto
;
background
:
#959595
;
position
:
relative
;
}
.hot-project-introducer
hr
::after
{
content
:
''
;
display
:
block
;
width
:
73px
;
height
:
3px
;
.hot-project-introducer
>
hr
.line-separate
:after
{
background
:
#01a9dd
;
position
:
absolute
;
left
:
433px
;
top
:
-2px
;
}
.hot-project-introducer
.introducer
{
width
:
700px
;
...
...
@@ -158,22 +145,23 @@
/* .hot-project-address start */
.hot-project-address
{
width
:
100%
;
height
:
926px
;
background
:
#1272ac
;
}
.hot-project-address
.hot-project-address-box
{
width
:
12
00px
;
width
:
8
00px
;
height
:
100%
;
margin
:
0
auto
;
padding-top
:
118px
;
padding-bottom
:
118px
;
position
:
relative
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
1
)
{
position
:
absolute
;
color
:
#fff
;
top
:
40px
;
left
:
2
0px
;
left
:
-6
0px
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
1
)
h
4
{
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
1
)
h
2
{
font-size
:
32px
;
font-weight
:
bold
;
line-height
:
42px
;
...
...
@@ -184,7 +172,49 @@
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
{
width
:
100%
;
height
:
100%
;
position
:
relative
;
left
:
-80px
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
img
{
width
:
100%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
{
width
:
138px
;
height
:
46px
;
text-align
:
center
;
line-height
:
46px
;
font-size
:
18px
;
font-weight
:
bold
;
border-radius
:
26px
;
background
:
#fff
;
color
:
#000
;
position
:
absolute
;
right
:
-144px
;
z-index
:
3
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
2
)
{
top
:
3%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
3
)
{
top
:
23%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
4
)
{
top
:
38%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
5
)
{
top
:
56%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
6
)
{
top
:
65%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
7
)
{
top
:
74%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
8
)
{
top
:
84%
;
}
.hot-project-address
.hot-project-address-box
>
div
:nth-child
(
2
)
a
:nth-child
(
9
)
{
top
:
94%
;
}
/* .hot-project-address end */
/* .hot-project-tabs start */
...
...
public/stylesheets/project.less
View file @
f9af8a30
...
...
@@ -139,22 +139,12 @@
}
}
}
> hr {
width: 940px;
margin: 0 auto;
background: #959595;
position: relative;
}
hr::after {
content: '';
display: block;
width: 73px;
height: 3px;
background: #01a9dd;
position: absolute;
left: 433px;
top: -2px;
> hr.line-separate {
&:after{
background: #01a9dd;
}
}
.introducer {
width: 700px;
margin: 0 auto;
...
...
@@ -240,32 +230,77 @@
.hot-project-address {
width: 100%;
height: 926px;
background: #1272ac;
.hot-project-address-box {
width:
12
00px;
width:
8
00px;
height: 100%;
margin: 0 auto;
padding-top: 118px;
padding-bottom: 118px;
position: relative;
> div:nth-child(1) {
position: absolute;
color: #fff;
top: 40px;
left: 20px;
h4 {
font-size: 32px;
font-weight: bold;
line-height: 42px;
& > div {
&:nth-child(1) {
position: absolute;
color: #fff;
top: 40px;
left: -60px;
h2 {
font-size: 32px;
font-weight: bold;
line-height: 42px;
}
p {
font-size: 18px;
line-height: 53px;
}
}
p {
font-size: 18px;
line-height: 53px;
&:nth-child(2){
width: 100%;
position: relative;
left:-80px;
img {
width: 100%;
}
a {
width: 138px;
height: 46px;
text-align: center;
line-height: 46px;
font-size: 18px;
font-weight: bold;
border-radius: 26px;
background: #fff;
color: #000;
position: absolute;
right:-144px;
z-index:3;
&:nth-child(2) {
top:3%;
}
&:nth-child(3) {
top:23%;
}
&:nth-child(4) {
top:38%;
}
&:nth-child(5) {
top:56%;
}
&:nth-child(6) {
top:65%;
}
&:nth-child(7) {
top:74%;
}
&:nth-child(8) {
top:84%;
}
&:nth-child(9) {
top:94%;
}
}
}
}
> div:nth-child(2) {
width: 100%;
height: 100%;
}
}
}
...
...
views/product.hbs
View file @
f9af8a30
...
...
@@ -155,4 +155,18 @@
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-box"
>
<div
class=
"modal-dialog"
>
<div>
<b
id=
"modalBoxHidden"
>
×
</b>
</div>
<div>
<i></i>
<h3>
恭喜你预约成功
</h3>
</div>
<p>
富豆工作人员将第一时间与您取得联系!
</p>
</div>
</div>
\ No newline at end of file
views/project.hbs
View file @
f9af8a30
...
...
@@ -25,7 +25,7 @@
<span>
扩展融资渠道
</span>
</li>
</ul>
<hr/>
<hr
class=
"line-separate"
/>
<div
class=
"introducer"
>
<form
id=
"introducer"
>
<h4>
寻找优质项目介绍人
</h4>
...
...
@@ -46,10 +46,20 @@
<div
class=
"hot-project-address"
>
<div
class=
"hot-project-address-box"
>
<div>
<h
4>
热点项目
</h4
>
<h
2>
热点项目
</h2
>
<p>
※国内各地在进行项目分布图
</p>
</div>
<div>
<img
src=
"https://res.fudou6.com/c/4/20160730/g3zbWFw_1075x722.png"
alt=
"map"
>
<a
href=
"javascrpt:;"
>
天津
</a>
<a
href=
"javascrpt:;"
>
西安灞桥
</a>
<a
href=
"javascrpt:;"
>
江苏海安
</a>
<a
href=
"javascrpt:;"
>
成都金堂
</a>
<a
href=
"javascrpt:;"
>
四川巴中
</a>
<a
href=
"javascrpt:;"
>
贵州同仁
</a>
<a
href=
"javascrpt:;"
>
贵州余庆
</a>
<a
href=
"javascrpt:;"
>
贵州黔南州
</a>
</div>
</div>
</div>
<div
class=
"hot-project-tabs clear"
>
...
...
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