|
|
$pageBgC:#f0f0f0;
|
|
|
$mainFontC:#444444;
|
|
|
$subFontC:#b0b0b0;
|
|
|
$borderC:#e0e0e0;
|
|
|
$tableCellC:#eee;
|
|
|
$basicBtnC:#eb0313;
|
|
|
|
|
|
.good-detail-page {
|
|
|
overflow: hidden;
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
|
.yoho-tip {
|
|
|
z-index: 4;
|
|
|
}
|
|
|
|
|
|
.page-block {
|
|
|
background-color: #fff;
|
|
|
box-sizing: border-box;
|
|
|
width: 100%;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-top: 1px solid $borderC;
|
|
|
padding: 0 28px;
|
|
|
margin-bottom: 30px;
|
|
|
>.title {
|
|
|
line-height: 88px;
|
|
|
color: $mainFontC;
|
|
|
font-size: 28px;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
span {
|
|
|
color: #a0a0a0;
|
|
|
font-size: 18px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.pro-detail {
|
|
|
margin-top: 20px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.detail {
|
|
|
margin-top: 20px;
|
|
|
margin-bottom: 20px;
|
|
|
font-size: 24px;
|
|
|
line-height: 36px;
|
|
|
|
|
|
b {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
i {
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
&.table {
|
|
|
.js-wraper {
|
|
|
@include flexbox((
|
|
|
display: box,
|
|
|
box-lines: multiple,
|
|
|
box-pack: start
|
|
|
), $version: 1);
|
|
|
@include flexbox((
|
|
|
display: flex,
|
|
|
flex-wrap: wrap,
|
|
|
justify-content: flex-start
|
|
|
));
|
|
|
}
|
|
|
width: 100%;
|
|
|
.column {
|
|
|
box-sizing: border-box;
|
|
|
/*padding: 20px 12px;*/
|
|
|
padding: 6px 3%;
|
|
|
width: 49.9%;
|
|
|
border: 1px solid #fff;
|
|
|
font-size: 24px;
|
|
|
background-color: $tableCellC;
|
|
|
word-wrap: break-word;
|
|
|
@include flexbox((
|
|
|
box-flex: 1.0,
|
|
|
display: box,
|
|
|
box-align: center
|
|
|
), $version: 1);
|
|
|
@include flexbox((
|
|
|
display: flex,
|
|
|
align-items: center,
|
|
|
flex-basis: 49.9%
|
|
|
))
|
|
|
}
|
|
|
.oldbox{
|
|
|
padding: 6px 3%;
|
|
|
width: 49.9%;
|
|
|
background-color: $tableCellC;
|
|
|
box-sizing: border-box;
|
|
|
border: 1px solid #fff;
|
|
|
width: 49.9%;
|
|
|
height: 100%;
|
|
|
float: left;
|
|
|
text-overflow:ellipsis;
|
|
|
white-space:nowrap;
|
|
|
overflow:hidden;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.my-swiper-button-prev,
|
|
|
.my-swiper-button-next {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
width: 48px;
|
|
|
height: 48px;
|
|
|
margin-top: -44px;
|
|
|
cursor: pointer;
|
|
|
color: #666;
|
|
|
font-size: 48px;
|
|
|
&.swiper-button-disabled{
|
|
|
opacity: .3;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.next-grey {
|
|
|
right: 30px;
|
|
|
left: auto;
|
|
|
}
|
|
|
|
|
|
.prev-grey {
|
|
|
left: 30px;
|
|
|
right: auto;
|
|
|
}
|
|
|
|
|
|
|
|
|
.tag-container {
|
|
|
position: absolute;
|
|
|
left: 108px;
|
|
|
top: 40px;
|
|
|
height: 35px;
|
|
|
color: #fff;
|
|
|
font-size: 20px;
|
|
|
line-height: 35px;
|
|
|
z-index: 2;
|
|
|
.good-tag {
|
|
|
display: inline-block;
|
|
|
box-sizing: border-box;
|
|
|
margin-left: .5px;
|
|
|
font-size: 18px;
|
|
|
text-align: center;
|
|
|
padding:1px 5px;
|
|
|
}
|
|
|
.new-tag {
|
|
|
background-color: #78dc7e;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.renew-tag {
|
|
|
background-color: #78dc7e;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.sale-tag {
|
|
|
background-color: #ff575c;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.new-festival-tag {
|
|
|
background-color: #000;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.yohood-tag {
|
|
|
background-color: #000;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.limit-tag {
|
|
|
border: 1px solid #000;
|
|
|
background-color: #fff;
|
|
|
color: #000;
|
|
|
}
|
|
|
.soonSoldOut-tag {
|
|
|
background-color: #ffac5b;
|
|
|
color: #fff;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.banner-container {
|
|
|
position: relative;
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
.banner-top-single{
|
|
|
margin:0 auto;
|
|
|
overflow: hidden;
|
|
|
img{
|
|
|
width: 448px;
|
|
|
margin-top:30px;
|
|
|
margin-bottom:30px;
|
|
|
}
|
|
|
}
|
|
|
.banner-top {
|
|
|
min-height: 660px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
.swiper-pagination {
|
|
|
position: absolute;
|
|
|
z-index: 2;
|
|
|
bottom: 40px;
|
|
|
.pagination-inner {
|
|
|
span {
|
|
|
background-color: #b0b0b0;
|
|
|
}
|
|
|
.swiper-pagination-bullet {
|
|
|
margin-right: 2px;
|
|
|
}
|
|
|
.swiper-pagination-bullet-active {
|
|
|
background-color: #000;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.banner-swiper {
|
|
|
min-height: 600px;
|
|
|
min-width: 448px;
|
|
|
margin: 30px 96px;
|
|
|
overflow: hidden;
|
|
|
ul {
|
|
|
position: relative;
|
|
|
height: auto;
|
|
|
li {
|
|
|
float: left;
|
|
|
img {
|
|
|
height: auto;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.goodsName {
|
|
|
box-sizing: border-box;
|
|
|
width: 100%;
|
|
|
font-size: 28px;
|
|
|
color: #fff;
|
|
|
padding: 20px 28px;
|
|
|
line-height: 48px;
|
|
|
background-color: #515150;
|
|
|
}
|
|
|
.goodsSubtitle {
|
|
|
/*display: table;*/
|
|
|
height: 88px;
|
|
|
font-size: 24px;
|
|
|
color: $subFontC;
|
|
|
padding-left: 28px;
|
|
|
padding-right: 28px;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
background-color: $pageBgC;
|
|
|
@include flexbox((
|
|
|
box-flex: 1.0,
|
|
|
display: box,
|
|
|
box-align: center
|
|
|
), $version: 1);
|
|
|
@include flexbox((
|
|
|
display: flex,
|
|
|
align-items: center
|
|
|
));
|
|
|
span{
|
|
|
/*display: table-cell;*/
|
|
|
display: -webkit-box;
|
|
|
line-height: 36px;
|
|
|
margin: 0;
|
|
|
text-overflow: -o-ellipsis-lastline;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
-webkit-line-clamp: 2;
|
|
|
-webkit-box-orient: vertical;
|
|
|
}
|
|
|
}
|
|
|
.price-date {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
color: $subFontC;
|
|
|
height: 88px;
|
|
|
padding-left: 28px;
|
|
|
padding-right: 28px;
|
|
|
background-color: #fff;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
}
|
|
|
|
|
|
.limit-sale {
|
|
|
position: absolute;
|
|
|
right: 84px;
|
|
|
top: 24px;
|
|
|
color: #d0021b;
|
|
|
border: 2px solid #d0021b;
|
|
|
background-color: #fff;
|
|
|
border-radius: 40px;
|
|
|
padding: 4px 20px;
|
|
|
font-size: 24px;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.limit-sale:active {
|
|
|
background-color: #f0f0f0;
|
|
|
}
|
|
|
|
|
|
.got-limit-sale {
|
|
|
position: absolute;
|
|
|
right: 84px;
|
|
|
top: 24px;
|
|
|
color: #d0021b;
|
|
|
border: 2px solid #d0021b;
|
|
|
background-color: #fff;
|
|
|
border-radius: 40px;
|
|
|
padding: 4px 20px;
|
|
|
font-size: 24px;
|
|
|
font-weight: bold;
|
|
|
color: #ccc;
|
|
|
border-color: #ccc;
|
|
|
}
|
|
|
|
|
|
.goodsPrice {
|
|
|
float: left;
|
|
|
font-size: 34.59px;
|
|
|
h1 {
|
|
|
display: inline-block;
|
|
|
line-height: 88px;
|
|
|
}
|
|
|
.currentPrice {
|
|
|
color: #d0021b;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
.previousPrice {
|
|
|
text-decoration: line-through;
|
|
|
}
|
|
|
}
|
|
|
.periodOfMarket {
|
|
|
font-size: 24px;
|
|
|
float: right;
|
|
|
color: #d0021b;
|
|
|
margin-right: 1.4rem;
|
|
|
h1 {
|
|
|
display: inline-block;
|
|
|
line-height: 88px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.vip-level {
|
|
|
box-sizing: box-border;
|
|
|
padding-left: 28px;
|
|
|
padding-right: 28px;
|
|
|
min-height: 88px;
|
|
|
background-color: #fff;
|
|
|
font-size: 22px;
|
|
|
color: #999999;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
.icons-item {
|
|
|
float: left;
|
|
|
width: 33.3%;
|
|
|
height: 88px;
|
|
|
margin: 0;
|
|
|
&.current-level{
|
|
|
.vip-price{
|
|
|
color:#d0021b;
|
|
|
}
|
|
|
}
|
|
|
span {
|
|
|
vertical-align: middle;
|
|
|
display: inline-block;
|
|
|
line-height: 88px;
|
|
|
padding-left: 8px;
|
|
|
}
|
|
|
.vip-img {
|
|
|
width: 53px;
|
|
|
height: 32px;
|
|
|
}
|
|
|
&:nth-child(1) {
|
|
|
text-align: left;
|
|
|
.vip-img {
|
|
|
background: resolve('product/silver.png') no-repeat;
|
|
|
}
|
|
|
}
|
|
|
&:nth-child(2) {
|
|
|
.vip-img {
|
|
|
background: resolve('product/golden.png') no-repeat;
|
|
|
}
|
|
|
}
|
|
|
&:nth-child(3) {
|
|
|
text-align: right;
|
|
|
.vip-img {
|
|
|
background: resolve('product/platinum.png') no-repeat;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.goodsDiscount {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
height:auto;
|
|
|
font-size: 28px;
|
|
|
color: $mainFontC;
|
|
|
background-color: #fff;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
h1 {
|
|
|
position: relative;
|
|
|
padding: 30px 60px 30px 28px;
|
|
|
line-height: 36px;
|
|
|
}
|
|
|
|
|
|
.short-text {
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
.iconfont {
|
|
|
position: absolute;
|
|
|
top: 30px;
|
|
|
right: 36px;
|
|
|
width: 35px;
|
|
|
font-size: 45px;
|
|
|
float: right;
|
|
|
color: #e0e0e0;
|
|
|
/*padding-left:50px;*/
|
|
|
}
|
|
|
.discount-folder {
|
|
|
.folder-item {
|
|
|
border-top: 1px solid $borderC;
|
|
|
}
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
.enter-store {
|
|
|
position: relative;
|
|
|
padding: 0 180px 0 114px;
|
|
|
line-height: 84px;
|
|
|
background-color: #fff;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
.store-logo {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 1px;
|
|
|
width: 68px;
|
|
|
height: 84px;
|
|
|
margin-left: 30px;
|
|
|
font-size: 0;
|
|
|
text-align: center;
|
|
|
img {
|
|
|
display: inline-block;
|
|
|
width: auto;
|
|
|
height: 68px;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
}
|
|
|
.store-name {
|
|
|
font-size: 34px;
|
|
|
color: $mainFontC;
|
|
|
}
|
|
|
.store-link {
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
top: 1px;
|
|
|
padding-right: 30px;
|
|
|
font-size: 28px;
|
|
|
color: $subFontC;
|
|
|
text-align: right;
|
|
|
span {
|
|
|
font-size: inherit;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
/*底部固定栏*/
|
|
|
.cart-bar {
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|
|
|
width: 100%;
|
|
|
height: 120px;
|
|
|
position: fixed;
|
|
|
bottom: 0;
|
|
|
background-color: #fff;
|
|
|
z-index: 2;
|
|
|
padding: 20px 28px;
|
|
|
text-align: center;
|
|
|
border-top: 1px solid $borderC;
|
|
|
a {
|
|
|
display: inline-block;
|
|
|
&.num-incart {
|
|
|
font-size: 47px;
|
|
|
color: #444;
|
|
|
}
|
|
|
&.favorite {
|
|
|
font-size: 34px;
|
|
|
color: #ccc
|
|
|
}
|
|
|
&.favorite.liked {
|
|
|
color: $basicBtnC;
|
|
|
;
|
|
|
}
|
|
|
&.addto-cart,
|
|
|
&.sold-out {
|
|
|
height: 80px;
|
|
|
width: 260px;
|
|
|
margin: 0 100px 0 115px;
|
|
|
color: #fff;
|
|
|
background-color: $basicBtnC;
|
|
|
font-size: 32px;
|
|
|
line-height: 80px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
&.sold-out {
|
|
|
background-color: #f58189;
|
|
|
}
|
|
|
}
|
|
|
.num-tag {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 48px;
|
|
|
width: 72px;
|
|
|
height: 72px;
|
|
|
font-size: 40px;
|
|
|
line-height: 72px;
|
|
|
color: #fff;
|
|
|
background: $basicBtnC;
|
|
|
text-align: center;
|
|
|
border-radius: 50%;
|
|
|
transform: scale(0.5);
|
|
|
|
|
|
&.hide{
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.recommend-for-you{
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
.yoho-tip{
|
|
|
top:40%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@import "comments-consults";
|
|
|
@import "product-description"; |
...
|
...
|
|