Files
uniapp-im-shop/pages/mall/styles/confirm-order.scss
2026-01-29 00:57:07 +08:00

245 lines
5.0 KiB
SCSS

.mall-confirm-order {
padding: 32rpx 24rpx;
// 地址
.address-box {
padding: 34rpx 32rpx;
border-radius: 32rpx;
background: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
.wu-adres {
font-family: PingFang SC, PingFang SC;
font-style: normal;
text-transform: none;
font-weight: 500;
font-size: 28rpx;
color: #333333;
}
.left-name {
display: flex;
flex-direction: column;
font-family: PingFang SC, PingFang SC;
font-style: normal;
text-transform: none;
font-weight: 500;
.adres {
font-size: 28rpx;
color: #666666;
}
.bottom-name {
display: flex;
margin-top: 32rpx;
text {
font-size: 24rpx;
color: #999999;
&:first-child {
margin-right: 16rpx;
padding-right: 16rpx;
border-right: 2rpx solid #999999;
}
}
}
}
.right-box {
height: 32rpx;
}
}
// 商品展示
// 规格
.spec-box {
padding: 32rpx;
border-radius: 32rpx;
background: #ffffff;
font-family: PingFang SC, PingFang SC;
font-style: normal;
text-transform: none;
font-weight: 500;
.title {
font-size: 28rpx;
color: #333333;
}
.spec-item {
display: flex;
flex-wrap: wrap;
margin-top: 32rpx;
text {
padding: 8rpx 16rpx;
font-size: 24rpx;
color: #333333;
background: #f4f4f4;
border-radius: 4rpx;
border: 2rpx solid #f4f4f4;
margin: 0 32rpx 16rpx 0;
}
.on-text {
background: #eb1c261a;
border-color: #eb1c26;
color: #eb1c26;
}
.disabled {
color: #999999;
}
}
}
// 合计
.total-box {
margin: 16rpx 0;
padding: 32rpx;
border-radius: 32rpx;
background: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFang SC, PingFang SC;
text-align: left;
font-style: normal;
text-transform: none;
.name {
font-weight: 500;
font-size: 28rpx;
color: #333333;
}
.num {
display: flex;
align-items: baseline;
text {
font-weight: 500;
font-size: 24rpx;
color: #eb1c26;
// 最后一个
&:last-child {
margin-left: 10rpx;
font-weight: bold;
font-size: 48rpx;
}
}
}
}
// 付款方式
.pay-way {
border-radius: 32rpx;
background: #ffffff;
margin-bottom: 110rpx;
.pay-way-item + .pay-way-item {
border-top: 2rpx solid #e6e6e6;
box-sizing: border-box;
}
.pay-way-item {
padding: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
.icon {
display: flex;
align-items: center;
.left-icon {
width: 37rpx;
height: 37rpx;
margin-right: 14rpx;
}
text {
font-family: PingFang SC, PingFang SC;
font-weight: 500;
font-size: 28rpx;
color: #333333;
text-align: left;
font-style: normal;
text-transform: none;
}
}
.check {
width: 36rpx;
height: 36rpx;
border-radius: 34rpx;
border: 2rpx solid #d9d9d9;
.check-icon {
width: 36rpx;
height: 36rpx;
}
}
}
}
}
// 地址弹出窗选项
.popup-box {
padding: 32rpx 24rpx;
.top-name {
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
.title {
font-size: 32rpx;
color: #333333;
font-weight: 500;
}
}
.card-list {
max-height: 46vh;
overflow-y: auto;
.card-box {
border-bottom: 2rpx solid #d9d9d9;
padding: 20rpx 0;
display: flex;
justify-content: space-between;
.name-box {
display: flex;
align-items: center;
width: 80%;
.mode {
font-size: 28rpx;
height: 50rpx;
line-height: 50rpx;
padding: 0 16rpx;
border-radius: 10rpx;
color: #fff;
background: #44943a;
margin-right: 10rpx;
}
.name {
width: 50%;
font-size: 32rpx;
color: #333333;
font-weight: 500;
// 超过宽度显示省略号
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
vertical-align: middle;
}
}
.right-box {
display: flex;
align-items: center;
.p {
font-size: 28rpx;
color: #666666;
font-weight: 400;
margin-right: 10rpx;
}
}
}
}
.btn {
margin-top: 20rpx;
background: #ffffff;
color: #44943a;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 40rpx;
border: 2rpx solid #44943a;
}
}