:host { background-color: #f8f8f8; } .order-detail { width: 100%; box-sizing: border-box; padding: 0rpx 0rpx calc(env(safe-area-inset-bottom) + 144rpx); } .order-detail .count-down { color: #ffffff; } .order-detail .header { width: 100%; background-color: #ffffff; } .order-detail .order-detail__header { width: 700rpx; height: 200rpx; border-radius: 24rpx; margin: 0 auto; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background-image: url('https://tdesign.gtimg.com/miniprogram/template/retail/template/order-bg.png'); background-repeat: no-repeat; background-size: contain; } .order-detail .order-detail__header .title, .order-detail .order-detail__header .desc { color: #ffffff; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; } .order-detail .order-detail__header .title { -webkit-line-clamp: 1; font-size: 44rpx; line-height: 64rpx; margin-bottom: 8rpx; font-weight: bold; } .order-detail .order-detail__header .desc { -webkit-line-clamp: 2; font-size: 24rpx; line-height: 32rpx; } .order-detail .order-detail__header .desc .count-down { display: inline; } .order-detail .order-logistics { box-sizing: border-box; padding: 32rpx; width: 100%; background-color: #ffffff; overflow: hidden; color: #333333; font-size: 32rpx; line-height: 48rpx; display: flex; position: relative; } .order-logistics .logistics-icon { width: 40rpx; height: 40rpx; margin-right: 16rpx; margin-top: 4rpx; } .order-logistics .logistics-content { flex: 1; } .order-logistics .logistics-content .logistics-time { font-size: 28rpx; line-height: 40rpx; color: #999999; margin-top: 12rpx; } .order-logistics .logistics-back { color: #999999; align-self: center; } .order-logistics .edit-text { color: #fa4126; font-size: 26rpx; line-height: 36rpx; } .order-detail .border-bottom { margin: 0 auto; width: 686rpx; transform: scaleY(0.5); height: 2rpx; background-color: #e5e5e5; } .order-detail .border-bottom-margin { margin: 16rpx auto; } .order-detail .pay-detail { background-color: #ffffff; width: 100%; box-sizing: border-box; } .order-detail .padding-inline { padding: 16rpx 32rpx; } .order-detail .pay-detail .pay-item { width: 100%; height: 72rpx; display: flex; align-items: center; justify-content: space-between; font-size: 26rpx; line-height: 36rpx; color: #666666; background-color: #ffffff; } .order-detail .pay-detail .pay-item .pay-item__right { color: #333333; font-size: 24rpx; display: flex; align-items: center; justify-content: flex-end; max-width: 400rpx; } .order-detail .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-detail .pay-detail .pay-item .font-bold { font-weight: bold; } .order-detail .pay-detail .pay-item .primary { color: #fa4126; } .order-detail .pay-detail .pay-item .max-size { font-size: 36rpx; line-height: 48rpx; } .pay-item .pay-item__right .pay-item__right__copy { width: 80rpx; height: 40rpx; text-align: center; font-size: 24rpx; line-height: 40rpx; color: #333333; position: relative; } .pay-item .pay-item__right .pay-item__right__copy::before { position: absolute; content: ''; width: 200%; height: 200%; border-radius: 40rpx; border: 2rpx solid #dddddd; transform: scale(0.5); left: 0; top: 0; transform-origin: left top; } .pay-item .pay-item__right .order-no { color: #333333; font-size: 26rpx; line-height: 40rpx; padding-right: 16rpx; } .pay-item .pay-item__right .normal-color { color: #333333; } .order-detail .pay-detail .pay-service { width: 100%; height: 72rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; line-height: 36rpx; color: #333333; background-color: #ffffff; } /* 底部操作栏样式 */ .order-detail__bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: #ffffff; border-top: 1rpx solid #e5e5e5; padding: 24rpx 32rpx; padding-bottom: calc(24rpx + env(safe-area-inset-bottom)); z-index: 100; } .order-detail__bottom-bar-content { display: flex; justify-content: flex-end; gap: 24rpx; } .order-detail__bottom-bar-btn { padding: 16rpx 32rpx; border-radius: 8rpx; font-size: 28rpx; line-height: 40rpx; text-align: center; min-width: 120rpx; box-sizing: border-box; transition: all 0.3s ease; } .order-detail__bottom-bar-btn.secondary { background-color: #f8f8f8; color: #666666; border: 1rpx solid #e5e5e5; } .order-detail__bottom-bar-btn.secondary:active { background-color: #e5e5e5; } .order-detail__bottom-bar-btn.primary { background-color: #fa4126; color: #ffffff; border: 1rpx solid #fa4126; } .order-detail__bottom-bar-btn.primary:active { background-color: #e63a22; }