Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
石坚
9 years ago
Commit
f99cf32e9f8ad8edbc3f81ec021c7ab58915b4b0
1 parent
ab787512
手机版扫一扫
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
469 additions
and
463 deletions
public/scss/components/_header.css
public/scss/components/_header.css
View file @
f99cf32
.blk-header
{
height
:
50px
;
line-height
:
50px
;
font-size
:
12px
;
font-weight
:
500
;
.yoho-group-map
{
padding-right
:
2px
;
display
:
inline-block
;
position
:
relative
;
height
:
54px
;
line-height
:
52px
;
.iconfont
{
font-size
:
18px
;
vertical-align
:
sub
;
}
a
{
vertical-align
:
middle
;
}
.yoho-group
{
font-size
:
14px
;
display
:
none
;
}
&
:hover
{
height
:
50px
;
>
a
{
color
:
#9a9a9a
;
}
.yoho-group
{
display
:
block
;
}
}
.yoho-group
{
border
:
1px
solid
#eee
;
line-height
:
32px
;
padding
:
20px
0
;
background
:
#fff
;
position
:
absolute
;
font-weight
:
normal
;
z-index
:
50
;
top
:
50px
;
li
{
width
:
170px
;
padding-left
:
20px
;
font-weight
:
bold
;
}
a
:hover
{
color
:
#9a9a9a
;
}
}
}
.header-tools
{
li
{
float
:
left
;
padding
:
0
2px
;
margin
:
0
12px
;
>
a
:
hover
{
color
:
#9a9a9a
;
}
}
.tag-phone
,
.tag-bag
{
padding-right
:
6px
;
margin-right
:
8px
;
position
:
relative
;
&:hover
{
color
:
#9a9a9a
;
height
:
50px
;
cursor
:
pointer
;
}
&
:hover
>
a
{
color
:
#9a9a9a
;
}
&
:hover
.mini-bag-box-wrap
{
display
:
block
;
}
}
.mini-bag-box-wrap
{
display
:
none
;
}
.tools-icon
{
width
:
20px
;
height
:
20px
;
line-height
:
20px
;
font-size
:
16px
;
color
:
#1b1b1b
;
display
:
inline-block
;
position
:
relative
;
top
:
1px
;
}
.bag-num
{
font-size
:
12px
;
font-weight
:
bold
;
color
:
#fff
;
display
:
inline-block
;
transform
:
scale
(
0.8
,
0.8
);
}
.down-app-box
{
width
:
230px
;
color
:
#1b1b1b
;
font-size
:
14px
;
font-weight
:
normal
;
padding
:
20px
0
;
margin-left
:
-86px
;
line-height
:
1.5
;
border
:
1px
solid
#eee
;
background
:
#fff
;
position
:
absolute
;
z-index
:
50
;
text-align
:
center
;
display
:
none
;
.down-qr
{
display
:
inline-block
;
width
:
138px
;
height
:
138px
;
background-image
:
resolve
(
"layout/qr.png"
);
}
p
{
margin
:
20px
0
;
}
.more-app
{
color
:
#ccc
;
}
}
.mini-bag-box
{
width
:
370px
;
padding
:
18px
;
border
:
1px
solid
#eee
;
font-weight
:
normal
;
background
:
#fff
;
position
:
absolute
;
z-index
:
50
;
right
:
0
;
display
:
none
;
.bag-content
{
font-size
:
14px
;
line-height
:
1.5
;
padding
:
280px
0
130px
;
text-align
:
center
;
color
:
#1b1b1b
;
background
:
resolve
(
"layout/empty-bag.svg"
)
no-repeat
center
30%
;
background-size
:
115px
130px
;
display
:
none
;
}
.bag-content
.cn
{
font-size
:
20px
;
font-weight
:
bold
;
margin-bottom
:
10px
;
}
.bag-goods
{
background
:
#fff
;
}
.mini-goods-list-wrap
{
width
:
340px
;
max-height
:
350px
;
display
:
block
;
overflow-x
:
hidden
;
}
.go-bag-btn
{
font-size
:
20px
;
line-height
:
1
;
padding-top
:
22px
;
border-top
:
1px
solid
#ddd
;
text-align
:
center
;
}
}
.mini-bag-box.bag-empty
{
.bag-goods
{
display
:
none
;
}
.bag-content
{
display
:
block
;
}
}
.goods-item
{
line-height
:
2
;
padding
:
6px
0
;
color
:
#1b1b1b
;
font-size
:
14px
;
&
>
*
{
float
:
left
;
}
.thumb
{
width
:
58px
;
height
:
64px
;
}
.name
{
width
:
150px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
display
:
block
;
cursor
:
pointer
;
}
.info
{
width
:
160px
;
padding-left
:
10px
;
}
.price
{
width
:
100px
;
text-align
:
right
;
}
.del-good-btn
{
cursor
:
pointer
;
color
:
#999
;
&:hover
{
color
:
#1b1b1b
;
}
}
}
}
}
.blk-nav
{
.main-nav
{
height
:
80px
;
.main-nav-list
{
li
{
float
:
left
;
height
:
21px
;
margin-top
:
38px
;
margin-right
:
30px
;
font-weight
:
bold
;
}
li
>
a
{
color
:
#999
;
}
.cur
{
border-bottom
:
2px
solid
#1b1b1b
;
}
.cur
>
a
{
color
:
#1b1b1b
;
}
li
:hover
>
a
{
color
:
#1b1b1b
;
}
}
.main-logo
{
width
:
200px
;
height
:
30px
;
left
:
50%
;
position
:
absolute
;
margin-left
:
-100px
;
margin-top
:
30px
;
background
:
resolve
(
"layout/blk-logo.svg"
)
no-repeat
center
center
;
background-size
:
100%
;
a
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
}
}
.sub-nav
{
height
:
44px
;
background
:
#1b1b1b
;
.sub-nav-list
{
max-width
:
94%
;
display
:
inline-block
;
line-height
:
46px
;
height
:
44px
;
font-size
:
14px
;
li
{
float
:
left
;
margin-left
:
66px
;
}
li
:first-child
{
margin-left
:
0
;
}
li
>
a
{
color
:
#fff
;
}
li
:hover
>
a
{
display
:
inline-block
;
height
:
40px
;
color
:
#219dd6
;
/* border-bottom: 2px solid #fff; */
}
}
.search-entry
{
float
:
right
;
width
:
50px
;
height
:
44px
;
line-height
:
46px
;
text-align
:
center
;
position
:
relative
;
color
:
#fff
;
cursor
:
pointer
;
.iconfont
{
font-size
:
16px
;
}
}
.search-wrapper
{
width
:
360px
;
padding
:
6px
0
16px
;
font-size
:
14px
;
top
:
44px
;
right
:
0
;
position
:
absolute
;
background
:
#1b1b1b
;
text-align
:
left
;
display
:
none
;
z-index
:
10
;
}
.search-input
{
font-size
:
16px
;
padding
:
0
20px
;
.search-key
{
width
:
260px
;
height
:
30px
;
padding
:
0
10px
;
background
:
none
;
border
:
none
;
color
:
#fff
;
}
.clear-input
{
display
:
none
;
}
form
{
border-bottom
:
1px
solid
#fff
;
}
}
.search-hint
{
display
:
none
;
li
{
line-height
:
30px
;
padding
:
0
20px
;
}
.cur
{
background
:
#1b1b1b
;
}
a
{
color
:
#fff
;
}
}
.hot-search
{
line-height
:
65px
;
margin
:
0
20px
;
border-top
:
1px
solid
#fff
;
a
{
color
:
#fff
;
margin-right
:
15px
;
}
}
}
.third-nav-wrapper
{
padding
:
30px
0
;
font-size
:
14px
;
position
:
absolute
;
background
:
#fff
;
width
:
100%
;
left
:
0
;
display
:
none
;
z-index
:
10
;
top
:
174px
;
dl
{
float
:
left
;
height
:
384px
;
line-height
:
1
;
box-sizing
:
border-box
;
border-left
:
1px
solid
#eee
;
padding
:
0
20px
;
&:first-child
{
border-left
:
0
;
padding-left
:
0
;
}
>
*
{
width
:
230px
;
height
:
40px
;
}
a
{
color
:
#666
;
}
}
dt
>
a
{
color
:
#1b1b1b
;
font-weight
:
bold
;
display
:
inline-block
;
border-bottom
:
1px
solid
#1b1b1b
;
}
.hot
{
color
:
#fc0d1b
;
font-size
:
16px
;
margin-left
:
10px
;
}
.show-detail
{
float
:
right
;
}
}
}
.blk-header
{
height
:
50px
;
line-height
:
50px
;
font-size
:
12px
;
font-weight
:
500
;
.yoho-group-map
{
padding-right
:
2px
;
display
:
inline-block
;
position
:
relative
;
height
:
54px
;
line-height
:
52px
;
.iconfont
{
font-size
:
18px
;
vertical-align
:
sub
;
}
a
{
vertical-align
:
middle
;
}
.yoho-group
{
font-size
:
14px
;
display
:
none
;
}
&
:hover
{
height
:
50px
;
>
a
{
color
:
#9a9a9a
;
}
.yoho-group
{
display
:
block
;
}
}
.yoho-group
{
border
:
1px
solid
#eee
;
line-height
:
32px
;
padding
:
20px
0
;
background
:
#fff
;
position
:
absolute
;
font-weight
:
normal
;
z-index
:
50
;
top
:
50px
;
li
{
width
:
170px
;
padding-left
:
20px
;
font-weight
:
bold
;
}
a
:hover
{
color
:
#9a9a9a
;
}
}
}
.header-tools
{
li
{
float
:
left
;
padding
:
0
2px
;
margin
:
0
12px
;
>
a
:
hover
{
color
:
#9a9a9a
;
}
}
.tag-phone
,
.tag-bag
{
padding-right
:
6px
;
margin-right
:
8px
;
position
:
relative
;
&:hover
{
color
:
#9a9a9a
;
height
:
50px
;
cursor
:
pointer
;
}
&
:hover
>
a
{
color
:
#9a9a9a
;
}
&
:hover
.mini-bag-box-wrap
{
display
:
block
;
}
}
.tag-phone
:hover
{
.down-app-box
{
display
:
block
;
}
}
.mini-bag-box-wrap
{
display
:
none
;
}
.tools-icon
{
width
:
20px
;
height
:
20px
;
line-height
:
20px
;
font-size
:
16px
;
color
:
#1b1b1b
;
display
:
inline-block
;
position
:
relative
;
top
:
1px
;
}
.bag-num
{
font-size
:
12px
;
font-weight
:
bold
;
color
:
#fff
;
display
:
inline-block
;
transform
:
scale
(
0.8
,
0.8
);
}
.down-app-box
{
width
:
230px
;
color
:
#1b1b1b
;
font-size
:
14px
;
font-weight
:
normal
;
padding
:
20px
0
;
margin-left
:
-86px
;
line-height
:
1.5
;
border
:
1px
solid
#eee
;
background
:
#fff
;
position
:
absolute
;
z-index
:
50
;
text-align
:
center
;
display
:
none
;
.down-qr
{
display
:
inline-block
;
width
:
138px
;
height
:
138px
;
background-image
:
resolve
(
"layout/qr.png"
);
}
p
{
margin
:
20px
0
;
}
.more-app
{
color
:
#ccc
;
}
}
.mini-bag-box
{
width
:
370px
;
padding
:
18px
;
border
:
1px
solid
#eee
;
font-weight
:
normal
;
background
:
#fff
;
position
:
absolute
;
z-index
:
50
;
right
:
0
;
display
:
none
;
.bag-content
{
font-size
:
14px
;
line-height
:
1.5
;
padding
:
280px
0
130px
;
text-align
:
center
;
color
:
#1b1b1b
;
background
:
resolve
(
"layout/empty-bag.svg"
)
no-repeat
center
30%
;
background-size
:
115px
130px
;
display
:
none
;
}
.bag-content
.cn
{
font-size
:
20px
;
font-weight
:
bold
;
margin-bottom
:
10px
;
}
.bag-goods
{
background
:
#fff
;
}
.mini-goods-list-wrap
{
width
:
340px
;
max-height
:
350px
;
display
:
block
;
overflow-x
:
hidden
;
}
.go-bag-btn
{
font-size
:
20px
;
line-height
:
1
;
padding-top
:
22px
;
border-top
:
1px
solid
#ddd
;
text-align
:
center
;
}
}
.mini-bag-box.bag-empty
{
.bag-goods
{
display
:
none
;
}
.bag-content
{
display
:
block
;
}
}
.goods-item
{
line-height
:
2
;
padding
:
6px
0
;
color
:
#1b1b1b
;
font-size
:
14px
;
&
>
*
{
float
:
left
;
}
.thumb
{
width
:
58px
;
height
:
64px
;
}
.name
{
width
:
150px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
display
:
block
;
cursor
:
pointer
;
}
.info
{
width
:
160px
;
padding-left
:
10px
;
}
.price
{
width
:
100px
;
text-align
:
right
;
}
.del-good-btn
{
cursor
:
pointer
;
color
:
#999
;
&:hover
{
color
:
#1b1b1b
;
}
}
}
}
}
.blk-nav
{
.main-nav
{
height
:
80px
;
.main-nav-list
{
li
{
float
:
left
;
height
:
21px
;
margin-top
:
38px
;
margin-right
:
30px
;
font-weight
:
bold
;
}
li
>
a
{
color
:
#999
;
}
.cur
{
border-bottom
:
2px
solid
#1b1b1b
;
}
.cur
>
a
{
color
:
#1b1b1b
;
}
li
:hover
>
a
{
color
:
#1b1b1b
;
}
}
.main-logo
{
width
:
200px
;
height
:
30px
;
left
:
50%
;
position
:
absolute
;
margin-left
:
-100px
;
margin-top
:
30px
;
background
:
resolve
(
"layout/blk-logo.svg"
)
no-repeat
center
center
;
background-size
:
100%
;
a
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
}
}
.sub-nav
{
height
:
44px
;
background
:
#1b1b1b
;
.sub-nav-list
{
max-width
:
94%
;
display
:
inline-block
;
line-height
:
46px
;
height
:
44px
;
font-size
:
14px
;
li
{
float
:
left
;
margin-left
:
66px
;
}
li
:first-child
{
margin-left
:
0
;
}
li
>
a
{
color
:
#fff
;
}
li
:hover
>
a
{
display
:
inline-block
;
height
:
40px
;
color
:
#219dd6
;
/* border-bottom: 2px solid #fff; */
}
}
.search-entry
{
float
:
right
;
width
:
50px
;
height
:
44px
;
line-height
:
46px
;
text-align
:
center
;
position
:
relative
;
color
:
#fff
;
cursor
:
pointer
;
.iconfont
{
font-size
:
16px
;
}
}
.search-wrapper
{
width
:
360px
;
padding
:
6px
0
16px
;
font-size
:
14px
;
top
:
44px
;
right
:
0
;
position
:
absolute
;
background
:
#1b1b1b
;
text-align
:
left
;
display
:
none
;
z-index
:
10
;
}
.search-input
{
font-size
:
16px
;
padding
:
0
20px
;
.search-key
{
width
:
260px
;
height
:
30px
;
padding
:
0
10px
;
background
:
none
;
border
:
none
;
color
:
#fff
;
}
.clear-input
{
display
:
none
;
}
form
{
border-bottom
:
1px
solid
#fff
;
}
}
.search-hint
{
display
:
none
;
li
{
line-height
:
30px
;
padding
:
0
20px
;
}
.cur
{
background
:
#1b1b1b
;
}
a
{
color
:
#fff
;
}
}
.hot-search
{
line-height
:
65px
;
margin
:
0
20px
;
border-top
:
1px
solid
#fff
;
a
{
color
:
#fff
;
margin-right
:
15px
;
}
}
}
.third-nav-wrapper
{
padding
:
30px
0
;
font-size
:
14px
;
position
:
absolute
;
background
:
#fff
;
width
:
100%
;
left
:
0
;
display
:
none
;
z-index
:
10
;
top
:
174px
;
dl
{
float
:
left
;
height
:
384px
;
line-height
:
1
;
box-sizing
:
border-box
;
border-left
:
1px
solid
#eee
;
padding
:
0
20px
;
&:first-child
{
border-left
:
0
;
padding-left
:
0
;
}
>
*
{
width
:
230px
;
height
:
40px
;
}
a
{
color
:
#666
;
}
}
dt
>
a
{
color
:
#1b1b1b
;
font-weight
:
bold
;
display
:
inline-block
;
border-bottom
:
1px
solid
#1b1b1b
;
}
.hot
{
color
:
#fc0d1b
;
font-size
:
16px
;
margin-left
:
10px
;
}
.show-detail
{
float
:
right
;
}
}
}
...
...
Please
register
or
login
to post a comment