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
6290b716
Commit
6290b716
authored
Jul 30, 2016
by
liaili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
db1a4e9d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
2 deletions
+81
-2
index.css
public/stylesheets/index.css
+39
-0
index.less
public/stylesheets/index.less
+39
-1
index.hbs
views/index.hbs
+3
-1
No files found.
public/stylesheets/index.css
View file @
6290b716
...
@@ -300,4 +300,43 @@
...
@@ -300,4 +300,43 @@
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:first-child
{
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:first-child
{
background-size
:
cover
;
background-size
:
cover
;
}
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
{
position
:
relative
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
h3
{
font-size
:
40px
;
margin-top
:
80px
;
text-align
:
center
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
hr
{
border
:
transparent
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
>
div
:nth-child
(
3
)
{
width
:
100%
;
margin-bottom
:
24px
;
position
:
absolute
;
left
:
0
;
top
:
63px
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
>
div
:nth-child
(
3
)
span
{
width
:
33%
;
display
:
block
;
float
:
left
;
font-size
:
16px
;
text-align
:
center
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
>
div
:nth-child
(
3
)
span
strong
{
font-size
:
30px
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
>
div
:last-child
{
position
:
absolute
;
top
:
160px
;
left
:
0
;
width
:
100%
;
text-align
:
center
;
font-size
:
24px
;
}
.products
ul
li
:nth-child
(
n
+
3
)
>
div
:last-child
>
div
:last-child
a
{
color
:
#fff
;
}
/*product end*/
/*product end*/
public/stylesheets/index.less
View file @
6290b716
...
@@ -300,7 +300,6 @@
...
@@ -300,7 +300,6 @@
margin-right: 30px;
margin-right: 30px;
&:last-child {
&:last-child {
margin-right: 0;
margin-right: 0;
}
}
& > div {
& > div {
position: absolute;
position: absolute;
...
@@ -310,6 +309,45 @@
...
@@ -310,6 +309,45 @@
background-size: cover;
background-size: cover;
}
}
}
}
& >div:last-child {
position: relative;
h3 {
font-size: 40px;
margin-top: 80px;
text-align: center;
}
hr {
border: transparent;
}
& > div:nth-child(3) {
width: 100%;
margin-bottom: 24px;
position: absolute;
left: 0;
top:63px;
span {
width: 33%;
display: block;
float: left;
font-size: 16px;
text-align: center;
strong {
font-size: 30px;
}
}
}
& > div:last-child {
position:absolute;
top:160px;
left:0;
width: 100%;
text-align: center;
font-size: 24px;
a {
color: #fff;
}
}
}
}
}
}
}
}
}
...
...
views/index.hbs
View file @
6290b716
...
@@ -131,8 +131,10 @@
...
@@ -131,8 +131,10 @@
<strong>
{{
this
.
maxProfits
}}
</strong>
%
<br/>
最高收益
<strong>
{{
this
.
maxProfits
}}
</strong>
%
<br/>
最高收益
</span>
</span>
</div>
</div>
<div>
<a
href=
"
{{
this
.
link
}}
"
>
查看详情
>
</a>
<a
href=
"
{{
this
.
link
}}
"
>
查看详情
>
</a>
</div>
</div>
</div>
</li>
</li>
{{/
each
}}
{{/
each
}}
</ul>
</ul>
...
...
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