|
|
$mainFontC:#444444;
|
|
|
$subFontC:#b0b0b0;
|
|
|
$borderC:#e0e0e0;
|
|
|
$tableCellC:#eee;
|
|
|
|
|
|
@function pxToRem($px){
|
|
|
@return $px*1rem/$pxConvertRem;
|
|
|
}
|
|
|
|
|
|
.good-detail-page {
|
|
|
|
|
|
.banner-top {
|
|
|
height: 660rem / $pxConvertRem;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
/* basic component */
|
|
|
.page-block{
|
|
|
box-sizing:border-box;
|
|
|
width: 100%;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-top: 1px solid $borderC;
|
|
|
padding: 0 pxToRem(28);
|
|
|
.title{
|
|
|
min-height: pxToRem(88);
|
|
|
line-height: pxToRem(88);
|
|
|
color: $mainFontC;
|
|
|
font:{
|
|
|
size : pxToRem(28);
|
|
|
}
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
|
|
|
.swiper-pagination {
|
|
|
span{
|
|
|
color:#a0a0a0;
|
|
|
font:{
|
|
|
size:pxToRem(18);
|
|
|
}
|
|
|
// vertical-align: baseline;
|
|
|
}
|
|
|
}
|
|
|
.detail{
|
|
|
margin-top: pxToRem(20);
|
|
|
margin-bottom: pxToRem(20);
|
|
|
table {
|
|
|
width: 100%;
|
|
|
tbody td{
|
|
|
padding: 0.4em 0.8em;
|
|
|
border:3px solid white;
|
|
|
font-size: pxToRem(24);
|
|
|
background-color: $tableCellC;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.gap-block{
|
|
|
min-height: 30rem/$pxConvertRem;
|
|
|
background-color: #f0f0f0;
|
|
|
}
|
|
|
|
|
|
.banner-container{
|
|
|
position: relative;
|
|
|
// overflow: hidden;
|
|
|
.is-new-lable{
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
bottom: 40rem / $pxConvertRem;
|
|
|
left: pxToRem(108);
|
|
|
top:pxToRem(40);
|
|
|
height: pxToRem(35);
|
|
|
width:pxToRem(70);
|
|
|
|
|
|
color:#fff;
|
|
|
text-align: center;
|
|
|
.pagination-inner {
|
|
|
display: inline-block;
|
|
|
span {
|
|
|
display: inline-block;
|
|
|
width: 14rem / $pxConvertRem;
|
|
|
height: 14rem / $pxConvertRem;
|
|
|
background: #fff;
|
|
|
opacity: 0.5;
|
|
|
margin: 0 (9rem / $pxConvertRem);
|
|
|
border-radius: 50%;
|
|
|
font-size: pxToRem(20);
|
|
|
line-height: pxToRem(35);
|
|
|
background-color: #7cd881;
|
|
|
z-index: 16;
|
|
|
}
|
|
|
span.swiper-active-switch {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
.swiper-pagination-bullet-active {
|
|
|
background-color: #000000;
|
|
|
.banner-top{
|
|
|
// width: 100%;
|
|
|
min-height: 660rem / $pxConvertRem;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
|
|
|
.swiper-pagination{
|
|
|
position:absolute;
|
|
|
bottom: pxToRem(40);
|
|
|
.swiper-pagination-bullet {
|
|
|
margin-right: 2px;
|
|
|
}
|
|
|
.swiper-pagination-bullet-active {
|
|
|
background-color: #000;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.banner-swiper {
|
|
|
height: 600rem / $pxConvertRem;
|
|
|
width: 448rem / $pxConvertRem;
|
|
|
margin: 30rem / $pxConvertRem 96rem / $pxConvertRem;
|
|
|
position: relative;
|
|
|
min-height: pxToRem(600);
|
|
|
min-width: pxToRem(448);
|
|
|
margin: pxToRem(30) pxToRem(96);
|
|
|
// position: relative;
|
|
|
overflow: hidden;
|
|
|
ul {
|
|
|
position: relative;
|
...
|
...
|
@@ -48,124 +105,243 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
.goodsName {
|
|
|
font-size: 28rem / $pxConvertRem;
|
|
|
color: #222222;
|
|
|
padding-bottom: 6px;
|
|
|
text-align: center;
|
|
|
min-height: pxToRem(83);
|
|
|
font-size: pxToRem(28);
|
|
|
color: #fff;
|
|
|
padding-left: pxToRem(25);
|
|
|
padding-right: pxToRem(25);
|
|
|
line-height: pxToRem(36);
|
|
|
background-color: #515150;
|
|
|
}
|
|
|
|
|
|
.goodsTitle {
|
|
|
font-size: 36rem / $pxConvertRem;
|
|
|
text-align: center;
|
|
|
padding-bottom: 2px;
|
|
|
font-weight: bold;
|
|
|
.goodsSubtitle{
|
|
|
min-height: pxToRem(87);
|
|
|
font-size: pxToRem(24);
|
|
|
line-height: pxToRem(36);
|
|
|
color:$subFontC;
|
|
|
padding-left:pxToRem(28);
|
|
|
padding-right:pxToRem(28);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
background-color: #f4f4f4;
|
|
|
}
|
|
|
|
|
|
.price-date{
|
|
|
// width: 100%;
|
|
|
color:$subFontC;
|
|
|
min-height: pxToRem(88);
|
|
|
padding-left:pxToRem(28);
|
|
|
padding-right:pxToRem(28);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
}
|
|
|
.goodsPrice{
|
|
|
float: left;
|
|
|
font-size: pxToRem(34.59);
|
|
|
h1{
|
|
|
display: inline-block;
|
|
|
line-height: pxToRem(88);
|
|
|
}
|
|
|
.currentPrice{
|
|
|
color:red;
|
|
|
margin-right: pxToRem(10);
|
|
|
}
|
|
|
.previousPrice{
|
|
|
text-decoration:line-through;
|
|
|
}
|
|
|
}
|
|
|
.periodOfMarket{
|
|
|
font-size: pxToRem(24);
|
|
|
float: right;
|
|
|
h1{
|
|
|
display: inline-block;
|
|
|
line-height: pxToRem(88);
|
|
|
}
|
|
|
}
|
|
|
.goodsName,
|
|
|
.goodsSubtitle{
|
|
|
// width: 100%;
|
|
|
display:table;
|
|
|
span{
|
|
|
display: table-cell;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
}
|
|
|
.vipLevel {
|
|
|
display: table;
|
|
|
min-height: pxToRem(88);
|
|
|
padding-left:pxToRem(28);
|
|
|
padding-right:pxToRem(28);
|
|
|
font-size: pxToRem(22);
|
|
|
color: #999999;
|
|
|
text-align: center;
|
|
|
padding-bottom: 15px;
|
|
|
}
|
|
|
|
|
|
.goToBuy {
|
|
|
padding: 0 10px;
|
|
|
margin-bottom: 20px;
|
|
|
text-align: center;
|
|
|
overflow: hidden;
|
|
|
.AddFavorite {
|
|
|
background-color: #cccccc;
|
|
|
|
|
|
width: 110rem / $pxConvertRem;
|
|
|
height: 100rem / $pxConvertRem;
|
|
|
line-height: 100rem / $pxConvertRem;
|
|
|
font-size: 1.7em;
|
|
|
color: white;
|
|
|
margin-right: 20rem / $pxConvertRem;
|
|
|
overflow: hidden;
|
|
|
|
|
|
float: left !important;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
span{
|
|
|
display: table-cell;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
.vip-img{
|
|
|
padding-right: pxToRem(22);
|
|
|
img{
|
|
|
width: pxToRem(52);
|
|
|
height: pxToRem(32);
|
|
|
}
|
|
|
}
|
|
|
.vip-price{
|
|
|
padding-right: pxToRem(55);
|
|
|
}
|
|
|
.vip-price:last-child{
|
|
|
padding-right: 0;
|
|
|
}
|
|
|
}
|
|
|
.goodsDiscount{
|
|
|
min-height: pxToRem(88);
|
|
|
padding-left:pxToRem(28);
|
|
|
padding-right:pxToRem(28);
|
|
|
font-size: pxToRem(28);
|
|
|
color: $mainFontC;
|
|
|
line-height: pxToRem(88);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
.iconfont{
|
|
|
// padding-right:28rem/$pxConvertRem;
|
|
|
font-size: inherit;
|
|
|
float: right;
|
|
|
color:#e0e0e0;
|
|
|
text-align: right;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.toBuyNow {
|
|
|
height: 50px;
|
|
|
line-height: 50px;
|
|
|
color: white;
|
|
|
display: block;
|
|
|
margin-left: 2.4em;
|
|
|
font-size: 1.84em;
|
|
|
overflow: hidden;
|
|
|
font-weight: bold;
|
|
|
.feedback-list-page {
|
|
|
padding-top: pxToRem(30);
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
|
background-color: #ed0010;
|
|
|
.nav-tab{
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
.nav-tab {
|
|
|
height: pxToRem(60);
|
|
|
padding: pxToRem(10) 0;
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid $borderC;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
}
|
|
|
|
|
|
.discountNotice {
|
|
|
margin-bottom: 20px;
|
|
|
.comment-nav, .consult-nav {
|
|
|
box-sizing: border-box;
|
|
|
float: left;
|
|
|
width: 50%;
|
|
|
height: pxToRem(60);
|
|
|
line-height: pxToRem(60);
|
|
|
font-size: pxToRem(28);
|
|
|
text-align: center;
|
|
|
color: #ccc;
|
|
|
|
|
|
p {
|
|
|
height: 44px;
|
|
|
line-height: 44px;
|
|
|
padding: 0 10px;
|
|
|
margin-bottom: 1px;
|
|
|
font-size: 12px;
|
|
|
background-color: #eeeeee;
|
|
|
&.focus {
|
|
|
color: #000;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.goToShop {
|
|
|
margin: 0 10px 20px;
|
|
|
padding: 10px;
|
|
|
height: 47px;
|
|
|
line-height: 47px;
|
|
|
overflow: hidden;
|
|
|
background-color: #eee;
|
|
|
.comment-nav {
|
|
|
border-right: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.fz14 {
|
|
|
font-size: 1.2em;
|
|
|
float: right !important;
|
|
|
.comment-content{
|
|
|
.comment-content-main{
|
|
|
background-color: #fff;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
.user-name{
|
|
|
font-size: pxToRem(24);
|
|
|
line-height: pxToRem(62);
|
|
|
color:$mainFontC;
|
|
|
padding-left: pxToRem(28);
|
|
|
padding-right: pxToRem(18);
|
|
|
}
|
|
|
.goods-spec,
|
|
|
.comment-time{
|
|
|
font-size: pxToRem(24);
|
|
|
line-height: pxToRem(62);
|
|
|
}
|
|
|
.detail-content{
|
|
|
font-size: pxToRem(28);
|
|
|
line-height: pxToRem(36);
|
|
|
}
|
|
|
.goods-spec,
|
|
|
.detail-content{
|
|
|
color:$mainFontC;
|
|
|
}
|
|
|
.detail-content,
|
|
|
.comment-time{
|
|
|
padding-left: pxToRem(28);
|
|
|
|
|
|
}
|
|
|
.detail-content{
|
|
|
padding-right: pxToRem(28);
|
|
|
|
|
|
.detailSize {
|
|
|
padding: 0 10px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.comment-time{
|
|
|
color:#c1c1c1;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
h3 {
|
|
|
.comment-content-footer{
|
|
|
min-height: pxToRem(88);
|
|
|
text-align: center;
|
|
|
font-size: 1.3em;
|
|
|
margin-bottom: 5px;
|
|
|
background-color: #fff;
|
|
|
|
|
|
span {
|
|
|
font-size: 0.6em;
|
|
|
display: block;
|
|
|
text-transform: uppercase;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
line-height: pxToRem(88);
|
|
|
font-size: pxToRem(28);
|
|
|
a{
|
|
|
color: #e0e0e0;
|
|
|
.iconfont{
|
|
|
font-size: inherit;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
table {
|
|
|
background-color: white;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
td {
|
|
|
text-align: left;
|
|
|
padding: 0.4em 0.8em;
|
|
|
border: 1px solid white;
|
|
|
}
|
|
|
|
|
|
background-color: #eee;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
.content.hide {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.enter-store{
|
|
|
min-height: pxToRem(100);
|
|
|
display: table;
|
|
|
a{
|
|
|
display: table-cell;
|
|
|
vertical-align: middle;
|
|
|
text-align: left;
|
|
|
}
|
|
|
.store-logo{
|
|
|
// padding-right: 35rem/$pxConvertRem;
|
|
|
img{
|
|
|
|
|
|
width: pxToRem(109);
|
|
|
height: pxToRem(68);
|
|
|
|
|
|
.detail-img {
|
|
|
padding: 0 10px;
|
|
|
margin-bottom: 10px;
|
|
|
margin-left: 0;
|
|
|
margin-right: pxToRem(-25);
|
|
|
}
|
|
|
}
|
|
|
.store-name{
|
|
|
font-size: pxToRem(34);
|
|
|
color:$mainFontC;
|
|
|
}
|
|
|
.store-link{
|
|
|
font-size:pxToRem(28) ;
|
|
|
color:$subFontC;
|
|
|
text-align: right;
|
|
|
span{
|
|
|
font-size: inherit;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.goods-desc{
|
|
|
table{
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|