xz_mini/subpages/goodsdetail/goodsdetail.wxss

296 lines
4.7 KiB
Plaintext
Raw Normal View History

2023-02-13 17:59:45 +08:00
/* subpages/goodsdetail/goodsdetail.wxss */
page {
background: #f2f2f2;
}
.container-box {
width: 100%;
height: auto;
display: flex;
flex-direction: column;
margin-bottom: 150rpx;
}
.banner {
height: 500rpx;
}
.banner image {
width: 100%;
height: 500rpx;
}
.goods-type {
display: flex;
flex-direction: row;
margin-top: 10rpx;
}
.name-box {
padding: 30rpx;
display: flex;
flex-direction: column;
box-shadow: 10rpx 5rpx 10rpx #dfdfdf;
background: white;
margin: 20rpx;
border-radius: 10rpx;
}
.type-box {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-content: center;
}
.type-item {
background: #f2f2f2;
color: #e70606;
padding: 10rpx;
font-size: 28rpx;
}
.type-item:nth-of-type(n+2) {
margin-left: 20rpx;
}
.goods-name {
font-size: 32rpx;
color: black;
margin-top: 20rpx;
}
.shop-name {
margin-top: 20rpx;
font-size: 28rpx;
color: gray;
}
.standard-box {
padding: 30rpx;
display: flex;
flex-direction: column;
box-shadow: 10rpx 5rpx 10rpx #dfdfdf;
background: white;
margin: 20rpx;
border-radius: 10rpx;
}
.title-item {
display: flex;
flex-direction: row;
align-items: center;
}
.line {
height: 30rpx;
width: 10rpx;
background: #e70606;
}
.title-name {
margin-left: 30rpx;
}
.standard-content {
display: flex;
flex-direction: row;
}
.standard-item {
display: flex;
flex-direction: row;
border: 1rpx solid #dfdfdf;
border-radius: 3rpx;
margin: 10rpx;
text-align: center;
justify-content: center;
align-items: center;
padding: 0rpx 0rpx 0rpx 5rpx;
}
.name {
text-align: center;
margin: 0rpx 20rpx;
font-size: 28rpx;
}
.standard-item image {
width: 48rpx;
height: 48rpx;
}
.standard-item-sel {
display: flex;
flex-direction: row;
border: 1rpx solid #e70606;
border-radius: 3rpx;
margin: 10rpx;
text-align: center;
justify-content: center;
align-items: center;
padding: 0rpx 0rpx 0rpx 5rpx;
}
.standard-item-sel image {
width: 48rpx;
height: 48rpx;
}
.desc-box {
display: flex;
flex-direction: column;
margin: 20rpx;
box-shadow: 10rpx 5rpx 10rpx #dfdfdf;
background: white;
padding: 30rpx;
}
.desc-video {
margin-top: 20rpx;
width: 100%;
}
.desc-img {
margin-top: 20rpx;
}
.desc-txt {
margin-top: 20rpx;
}
.bottom-box {
display: flex;
flex-direction: column;
background: white;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
}
.bottom-content {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin: 25rpx;
}
.bottom-price {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: baseline;
color: #e70606;
text-align: center;
font-weight: bold;
}
.price-icon {
font-size: 30rpx;
}
.price-content {
font-size: 55rpx;
}
.icon-btn {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.car-icon {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 30rpx;
}
.car-icon image {
width: 48rpx;
height: 48rpx;
align-items: center;
align-self: center;
margin-left: 25rpx;
margin-top: 10rpx;
}
.car {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.car-num {
position: relative;
right: 10rpx;
top: -10rpx;
background: #e70606;
color: white;
width: 48rpx;
height: 48rpx;
border-radius: 50%;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 25rpx;
}
.car-add {
background: linear-gradient(to right bottom, rgb(245, 74, 74), rgb(221, 5, 5) 70px);
color: white;
padding: 15rpx;
border-radius: 10rpx;
margin-left: 20rpx;
font-size: 32rpx;
}
.params-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 20rpx;
}
.params-item {
display: flex;
flex-direction: row;
width: 100%;
}
.params-item:first-child {
border: 1rpx solid #6e6e6e;
}
.params-item:nth-of-type(n+2) {
border-bottom: 1rpx solid #6e6e6e;
border-left: 1rpx solid #6e6e6e;
border-right: 1rpx solid #6e6e6e;
}
.params-title {
width: 40%;
border-right: 1rpx solid #6e6e6e;
padding: 5rpx;
text-align: center;
font-size: 32rpx;
}
.params-content {
width: 60%;
text-align: center;
font-size: 32rpx;
padding: 5rpx;
}