244 lines
3.6 KiB
CSS
244 lines
3.6 KiB
CSS
page{
|
|
background-color: #F6F6FA;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 收货地址部分 */
|
|
.address-section {
|
|
background-color: #fff;
|
|
padding: 30rpx;
|
|
margin: 15rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.address-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.address-main {
|
|
flex: 1;
|
|
}
|
|
|
|
.address-name-phone {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15rpx;
|
|
}
|
|
|
|
.name {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.phone {
|
|
font-size: 30rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.address-detail {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.address-arrow {
|
|
color: #999;
|
|
}
|
|
|
|
/* 分隔线 */
|
|
.divider {
|
|
height: 10rpx;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* 兑换商品部分 */
|
|
.exchange-section {
|
|
background-color: #fff;
|
|
padding: 30rpx;
|
|
margin: 15rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
margin-bottom: 25rpx;
|
|
}
|
|
|
|
.goods-item {
|
|
display: flex;
|
|
margin-bottom: 25rpx;
|
|
}
|
|
|
|
.goods-image {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
margin-right: 20rpx;
|
|
overflow: hidden;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
.goods-image image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.goods-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.goods-name {
|
|
font-size: 30rpx;
|
|
margin-bottom: 15rpx;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.goods-quantity {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.goods-points {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.total-section {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.total-points {
|
|
font-size: 32rpx;
|
|
color: #f03d0e;
|
|
font-weight: 600;
|
|
margin-left: 10rpx;
|
|
}
|
|
|
|
/* 积分计算部分 */
|
|
.points-calculation {
|
|
background-color: #fff;
|
|
padding: 30rpx;
|
|
margin: 15rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.calculation-item {
|
|
height: 50rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.calculation-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* 底部确认兑换部分 */
|
|
.bottom-section {
|
|
height: 100rpx;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: #fff;
|
|
padding: 20rpx 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-top: 1rpx solid #e5e5e5;
|
|
}
|
|
|
|
.points-consumption {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.consumption-points {
|
|
font-size: 34rpx;
|
|
color: #f03d0e;
|
|
font-weight: 600;
|
|
margin-left: 10rpx;
|
|
}
|
|
|
|
.confirm-btn {
|
|
width: 280rpx;
|
|
height: 80rpx;
|
|
background-color: #f03d0e;
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
border-radius: 40rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
right: 50rpx;
|
|
}
|
|
|
|
/* 响应式调整 */
|
|
@media (max-width: 768px) {
|
|
.name {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.phone {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.address-detail {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.goods-name {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.goods-quantity {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.goods-points {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.total-section {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.total-points {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.calculation-item {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.points-consumption {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.consumption-points {
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.confirm-btn {
|
|
width: 260rpx;
|
|
height: 76rpx;
|
|
font-size: 30rpx;
|
|
}
|
|
} |