Files
cardtest/pages/userGoods/goodsDet/goodsDet.wxss
zhangmanman 8f7cc986c2 [更新]
2021-08-13 13:30:35 +08:00

214 lines
3.3 KiB
Plaintext

page {
background-color: #f0f0f0;
}
/* 轮播图 */
.banner {
width: 100%;
position: relative;
padding-top: 60%;
}
.swiperCont, .swiperImg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.swiperDot {
position: absolute;
background: rgba(0, 0, 0, .5);
border-radius: 80rpx;
padding: 0 25rpx;
line-height: 46rpx;
z-index: 2;
bottom: 20rpx;
right: 50rpx;
color: #ffffff;
}
/* 权益介绍 */
.content {
width: 100%;
padding: 25rpx;
box-sizing: border-box;
display: flex;
}
.contentText {
width: calc(100% - 240rpx);
margin-right: 40rpx;
}
.contentText-title {
font-weight: 600;
font-size: 36rpx;
}
.contentText-text {
font-size: 26rpx;
padding: 20rpx;
box-sizing: border-box;
color: #646464;
}
.contentText-price {
padding: 0 20rpx;
box-sizing: border-box;
display: flex;
}
.contentText-price-primary {
color: #f57400;
font-size: 48rpx;
font-weight: 600;
}
.contentText-price-primary text {
font-size: 28rpx;
}
.contentText-price-close {
font-size: 24rpx;
color: #646464;
margin: 20rpx 0 0 10rpx;
text-decoration: line-through;
}
.contentBuy {
background: linear-gradient(to left, #fe6d52, #fe8750);
border-radius: 20rpx;
width: 200rpx;
text-align: center;
height: 70rpx;
line-height: 70rpx;
color: #ffffff;
margin-top: 70rpx;
}
/* 规格 */
.specs {
background-color: #ffffff;
padding: 25rpx;
box-sizing: border-box;
margin: 0 20rpx;
border-radius: 20rpx;
}
.specs-label {
display: flex;
margin-bottom: 30rpx;
}
.specs-label:last-child {
margin-bottom: 0;
}
.specs-label text {
font-size: 30rpx;
display: block;
width: 100rpx;
color: #808080;
line-height: 44rpx;
}
.specs-site {
box-sizing: border-box;
font-size: 30rpx;
width: calc(100% - 120rpx);
}
.specs-site-list {
margin-bottom: 20rpx;
font-size: 28rpx;
}
.specs-site-list:last-child {
margin-bottom: 0;
}
.specs-site-name {
font-size: 32rpx;
margin-bottom: 10rpx;
}
/* 详情 */
.imageText {
width: 100%;
padding: 40rpx;
box-sizing: border-box;
}
.imageText-title {
width: 200rpx;
margin: 0 auto 30rpx;
text-align: center;
position: relative;
}
.imageText-title::after,
.imageText-title::before {
position: absolute;
content: '';
top: 49%;
background-color: #000000;
width: 100rpx;
height: 2rpx;
}
.imageText-title::after {
left: -100rpx;
}
.imageText-title::before {
right: -100rpx;
}
.imageText-end {
width: 80rpx;
height: 80rpx;
margin: 30rpx auto;
line-height: 80rpx;
text-align: center;
border-radius: 50%;
border: 2rpx solid #000000;
position: relative;
}
.imageText-end::after {
position: absolute;
content: '';
width: 10rpx;
height: 10rpx;
border-radius: 50%;
top: 0rpx;
right: 16rpx;
background-color: #000000;
}
/* 漂浮弹出层 */
.indexFloat {
position: fixed;
height: 52%;
width: 130rpx;
right: 20rpx;
bottom: 40rpx;
z-index: 99;
}
.indexFloat-movable {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150rpx;
z-index: 99;
}
.indexFloat-img image {
width: 130rpx;
height: 130rpx;
margin-bottom: 20rpx;
}