226 lines
3.2 KiB
Plaintext
226 lines
3.2 KiB
Plaintext
@import '../../common/common.wxss';
|
|
|
|
.goods-box {
|
|
position: relative;
|
|
padding: 40rpx 45rpx;
|
|
color: #454552;
|
|
}
|
|
|
|
.banner {
|
|
height: 240px;
|
|
padding-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.goods-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.left-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.goods-title {
|
|
font-size: 40rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.goods-price {
|
|
font-size: 50rpx;
|
|
font-weight: bold;
|
|
color: red;
|
|
}
|
|
|
|
.right-section {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.share-text {
|
|
padding-left: 6rpx;
|
|
padding-top: 8rpx;
|
|
font-size: 25rpx;
|
|
line-height: 24rpx;
|
|
}
|
|
.goods-detail{
|
|
padding-top: 10px;
|
|
}
|
|
.goods-size{
|
|
font-size: 14px;
|
|
padding-bottom: 10px;
|
|
}
|
|
.goods-buy {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 10rpx 20rpx;
|
|
background-color: #fff;
|
|
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.left {
|
|
padding-left: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.left-return {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.right-buy {
|
|
flex-grow: 0;
|
|
}
|
|
|
|
.popup-container {
|
|
padding: 20rpx;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.popup-close {
|
|
position: absolute;
|
|
top: 10rpx;
|
|
right: 10rpx;
|
|
}
|
|
|
|
.popup-sku-header {
|
|
display: flex;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.popup-sku-header__goods-info {
|
|
margin-left: 20rpx;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.popup-sku-header__img {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.popup-sku__goods-name {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.goods-price-container {
|
|
font-size: 30rpx;
|
|
color: red;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.popup-sku__selected-spec {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.popup-sku-body {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.popup-sku-row__item-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.popup-sku-row__item {
|
|
flex-basis: 30%;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
padding: 5rpx;
|
|
margin-bottom: 10rpx;
|
|
background-color: #f5f5f5;
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
.popup-sku-row__item {
|
|
padding: 5rpx;
|
|
margin: 5rpx;
|
|
text-align: center;
|
|
border: 1rpx solid #ccc;
|
|
border-radius: 5rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-sku-row__item--active {
|
|
border-color: #bcaa8a;
|
|
border: 1rpx solid rgb(238, 84, 84);
|
|
}
|
|
|
|
|
|
.popup-sku-row {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.popup-sku-row__title {
|
|
font-size: 28rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.popup-sku-row__item {
|
|
display: inline-block;
|
|
padding: 10rpx 20rpx;
|
|
margin-right: 10rpx;
|
|
background-color: #f5f5f5;
|
|
border-radius: 4rpx;
|
|
font-size: 28rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.popup-sku-stepper-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.popup-sku__stepper-title {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.single-confirm-btn {
|
|
background-color: #bcaa8a;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 20rpx 0;
|
|
margin-top: 20rpx;
|
|
border-radius: 4rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.popup-sku-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.selected-sku-btn {
|
|
padding: 20rpx;
|
|
border-radius: 4rpx;
|
|
font-size: 28rpx;
|
|
background-color: #bcaa8a;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.popup-sku-disabled {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
.disabled-sku-selected {
|
|
color: #ccc;
|
|
cursor: not-allowed;
|
|
} |