EP-WachatApp/eaterplanet_ecommerce/moduleA/pin/goodsDetail.wxss

1568 lines
28 KiB
Plaintext

page {
background: #f6f6f6;
}
movable-view {
width: 110rpx;
height: 110rpx;
top: 0;
left: 0;
position: absolute;
}
movable-area {
height: 100%;
width: 100%;
margin: 0rpx;
}
.goods-wrapper {
position: relative;
}
swiper {
height: 600rpx;
}
swiper image {
width: 100%;
height: auto;
}
.sticky-title {
width: 100%;
display: none;
justify-content: space-between;
background: #fff;
height: 160rpx;
position: relative;
z-index: 3;
}
.sticky-title.sticky {
position: fixed;
display: flex;
top: 0;
left: 0;
height: 80rpx;
line-height: 80rpx;
width: 100vw;
border-bottom: 2rpx solid rgba(0, 0, 0, 0.1);
animation: opacity 0.2s ease-in-out;
}
.sticky-title.sticky .nav {
padding-left: 30rpx;
}
.sticky-title.sticky .nav .tab-btn {
width: 56rpx;
height: 80rpx;
line-height: 80rpx;
margin-right: 36rpx;
color: #666;
font-size: 28rpx;
font-weight: bold;
position: relative;
display: inline-block;
}
.sticky-title.sticky .nav .tab-btn-active {
color: #ff5344;
line-height: 80rpx;
}
.sticky-title.sticky .nav .tab-btn-active:after {
content: '';
width: 56rpx;
height: 6rpx;
border-radius: 6rpx;
background: linear-gradient(to right, #fe655c, #fa875b);
position: absolute;
bottom: 0;
left: 0;
box-shadow: 0 4rpx 8rpx rgba(255, 89, 9, 0.25);
}
.sticky-title.sticky .time {
width: 290rpx;
height: 80rpx;
font-size: 26rpx;
color: #444;
display: flex;
align-items: center;
padding-right: 30rpx;
justify-content: flex-end;
}
.sticky-title.sticky .time text {
white-space: nowrap;
}
.sticky-title.sticky .time .countdownTop {
font-size: 28rpx;
white-space: nowrap;
display: flex;
justify-content: center;
align-items: center;
}
.sticky-title.sticky .time .countdownTop .itemTimeTop {
width: 38rpx;
height: 32rpx;
background: #444;
border-radius: 4rpx;
font-size: 26rpx;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.spuInfoImg {
width: 100%;
height: 600rpx;
background-size: 100% 100%;
position: relative;
}
.spuInfoImg .share {
width: 160rpx;
height: 68rpx;
background: linear-gradient(90deg, #f75451 0%, #fa6f57 100%);
border-radius: 48rpx 0 0 48rpx;
position: absolute;
top: 60rpx;
right: 0;
display: flex;
justify-content: center;
align-items: center;
}
.spuInfoImg .share .shareImg {
width: 32rpx;
height: 28rpx;
margin-right: 14rpx;
}
.spuInfoImg .share text {
width: 60rpx;
height: 68rpx;
line-height: 68rpx;
font-size: 26rpx;
color: #fff;
}
.spuInfoImg .current {
width: 90rpx;
height: 32rpx;
line-height: 32rpx;
text-align: center;
border-radius: 24rpx;
background-color: rgba(0, 0, 0, 0.5);
font-size: 26rpx;
color: #fff;
position: absolute;
left: 50%;
bottom: 110rpx;
margin-left: -44rpx;
z-index: 1;
}
.spuInfoImg .slide-image {
width: 750rpx;
height: 600rpx;
}
.spuInfo {
width: 100%;
z-index: 2;
position: relative;
margin-top: -50px;
}
.spuInfo .spuPrice {
position: relative;
width: 680rpx;
height: 100rpx;
padding-left: 30rpx;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.spuInfo .spuPrice .spuPriceBg {
position: absolute;
top: 0;
left: 0;
width: 710rpx;
height: 100rpx;
z-index: -1;
}
.spuInfo .spuPrice .price {
font-family: DIN;
font-size: 28rpx;
color: #fff;
margin-top: 10rpx;
}
.spuInfo .spuPrice .price .salePrice {
font-size: 68rpx;
font-weight: bold;
}
.spuInfo .spuPrice .price .storePrice {
text-decoration: line-through;
margin-left: 10rpx;
}
.spuInfo .spuPrice .time {
width: 220rpx;
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: 26rpx;
color: #f8e71c;
white-space: nowrap;
}
.spuInfo .spuPrice .time text {
line-height: 28rpx;
margin-top: 10rpx;
}
.spuInfo .spuPrice .time .endAct {
color: #fff;
}
.spuInfo .spuPrice .time .countdown {
font-size: 28rpx;
display: flex;
justify-content: center;
align-items: center;
}
.spuInfo .spuPrice .time .countdown em {
margin: 0;
}
.spuInfo .spuPrice .time .countdown .itemTime {
width: 32rpx;
text-align: center;
}
.spuInfo .bgOne {
background: url("");
background-size: 100% 100%;
}
.spuInfo .bgTwo {
background: url("");
background-size: 100% 100%;
}
.spuInfo .spuDetailInfo, .spuInfo .straightInLive, .spuInfo .buyRecords {
width: 670rpx;
background: #fff;
box-shadow: 0 0 40rpx 0 rgba(0, 0, 0, 0.05);
border-radius: 0 0 20rpx 20rpx;
padding: 30rpx 20rpx 0;
margin: 0 auto;
}
.spuInfo .spuDetailInfo .spuName, .spuInfo .straightInLive .spuName,
.spuInfo .buyRecords .spuName {
font-size: 36rpx;
color: #444;
font-weight: bold;
min-height: 48rpx;
line-height: 44rpx;
padding: 0 10rpx;
white-space: initial;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.spuInfo .spuDetailInfo .remind, .spuInfo .straightInLive .remind,
.spuInfo .buyRecords .remind {
margin-top: 20rpx;
display: flex;
align-items: center;
padding: 0 10rpx;
}
.spuInfo .spuDetailInfo .remind .remindImg,
.spuInfo .straightInLive .remind .remindImg,
.spuInfo .buyRecords .remind .remindImg {
width: 28rpx;
height: 28rpx;
margin-right: 20rpx;
}
.spuInfo .spuDetailInfo .remind text, .spuInfo .straightInLive .remind text,
.spuInfo .buyRecords .remind text {
font-size: 26rpx;
color: #aaa;
}
.spuInfo .spuDetailInfo .preferential, .spuInfo .straightInLive .preferential,
.spuInfo .buyRecords .preferential {
padding: 24rpx 20rpx;
background: linear-gradient(223deg, #fff7f0 0%, #fff4ec 100%);
border-radius: 16rpx;
margin-top: 40rpx;
margin-bottom: 10rpx;
font-size: 24rpx;
color: #ca7e57;
font-weight: bold;
line-height: 40rpx;
}
.spuInfo .spuDetailInfo .preferential .tit,
.spuInfo .straightInLive .preferential .tit,
.spuInfo .buyRecords .preferential .tit {
font-size: 20rpx;
color: #ff5344;
border: 2rpx solid #ffa49c;
border-radius: 16rpx;
padding: 0 8rpx;
margin-right: 10rpx;
}
.spuInfo .spuDetailInfo .preferential .con,
.spuInfo .straightInLive .preferential .con,
.spuInfo .buyRecords .preferential .con {
margin-right: 20rpx;
}
.spuInfo .spuDetailInfo .purchasing, .spuInfo .spuDetailInfo .saleNum,
.spuInfo .straightInLive .purchasing, .spuInfo .straightInLive .saleNum,
.spuInfo .buyRecords .purchasing, .spuInfo .buyRecords .saleNum {
font-size: 26rpx;
color: #666;
padding: 30rpx 0;
margin: 0 10rpx;
border-bottom: 0.1rpx solid #efefef;
}
.spuInfo .spuDetailInfo .purchasing .purTit,
.spuInfo .spuDetailInfo .saleNum .purTit,
.spuInfo .straightInLive .purchasing .purTit,
.spuInfo .straightInLive .saleNum .purTit,
.spuInfo .buyRecords .purchasing .purTit, .spuInfo .buyRecords .saleNum .purTit {
color: #444;
font-weight: bold;
margin-right: 20rpx;
}
.spuInfo .spuDetailInfo .purchasing .remaining,
.spuInfo .spuDetailInfo .saleNum .remaining,
.spuInfo .straightInLive .purchasing .remaining,
.spuInfo .straightInLive .saleNum .remaining,
.spuInfo .buyRecords .purchasing .remaining,
.spuInfo .buyRecords .saleNum .remaining {
font-weight: bold;
margin: 0;
color: #ff5344;
}
.spuInfo .spuDetailInfo .purchasing .stock,
.spuInfo .spuDetailInfo .saleNum .stock,
.spuInfo .straightInLive .purchasing .stock,
.spuInfo .straightInLive .saleNum .stock,
.spuInfo .buyRecords .purchasing .stock, .spuInfo .buyRecords .saleNum .stock {
display: inline-block;
font-weight: normal;
margin: 0;
}
.spuInfo .spuDetailInfo .saleNum, .spuInfo .straightInLive .saleNum,
.spuInfo .buyRecords .saleNum {
border: none;
}
.spuInfo .straightInLive, .spuInfo .buyRecords {
width: 650rpx;
padding: 0 30rpx;
border-radius: 20rpx;
margin: 20rpx auto 0;
}
.spuInfo .straightInLive .title, .spuInfo .buyRecords .title {
height: 100rpx;
font-size: 32rpx;
color: #444;
font-weight: bold;
border-bottom: 0.1rpx solid #efefef;
display: flex;
align-items: center;
}
.spuInfo .straightInLive .title .commentsNum,
.spuInfo .buyRecords .title .commentsNum {
font-size: 26rpx;
color: #aaa;
font-weight: normal;
}
.spuInfo .straightInLive .comments, .spuInfo .buyRecords .comments {
margin-top: 30rpx;
}
.spuInfo .straightInLive .comments .commentsCon,
.spuInfo .buyRecords .comments .commentsCon {
font-size: 28rpx;
color: #666;
line-height: 44rpx;
margin-bottom: 10rpx;
word-wrap: break-word;
}
.spuInfo .straightInLive .comments .doubleHidden,
.spuInfo .buyRecords .comments .doubleHidden {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: initial;
white-space: normal;
}
.spuInfo .straightInLive .comments .commentsOpen,
.spuInfo .buyRecords .comments .commentsOpen {
height: 22rpx;
font-size: 22rpx;
color: #444;
font-weight: bold;
margin-bottom: 20rpx;
display: flex;
align-items: center;
}
.spuInfo .straightInLive .comments .commentsOpen .commentsOpenImg,
.spuInfo .buyRecords .comments .commentsOpen .commentsOpenImg {
width: 16rpx;
height: 8rpx;
margin-left: 6rpx;
}
.spuInfo .straightInLive .comments .commentsOpen .down,
.spuInfo .buyRecords .comments .commentsOpen .down {
transform: rotate(180deg);
}
.spuInfo .straightInLive .comments .allImg,
.spuInfo .buyRecords .comments .allImg {
width: 650rpx;
height: 150rpx;
overflow: hidden;
}
.spuInfo .straightInLive .comments .allImg {
display: flex;
overflow-x: auto;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.spuInfo .straightInLive .comments .allImg .commentsImg,
.spuInfo .buyRecords .comments .allImg .commentsImg {
width: 150rpx;
height: 150rpx;
margin-right: 16rpx;
display: inline-block;
}
.spuInfo .straightInLive .comments .allImg .commentsImg .goodsImg,
.spuInfo .buyRecords .comments .allImg .commentsImg .goodsImg {
width: 150rpx;
}
.spuInfo .straightInLive .comments .allImg .commentsImg .goodsImg .img-class,
.spuInfo .buyRecords .comments .allImg .commentsImg .goodsImg .img-class {
width: 150rpx;
height: 150rpx;
border-radius: 4rpx;
position: unset;
}
.spuInfo .straightInLive .comments .allImg .commentsImg:last-child,
.spuInfo .buyRecords .comments .allImg .commentsImg:last-child {
margin: 0;
}
.spuInfo .straightInLive .comments .checkComments,
.spuInfo .buyRecords .comments .checkComments {
font-size: 26rpx;
color: #aaa;
line-height: 26rpx;
padding: 40rpx 0;
text-align: center;
}
.spuInfo .buyRecords {
width: 650rpx;
}
.spuInfo .buyRecords .title {
display: flex;
align-items: center;
justify-content: space-between;
}
.spuInfo .buyRecords .title .buyNum {
font-size: 24rpx;
color: #aaa;
font-weight: normal;
}
.spuInfo .buyRecords .title .buyNum text {
color: #ff5344;
font-weight: bold;
}
.spuInfo .buyRecords .title .buyNum .goBuyRecords {
width: 12rpx;
height: 24rpx;
display: inline-block;
margin-bottom: -4rpx;
margin-left: 10rpx;
}
.spuInfo .buyRecords .buyerList {
padding: 30rpx 20rpx 20rpx;
display: flex;
flex-wrap: wrap;
width: 650rpx;
box-sizing: border-box;
}
.spuInfo .buyRecords .buyerList .buyerImg {
width: 90rpx;
height: 90rpx;
margin-right: 40rpx;
margin-bottom: 24rpx;
border-radius: 100%;
display: block;
}
.spuInfo .buyRecords .buyerList .buyerImg .img-class {
width: 90rpx;
height: 90rpx;
border-radius: 100%;
}
.spuInfo .buyRecords .buyerList .buyerImg:nth-child(5) {
margin-right: 0;
}
.spuInfo .buyRecords .buyerList .moreBuyer {
display: inline-block;
}
.spuInfo .buyRecords .buyerList .moreBuyer .buyerImg {
margin-right: 0;
}
.spuInfo .spuDetail {
width: 100%;
}
.spuInfo .spuDetail .goodsDetailTitleImg {
width: 336rpx;
height: 60rpx;
margin: 60rpx auto;
display: block;
}
.spuInfo .spuDetail .warmPrompt .wxParse .wxParse-p .wxParse-inline,.spuInfo .spuDetail .warmPrompt .wxParse .wxParse-inline {
margin: 0 30rpx;
}
.spuInfo .service {
padding: 40rpx 20rpx 0;
}
.spuInfo .service .detailLogo {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 40rpx;
}
.spuInfo .service .detailLogo text {
width: 130rpx;
height: 2rpx;
background: #e4e4e4;
}
.spuInfo .service .detailLogo .detailLogoImg {
width: 184rpx;
height: 48rpx;
margin: 0 40rpx;
}
.spuInfo .service .instructions {
background: #fff;
padding: 40rpx 30rpx;
border-radius: 20rpx;
overflow: hidden;
}
.spuInfo .service .instructions .instructionsTit {
height: 36rpx;
line-height: 36rpx;
color: #1c1819;
font-size: 28rpx;
font-weight: bold;
margin-left: 28rpx;
margin-bottom: 30rpx;
}
.spuInfo .service .instructions .instructionsList {
line-height: 36rpx;
color: #999;
font-size: 24rpx;
margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
}
.spuInfo .service .instructions .instructionsList:last-child {
margin: 0;
}
.spuInfo .service .instructions .instructionsList .instructionsMark {
width: 6rpx;
height: 6rpx;
background: #ff5344;
margin-top: 16rpx;
}
.spuInfo .service .instructions .instructionsList .instructionsText {
width: 630rpx;
}
.spuInfo .service .instructions .instructionsList .instructionsText .instructionsTextTit {
color: #666;
font-weight: bold;
}
.spuInfo .service .instructions .instructionsList .instructionsText .instructionsUnderline {
color: #666;
text-decoration: underline;
}
.spuInfo .service .instructions .instructionsList .instructionsText .instructionsTime {
color: #ff6557;
font-weight: bold;
}
.spuInfo .sloganImg {
width: 250rpx;
height: 56rpx;
padding: 80rpx 0 180rpx;
margin: 0 auto;
display: block;
}
.goTopImg {
bottom: 160rpx;
right: 30rpx;
width: 45rpx;
height: 45rpx;
position: fixed;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
color: #fff;
text-align: center;
z-index: 3;
padding: 15rpx;
}
@-webkit-keyframes opacity {
0% {
opacity: 0;
}
25% {
opacity: 0.3;
}
50% {
opacity: 0.5;
}
75% {
opacity: 0.8;
}
100% {
opacity: 1;
}
}
@keyframes opacity {
0% {
opacity: 0;
}
25% {
opacity: 0.3;
}
50% {
opacity: 0.5;
}
75% {
opacity: 0.8;
}
100% {
opacity: 1;
}
}
.canvas-img {
position: absolute;
top: -20000rpx;
}
.goodsDetailSkeleton_content {
position: relative;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_img {
width: 750rpx;
height: 600rpx;
background-color: #e4e4e4;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu {
width: 710rpx;
height: 540rpx;
position: absolute;
left: 20rpx;
top: 650rpx;
background: #fff;
border-radius: 20rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list {
height: 60rpx;
margin: 10rpx 30rpx;
display: flex;
justify-content: space-between;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list text {
width: 200rpx;
background: #e4e4e4;
border-radius: 10rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list2 {
height: 60rpx;
margin: 30rpx;
background: #e4e4e4;
border-radius: 10rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 {
height: 60rpx;
margin: 30rpx;
display: flex;
justify-content: flex-start;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec1,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec2,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec1,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec2 {
width: 40rpx;
background: #e4e4e4;
border-radius: 10rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec2,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec2 {
width: 400rpx;
margin-left: 20rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 {
height: 36rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 {
height: 44rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct {
width: 670rpx;
height: 120rpx;
margin: 0 auto;
border-radius: 16rpx;
background: linear-gradient(223deg, #fff7f0 0%, #fff4ec 100%);
overflow: hidden;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 {
height: 32rpx;
margin: 20rpx;
display: flex;
justify-content: flex-start;
align-items: center;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec1,
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec2 {
width: 40rpx;
height: 32rpx;
background: #e4e4e4;
border-radius: 8rpx;
margin-right: 20rpx;
}
.goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec2 {
width: 400rpx;
height: 40rpx;
}
button::after {
border: none;
}
/***商品底部按钮begin **/
.goods-bottom-bar {
height: 96rpx;
display: flex;
}
.goods-bottom-bar .leftBtn {
height: 94rpx;
display: flex;
border-top: 2rpx solid #efefef;
}
.goods-bottom-bar .leftBtn .bar-item {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.goods-bottom-bar .leftBtn .back-to-index {
background-color: #36362D;
border-radius: 0rpx 8rpx 8rpx 0rpx;
width: 125rpx;
height: 96rpx;
font-size: 20rpx;
color: #fff;
}
.goods-bottom-bar .leftBtn .back-to-index image {
width: 50rpx;
height: 50rpx;
}
.goods-bottom-bar .leftBtn .shop-cart {
border-radius: 8rpx 0rpx 0rpx 8rpx;
margin-left: 6rpx;
background-color: #36362D;
width: 125rpx;
height: 96rpx;
font-size: 20rpx;
color: #fff;
position: relative;
}
.goods-bottom-bar .leftBtn .shop-cart .icon {
width: 50rpx;
height: 50rpx;
position: relative;
}
.goods-bottom-bar .leftBtn .shop-cart .icon image {
border-right:3rpx solid #fff;
padding-right: 40rpx;
width: 100%;
height: 100%;
}
.goods-bottom-bar .leftBtn .shop-cart .icon .cart-num {
position: absolute;
right: -16rpx;
top: -4rpx;
width: 36rpx;
height: 36rpx;
background: #ff758c;
border-radius: 36rpx;
color: #fff;
font-size: 22rpx;
display: flex;
justify-content: center;
align-items: center;
}
.goods-bottom-bar .goodsStatus {
width: 100%;
height: 96rpx;
background: #dcdcdc;
font-size: 30rpx;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.goods-bottom-bar .gobuy {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: bold;
/**background-color: #1c1819;**/
overflow: hidden;
border-radius: 0rpx 40rpx 40rpx 0rpx;
}
.bar-item add-to-cart {
background-color: rgb(247, 112, 98);
}
.goods-bottom-bar .gobuy .add-to-cart {
width: 270rpx;
height: 96rpx;
background-color: #36362D;
color: #fff;
font-size: 28rpx;
display: flex;
justify-content: center;
align-items: center;
}
.goods-bottom-bar .gobuy .btn {
width: 270rpx;
height: 96rpx;
position: absolute;
opacity: 0;
z-index: 9;
top: 0;
padding: 0;
margin: 0;
box-shadow: 20rpx 20rpx 20rpx 0rpx rgba(0,0,0,0.8);
}
.goods-bottom-bar .gobuy .balanceBtn {
display: flex;
flex: 1;
}
.goods-bottom-bar .gobuy .balanceBtn .balance {
height: 96rpx;
flex: 1;
background: linear-gradient(90deg, #e7614d 0%, #E57868 100%);
color: #fff;
font-size: 28rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 0rpx 0px 0px 0rpx;
}
.bar-item-price {
font-family: DIN;
}
.i-fixed-bottom {
background-color: rgba(0,0,0,0.3);
position: fixed;
bottom: 40rpx;
z-index: 100;
overflow: hidden;
left: 30rpx;
right:30rpx;
border-radius: 48rpx 48rpx 48rpx 48rpx;
box-shadow: 0rpx 10rpx 20rpx 10rpx rgba(0,0,0,0.4);
}
.filter {
background-color: rgba(255, 255, 255, 0.8);
display: flex;
flex-direction: row;
justify-content: space-around;
position: fixed;
bottom: 40rpx;
left: 0;
z-index: 2;
width: 100%;
height: 96rpx;
backdrop-filter: blur(30rpx) ;
border-radius: 30rpx 30rpx 30rpx 30rpx;
margin-left: 20rpx;
margin-right: 20rpx;
overflow: hidden;
}
.i-fixed-bottom.iphoneX-height {
padding-bottom: 48rpx;
}
.i-fixed-bottom.pb20 {
padding-bottom: 40rpx;
}
.ui-mask {
position: fixed;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
background: rgba(0, 0, 0, 0.6);
}
.model-services {
width: 100%;
position: fixed;
background-color: #fff;
bottom: 0;
z-index: 1000;
color: #333;
-webkit-transition: all 0.3s;
transition: all 0.3s;
-webkit-transform: translate(0, 100%);
transform: translate(0, 100%);
}
.model-services.show {
-webkit-transform: translate(0);
transform: translate(0);
}
.model-services .model-services-title {
font-size: 36rpx;
text-align: center;
height: 80rpx;
line-height: 80rpx;
border-bottom: 1px solid #f2f5f8;
}
.model-services .model-services-content {
padding: 40rpx;
}
.model-services .model-services-content .service-item {
margin-bottom: 20rpx;
width: 50%;
float: left;
text-align: center;
}
.model-services .model-services-content .service-icon {
font-size: 80rpx;
color: #50b674;
}
.service-name {
padding-left: 10rpx;
}
.cube-text {
position: relative;
width: 100%;
height: 32rpx;
line-height: 32rpx;
color: #777;
margin-top: 5rpx;
font-size: 24rpx;
}
.none_btn {
border: none;
line-height: 1.1;
padding: 0px;
}
button[plain] {
border: none;
}
.share-modal {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 101;
transition: all 400ms ease-in;
}
.share-modal-content {
position: relative;
width: 70%;
top: 50%;
left: 15%;
transform: translateY(-50%);
z-index: 110;
}
.share-modal-img {
width: 100%;
height: 956rpx;
background: #f7f7f7;
}
.share-modal-img image {
width: 100%;
}
.share-modal-btn-list {
display: flex;
margin-top: 30rpx;
}
.share-modal-btn-item {
text-align: center;
flex: 1;
}
.share-modal .btn-icon {
font-size: 70rpx;
color: #fff;
margin: 0 auto;
}
.share-modal .btn-text {
position: relative;
width: 100%;
height: 32rpx;
line-height: 32rpx;
color: #fff;
margin-top: 5rpx;
font-size: 24rpx;
}
.spuInfoImg .item-tag {
position: absolute;
left: 30rpx;
top: 20rpx;
width: 80rpx;
height: 92rpx;
z-index: 1;
color: #fff;
text-align: center;
}
.item-tag-bg {
position: absolute;
left: 0;
top: 0;
width: 80rpx;
height: 92rpx;
z-index: 0;
}
.spuInfoImg .item-tag .tag-name {
position: relative;
padding-top: 12rpx;
font-size: 28rpx;
line-height: 1;
font-weight: 600;
z-index: 1;
}
.spuInfoImg .item-tag .tag-name.two-word {
font-size: 28rpx;
padding-top: 24rpx;
}
/* 评论 */
.comment-user {
line-height: 60rpx;
display: flex;
margin-bottom: 10rpx;
}
.comment-user image {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
margin-right: 14rpx;
background-color: #f0f0f0;
}
.comment-user text {
font-size: 26rpx;
}
.fixed-aside {
float:right;
position: fixed;
right: 20rpx;
top:110rpx;
background-color: #fff;
z-index: 100;
width: 80rpx;
}
.fixed-service {
display: inline-block;
width: 80rpx;
height: 80rpx;
background: #e7614d93;
border-radius: 20rpx 20rpx 20rpx 20rpx;
text-align: center;
color: #fff;
box-sizing: border-box;
font-size: 20rpx;
padding: 10rpx;
line-height: 1.2;
z-index: 100;
margin-bottom: 10rpx;
}
.fixed-service::after {
border: 0;
}
.fixed-service .iconfont {
font-size: 30rpx;
}
.fixed-share {
display: inline-block;
transform: translateY(950rpx);
width: 80rpx;
height: 80rpx;
background: #e7614d93;
border-radius: 20rpx 20rpx 20rpx 20rpx;
text-align: center;
color: #fff;
box-sizing: border-box;
font-size: 20rpx;
padding: 10rpx;
line-height: 1.2;
z-index: 100;
margin-bottom: 10rpx;
}
.fixed-share::after {
border: 0;
}
.fixed-share .iconfont {
font-size: 30rpx;
}
.cell {
display: flex;
justify-content: center;
align-items: center;
margin: 30rpx 0;
background-color: #fff;
padding: 20rpx 30rpx;
}
.cell-left {
flex: 1;
line-height: 40rpx;
}
.cell-left text {
display: inline-block;
vertical-align: middle;
}
.icon-right {
width: 12rpx;
height: 22rpx;
}
.cell-icon {
width: 40rpx;
display: inline-block;
vertical-align: middle;
margin-right: 10rpx;
}
/* 幻灯片视频 */
.btn_view {
position: absolute;
left: 50%;
top: 50%;
z-index: 100;
transform: translate(-50%, -50%);
}
.btn_view image {
width: 120rpx;
height: 120rpx;
background: rgba(0, 0, 0, 0.1);
border-radius: 50%;
animation: playScale 2s ease-in-out infinite;
}
.video-wrap, .swiper-video {
width: 100%;
height: 100%;
}
.end-play {
position: relative;
z-index: 1000;
background: #000;
text-align: center;
padding: 20rpx 0;
}
.end-play .btn {
display: inline-block;
padding: 5rpx 30rpx;
background-color: #f6f6f6;
border-radius: 20rpx;
font-size: 24rpx;
}
@keyframes playScale {
0% {
transform: scale(1);
}
25% {
transform: scale(1.1);
}
50% {
transform: scale(1);
}
75% {
transform: scale(1.1);
}
}
/* 群 */
.group {
background-color: #fff;
width:650rpx;
padding:20rpx 30rpx;
border-radius:20rpx;
margin:20rpx auto 0;
box-shadow:0 0 40rpx 0 rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
}
.group-avatar image {
width: 94rpx;
height: 94rpx;
border-radius: 10rpx;
}
.group-m {
flex: 1;
margin: 0 15rpx;
width: 0;
}
.group-btn {
background: #ff5344;
color: #fff;
padding: 10rpx 30rpx;
border-radius: 60rpx;
}
.group-title {
font-size: 28rpx;
color: #333;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.group-desc {
font-size: 24rpx;
color: #999;
margin-top: 6rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.group-r-icon {
width: 20rpx;
height: 36rpx;
vertical-align: middle;
}
/* 拼团 */
.pin-type {
font-size: 20rpx;
margin-left: 10rpx;
color: #fff;
font-weight: normal;
border: 1rpx solid #fff;
border-radius: 4rpx;
padding: 2rpx 10rpx;
}
.spuInfo .pinRecords .title {
font-size: 28rpx;
}
.spuInfo .pinRecords .title .buyNum text {
font-size: 22rpx;
color: #aaa;
margin-top: -2rpx;
}
.pinList {
padding-bottom: 30rpx;
}
.pinList .pinList-item {
display: flex;
align-items: center;
padding-top: 30rpx;
}
.pinList .pinList-item-l .avatar,
.pinList .pinList-item-l .iconfont {
display: inline-block;
width: 75rpx;
height: 75rpx;
border-radius: 50%;
vertical-align: middle;
}
.pinList .pinList-item-l .iconfont {
line-height: 67rpx;
text-align: center;
background-color: #d9d9d9;
color: #fff;
margin-left: -10rpx;
box-sizing: border-box;
border: 4rpx solid #fff;
}
.pinList .pinList-item-m {
flex: 1;
margin: 0 20rpx;
}
.pinList .pinList-item-m .num {
font-size: 26rpx;
color: #666;
margin-bottom: 10rpx;
}
.pinList .pinList-item-m .num text {
color: #ff5344;
}
.pinList .pinList-item-m .time {
font-size: 24rpx;
color: #999;
}
.pinList .pinList-item-r {
padding: 15rpx 30rpx;
line-height: 1;
font-size: 26rpx;
background: linear-gradient(90deg, #ff5041 0%, #ff695c 100%);
color: #fff;
border-radius: 30rpx;
}
.pinIntro {
color: #333;
font-size: 26rpx;
}
.pinIntro .pinIntro-top {
height: 100rpx;
border-bottom: 0.1rpx solid #efefef;
}
.pinIntro .pinIntro-title {
font-weight: bold;
color: #000;
}
.pinIntro .iconfont {
font-size: 24rpx;
margin-top: 2rpx;
}
.pinIntro-bot {
padding: 30rpx 0;
}
.pinIntro .rule-item {
position: relative;
text-align: center;
z-index: 1;
}
.pinIntro .rule-item::before {
content: "";
position: absolute;
left: 80rpx;
right: -100%;
top: 42rpx;
border-bottom: 4rpx dotted #ccc;
z-index: -1;
}
.pinIntro .rule-item:last-child:before {
content: none;
}
.pinIntro .rule-item .step {
background-color: #ededed;
font-size: 36rpx;
width: 80rpx;
height: 80rpx;
border-radius: 50%;
color: #666;
line-height: 80rpx;
margin: 0 auto 10rpx;
}
.pinIntro .rule-item .p {
font-size: 26rpx;
color: #333;
line-height: 1.2;
}