|
|
$mainFontC:#444444;
|
|
|
$subFontC:#b0b0b0;
|
|
|
$borderC:#e0e0e0;
|
|
|
$borderC:#b0b0b0;
|
|
|
$tableCellC:#eee;
|
|
|
|
|
|
@function px2rem($px){
|
|
|
@return $px*1rem/$pxConvertRem;
|
|
|
}
|
|
|
|
|
|
.good-detail-page {
|
|
|
|
|
|
/* basic component */
|
|
|
.page-block{
|
|
|
box-sizing:border-box;
|
|
|
width: 100%;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-top: 1px solid $borderC;
|
|
|
padding: 0 px2rem(28);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
border-top: 2px solid $borderC;
|
|
|
padding: 0 pxToRem(28px);
|
|
|
.title{
|
|
|
min-height: px2rem(88);
|
|
|
line-height: px2rem(88);
|
|
|
min-height: pxToRem(88px);
|
|
|
line-height: pxToRem(88px);
|
|
|
color: $mainFontC;
|
|
|
font:{
|
|
|
size : px2rem(28);
|
|
|
}
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
font-size : pxToRem(28px);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
|
|
|
span{
|
|
|
color:#a0a0a0;
|
|
|
font:{
|
|
|
size:px2rem(18);
|
|
|
}
|
|
|
font-size:pxToRem(18px);
|
|
|
// vertical-align: baseline;
|
|
|
}
|
|
|
}
|
|
|
.detail{
|
|
|
margin-top: px2rem(20);
|
|
|
margin-bottom: px2rem(20);
|
|
|
table {
|
|
|
margin-top: pxToRem(20px);
|
|
|
margin-bottom: pxToRem(20px);
|
|
|
font-size: pxToRem(24px);
|
|
|
line-height: pxToRem(36px);
|
|
|
|
|
|
&.table{
|
|
|
display: table;
|
|
|
width: 100%;
|
|
|
tbody td{
|
|
|
.row{
|
|
|
display: table-row;
|
|
|
.column{
|
|
|
display: table-cell;
|
|
|
padding: 0.4em 0.8em;
|
|
|
border:3px solid white;
|
|
|
font-size: px2rem(24);
|
|
|
border:2px solid white;
|
|
|
font-size: pxToRem(24px);
|
|
|
background-color: $tableCellC;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// table {
|
|
|
// width: 100%;
|
|
|
// tbody td{
|
|
|
// padding: 0.4em 0.8em;
|
|
|
// border:3px solid white;
|
|
|
// font-size: pxToRem(24px);
|
|
|
// background-color: $tableCellC;
|
|
|
// }
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
|
.gap-block{
|
|
|
min-height: 30rem/$pxConvertRem;
|
...
|
...
|
@@ -57,15 +67,15 @@ $tableCellC:#eee; |
|
|
// overflow: hidden;
|
|
|
.is-new-lable{
|
|
|
position: absolute;
|
|
|
left: px2rem(108);
|
|
|
top:px2rem(40);
|
|
|
height: px2rem(35);
|
|
|
width:px2rem(70);
|
|
|
left: pxToRem(108px);
|
|
|
top:pxToRem(40px);
|
|
|
height: pxToRem(35px);
|
|
|
width:pxToRem(70px);
|
|
|
|
|
|
color:#fff;
|
|
|
text-align: center;
|
|
|
font-size: px2rem(20);
|
|
|
line-height: px2rem(35);
|
|
|
font-size: pxToRem(20px);
|
|
|
line-height: pxToRem(35px);
|
|
|
background-color: #7cd881;
|
|
|
z-index: 16;
|
|
|
}
|
...
|
...
|
@@ -78,7 +88,7 @@ $tableCellC:#eee; |
|
|
|
|
|
.swiper-pagination{
|
|
|
position:absolute;
|
|
|
bottom: px2rem(40);
|
|
|
bottom: pxToRem(40px);
|
|
|
.swiper-pagination-bullet {
|
|
|
margin-right: 2px;
|
|
|
}
|
...
|
...
|
@@ -90,9 +100,9 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.banner-swiper {
|
|
|
min-height: px2rem(600);
|
|
|
min-width: px2rem(448);
|
|
|
margin: px2rem(30) px2rem(96);
|
|
|
min-height: pxToRem(600px);
|
|
|
min-width: pxToRem(448px);
|
|
|
margin: pxToRem(30px) pxToRem(96px);
|
|
|
// position: relative;
|
|
|
overflow: hidden;
|
|
|
ul {
|
...
|
...
|
@@ -107,55 +117,55 @@ $tableCellC:#eee; |
|
|
|
|
|
|
|
|
.goodsName {
|
|
|
min-height: px2rem(83);
|
|
|
font-size: px2rem(28);
|
|
|
min-height: pxToRem(83px);
|
|
|
font-size: pxToRem(28px);
|
|
|
color: #fff;
|
|
|
padding-left: px2rem(25);
|
|
|
padding-right: px2rem(25);
|
|
|
line-height: px2rem(36);
|
|
|
padding-left: pxToRem(25px);
|
|
|
padding-right: pxToRem(25px);
|
|
|
line-height: pxToRem(36px);
|
|
|
background-color: #515150;
|
|
|
}
|
|
|
|
|
|
.goodsSubtitle{
|
|
|
min-height: px2rem(87);
|
|
|
font-size: px2rem(24);
|
|
|
line-height: px2rem(36);
|
|
|
min-height: pxToRem(87px);
|
|
|
font-size: pxToRem(24px);
|
|
|
line-height: pxToRem(36px);
|
|
|
color:$subFontC;
|
|
|
padding-left:px2rem(28);
|
|
|
padding-right:px2rem(28);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
padding-left:pxToRem(28px);
|
|
|
padding-right:pxToRem(28px);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
background-color: #f4f4f4;
|
|
|
}
|
|
|
|
|
|
.price-date{
|
|
|
// width: 100%;
|
|
|
color:$subFontC;
|
|
|
min-height: px2rem(88);
|
|
|
padding-left:px2rem(28);
|
|
|
padding-right:px2rem(28);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
min-height: pxToRem(88px);
|
|
|
padding-left:pxToRem(28px);
|
|
|
padding-right:pxToRem(28px);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
}
|
|
|
.goodsPrice{
|
|
|
float: left;
|
|
|
font-size: px2rem(34.59);
|
|
|
font-size: pxToRem(34.59px);
|
|
|
h1{
|
|
|
display: inline-block;
|
|
|
line-height: px2rem(88);
|
|
|
line-height: pxToRem(88px);
|
|
|
}
|
|
|
.currentPrice{
|
|
|
color:red;
|
|
|
margin-right: px2rem(10);
|
|
|
margin-right: pxToRem(10px);
|
|
|
}
|
|
|
.previousPrice{
|
|
|
text-decoration:line-through;
|
|
|
}
|
|
|
}
|
|
|
.periodOfMarket{
|
|
|
font-size: px2rem(24);
|
|
|
font-size: pxToRem(24px);
|
|
|
float: right;
|
|
|
h1{
|
|
|
display: inline-block;
|
|
|
line-height: px2rem(88);
|
|
|
line-height: pxToRem(88px);
|
|
|
}
|
|
|
}
|
|
|
.goodsName,
|
...
|
...
|
@@ -169,39 +179,40 @@ $tableCellC:#eee; |
|
|
}
|
|
|
.vipLevel {
|
|
|
display: table;
|
|
|
min-height: px2rem(88);
|
|
|
padding-left:px2rem(28);
|
|
|
padding-right:px2rem(28);
|
|
|
font-size: px2rem(22);
|
|
|
min-height: pxToRem(88px);
|
|
|
padding-left:pxToRem(28px);
|
|
|
padding-right:pxToRem(28px);
|
|
|
font-size: pxToRem(22px);
|
|
|
color: #999999;
|
|
|
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
span{
|
|
|
display: table-cell;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
.vip-img{
|
|
|
padding-right: px2rem(22);
|
|
|
padding-right: pxToRem(22px);
|
|
|
img{
|
|
|
width: px2rem(52);
|
|
|
height: px2rem(32);
|
|
|
width: pxToRem(52px);
|
|
|
height: pxToRem(32px);
|
|
|
}
|
|
|
}
|
|
|
.vip-price{
|
|
|
padding-right: px2rem(55);
|
|
|
padding-right: pxToRem(55px);
|
|
|
}
|
|
|
.vip-price:last-child{
|
|
|
padding-right: 0;
|
|
|
}
|
|
|
}
|
|
|
.goodsDiscount{
|
|
|
min-height: px2rem(88);
|
|
|
padding-left:px2rem(28);
|
|
|
padding-right:px2rem(28);
|
|
|
font-size: px2rem(28);
|
|
|
min-height: pxToRem(88px);
|
|
|
padding-left:pxToRem(28px);
|
|
|
padding-right:pxToRem(28px);
|
|
|
font-size: pxToRem(28px);
|
|
|
color: $mainFontC;
|
|
|
line-height: px2rem(88);
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
line-height: pxToRem(88px);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
|
|
|
.iconfont{
|
|
|
// padding-right:28rem/$pxConvertRem;
|
|
|
font-size: inherit;
|
...
|
...
|
@@ -212,7 +223,7 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.feedback-list-page {
|
|
|
padding-top: px2rem(30);
|
|
|
padding-top: pxToRem(30px);
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
|
.nav-tab{
|
...
|
...
|
@@ -220,20 +231,20 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.nav-tab {
|
|
|
height: px2rem(60);
|
|
|
padding: px2rem(10) 0;
|
|
|
height: pxToRem(60px);
|
|
|
padding: pxToRem(10px) 0;
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid $borderC;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-top: 2px solid $borderC;
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
}
|
|
|
|
|
|
.comment-nav, .consult-nav {
|
|
|
box-sizing: border-box;
|
|
|
float: left;
|
|
|
width: 50%;
|
|
|
height: px2rem(60);
|
|
|
line-height: px2rem(60);
|
|
|
font-size: px2rem(28);
|
|
|
height: pxToRem(60px);
|
|
|
line-height: pxToRem(60px);
|
|
|
font-size: pxToRem(28px);
|
|
|
text-align: center;
|
|
|
color: #ccc;
|
|
|
|
...
|
...
|
@@ -243,13 +254,13 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.comment-nav {
|
|
|
border-right: 1px solid #ccc;
|
|
|
border-right: 2px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.comment-content{
|
|
|
.comment-content-main{
|
|
|
background-color: #fff;
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
.user-name{
|
|
|
font-size: px2rem(24);
|
|
|
line-height: px2rem(62);
|
...
|
...
|
@@ -265,6 +276,20 @@ $tableCellC:#eee; |
|
|
.detail-content{
|
|
|
font-size: px2rem(28);
|
|
|
line-height: px2rem(36);
|
|
|
font-size: pxToRem(24px);
|
|
|
line-height: pxToRem(62px);
|
|
|
color:$mainFontC;
|
|
|
padding-left: pxToRem(28px);
|
|
|
padding-right: pxToRem(18px);
|
|
|
}
|
|
|
.goods-spec,
|
|
|
.comment-time{
|
|
|
font-size: pxToRem(24px);
|
|
|
line-height: pxToRem(62px);
|
|
|
}
|
|
|
.detail-content{
|
|
|
font-size: pxToRem(28px);
|
|
|
line-height: pxToRem(36px);
|
|
|
}
|
|
|
.goods-spec,
|
|
|
.detail-content{
|
...
|
...
|
@@ -277,6 +302,11 @@ $tableCellC:#eee; |
|
|
}
|
|
|
.detail-content{
|
|
|
padding-right: px2rem(28);
|
|
|
padding-left: pxToRem(28px);
|
|
|
|
|
|
}
|
|
|
.detail-content{
|
|
|
padding-right: pxToRem(28px);
|
|
|
|
|
|
}
|
|
|
.comment-time{
|
...
|
...
|
@@ -285,13 +315,14 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.comment-content-footer{
|
|
|
min-height: px2rem(88);
|
|
|
min-height: pxToRem(88px);
|
|
|
text-align: center;
|
|
|
background-color: #fff;
|
|
|
|
|
|
border-bottom: 1px solid $borderC;
|
|
|
line-height: px2rem(88);
|
|
|
font-size: px2rem(28);
|
|
|
border-bottom: 2px solid $borderC;
|
|
|
line-height: pxToRem(88px);
|
|
|
font-size: pxToRem(28px);
|
|
|
|
|
|
a{
|
|
|
color: #e0e0e0;
|
|
|
.iconfont{
|
...
|
...
|
@@ -308,7 +339,7 @@ $tableCellC:#eee; |
|
|
}
|
|
|
|
|
|
.enter-store{
|
|
|
min-height: px2rem(100);
|
|
|
min-height: pxToRem(100px);
|
|
|
display: table;
|
|
|
a{
|
|
|
display: table-cell;
|
...
|
...
|
@@ -319,19 +350,19 @@ $tableCellC:#eee; |
|
|
// padding-right: 35rem/$pxConvertRem;
|
|
|
img{
|
|
|
|
|
|
width: px2rem(109);
|
|
|
height: px2rem(68);
|
|
|
width: pxToRem(109px);
|
|
|
height: pxToRem(68px);
|
|
|
|
|
|
margin-left: 0;
|
|
|
margin-right: px2rem(-25);
|
|
|
margin-right: pxToRem(-25px);
|
|
|
}
|
|
|
}
|
|
|
.store-name{
|
|
|
font-size: px2rem(34);
|
|
|
font-size: pxToRem(34px);
|
|
|
color:$mainFontC;
|
|
|
}
|
|
|
.store-link{
|
|
|
font-size:px2rem(28) ;
|
|
|
font-size:pxToRem(28px) ;
|
|
|
color:$subFontC;
|
|
|
text-align: right;
|
|
|
span{
|
...
|
...
|
@@ -339,9 +370,51 @@ $tableCellC:#eee; |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.goods-desc{
|
|
|
table{
|
|
|
// .goods-desc{
|
|
|
// table{
|
|
|
|
|
|
// }
|
|
|
// }
|
|
|
.materials{
|
|
|
.detail{
|
|
|
img{
|
|
|
display: block;
|
|
|
overflow: hidden;
|
|
|
width: pxToRem(90px);
|
|
|
height: pxToRem(120px);
|
|
|
padding-right: pxToRem(20px);
|
|
|
float: left;
|
|
|
}
|
|
|
.material-desc{
|
|
|
// float: left;
|
|
|
font-size: pxToRem(24px);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.product-detail{
|
|
|
.detail{
|
|
|
img{
|
|
|
margin-top: pxToRem(20px);
|
|
|
width: pxToRem(581px);
|
|
|
height: pxToRem(772px);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.detail-swiper{
|
|
|
.swiper-wrapper{
|
|
|
.swiper-slide{
|
|
|
width: pxToRem(114px);
|
|
|
div{
|
|
|
text-align: center;
|
|
|
}
|
|
|
div.cell{
|
|
|
background-color: $tableCellC;
|
|
|
padding:pxToRem(15px) 0;
|
|
|
border: 1px solid #fff;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|