/* components/buy-record/buy-record.wxss */ @import "variables"; .order { margin-top: $primary-gap; border-radius: $primary-border-radius; background-color: white; overflow: hidden; .order-header { border-bottom: 2rpx solid rgba(0, 0, 0, 0.1); line-height: $primary-gap; height: $primary-gap; padding: $primary-gap; text-align: end; } .order-footer { border-top: 2rpx solid rgba(0, 0, 0, 0.1); // height: $primary-gap; padding: $primary-gap; display: flex; flex-direction: column; gap: $primary-gap/2; .order-price { display: flex; justify-content: space-between; } .order-total-price { font-size: 32rpx; font-weight: 700; } .order-trade-amount { color: $primary-color; font-size: 38rpx; font-weight: 700; } .orderNo { // font-size: $large-font-size; } .payTime { // font-size: $large-font-size; } } .item+.item { border-top: 2rpx solid rgba(0, 0, 0, 0.1); } .item { width: 702rpx; background-color: white; height: 300rpx; .info { display: flex; justify-content: space-between; padding: $primary-gap; padding-bottom: 0; height: 200rpx; .left { border-radius: $primary-border-radius; overflow: hidden; min-width: 200rpx; width: 200rpx; height: 200rpx; margin-right: $primary-gap; image { width: 100%; height: 100%; } } .right { display: flex; flex-direction: column; justify-content: space-around; width: 100%; .spu { display: flex; justify-content: space-between; width: 100%; font-size: $large-font-size; font-weight: 700; .spuName { max-width: 300rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .sku { display: flex; justify-content: space-between; width: 100%; color: $gray-color; .skuName { max-width: 300rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .history { width: 100%; border-radius: $primary-border-radius; text-align: end; color: $primary-color; } } } } } .order:first-child { margin-top: 0rpx; } .footer { display: flex; flex-direction: row; height: 40rpx; justify-content: space-between; .totalPrice { font-size: $large-font-size; font-weight: 700; margin-right: $primary-gap; margin-top: $primary-gap/2; } } // .popup-header { // display: flex; // align-items: center; // font-weight: 700; // font-size: $large-font-size; // margin-bottom: $primary-gap * 2; // }