You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
1.7 KiB
127 lines
1.7 KiB
.container {
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.header {
|
|
padding: 30rpx 0;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.content {
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.spec-card {
|
|
background-color: #fff;
|
|
border-radius: 12rpx;
|
|
padding: 40rpx;
|
|
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.08);
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.spec-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.label {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-right: 20rpx;
|
|
width: 120rpx;
|
|
}
|
|
|
|
.value {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #FF6B81;
|
|
flex: 1;
|
|
}
|
|
|
|
.price {
|
|
color: #FF6B81;
|
|
}
|
|
|
|
.spec-info {
|
|
padding-top: 20rpx;
|
|
border-top: 1rpx solid #eee;
|
|
text-align: center;
|
|
}
|
|
|
|
.spec-info text {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.quantity-section {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.quantity-input {
|
|
flex: 1;
|
|
height: 80rpx;
|
|
border: 2rpx solid #ddd;
|
|
border-radius: 8rpx;
|
|
padding: 0 20rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.calculate-section {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.calculate-button {
|
|
width: 80%;
|
|
height: 80rpx;
|
|
font-size: 28rpx;
|
|
border-radius: 40rpx;
|
|
}
|
|
|
|
.result-section {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 40rpx;
|
|
padding: 20rpx;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
.result-label {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-right: 20rpx;
|
|
width: 120rpx;
|
|
}
|
|
|
|
.result-value {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #FF6B81;
|
|
flex: 1;
|
|
}
|
|
|
|
.action {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
button {
|
|
width: 80%;
|
|
height: 80rpx;
|
|
font-size: 28rpx;
|
|
border-radius: 40rpx;
|
|
}
|
|
|