Files
code-bang/frontend/miniapp/pages/order/order-confirm/index.wxss
T
2026-09-17 16:25:31 +08:00

229 lines
4.6 KiB
Plaintext

.order-sure {
box-sizing: border-box;
background: var(--bg-page);
padding: 24rpx 0 calc(env(safe-area-inset-bottom) + 136rpx);
min-height: 100vh;
}
.order-sure .wx-pay-cover {
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 10;
background: var(--bg-card);
height: 112rpx;
padding-bottom: env(safe-area-inset-bottom);
box-shadow: 0 -4rpx 20rpx rgba(29, 33, 41, 0.05);
}
.order-sure .wx-pay-cover .wx-pay {
width: 100%;
height: 100rpx;
box-sizing: border-box;
padding: 0rpx 32rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.order-sure .wx-pay-cover .wx-pay .price {
color: var(--brand);
font-weight: bold;
font-size: 63rpx;
line-height: 88rpx;
font-family: 'DIN Alternate', -apple-system, sans-serif;
}
.order-sure .wx-pay-cover .wx-pay .submit-btn {
height: 80rpx;
width: 240rpx;
border-radius: 40rpx;
background: var(--brand-gradient);
box-shadow: var(--shadow-brand);
color: #ffffff;
line-height: 80rpx;
font-weight: 500;
font-size: 28rpx;
text-align: center;
}
.order-sure .wx-pay-cover .wx-pay .submit-btn:active {
opacity: 0.88;
}
.order-sure .wx-pay-cover .wx-pay .btn-gray {
background: var(--text-disabled);
box-shadow: none;
}
.order-wrapper .store-wrapper {
width: 100%;
height: 96rpx;
box-sizing: border-box;
padding: 0 32rpx;
display: flex;
align-items: center;
font-size: 28rpx;
line-height: 40rpx;
color: var(--text-primary);
background-color: #ffffff;
}
.order-wrapper .store-wrapper .store-logo {
margin-right: 16rpx;
}
.order-wrapper .goods-wrapper {
width: 100%;
box-sizing: border-box;
padding: 16rpx 32rpx;
display: flex;
align-items: flex-start;
justify-content: space-between;
font-size: 24rpx;
line-height: 32rpx;
color: var(--text-tertiary);
background-color: #ffffff;
}
.goods-wrapper .goods-image {
width: 176rpx;
height: 176rpx;
border-radius: 8rpx;
overflow: hidden;
margin-right: 16rpx;
}
.goods-wrapper .goods-content {
flex: 1;
}
.goods-wrapper .goods-content .goods-title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
font-size: 28rpx;
line-height: 40rpx;
margin-bottom: 12rpx;
color: var(--text-primary);
margin-right: 16rpx;
}
.goods-wrapper .goods-right {
min-width: 128rpx;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.goods-right .goods-price {
color: var(--text-primary);
font-size: 32rpx;
line-height: 48rpx;
font-weight: bold;
margin-bottom: 16rpx;
}
.goods-right .goods-num {
text-align: right;
}
.order-sure .pay-detail {
background-color: #ffffff;
padding: 16rpx 32rpx;
width: 100%;
box-sizing: border-box;
}
.order-sure .pay-detail .pay-item {
width: 100%;
height: 72rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 26rpx;
line-height: 36rpx;
color: var(--text-secondary);
}
.order-sure .pay-detail .pay-item .pay-item__right {
color: var(--text-primary);
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: flex-end;
max-width: 400rpx;
}
.order-sure .pay-detail .pay-item .pay-item__right .pay-remark {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
max-width: 400rpx;
text-overflow: ellipsis;
overflow: hidden;
}
.order-sure .pay-detail .pay-item .font-bold {
font-weight: bold;
}
.order-sure .pay-detail .pay-item .primary {
color: var(--brand);
}
.add-notes .add-notes__content {
--td-textarea-background-color: var(--bg-grey);
}
.add-notes .t-textarea__placeholder {
color: #aeb3b7;
}
.add-notes .add-notes__textarea__font {
font-size: 26rpx;
}
.add-notes .add-notes__textarea {
margin-top: 32rpx;
}
.order-sure .add-notes .dialog__message {
border-radius: 8rpx;
}
.order-sure .add-notes .dialog__button-cancel::after {
border-right: 0;
}
.order-sure .amount-wrapper {
width: 100%;
box-sizing: border-box;
background-color: #ffffff;
padding: 0rpx 32rpx;
height: 96rpx;
}
.order-sure .pay-amount {
width: 100%;
height: 96rpx;
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 28rpx;
color: var(--text-primary);
position: relative;
}
.order-sure .pay-amount::after {
position: absolute;
content: ' ';
top: 0;
left: 0;
width: 200%;
height: 200%;
transform: scale(0.5);
transform-origin: 0 0;
border-top: 2rpx solid var(--bg-grey);
}
.order-sure .pay-amount .order-num {
color: var(--text-tertiary);
padding-right: 8rpx;
}
.order-sure .pay-amount .total-price {
font-size: 36rpx;
color: var(--brand);
font-weight: bold;
padding-left: 8rpx;
}