|
|
$pageMainWidth: 1180px;
|
|
|
.yoho-nav {
|
|
|
width: 100%;
|
|
|
height: 34px;
|
|
|
line-height: 34px;
|
|
|
background: #f4f4f4;
|
|
|
border-bottom: 1px solid #d8d8d8;
|
|
|
ul {
|
|
|
float: left;
|
|
|
padding-left: 10px;
|
|
|
li {
|
|
|
float: left;
|
|
|
position: relative;
|
|
|
width: 100px;
|
|
|
cursor: pointer;
|
|
|
span {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
line-height: 37px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
a {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
text-align: center;
|
|
|
color: #000000;
|
|
|
line-height: 37px;
|
|
|
display: none;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
li.current {
|
|
|
height: 35px;
|
|
|
line-height: 35px;
|
|
|
border-right: 1px solid #d8d8d8;
|
|
|
border-left: 1px solid #d8d8d8;
|
|
|
background: #fff;
|
|
|
}
|
|
|
li:hover {
|
|
|
span {
|
|
|
display: none;
|
|
|
}
|
|
|
a {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.contact-btn {
|
|
|
float: right;
|
|
|
margin: 0 15px;
|
|
|
color: #aaaaaa;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.header {
|
|
|
width: 100%;
|
|
|
padding: 14px 0 0 0;
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
margin: 0 0 21px 0;
|
|
|
height: 88px;
|
|
|
background: url("../images/yohood/logo.png") no-repeat center center;
|
|
|
}
|
|
|
|
|
|
@keyframes rainbow {
|
|
|
90% {
|
|
|
border-radius: 50%;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 144px;
|
|
|
margin: -50px 0 0 -16px;
|
|
|
}
|
|
|
100% {
|
|
|
border-radius: 0;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 44px;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes rainbow {
|
|
|
90% {
|
|
|
border-radius: 50%;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 144px;
|
|
|
margin: -50px 0 0 -16px;
|
|
|
}
|
|
|
100% {
|
|
|
border-radius: 0;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 44px;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@-moz-keyframes rainbow {
|
|
|
90% {
|
|
|
border-radius: 50%;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 144px;
|
|
|
margin: -50px 0 0 -16px;
|
|
|
}
|
|
|
100% {
|
|
|
border-radius: 0;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 44px;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@-ms-keyframes rainbow {
|
|
|
90% {
|
|
|
border-radius: 50%;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 144px;
|
|
|
margin: -50px 0 0 -16px;
|
|
|
}
|
|
|
100% {
|
|
|
border-radius: 0;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 44px;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes rainbow {
|
|
|
90% {
|
|
|
border-radius: 50%;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 144px;
|
|
|
margin: -50px 0 0 -16px;
|
|
|
}
|
|
|
100% {
|
|
|
border-radius: 0;
|
|
|
width: $pageMainWidth / 6;
|
|
|
height: 44px;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.nav {
|
|
|
border-top: 1px solid #000;
|
|
|
border-bottom: 1px solid #000;
|
|
|
overflow: hidden;
|
|
|
ul {
|
|
|
width: $pageMainWidth;
|
|
|
$navItemWidth: $pageMainWidth / 6;
|
|
|
margin: 0 auto;
|
|
|
li {
|
|
|
position: relative;
|
|
|
float: left;
|
|
|
line-height: 44px;
|
|
|
height: 44px;
|
|
|
width: $navItemWidth;
|
|
|
em {
|
|
|
position: relative;
|
|
|
z-index: 10;
|
|
|
width: $navItemWidth;
|
|
|
display: none;
|
|
|
font-size: 14px;
|
|
|
color: #fff;
|
|
|
font-weight: normal;
|
|
|
font-style: normal;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
span {
|
|
|
display: block;
|
|
|
text-align: center;
|
|
|
font-size: 14px;
|
|
|
color: #000;
|
|
|
}
|
|
|
i {
|
|
|
display: none;
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
width: 44px;
|
|
|
height: 44px;
|
|
|
margin-left: -22px;
|
|
|
margin-top: -22px;
|
|
|
border-radius: 50%;
|
|
|
background: #000;
|
|
|
z-index: 9;
|
|
|
}
|
|
|
}
|
|
|
li.animate,
|
|
|
li.current {
|
|
|
span {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
li.current {
|
|
|
em {
|
|
|
display: block;
|
|
|
background: #000;
|
|
|
text-align: center;
|
|
|
}
|
|
|
i {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
li.animate em {
|
|
|
display: block;
|
|
|
text-align: center;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
li.animate i {
|
|
|
display: block;
|
|
|
animation: .5s rainbow forwards;
|
|
|
-webkit-animation: .5s rainbow forwards;
|
|
|
-moz-animation: .5s rainbow forwards;
|
|
|
-ms-animation: .5s rainbow forwards;
|
|
|
width: 122px\9;
|
|
|
margin-left: 0\9;
|
|
|
left: 0\9;
|
|
|
width: 122px\0;
|
|
|
margin-left: 0\0;
|
|
|
left: 0\0;
|
|
|
border-radius: 0\0;
|
|
|
/* -webkit-transition: all 1s 1s; */
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.slide-main {
|
|
|
width: $pageMainWidth;
|
|
|
margin: 0 auto;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.slide-box {
|
|
|
position: relative;
|
|
|
margin: 0;
|
|
|
overflow: hidden;
|
|
|
.slide-wrap {
|
|
|
height: 468px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
.box {
|
|
|
float: left;
|
|
|
width: 100%;
|
|
|
position: relative;
|
|
|
img {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.slide-navigator {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
bottom: 10px;
|
|
|
text-align: center;
|
|
|
.dib {
|
|
|
display: inline-block;
|
|
|
*display: inline !important;
|
|
|
zoom: 1;
|
|
|
a {
|
|
|
float: left;
|
|
|
width: 11px;
|
|
|
height: 11px;
|
|
|
margin: 0 10px 0 0;
|
|
|
background-image: url("../images/yohood/greydot-2x.png");
|
|
|
background-image: url("../images/yohood/greydot.png") \9;
|
|
|
background-size: 100% 100%;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.on {
|
|
|
background-image: url("../images/yohood/blackdot-2x.png");
|
|
|
background-image: url("../images/yohood/blackdot.png") \9;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.slide-control {
|
|
|
a {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
margin: -28px 0 0 0;
|
|
|
font-size: 48px;
|
|
|
color: #FFF;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.slide-prev {
|
|
|
left: 70px;
|
|
|
}
|
|
|
.slide-next {
|
|
|
right: 70px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.content-tab {
|
|
|
margin: 30px 0 0 0;
|
|
|
text-align: center;
|
|
|
ul {
|
|
|
display: inline-block;
|
|
|
*display: inline !important;
|
|
|
*zoom: 1;
|
|
|
li {
|
|
|
float: left;
|
|
|
margin-left: 18px;
|
|
|
a {
|
|
|
display: block;
|
|
|
padding: 0 10px;
|
|
|
line-height: 30px;
|
|
|
color: #000;
|
|
|
border: 1px solid #000;
|
|
|
border-radius: 2px;
|
|
|
font-size: 14px;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
&:first-child {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
li.current a {
|
|
|
background: #000;
|
|
|
color: #fff;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.main-layout {
|
|
|
$mainLayoutWidth: $pageMainWidth;
|
|
|
$layoutItemWidth: 342px;
|
|
|
margin: 0 auto;
|
|
|
.layout-item {
|
|
|
float: left;
|
|
|
overflow: hidden;
|
|
|
width: $layoutItemWidth;
|
|
|
height: 420px;
|
|
|
margin: 0 floor(($mainLayoutWidth - $layoutItemWidth * 3) / 6) 26px;
|
|
|
.image-box {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
width: 342px;
|
|
|
height: 218px;
|
|
|
a {
|
|
|
img {
|
|
|
display: block;
|
|
|
margin: 0 auto;
|
|
|
max-width: 100%;
|
|
|
}
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.play-icon {
|
|
|
position: absolute;
|
|
|
width: 50px;
|
|
|
height: 43px;
|
|
|
background: url("../images/yohood/play.png");
|
|
|
background-size: 100% 100%;
|
|
|
left: 50%;
|
|
|
top: 50%;
|
|
|
margin: -22px 0 0 -25px;
|
|
|
}
|
|
|
.play-icon.small {
|
|
|
background: url("../images/yohood/play-small.png");
|
|
|
}
|
|
|
}
|
|
|
.item-info {
|
|
|
$itemInfoHeight: 20px;
|
|
|
height: $itemInfoHeight;
|
|
|
line-height: $itemInfoHeight;
|
|
|
margin: 26px 0 0;
|
|
|
.item-tag {
|
|
|
display: inline-block;
|
|
|
width: auto;
|
|
|
height: auto;
|
|
|
padding: 0 11px;
|
|
|
background: #000;
|
|
|
line-height: $itemInfoHeight;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.brand-info {
|
|
|
background: #1a72ff;
|
|
|
}
|
|
|
.activity-intro {
|
|
|
background-color: #ffc000;
|
|
|
}
|
|
|
.spotlight-activity {
|
|
|
background-color: #ff365c;
|
|
|
}
|
|
|
.limited-edition {
|
|
|
background-color: #21dbcc;
|
|
|
}
|
|
|
.item-time {
|
|
|
float: right;
|
|
|
margin: 0;
|
|
|
color: #b2b2b2;
|
|
|
font-size: 12px;
|
|
|
background: #fff;
|
|
|
}
|
|
|
}
|
|
|
.content {
|
|
|
margin: 26px 0 0 0;
|
|
|
h2 {
|
|
|
a {
|
|
|
line-height: 24px;
|
|
|
font-size: 20px;
|
|
|
font-weight: bold;
|
|
|
color: #000;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
a {
|
|
|
color: #000;
|
|
|
}
|
|
|
p {
|
|
|
margin: 24px 0 0 0;
|
|
|
font-size: 14px;
|
|
|
color: #000;
|
|
|
line-height: 20px;
|
|
|
word-wrap: break-word;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.pagination {
|
|
|
margin: 30px 0 0;
|
|
|
text-align: center;
|
|
|
.pagination-inner {
|
|
|
display: inline-block;
|
|
|
*display: inline !important;
|
|
|
zoom: 1;
|
|
|
a {
|
|
|
float: left;
|
|
|
margin: 0 10px 0;
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
line-height: 30px;
|
|
|
font-size: 14px;
|
|
|
color: #999997;
|
|
|
border: 1px solid #000;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.current {
|
|
|
background: #000;
|
|
|
color: #fff;
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.cooperation-list {
|
|
|
width: 1005px;
|
|
|
margin: 12px 0 0 0;
|
|
|
li {
|
|
|
float: left;
|
|
|
margin: 0 27px 27px 0;
|
|
|
a {
|
|
|
display: block;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.img-box {
|
|
|
width: 172px;
|
|
|
height: 116px;
|
|
|
overflow: hidden;
|
|
|
border: 1px solid #e0e0e0;
|
|
|
display: table-cell;
|
|
|
vertical-align: middle;
|
|
|
text-align: center;
|
|
|
&:hover {
|
|
|
border: 1px solid #000;
|
|
|
}
|
|
|
}
|
|
|
p {
|
|
|
margin: 16px 0 0 0;
|
|
|
line-height: 16px;
|
|
|
text-align: center;
|
|
|
color: #000;
|
|
|
}
|
|
|
}
|
|
|
li.current {
|
|
|
.img-box {
|
|
|
border: 1px solid #000;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.limited-goods {
|
|
|
position: relative;
|
|
|
padding: 30px 0 50px 0;
|
|
|
background: #333333;
|
|
|
h2 {
|
|
|
font-size: 24px;
|
|
|
color: #8b8b8b;
|
|
|
font-weight: bold;
|
|
|
text-align: center;
|
|
|
background: url("../images/yohood/limited-line.png") no-repeat center center;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.limited-slide-box {
|
|
|
position: relative;
|
|
|
width: 944px;
|
|
|
margin: 28px auto 0;
|
|
|
overflow: hidden;
|
|
|
.slide-wrap {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.box {
|
|
|
width: 944px;
|
|
|
position: relative;
|
|
|
float: left;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.goods-list {
|
|
|
float: left;
|
|
|
width: 992px;
|
|
|
background: #333333;
|
|
|
li {
|
|
|
float: left;
|
|
|
width: 150px;
|
|
|
margin: 0 48px 0 0;
|
|
|
.img-box {
|
|
|
position: relative;
|
|
|
height: 200px;
|
|
|
text-align: center;
|
|
|
overflow: hidden;
|
|
|
img {
|
|
|
width: 100%;
|
|
|
}
|
|
|
span {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
bottom: 0;
|
|
|
width: 55px;
|
|
|
height: 25px;
|
|
|
line-height: 25px;
|
|
|
background: #000;
|
|
|
color: #fff;
|
|
|
font-size: 14px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
span.red {
|
|
|
background: #ef3d00;
|
|
|
}
|
|
|
}
|
|
|
.goods-name {
|
|
|
margin: 5px 0 0 0;
|
|
|
line-height: 18px;
|
|
|
font-size: 14px;
|
|
|
color: #ccc;
|
|
|
}
|
|
|
.price {
|
|
|
margin: 6px 0 0 0;
|
|
|
line-height: 18px;
|
|
|
color: #ccc;
|
|
|
font-size: 12px;
|
|
|
.original-price {
|
|
|
color: #999;
|
|
|
text-decoration: line-through;
|
|
|
margin-right: 4px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.limited-slide-control {
|
|
|
position: absolute;
|
|
|
height: 200px;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
top: 94px;
|
|
|
a {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
font-size: 30px;
|
|
|
color: #ebebeb;
|
|
|
margin-top: -22px;
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
}
|
|
|
.limited-slide-prev {
|
|
|
margin-left: -510px;
|
|
|
}
|
|
|
.limited-slide-next {
|
|
|
margin-left: 480px;
|
|
|
}
|
|
|
.disable {
|
|
|
color: #4a4a4a;
|
|
|
cursor: default;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.return-top {
|
|
|
position: fixed;
|
|
|
bottom: 440px;
|
|
|
left: 50%;
|
|
|
margin-left: 600px;
|
|
|
a {
|
|
|
color: #000;
|
|
|
}
|
|
|
span {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.img-zoom {
|
|
|
display: none;
|
|
|
position: fixed;
|
|
|
z-index: 102;
|
|
|
left: 50%;
|
|
|
top: 50%;
|
|
|
img {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.img-zoom.show {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.overlay {
|
|
|
display: none;
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
background: #000 \9;
|
|
|
filter: alpha(opacity=50) \9;
|
|
|
width: 100% \9;
|
|
|
height: 100% \9;
|
|
|
z-index: 101;
|
|
|
}
|
|
|
|
|
|
.overlay.show {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.share {
|
|
|
position: absolute;
|
|
|
z-index: 99;
|
|
|
left: 50%;
|
|
|
top: 367px;
|
|
|
margin-left: -596px;
|
|
|
h4 {
|
|
|
font-size: 14px;
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
li {
|
|
|
position: relative;
|
|
|
width: 34px;
|
|
|
height: 34px;
|
|
|
margin-bottom: 13px;
|
|
|
img {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
.wx-qrcode-dialog {
|
|
|
display: none;
|
|
|
position: absolute;
|
|
|
background: url("../images/yohood/share-wx-bg.png");
|
|
|
width: 223px;
|
|
|
height: 220px;
|
|
|
left: 50px;
|
|
|
top: -88px;
|
|
|
padding: 12px 0 0 0;
|
|
|
text-align: center;
|
|
|
.wx-popup-hd {
|
|
|
margin-bottom: 5px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.wx-popup-bd {
|
|
|
width: 125px;
|
|
|
height: 125px;
|
|
|
margin: 0 auto;
|
|
|
img {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
.wx-popup-ft {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.ft {
|
|
|
width: 100%;
|
|
|
} |