382 lines
8.1 KiB
SCSS
Executable File
382 lines
8.1 KiB
SCSS
Executable File
.page-item-espierdetail {
|
|
.goods-pic-container {
|
|
position: relative;
|
|
}
|
|
.goods-swiper {
|
|
// height: 900px;
|
|
}
|
|
.video-container {
|
|
position: absolute;
|
|
background: #000;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
.item-video {
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 100;
|
|
// height: auto;
|
|
}
|
|
.btn-play {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
.float-container {
|
|
.icon-huiyuanzhongxin,
|
|
.icon-headphones {
|
|
font-size: 38px;
|
|
color: #fff;
|
|
}
|
|
}
|
|
.btn-video {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
// font-size: 24px;
|
|
// color: #222;
|
|
display: flex;
|
|
align-items: center;
|
|
// background: #e8eae7;
|
|
// border-radius: 30px;
|
|
// padding: 6px;
|
|
// box-sizing: border-box;
|
|
z-index: 10;
|
|
.play-icon {
|
|
margin-right: 6px;
|
|
}
|
|
&.playing {
|
|
padding: 6px 20px;
|
|
}
|
|
}
|
|
.swiper-pagegation {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 20px;
|
|
display: inline-block;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
color: #fff;
|
|
font-size: 22px;
|
|
border-radius: 14px 0 0 14px;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
padding: 0 12px;
|
|
opacity: 0.5;
|
|
}
|
|
.goods-contents {
|
|
height: calc(100vh - #{$page-ipx-footer-height} - var(--nav-height));
|
|
.goods-info {
|
|
margin: 20px 30px 10px;
|
|
background-color: #fff;
|
|
// padding: 20px 16px;
|
|
// box-shadow: 0px 2px 10px 0px #eae7e0;
|
|
&-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.kc {
|
|
font-size: 24px;
|
|
color: #999;
|
|
}
|
|
}
|
|
.good-sku {
|
|
margin: 40px 30px;
|
|
box-sizing: border-box;
|
|
.sku-img {
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
&-item {
|
|
width: 130px;
|
|
margin-right: 20px;
|
|
display: inline-block;
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.sp-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.goods-desc {
|
|
background-color: #fff;
|
|
// padding: 0 30px;
|
|
// box-shadow: 0px 2px 10px 0px #eae7e0;
|
|
// height: calc(100vh - #{$page-ipx-footer-height} - var(--nav-height));
|
|
// padding-bottom: calc(#{$page-ipx-footer-height} + 30px);
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
// overflow-y: scroll;
|
|
&::-webkit-scrollbar {
|
|
width: 0px;
|
|
height: 0px;
|
|
}
|
|
.desc-hd {
|
|
height: 160px;
|
|
padding: 20px 30px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid #9e9e9e80;
|
|
position: sticky;
|
|
z-index: 2;
|
|
top: 0px;
|
|
left: 0;
|
|
right: 0;
|
|
padding-bottom: 2px;
|
|
background-color: #fff;
|
|
.desc-title {
|
|
font-size: 26px;
|
|
height: 160px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
padding: 24px 50px;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
.desc-title-no {
|
|
color: #222;
|
|
position: relative;
|
|
&:before {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 2px;
|
|
background: #222;
|
|
top: 20px;
|
|
left: -24px;
|
|
}
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 2px;
|
|
background: #222;
|
|
top: 20px;
|
|
right: -24px;
|
|
}
|
|
}
|
|
.sp-accordion {
|
|
position: relative;
|
|
// padding: ;
|
|
.at-accordion__header {
|
|
padding: 26px 40px;
|
|
color: #000;
|
|
&::after {
|
|
border: none;
|
|
// border-bottom: 1px solid #9e9e9e80;
|
|
}
|
|
.at-accordion__info__title {
|
|
font-size: 26px;
|
|
}
|
|
.at-accordion__arrow {
|
|
display: none;
|
|
}
|
|
}
|
|
.at-accordion__content {
|
|
&::after {
|
|
border: none;
|
|
// border-bottom: 1px solid #9e9e9e80;
|
|
}
|
|
}
|
|
.at-accordion__body {
|
|
padding: 0 40px;
|
|
padding-bottom: 30px;
|
|
}
|
|
.at-icon {
|
|
position: absolute;
|
|
z-index: 0;
|
|
right: 40px;
|
|
top: 48px;
|
|
transform: translateY(-50%);
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
.line {
|
|
display: block;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 1px;
|
|
background: #9e9e9e80;
|
|
top: 90px;
|
|
right: 0;
|
|
left: 0;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
}
|
|
.bottom-box {
|
|
border-top: 1px solid #9e9e9e80;
|
|
&-tit {
|
|
font-size: 30px;
|
|
color: #000;
|
|
padding-left: 44px;
|
|
padding-top: 50px;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
.shop-box {
|
|
height: 466px;
|
|
width: 100%;
|
|
padding: 30px 50px 40px;
|
|
box-sizing: border-box;
|
|
transition: height 0.2s linear 0.2s;
|
|
white-space: nowrap;
|
|
.goods-item-wrap {
|
|
display: inline-block;
|
|
width: 250px;
|
|
height: 100%;
|
|
margin-right: 30px;
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.goods-name {
|
|
.title {
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
color: #222;
|
|
margin-bottom: 16px;
|
|
// line-height: 48px;
|
|
// @include multi-ellipsis(2);
|
|
}
|
|
.brief {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
// color: #666;
|
|
// @include text-overflow();
|
|
}
|
|
}
|
|
|
|
.goods-name-wrap {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
// justify-content: space-between;
|
|
// margin-top: 32px;
|
|
.goods-name {
|
|
// @include multi-ellipsis(2);
|
|
// height: 95px;
|
|
font-size: 32px;
|
|
font-weight: 500;
|
|
color: #222;
|
|
flex: 1;
|
|
// width: 600px;
|
|
}
|
|
.btn-share {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
&-wrap {
|
|
width: 80px;
|
|
}
|
|
}
|
|
.icon-fenxiang-01 {
|
|
font-size: 38px;
|
|
color: #222;
|
|
}
|
|
.share-txt {
|
|
color: #999;
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
.item-bn-sales {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 10px;
|
|
}
|
|
.item-sales {
|
|
font-size: 24px;
|
|
color: #999999;
|
|
}
|
|
|
|
.sku-block {
|
|
// padding: 16px;
|
|
margin: 0px 16px 24px;
|
|
background: #fff;
|
|
// box-shadow: 0px 2px 10px 0px #eae7e0;
|
|
.sp-cell {
|
|
padding: 24rpx 16rpx;
|
|
position: relative;
|
|
&:not(:last-child) {
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 16px;
|
|
right: 16px;
|
|
bottom: 0;
|
|
/* prettier-ignore */
|
|
height: 1PX;
|
|
background-color: #f5f5f5;
|
|
}
|
|
}
|
|
&__bd {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
.cell-value {
|
|
color: #222;
|
|
max-width: 500px;
|
|
@include text-overflow();
|
|
}
|
|
}
|
|
.promotion-tag {
|
|
height: 46px;
|
|
line-height: 46px;
|
|
padding: 0 10px;
|
|
background: rgba(var(--color-rgb), 0.2);
|
|
color: var(--color-primary);
|
|
display: inline-block;
|
|
font-size: 24px;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.goods-params {
|
|
margin: 0px 16px 24px;
|
|
padding: 0 16px 20px;
|
|
background: #fff;
|
|
box-shadow: 0px 2px 10px 0px #eae7e0;
|
|
.params-hd {
|
|
color: #666;
|
|
font-size: 28px;
|
|
padding: 30px 0 10px;
|
|
}
|
|
.params-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 4px 0;
|
|
// height: 60px;
|
|
// line-height: 60px;
|
|
}
|
|
.params-label {
|
|
color: #666;
|
|
font-size: 26px;
|
|
// width: 100px;
|
|
}
|
|
.params-value {
|
|
color: #222;
|
|
font-size: 26px;
|
|
flex: 1;
|
|
// max-width: 550px;
|
|
// @include text-overflow();
|
|
}
|
|
}
|
|
}
|